function validate_form()
	{
		valid=true;
		var message;

		if(document.login_form.cst_username.value == "")
		{
			valid = false;
			document.getElementById('Email_Error').style.color = "#CC3300";
		}
		else 
		{
			document.getElementById("Email_Error").style.color = "#387297";
		}

		if(document.login_form.cst_password.value == "")
		{
			valid = false;
			document.getElementById('Password_Error').style.color = "#CC3300";
		}
		else
		{
			document.getElementById("Password_Error").style.color = "#387297";
		}

		if(valid == true)
		{
			
			document.login_form.submit();
		}
		else
		{
			alert("Invalid Login");
		}

	}
	
	
		function trim(string)
		{
			return string.replace(/^\s+|\s+$/g,"");
		}