	/************************************************
	Submit the form to the correct asp page
	*************************************************/
	function submitForm(strTarget){
			document.myForm.action = strTarget;	//Set the target asp to post the info to
			document.myForm.submit();					//Post the information
	}

	function secondsubmitForm(strTarget){
		
		document.myForm.action = strTarget;	//Set the target asp to post the info to
		
		
		document.myForm.submit();					//Post the information
	}
	
		
//This function verifies that a company was selected
	//This function is needed on sh_general.asp and nav_shareholder.asp
	function ValidateForm(strTarget){
	
			document.myForm.check.value="check";
			document.mainForm.action = strTarget;	//Set the target asp to post the info to
			//if there is only one company listed, select radio button for him
					
			//if (!(documemt.myForm.acct.checked)) {
			//	alert("Please select a company");
			//	return false;
			//}			
		
			//else{
				if ((company=Radio(document.myForm.acct))== -1) {
				alert("Please select a company from those listed.");
				return false;
				}			
				document.myForm.acct.value=company;
				
				secondsubmitForm(strTarget);		
			//}
		
				
	}
	
	
//This function will make the user chose a company if 
//he/she is not on the sh_general page
function Redir(pagen){
secondsubmitForm("sh_general.asp");
}
