/*************************************************************
		Slava Dec29/2003 Version 1.0
		validate email information
		Algorthm:
	**************************************************************/

////////////////////////////////////////////////////////////
/*
	DoSubmit event validation
*/	
////////////////////////////////////////////////////////////
	function validonsubmit()
	{
	var allertmsgloc="";
	var bretval=true;
		var name = new String(document.OrderForm.name.value)
		if(name.length==0){allertmsgloc += "Enter \"Full Name\" value.\n";bretval=false;}
		var workphone = new String(document.OrderForm.workphone.value)
		if(workphone.length==0){allertmsgloc += "Enter \"Day Phone\" value.\n";bretval=false;}
		var email1 = new String(document.OrderForm.email1.value)
		if(email1.length==0){allertmsgloc += "Enter \"Email Address\" value.\n";bretval=false;}
		var verifyemail = new String(document.OrderForm.verifyemail.value)
		if(verifyemail.length==0){allertmsgloc += "Retype Email Address value.\n";bretval=false;}
		var address1 = new String(document.OrderForm.address1.value)
		if(address1.length==0){allertmsgloc += "Enter \"Address\" value.\n";bretval=false;}
		var city = new String(document.OrderForm.city.value)
		if(city.length==0){allertmsgloc += "Enter \"City\" value.\n";bretval=false;}
		var state = new String(document.OrderForm.state.value)
		if(state.length==0){allertmsgloc += "Enter \"State\" value.\n";bretval=false;}
		var zip = new String(document.OrderForm.zip.value)
		if(zip.length==0){allertmsgloc += "Enter \"ZIP\" value.\n";bretval=false;}
		var country = new String(document.OrderForm.value)
		if(country.length==0){allertmsgloc += "Enter \"Country\" value.\n";bretval=false;}

	
		if(!bretval){
			alert(allertmsgloc)
			return false
		}else{
			return true;
		}
	}


