<!-- BEGIN SCRIPTS INCLUDE -->

/**********************************************************************
 Load the stylesheets 
**********************************************************************/
//	LoadStyleSheets();

/**********************************************************************
 Preload Top nav images 
**********************************************************************/


/**********************************************************************
 Preload Top nav images 
**********************************************************************/


/**********************************************************************
 Get the browser version and platform (concat IE 4 & 5, ignore < 3 + others) 
 [returns macNS4, macIE45, winNS4, winIE45 or other]
**********************************************************************/
	function BrowserCheck() {
		
		var version = parseInt(navigator.appVersion);
		var browser = '';
			
		if (navigator.userAgent.indexOf("Win")!=-1) browser = "win";
		else if (navigator.userAgent.indexOf("Mac")!=-1) browser = "mac";	
		
		if (navigator.appName == "Netscape") {			
			if (version >= 4 && version <= 5) browser += 'NS4';
			else if (version >= 6) browser += 'NS6';				
		} else if (navigator.appName == "Microsoft Internet Explorer") {
			if (version >= 4 && version <= 5) browser += 'IE45';
		} else {
			// popup window
			popupWin = window.open('popup.html','popup','width=212,height=340,scrollbars=no');
			popupWin.focus();
			browser = 'other';
		}
		
		return browser;
	}
		
	/**********************************************************************
	 Opens a popup window (w/variable atttributes)
	 -expects filename/path string, width int, height int
	**********************************************************************/
	
	function OpenWindow(filename, windowWidth, windowHeight, windowName) {

		var windowProperties = "toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes";	
		var screenWidth = 0;
		var screenHeight = 0;
		var browserT = BrowserCheck();
		
		//get the available window space 						
		if ((browserT == 'winIE45') || (browserT == 'macIE45')) {								
			screenWidth = Math.round(document.body.offsetWidth);
			screenHeight = Math.round(document.body.offsetHeight);														
		} else if ((browserT == 'macNS4') || (browserT == 'winNS4')) {		
			screenWidth = Math.round(window.innerWidth)
			screenHeight = Math.round(window.innerHeight);						
		} 

		//write the popup window size attributes
		windowProperties += ",width=" + windowWidth + ",height=" + windowHeight;				
		windowProperties += ",top=30,left=" + ((screenWidth - windowWidth) / 2);						
		boo = window.open(filename,windowName,windowProperties);
		boo.focus();
	}

	/**********************************************************************
	 Dynamically load style sheets based on user agent/platform
	**********************************************************************/


	/**********************************************************************
	 Swap out rollover states
	**********************************************************************/

	
	function submitSignin(target){
 
		// the next 3 lines are the main lines of this script
		//remember to leave action field blank when defining the form 
		if(target == 0) document.frmSignin.action="personal-information.asp?nav=101";
		if(target == 1) document.frmSignin.action="personal-information.asp?nav=102";
		if(target == 2) document.frmSignin.action="personal-information.asp?nav=103"; 
		
		document.frmSignin.submit();
		 
	}

	function submitAssessment(intTarget){
 
		// the next 3 lines are the main lines of this script
		//remember to leave action field blank when defining the form 
		if(intTarget == 0) document.frmAssessment.action="process_assessment.asp?nav=501";
		if(intTarget == 1) document.frmAssessment.action="process_assessment.asp?nav=502";
		if(intTarget == 2) document.frmAssessment.action="process_assessment.asp?nav=503"; 
		
		document.frmAssessment.submit();
		 
	}
	
	/**********************************************************************
	Pull-Down Menu parameters
	**********************************************************************/

<!-- END SCRIPTS INCLUDE -->
