function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Action Cancelled.");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


function open_page(page_name) {

theUrl= page_name;
window.open(theUrl,'Info','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=380,height=455,top=50,left=50');

}


function hide_it() {
		if(document.all) {
			link_1.style.top=-150; 
			link_2.style.top=-150;
 			link_3.style.top=-150; 
			link_4.style.top=-150; 
			placer_1.style.top=-150; 
			placer_2.style.top=-150;
			placer_3.style.top=-150; 
			placer_4.style.top=-150;
			}
			
        if(!document.all && document.getElementById) {
 			document.getElementById("link_1").style.top=-150;
 			document.getElementById("link_2").style.top=-150;
  			document.getElementById("link_3").style.top=-150;
 			document.getElementById("link_4").style.top=-150;
 			document.getElementById("placer_1").style.top=-150;
 			document.getElementById("placer_2").style.top=-150;
  			document.getElementById("placer_3").style.top=-150;
 			document.getElementById("placer_4").style.top=-150;
 			}  
}
 			
function showit(wh1) {

	if (wh1 == "lp1") {
	
		if(document.all){
			link_1.style.top=182; 
			placer_1.style.top=182; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_1").style.top=182;
 			document.getElementById("placer_1").style.top=182;
 			} 
	}
	
	if (wh1 == "lp2") {
	
		if(document.all){
			link_2.style.top=182; 
			placer_2.style.top=182; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_2").style.top=182;
 			document.getElementById("placer_2").style.top=182;
 			}   			
 	}


	

	if (wh1 == "lp3") {
	
		if(document.all){
			link_3.style.top=182; 
			placer_3.style.top=182; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_3").style.top=182;
 			document.getElementById("placer_3").style.top=182;
 			} 
	}
	
	if (wh1 == "lp4") {
	
		if(document.all){
			link_4.style.top=182; 
			placer_4.style.top=182; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_4").style.top=182;
 			document.getElementById("placer_4").style.top=182;
 			}   			
 	}













	if (wh1 == "lp1s") {
	
		if(document.all){
			link_1.style.top=80; 
			placer_1.style.top=80; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_1").style.top=80;
 			document.getElementById("placer_1").style.top=80;
 			} 
	}
	
	if (wh1 == "lp2s") {
	
		if(document.all){
			link_2.style.top=80; 
			placer_2.style.top=80; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_2").style.top=80;
 			document.getElementById("placer_2").style.top=80;
 			}   			
 	}






	if (wh1 == "lp3s") {
	
		if(document.all){
			link_3.style.top=80; 
			placer_3.style.top=80; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_3").style.top=80;
 			document.getElementById("placer_3").style.top=80;
 			} 
	}
	
	if (wh1 == "lp4s") {
	
		if(document.all){
			link_4.style.top=80; 
			placer_4.style.top=80; 
			}
			
        if(!document.all && document.getElementById){
 			document.getElementById("link_4").style.top=80;
 			document.getElementById("placer_4").style.top=80;
 			}   			
 	}



}
function checkrequired(which) {
  var pass=true;
  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("The "+shortFieldName+" field is a required field.");
    return false;
  } else {
  return true;
  }
}

