// JavaScript Document for file download page

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function fcheck() {
  if(document.form1.st.value == "") {
     alert("Please select your state from the drop down list");
	 document.form1.st.focus();
	 return false;
	 }
  if(document.form1.zip.value == "" ) {
     alert("Please enter your zip code.");
	 document.form1.zip.focus();
	 return false;
	 }	 
  if(document.form1.zip.value.search(/^\d{5}$/) == -1) {
     alert("Please enter your zip code correctly.");
	 document.form1.zip.value = "";
	 document.form1.zip.focus();
	 return false;
	 }
	
  if ( confirmDelete == true ) {
     
	 return false;
  }	 

return true;
}

function confirmDelete()
{
   if (confirm('Are you sure you want to DELETE ALL the information you just entered?')) {
        return true;
		}
   return false;
}
