function TrImg(obj){var img=obj.src;if(img.indexOf("1")>0){img=img.replace("1","2")}else{img=img.replace("2","1")};obj.src=img;}
function TrCmp(obj){var img=obj.className;if(img.indexOf("1")>0){img=img.replace("1","2")}else{img=img.replace("2","1")};obj.className=img;}
var popUpWin=0;function Janela(pg,l,a,sb){y=(screen.height-a)/2;x=(screen.width-l)/2;pa='scrollbars='+sb+',toolbar=no,location=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);}
