<!--
function showPpopupWithScrollbars(page, width){
	var newWin;
	newWin = window.open(page, 'popup', 'width=' + width + ', left=100,top=40,screenX=100,screenY=40,scrollbars=yes,toolbars=no,menubar=no');
}
//-->

<!--
function showFixedSizePage(page, width, height){
	var newWin;
	newWin = window.open(page, 'popup', 'width=' + width + ', height= ' + height +  ', left=100,top=40,screenX=100,screenY=40,scrollbars=yes,toolbars=no,menubar=no');
}
//-->

<!--
function isEmailAddr(email)
{
	var result = false
	var theStr = new String(email)
	var index = theStr.indexOf("@");
	if (index > 0)
	{
		var pindex = theStr.indexOf(".",index);
		if ((pindex > index+1) && (theStr.length > pindex+1))
			result = true;
	}
	return result;
}
//-->
	
<!--
function FormValidator(theForm)
{
	if ((theForm.email.value == "") 
	|| (theForm.name.value == "")
	|| (theForm.phone.value == "")
	|| (theForm.company.value == "")
	|| (theForm.country.value == "")
	|| (theForm.question.value == ""))	
	{
		alert("Please complete the form.");
		theForm.name.focus();
		return (false);
	}
	if (!isEmailAddr(theForm.email.value))
	{
	    	alert("Please enter a complete email address in the form: yourname@yourdomain.com");
	        theForm.email.focus();
	    	return (false);
	}
	   
	if (theForm.email.value.length < 3)
	{
	    	alert("Please enter at least 3 characters in the \"email\" field.");
	    	theForm.email.focus();
	   	return (false);
	}
	return (true);
}
