       
        
 	function openClientLogin()
	{
		clientLogin = window.open("http://www.harrisonassessments.com/servlet/HI?ENTITY=CL", "clientLogin", "HEIGHT=600,WIDTH=800,resizable,scrollbars");
	}

	function openDistributorLogin()
	{
		distributorLogin = window.open("http://www.harrisonassessments.com/servlet/HI?ENTITY=DI", "distributorLogin", "HEIGHT=600,WIDTH=800,resizable,scrollbars");
   	}
 	
 	function openTalentSolutionsLogin()
 	{
 		ret = window.open("https://ha8.harrisonassessments.com/customer/jobFitLogin.do", "", "HEIGHT=660,WIDTH=1000,scrollbars=yes,resizable=no"); 	
 		//ret = window.open("https://ha8.harrisonassessments.com/customer/jobFitLogin.do", "bambooE336A47D5B404EB6080BFDF405E606", "HEIGHT=600,WIDTH=1000,scrollbars=yes,resizable=no"); 	
 	}
 	
	function FlashPopup() {
		window.open( "http://www.harrisonassessments.com/main/presentation/FlashPresentation.html", "myWindow", 
		"status = 1, height = 555, width = 800, resizable = 0" )
	}
	
	
	var requestSent = false;
	
	function validateAndSubmit()
		{
				if (document.data.NAME.value == "")
				{
					alert("Please enter your Name.");
					document.data.name.focus();
					return;
				}
		
				if (document.data.PHONE.value == "")
				{
					alert("Please enter your phone number including the area and country code.");
					document.data.telephone.focus();
					return;
				}
		
				if (document.data.EMAIL.value == "")
				{
					alert("Please enter your email address.");
					document.data.email.focus();
					return;
				}
		
				if (document.data.STATE.value == "")
				{
					alert("Please enter the state/provence.");
					document.data.state.focus();
					return;
				}
		
				if (document.data.COMMENTS.value == "")
				{
					alert("Please enter your comments.");
					document.data.comments.focus();
					return;
				}
				if (requestSent)
				{
					alert("The request is being processed. Please wait");
				}
				else
				{	
					requestSent = true;
					document.data.submit();
				}
	}
	
	function validateAndSubmitFreeReport()
		{
			if (document.data.NAME.value == "")
			{
				alert("Please enter your Name.");
				document.data.NAME.focus();
				return;
			}
	
			if (document.data.PHONE.value == "")
			{
				alert("Please enter your phone number including the area and country code.");
				document.data.PHONE.focus();
				return;
			}
	
			if (document.data.EMAIL.value == "")
			{
				alert("Please enter your email address.");
				document.data.EMAIL.focus();
				return;
			}
	
			if (document.data.STATE.value == "")
			{
				alert("Please enter the state/provence.");
				document.data.STATE.focus();
				return;
			}
			
			if (document.data.COMPANY_NAME.value == "")
			{
				alert("Please enter your company name.");
				document.data.COMPANY_NAME.focus();
				return;
			}
			
			if (document.data.NOOF_PEOPLE.value == "")
			{
				alert("Please enter the number of people who work in your company.");
				document.data.NOOF_PEOPLE.focus();
				return;
			}
	
			if (requestSent)
			{
				alert("The request is being processed. Please wait");
			}
			else
			{	
				requestSent = true;
				document.data.submit();
		}
	}
	
	
	function openWindow(URL)
	{
		newWindow = window.open(URL, "newWindow");
	}
	
	
	
		
