<!--

function janela(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}


window.onerror=null;

nome = navigator.appName;
versao = parseInt(navigator.appVersion);
if ((nome == "Netscape" && versao >= 3) || (nome == "Microsoft Internet Explorer" && versao >= 4))
ver = "sim";
else
{
ver = "nao";alert("O seu browser encontra-se desactualizado. As versões mínimas para poder consultar este site com segurança, são as versões 4 do Microsoft Internet Explorer ou do Netscape Navigator.");
}
  
function fotoh(winurl)
{
wx = 500;
wy = 333;


xWidth = (screen.width-wx)/2;
yHeight = (screen.height-wy)/2;
openhtml = "../show_ima.htm"


	if (wy > 550) {wy = 550};
    winname = "w" + Math.round(Math.random() * 1000);	
    if (ver == "nao")
    {
       wy = wy - 40;
	   wstr = "left="+xWidth+",top="+yHeight+",scrollbars=no,menubar=no,width="+wx+",height="+wy;
       window.open(openhtml,winurl,wstr);
    }
    else 
    {
	   wstr = "left="+xWidth+",top="+yHeight+",scrollbars=no,menubar=no,width="+wx+",height="+wy;
   	   window.open(openhtml,winurl,wstr);
    }
  }
  
function fotov(winurl)
{
wx = 333;
wy = 482;


xWidth = (screen.width-wx)/2;
yHeight = (screen.height-wy)/2;
openhtml = "../show_ima.htm"


	if (wy > 550) {wy = 550};
    winname = "w" + Math.round(Math.random() * 1000);	
    if (ver == "nao")
    {
       wy = wy - 40;
	   wstr = "left="+xWidth+",top="+yHeight+",scrollbars=no,menubar=no,width="+wx+",height="+wy;
       window.open(openhtml,winurl,wstr);
    }
    else 
    {
	   wstr = "left="+xWidth+",top="+yHeight+",scrollbars=no,menubar=no,width="+wx+",height="+wy;
   	   window.open(openhtml,winurl,wstr);
    }
}




//-->



