function Validate()
{
	if (Trim(document.frm.yourname.value) == "")
	{
		alert ("Please Enter Your Name");
		document.frm.yourname.focus();
		return false;
	}
	if (Trim(document.frm.yourcompany.value) == "")
	{
		alert ("Please Enter Your Company");
		document.frm.yourcompany.focus();
		return false;
	}
	if (Trim(document.frm.youremail.value) == "")
	{
		alert ("Please Enter Email");
		document.frm.youremail.focus();
		return false;
	}
	if (!isEmail(document.frm.youremail.value))
	{
		alert ("Please Enter Proper Email");
		document.frm.youremail.focus();
		document.frm.youremail.select();
		return false;
	}
	if (Trim(document.frm.qty.value) == "")
	{
		alert ("Please Enter Quantity");
		document.frm.qty.focus();
		return false;
	}	
	if (Trim(document.frm.code.value)=="")
	{
    	alert("Please enter a valid Security Code.");
    	document.frm.code.focus();
    	return false;
	}
	return true;
}

