function gotomo()
{
location.href = document.selmo.theselmo.value
}
function gotoyr()
{
location.href = document.selyr.theselyr.value
}
function checksearch(){
if (document.search.SearchString.value == ""){
alert("You did not give me anything to look for\n Please type something"); 
return false;
 }
}
function flipFlop(theID) {
 var theElement = document.getElementById(theID);
 if (theElement.className == 'cmoff'){
	theElement.className = 'cmon'
	}
 else { 
 	theElement.className = 'cmoff'
	}
}
function Flopflip(theID) {
 var theElement = document.getElementById(theID);
 if (theElement.className == 'dmon'){
	theElement.className = 'dmoff'
	}
 else { 
 	theElement.className = 'dmon'
	}
}


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function CaricaFoto(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,0);
  }
}
function viewFoto(img){
  largh=foto1.width+0;
  altez=foto1.height+0;
  stringa="width="+largh+",height="+altez+",menubar=no, toolbar=no, scrollbars=yes";
  finestra=window.open(img,"",stringa);
  imDoc=finestra.document;
with (imDoc){
writeln('<html><head><title>View Image</title>');
writeln('</head><body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" bgcolor=\"#000000\" onmousedown=\"window.close()" onload=\"resizeWin();doTitle();self.focus();">');
writeln('<div align=\"center\" style=\"width:100%;height:100%;overflow:auto\"><img src="'+img+'" onmousedown=\"window.close()"></div></body></html>'); 
close();
} 
}
//  End -->



<!--
// ShowHide Script
//
// David J. Harris - © Eclectic Networks 2002-2005
//
// Parameters:
// imageExpand - image to display when table is open/expanded
// imageCollapse - image to display when table is closed/retracted
// targetID - id of the table row that is opened/closed or expanded/retracted
// buttonID - id of the button that controls the row that is opened/closed or expanded/retracted
//
function ShowHide(imageExpand, imageCollapse, targetID, buttonID) {
	if ( document.getElementById ) {
		var target = document.getElementById( targetID );
		if ( target != null ) {
			target.style.display = ( target.style.display != "none" ) ? "none" : "";
		}
		if ( imageCollapse != "" ) {
			var imageButton = document.getElementById( buttonID );
			if ( imageButton != null ) {
				imageButton.src = ( target.style.display != "none" ) ? imageCollapse : imageExpand;
			}
		}
		return false;
	}
	return true;
}
-->