if (document.images) {
	image1over = new Image();
	image1over.src = "images/button1b.gif";
	image1off = new Image();
	image1off.src = "images/button1a.gif";

	function MoveOver(imageName) {
	  if (document.images) {
	    document[imageName].src = eval(imageName + "over.src");
	  }
	}

	function MoveOff(imageName) {
	  if (document.images) {
	    document[imageName].src = eval(imageName + "off.src");
	  }
	}
}

function Popup(url)	{
	var attstring
	attstring = "height=475,width=700,left=50,top=25,scrollbars=yes";
	window.open(url,"PopUp",attstring);
}

function Popwindow(url)	{
	var attstring
	attstring = "height=450,width=700,left=50,top=25,scrollbars=yes,menubar=yes";
	window.open(url,"PopWindow",attstring);
}

function Popdown() {
	window.close();
}

function Printout() {
	window.print();
}

function Confirmdelete(url) {
	var truthBeTold, msgtxt
	msgtext = "Are you sure you want to delete this entry?";
	truthBeTold = window.confirm(msgtext);
	if (truthBeTold) {
		location.replace(url);
	}
}

function showDiv(ID) {
	var divname;
	divname = eval(ID);
	if (divname.style.visibility == "visible") {
		divname.style.visibility = "hidden";
		}
	else {
		divname.style.visibility = "visible";
		//showTab(0);
	}
}
