function closeWindow(){
	self.close();
}
function printWindow(){
    window.print();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function ChkReqInfo() {
	var badCount = 0;
	var msg = "";
	var f = document.req_info;
   
	if (f.DayPhone.value == "") {
   		noday = 1;
	} else {
		noday = 0;
	}
	
	if (f.EveningPhone.value == "") {
		noevening = 1;
	} else {
		noevening = 0;
	}
	
	alert (noevening);
	
    if (f.email.value == "") {
    	noemail = 1;
	} else {
		noemail = 0;
	} 
	
	if (noday==1) {
		if (noevening==1) {
			if (noemail==1) {
				badCount = badCount + 1;
	    		msg = "Day Phone, Evening Phone or E-mail must have a value.";
			}
		}
	}
   
   if (badCount == 0) {
      return true;
   } else {
      alert (msg);
      return false;
  }
}