var newWin = null; 
function popUp(strURL, strType, strHeight, strWidth) { 
 if (newWin != null && !newWin.closed) 
   newWin.close(); 
 var strOptions=""; 
 if (strType=="console") 
   strOptions="resizable,height="+ 
     strHeight+",width="+strWidth; 
 if (strType=="fixed") 
   strOptions="status,height="+ 
     strHeight+",width="+strWidth; 
 if (strType=="fixedscroll") 
   strOptions="status,scrollbars,height="+ 
     strHeight+",width="+strWidth; 
 if (strType=="elastic") 
   strOptions="scrollbars,"+ 
     "resizable,height="+ 
     strHeight+",width="+strWidth; 
 newWin = window.open(strURL, 'newWin', strOptions); 
 newWin.focus(); 
}



function validateForm(contact)
{

if(""==document.forms.contact.fname.value)
{
alert("Please enter your first name.");
return false;
}

if(""==document.forms.contact.lname.value)
{
alert("Please enter your last name.");
return false;
}

if(""==document.forms.contact.add.value)
{
alert("Please enter your address.");
return false;
}

if(""==document.forms.contact.city.value)
{
alert("Please enter your city.");
return false;
}

if(""==document.forms.contact.county.value)
{
alert("Please enter your county.");
return false;
}

if(""==document.forms.contact.pcode.value)
{
alert("Please enter your postal code.");
return false;
}

if(""==document.forms.contact.email.value)
{
alert("Please enter your email address.");
return false;
}

if(document.forms.contact.interim.checked==false && document.forms.contact.annual.checked==false && document.forms.contact.annual1.checked==false && document.forms.contact.responsibility.checked==false)
{
alert("Please indicate which report you would like.");
return false;
}

}

