  
function catalog_onsubmit() 
{

var i=CatalogRequest.VisitorEmail.value.indexOf("@")
var a=CatalogRequest.VisitorEmail.value.indexOf(".")
var Address1=CatalogRequest.Address.value
Address1=Address1.toUpperCase()
var POBox=Address1.indexOf("PO BOX")
var POBox2=Address1.indexOf("P.O. BOX")
var c=0

	
   	if (CatalogRequest.Name.value == "")
	{c = 1;      alert("Please enter your Name");}
	if(POBox > 0)
	{ c = 1;		alert("Cannot Ship to a PO Box");}
	if(POBox2 > 0)
	{ c = 1;		alert("Cannot Ship to a PO Box");}
    if (CatalogRequest.Address.value == "")
	{c = 1;      alert("Please enter your Address");}
    if (CatalogRequest.City.value == "")
	{c = 1;      alert("Please enter your City");}
    if (CatalogRequest.State.value == "")
	{c = 1;      alert("Please enter your State");}
    if (CatalogRequest.Zip.value == "")
	{c = 1;      alert("Please enter your Zip Code");}
	if (c == 0)
	if (CatalogRequest.VisitorEmail.value=="")
	{c = 1;      alert("Please enter an Email Address"); }
	if (i == -1)
	{c = 1;      alert("Invalid Email Address"); }
	if(a == -1)
	{c = 1;      alert("Invalid Email Address");  }
	{	document.CatalogRequest.submit();}
}