	function checkValidations() {
		
		
		if(document.getElementById('name').value=="")
		{  
		   alert("Please Enter Name.");
		   document.getElementById('name').focus();
		   return false;
		}

		if(document.getElementById('telephone').value=="")
		{  
		   alert("Please Enter Telephone.");
		   document.getElementById('telephone').focus();
		   return false;
		}
		
		if(document.getElementById('email').value=="")
		{  
		   alert("Please Enter E-mail.");
		   document.getElementById('email').focus();
		   return false;
		}
		
	}
	
	
	function ValidateForm() {
	
		var emailID=document.getElementById('email')
		
		if ((emailID.value==null)||(emailID.value=="")){
			alert("Please Enter your Email ID")
			return false
		}
		if (echeck(emailID.value)==false){
			emailID.value=""
			return false
		}
		return true
	}
	
	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 checkHelpValidation() {
	
		if(document.getElementById('name').value=="")
		{  
		   alert("Please Enter Name.");
		   document.getElementById('name').focus();
		   return false;
		}

		if(document.getElementById('model').value=="")
		{  
		   alert("Please Enter Model No or Name:.");
		   document.getElementById('model').focus();
		   return false;
		}
		
		if(document.getElementById('email').value=="")
		{  
		   alert("Please Enter E-mail.");
		   document.getElementById('email').focus();
		   return false;
		}
		
		}
		
	function checkshippingValidation()
	{
		if(document.getElementById('orderno').value=="")
		{  
		   alert("Please Enter Your Order No.");
		   document.getElementById('orderno').focus();
		   return false;
		}

		if(document.getElementById('shipping').value=="")
		{  
		   alert("Please Enter Your Shipping Add.");
		   document.getElementById('shipping').focus();
		   return false;
		}
		
		if(document.getElementById('email').value=="")
		{  
		   alert("Please Enter E-mail.");
		   document.getElementById('email').focus();
		   return false;
		}
		
		
		}	