<!--
	function echeck(str) 
	{
			var at="@"
			var dot="."
			var lat=str.indexOf(at)
			var lstr=str.length
			var ldot=str.indexOf(dot)
			if (str.indexOf(at)==-1){
			   alert("Invalid E-mail ID")
			   return false
			}
			if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
			   alert("Invalid E-mail ID")
			   return false
			}
			if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
			    alert("Invalid E-mail ID")
			    return false
			}
			 if (str.indexOf(at,(lat+1))!=-1){
			    alert("Invalid E-mail ID")
			    return false
			 }
			 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
			    alert("Invalid E-mail ID")
			    return false
			 }
			 if (str.indexOf(dot,(lat+2))==-1){
			    alert("Invalid E-mail ID")
			    return false
			 }
			 if (str.indexOf(" ")!=-1){
			    alert("Invalid E-mail ID")
			    return false
			 }
 			 return true					
		}	


	function ValidateForm()
	{ 
		
		var Ainterest=document.form2.area_of_interest;
		if ((Ainterest.selectedIndex==null)||(Ainterest.selectedIndex=="")){
			alert("Please select your Area of Interest")
			Ainterest.focus()
			return false
		}

		var Fname=document.form2.first_name;
		if ((Fname.value==null)||(Fname.value=="")){
			alert("Please enter your First Name")
			Fname.focus()
			return false
		}
		
		var Lname=document.form2.last_name;
		if ((Lname.value==null)||(Lname.value=="")){
			alert("Please enter your Last Name")
			Lname.focus()
			return false
		}
		
		var Ttitle=document.form2.title;
		if ((Ttitle.value==null)||(Ttitle.value=="")){
			alert("Please enter your Title")
			Ttitle.focus()
			return false
		}
		
		var Ccompany=document.form2.company;
		if ((Ccompany.value==null)||(Ccompany.value=="")){
			alert("Please enter your Company Name")
			Ccompany.focus()
			return false
		}						

		var emailID=document.form2.email
		if ((emailID.value==null)||(emailID.value=="")){
			alert("Please enter your Email ID")
			emailID.focus()
			return false
		}
		if (echeck(emailID.value)==false){
			emailID.value=""
			emailID.focus()
			return false
		}
		
		var Pphone=document.form2.phone;
		if ((Pphone.value==null)||(Pphone.value=="")){
			alert("Please enter your Phone")
			Pphone.focus()
			return false
		}		
		var Aaddress=document.form2.address;
		if ((Aaddress.value==null)||(Aaddress.value=="")){
			alert("Please enter your Address")
			Aaddress.focus()
			return false
		}		

		var Ccity=document.form2.city;
		if ((Ccity.value==null)||(Ccity.value=="")){
			alert("Please enter your City")
			Ccity.focus()
			return false
		}
		var Sstate=document.form2.state;
		if ((Sstate.value==null)||(Sstate.value=="")){
			alert("Please enter your State")
			Sstate.focus()
			return false
		}
		var Ppost=document.form2.post;
		if ((Ppost.value==null)||(Ppost.value=="")){
			alert("Please enter your Postal Code")
			Ppost.focus()
			return false
		}		

		var Ccountry=document.form2.country;
		if ((Ccountry.value==null)||(Ccountry.value=="")){
			alert("Please enter your Country")
			Ccountry.focus()
			return false
		}		

		return true
	 }
//-->
