function showProductImage(url)
{
window.open(url,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=520, height=760")
}


function contacted()
{
window.self.location='contactus.htm';
}

// for the feedback forms
function validate(url)
{
x=document.feedback;

fn=x.name.value.length;
em=x.email.value.length;
at=x.email.value.indexOf("@")
dot=x.email.value.indexOf(".")

if (fn<1)  
	{
	alert ("Please enter your name")
	x.name.focus()
	return false
	}
else if (em<6)      
	{
	alert("Please check that you have entered a valid email address")
	x.email.focus()
	return false
	}
else if (at == -1)
	{
	alert("Please check that you have entered a valid email address")
	x.email.focus()
	return false
	}
else if (dot == -1)
	{
	alert("Please check that you have entered a valid email address")
	x.email.focus()
	return false
	}

// this next section needs to call the ASP page that sends the email
else {
	x.method="post";
	x.action=url;
	x.submit();
	}
}
