<!--
function checkfm(drop_list) 
{
	if (drop_list.name.value=="")
	{
		alert("Please enter your name!")
		drop_list.name.focus()
		return(false);
	}
	if (drop_list.designation.value=="")
	{
		alert("Please enter your designation!")
		drop_list.designation.focus()
		return(false);
	}
	if (drop_list.phone.value=="" && drop_list.mobile.value=="")
	{
		alert("Please enter Telephone no. or mobile no!");
		drop_list.phone.focus()
		return(false);
	}
	if (drop_list.phone.value!="")
	{
		if (drop_list.std.value=="")
		{
			alert("Please enter your STD Code!");
			drop_list.std.focus()
			return(false);
		}
	}
	if (drop_list.mobile.value!="")
	{
		if (drop_list.mobile.value.length<10)
		{
			alert("Invalid Mobile number. Please enter 10 digit mobile number!");
			drop_list.mobile.focus()
			return(false);
		}
	}
	if (drop_list.email.value=="")
	{
		alert("Please enter your E-mail ID!")
		drop_list.email.focus();
		return(false);
	}
	if(drop_list.email.value!="")
	{
		pass=drop_list.email.value.indexOf('@',0);
		if(pass==-1)
		{
			alert("Please enter a valid email address !");
			drop_list.email.focus();
			return(false);
		}
	}
	if (drop_list.state.value=="")
	{
		alert("Please enter your state name!")
		drop_list.state.focus()
		return(false);
	}
	if (drop_list.district.value=="")
	{
		alert("Please enter your district name!")
		drop_list.district.focus()
		return(false);
	}
	if (drop_list.district.value=="Other")
	{
		if (drop_list.district1.value=="")
		{
			alert("Please enter your district name!")
			drop_list.district1.focus()
			return(false);
		}
	}
	if (drop_list.stream.value=="")
	{
		alert("Please select atleast one stream from NONIT and IT!");
		drop_list.stream.focus()
		return(false);
	}
	return confirmSubmit();
}
//-->	
