	function SetFocus(formName)
	{
		try
		{
			if (document.forms[formName] == undefined)
			{
				return;
			}
		
			if (document.forms[formName].length > 0)
			{

				for (i = 0; i < document.forms[formName].elements.length; i++)
				{
					if (document.forms[formName].elements[i].type == "text")
					{
						document.forms[formName].elements[i].focus();
						break;
					}
				}	

			}
		}
		catch(e)
		{
		
		}
	}

	var IsSubmitted = new Boolean(false);
	function StopDoubleClick()
	{
		if (IsSubmitted == true)
		{
			return false;
		}
		else
		{
			IsSubmitted = true;
			return true;
		}
	}
	
	function LoginChange() {

	  MyCourse = document.StudentLogin.elements["course"];

	document.StudentLogin.action = 'http://www.floridaonlinetrafficschool.com/cgi-bin/ol_florida2/login.cgi' ;

	  if (MyCourse.value == 'BDI - 4 Hour') {
	     document.StudentLogin.action = 'http://www.floridaonlinetrafficschool.com/cgi-bin/ol_florida2/login.cgi' ;
	     
	  };
	  if (MyCourse.value == 'Judge Ordered') {
	     document.StudentLogin.action = 'http://www.judgeordered.com/student-login.asp' ;
	     
	  };
	  if (MyCourse.value == 'First Time Driver') {
	     document.StudentLogin.action = 'http://www.firsttimedriver.com/student-login.asp' ;
	     
	  };
	  if (MyCourse.value == 'Parenting Class') {
	     document.StudentLogin.action = 'http://www.floridaparentingclass.com/student-login.asp' ;
	     
	  };
		return true;
	}
