function printpage()
{
window.print()
}

function validate()
{
x=document.mailinglistform
at=x.emailbox.value.indexOf("@")
if (at == -1)
	{
	alert("Your Email Address is invalid.")
	return false
	}
}


function validate_orderrequestform(f)
{
	with (f)
	{


	if (lastnamebox.value=="")
		{
		alert("Please fill in your lastname")
		emailbox.focus()
		emailbox.select()
		return false
		}

	if (firstnamebox.value=="")
		{
		alert("Please fill in your firstname")
		emailbox.focus()
		emailbox.select()
		return false
		}

	if (emailbox.value=="")
		{
		alert("Please fill in your email address")
		emailbox.focus()
		emailbox.select()
		return false
		}

	x=document.OrderRequestForm
	at=x.emailbox.value.indexOf("@")
	if (at == -1)
	{
	alert("Your email address is invalid.")
	return false
	}


	if (phonebox_area.value=="")
		{
		alert("Please fill in your area code")
		emailbox.focus()
		emailbox.select()
		return false
		}

	if (phonebox_first3.value=="")
		{
		alert("Please add your phone number")
		emailbox.focus()
		emailbox.select()
		return false
		}

	if (phonebox_last4.value=="")
		{
		alert("Please add your phone number")
		emailbox.focus()
		emailbox.select()
		return false
		}


	return true

	}

}


function newWindowform(form) 
{
imageWindow = window.open(form,'formWin','width=380,height=175,scrollbars=no,menubar=no,location=no,resizable=no')
imageWindow.focus()
}

function newWindowinformation(sitemap) 
{
imageWindow = window.open(sitemap,'imageWin','width=300,height=300,scrollbars=no,menubar=no,location=no,resizable=no')
imageWindow.focus()
}







