function changeImage(img, outImage, overImage ) {
  if (img.src.substring(img.src.length - overImage.length, img.src.length) == overImage) {
    img.setAttribute ( "src", outImage );
  }
  else {
    img.setAttribute ( "src", overImage );
  }
}
function printDoc(url) {
	day = new Date();
	id = day.getTime();
	eval("print" + id + " = window.open( url, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=680,height=510');");
}
function popUp(URL, winname, wid, hei) {
	eval("page" + winname + " = window.open(URL, '" + winname + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + wid + ",height=" + hei + "');");
}
