function findImage(doc, name, j) {
 var theImage = false;
 if (doc.images) {theImage = doc.images[name];}
 if (theImage) {return theImage;}
 if (doc.layers) {
  for (j = 0; j < doc.layers.length; j++) {
   theImage = findImage(doc.layers[j].document, name, 0);
   if (theImage) {return (theImage);}
  }
 }
 return (false);
}

function menu(imName, over) {
 if (ie4||ie5||ie6||ns4||ns6||op5||op6||mz7) {
  var theImage = findImage(document, imName, 0);
  if (theImage) {
  	imPON = imName + '_pon';
	  imOFF = imName + '_off';
  	theImage.src = '../img/' + (over ? imPON : imOFF) + '.gif';
  }
 }
}

function menumod(imName, over){
 if (ie4||ie5||ie6||ns4||ns6||op5||op6||mz7) {
	imPON = "mod_pon";
	imOFF = "mod_off";
	imOFF = "mod_off";
	if (document.images) document.images[imName].src = "../img/" + (over ? imPON : imOFF) + ".gif";
 }
}

function menumf(imName, over){
 if (ie4||ie5||ie6||ns4||ns6||op5||op6||mz7) {
	imPON = "mf_pon";
	imOFF = "mf_off";
	if (document.images) document.images[imName].src = "../img/" + (over ? imPON : imOFF) + ".gif";
 }
}

function Viewer(winURL,winName,winWidth,winHeight,origY,origX,scrollWin,resWin) {
 winAttr = 'width=' + winWidth + ',height=' + winHeight + ',top=' + origY + ',left=' + origX + ',scrollbars=' + scrollWin + ',resize=' + resWin;
 window.open(winURL,winName,winAttr);
}

function do_nothing(){}
