/**********************************************************************************
     
   Name:           	ManageTab

   Description:    	This function enables the users selections to be carried over 
   					the various tabs

   Assumptions:    
				
   Author:       	Aarti Mehta  	
   
   Revised By:		
   
   Date:			Oct 4th, 2001

**********************************************************************************/
function ManageTab(MainFrm, sSelectionOld, sSelectionNew)
	{
	  		var myForm = document.form1;
			var Dir = MainFrm.CallingDir.value;
		if	( sSelectionOld == "S" )
			{	
				myForm.action = Dir + 'v_CalcGrowthCalculator.asp?Temp=Y&New=' + sSelectionNew;
				myForm.submit();
			}
		if	( sSelectionOld == "A" )
			{
				myForm.action = Dir + 'v_CalcGrowthCalculator.asp?Temp=Y&New=' + sSelectionNew;
			   	myForm.submit();
			 }
		if	( sSelectionOld == "P" )
			{
				myForm.action = Dir + 'v_CalcPriceHistory.asp?Temp=Y&New=' + sSelectionNew;
			   	myForm.submit();
			}
		if	( sSelectionOld == "D" )
			{
				myForm.action = Dir + 'v_CalcDownloadPrice.asp?Temp=Y&New=' + sSelectionNew;
				myForm.submit();
			}
 	}