	var abriu=false;
    var newwindow2;
    function popup(url,msg)
    {
//      newwindow2 = window.open(url,msg,'width=562,height=270,left='+(screen.width-580)+',top='+(screen.height-350)+',scrollbars=no,resizable=no,status=no,titlebar=no,toolbar=no,menubar=no');
      newwindow2 = window.open(url,msg,'');
	  if (window.focus) {newwindow2.focus();}
      if(newwindow2){
            abriu=true;
            //return false;
        }	  
    }

    var newwindow;
    function popup2(url,msg,w,h)
    {
	newwindow = window.open(url,msg,'width='+w+',height='+h+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2+',scrollbars=yes,resizable=yes,status=yes,toolbar=yes,menubar=yes');
	  if (window.focus) {newwindow.focus()}
      if(newwindow){
            abriu=true;
            //return false;
        }
    }

    var newwindow3;
    function popup3(url,msg,w,h)
    {
	newwindow = window.open(url,msg,'width='+w+',height='+h+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2+',scrollbars=no,resizable=no,status=no,titlebar=no,toolbar=no,menubar=no');
	  if (window.focus) {newwindow3.focus()}
      if(newwindow3){
            abriu=true;
            //return false;
        }	  
    }


//<script LANGUAGE="JavaScript">
function janelanimada(endereco) {
var velocidadev = 10;
var topo = 90;
var esquerda = 80;
var velocidadeh = 10;
if (document.all) {
var tamlar = 340;
var tamjan = 455;
var tamanho = window.open("","","left=" + esquerda + ",top=" + topo + ",width=1,height=1,scrollbars=yes");
for (sizeheight = 1; sizeheight < tamlar; sizeheight += velocidadev) {
tamanho.resizeTo("1",sizeheight );}
for (sizewidth = 1; sizewidth < tamjan; sizewidth += velocidadeh) {
tamanho.resizeTo(sizewidth+6,sizeheight );}
tamanho.location = endereco;}
else
window.location = endereco;}
//</script>

//Exemplo
//<a href="images/Fotos_ampliadas/Aro.jpg" onClick="janelanimada('images/Fotos_ampliadas/Aro.jpg');return false;"><img src="images/Gif/zoomin_1.gif" width="25" height="25" border="0"></a><br>

//<script language="Javascript">
   function PopupPic(sPicURL) {
     window.open( "popup.htm?"+sPicURL, "",  
     "resizable=1,HEIGHT=200,WIDTH=200");
   }
//   </script>
// <script language='javascript'>
   var arrTemp=self.location.href.split("?");
   var picUrl = (arrTemp.length>0)?arrTemp[1]:"";
   var NS = (navigator.appName=="Netscape")?true:false;

     function FitPic() {
       iWidth = (NS)?window.innerWidth:document.body.clientWidth;
       iHeight = (NS)?window.innerHeight:document.body.clientHeight;
       iWidth = document.images[0].width - iWidth;
       iHeight = document.images[0].height - iHeight;
       window.resizeBy(iWidth, iHeight);
       if (navigator.appVersion >= "4") {
         var haxis=(window.screen.width-iWidth)/2;
         var vaxis=(window.screen.height-iHeight)/2;
         window.moveTo( haxis, vaxis );
       }
       self.focus();
     };
//</script>

//<a href="javascript:PopupPic('Sample.jpg')">Image 1</a><br>

