<!-- Begin
function VerifyCheckBox(checkBoxElement)
{
	if (checkBoxElement.checked)	checkBoxElement.value = 'true';
	else checkBoxElement.value = 'false';
}
function checkrequired(which) {

if (which.contactDate.value != "")
{
	//alert("Test");
	return (false);
}
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,8)=="required") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(8,30).toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
return true;
}
//  End -->

<!--
function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//-->
function ValidateDataContact(theForm)
{
	if (theForm.contactDate.value != '')
		return false
		
	if (theForm.requiredfirstName.value == "")
	{
		alert('Please, enter your first name.');
		theForm.requiredfirstName.focus();
		return (false);
	}

	if (theForm.requiredlastName.value == "")
	{
		alert('Please, enter your last name.');
		theForm.requiredlastName.focus();
		return (false);
	}
	
	if (theForm.requiredemail.value == "")
	{
		alert('Please, enter your email.');
		theForm.requiredemail.focus();
		return (false);
	}
	else
	{
		if(!ValidateEmail(theForm.requiredemail.value))
		{
			alert("Please check the emails address");
			theForm.requiredemail.focus();
			return false;
		}
	}
}
function ValidateDataSmall(theForm)
{
	if ((theForm.Name.value == "") || (theForm.Name.value == 'Name'))
	{
		alert('Please, enter your full name.');
		theForm.Name.focus();
		return (false);
	}
	
	if ((theForm.Email.value == "") || (theForm.Email.value == 'Email'))
	{
		alert('Please, enter your email.');
		theForm.Email.focus();
		return (false);
	}
	else
	{
		if(!ValidateEmail(theForm.Email.value))
		{
			alert("Please check the emails address");
			theForm.Email.focus();
			return false;
		}
	}
		
	if ((theForm.Comment.value == "") || (theForm.Comment.value == 'Comments'))
	{
		alert('Please, enter your comments.');
		theForm.Comment.focus();
		return (false);
	}
}


