// JavaScript Document
function verify() 
{
	if (document.frm.txtcompany.value == "" ) 
	{
		alert("Please Enter Comapany name");
		document.frm.txtcompany.focus();
		return false;
	}
	if (document.frm.txtfirstname.value == "" ) 
	{
		alert("Please Enter your Name");
		document.frm.txtfirstname.focus();
		return false;
	}
	
	if (document.frm.txtemailAddr.value =="")
	{
		alert("Please Enter Email ID");
		document.frm.txtemailAddr.focus();
		return false;
	}
	if (!isEmail(document.frm.txtemailAddr.value))
	{
		alert("Please Enter Proper Email Address");
		document.frm.txtemailAddr.focus();
		return false;
	}
	// set var radio_choice to false
	var radio_choice = false;
	
	// Loop from zero to the one minus the number of radio button selections
	for (counter = 0; counter < document.frm.radask.length; counter++)
	{
	// If a radio button has been selected it will return true
	// (If not it will return false)
	if (document.frm.radask[counter].checked)
	radio_choice = true; 
	}
	
	if (!radio_choice)
	{
	// If there were no selections made display an alert box 
		alert("Please select an ASK Choice.")
		return false;
	}
	if (document.frm.message.value == "")
	{
		alert("Please Enter Message");
		document.frm.message.focus();
		return false;
	}
	document.frm.submit();
	return true;				
}


