function TrImg(obj,img) {
 document.images[obj].src=img;
}
function TrImt(obj,img) {
 obj.src=img;
}
function TrAz(obj) {
 obj.className = "fi2";
} 
function TrBr(obj) {
 obj.className = "fi1";
} 
var popUpWin=0;
function Janela(pg,l,a) {
 y = (screen.height - a) / 2;
 x = (screen.width - l) / 2;
 pa = 'scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no';
 pa = pa + ',resizable=no,copyhistory=yes,width=' + l +',height=' + a;
 pa = pa + ',left=' + x + ', top=' + y + ',screenX=' + x + ',screenY=' + y + '';
 if(popUpWin) if(!popUpWin.closed) popUpWin.close();
 popUpWin = window.open(pg, 'popUpWin',pa );
}