// Logic script extracted from Site Mundo Java http://www.mundojava.hpg.ig.com.br/script/imagem_que_muda_com_mouse.htm
// Modified and Remodelled by Marco Zuliani - maz7278@ig.com.br - http://www.zuliani.eti.br/
// and Thiago Del Ré Cavallini - thiago@delre.com.br
<!--
if (document.images) {
  menu001on = new Image;
  menu001on.src = DirP+"001over.gif";
  menu001off = new Image;
  menu001off.src = DirP+"001null.gif";
 
  menu002on = new Image;
  menu002on.src = DirP+"002over.gif";
  menu002off = new Image;
  menu002off.src = DirP+"002null.gif";
   
  menu003on = new Image;
  menu003on.src = DirP+"003over.gif";
  menu003off = new Image;
  menu003off.src = DirP+"003null.gif";
  
  menu004on = new Image;
  menu004on.src = DirP+"004over.gif";
  menu004off = new Image;
  menu004off.src = DirP+"004null.gif";

  menu005on = new Image;
  menu005on.src = DirP+"005over.gif";
  menu005off = new Image;
  menu005off.src = DirP+"005null.gif";
  
  menu006on = new Image;
  menu006on.src = DirP+"006over.gif";
  menu006off = new Image;
  menu006off.src = DirP+"006null.gif";
  
  menu007on = new Image;
  menu007on.src = DirP+"007over.gif";
  menu007off = new Image;
  menu007off.src = DirP+"007null.gif";
}
function img_on(NomeImagem) {
        if (document.images) {
                imgOn = eval(NomeImagem + "on.src");
                document [NomeImagem].src = imgOn;
        }
}
function img_off(NomeImagem) {
        if (document.images) {
                imgOff = eval(NomeImagem + "off.src");
                document [NomeImagem].src = imgOff;
        }
}

if (w != null){
var muda_on = "img_on('menu"+w+"')";
  for (i=0; i < Ghe.length; i++){
	if (Ghe[i] == w && LKg[i] == "link"+w+".htm"){
	document.write("<img src='images/space.gif' width='1' height='1'><br><a href='"+LKg[i]+"' onMouseOver="+muda_on+";openaLL('"+LOv[i]+"'); onMouseOut="+muda_on+";timerID=setTimeout('closeaLL()',2000);><img src='"+DirP+w+".gif' width='18' height='18' border='0'></a><br>");
	} else if (Ghe[i] != w) {
	document.write("<img src='images/space.gif' width='1' height='1'><br><a href='"+LKg[i]+"' onMouseOver=img_on('menu"+Ghe[i]+"');openaLL('"+LOv[i]+"'); onMouseOut=img_off('menu"+Ghe[i]+"');timerID=setTimeout('closeaLL()',2000);><img src='"+DirP+Ghe[i]+".gif' width='18' height='18' border='0'></a><br>");
	}
  }
} else {
window.alert("Nº de query string inválida: "+w);
}
// -->
