//==============================================================
// Function Name : frmvalidate_contactus
// Function use : For Validation
//==============================================================
function frmvalidate_contactus()
{
	if(document.contact_frm.firstname.value=="")
	{
		alert("Please Enter The Firstname ...!");
		document.contact_frm.firstname.focus();
		return false;
	}
	if(document.contact_frm.lastname.value=="")
	{
		alert("Please Enter The Lastname ...!");
		document.contact_frm.lastname.focus();
		return false;
	}
	if(document.contact_frm.Email.value!="")
	{
		if(document.contact_frm.Email.value.indexOf("@")==-1 ||
		document.contact_frm.Email.value.indexOf(".")==-1 ||
		document.contact_frm.Email.value.indexOf("")==-1 ||
		document.contact_frm.Email.value.length < 6)
		{
			alert("Sorry, the E-Mail Address is not valid.");
			document.contact_frm.Email.focus();
			return false;		
		}
	}
	else
	{
		alert("Please Enter E-Mail Address.");
		document.contact_frm.Email.focus();
		return false;	
	}
	
	if(document.contact_frm.comments.value=="")
	{
		alert("Enter The Message / Comments ...!");
		document.contact_frm.comments.focus();
		return false;
	}
}
//=================================================================================