var platform;
var browser;
var version;
var adjWidth;
var adjHeight;
var winSize,winOptions;

version = parseInt(navigator.appVersion);

if(navigator.userAgent.indexOf('Win') == -1) {
        platform = 'Macintosh';
} else {
        platform = 'Windows';
}

if(navigator.appName.indexOf('Netscape') == -1) {
        browser = 'IE';
} else {
        browser = 'Netscape';
}

  if ((platform == 'Macintosh') && (browser == 'Netscape')) {
            adjWidth = 20;
            adjHeight = 35;
           winOptions = ',resizable=yes';
      }
      if ((platform == 'Macintosh') && (browser == 'IE')) {
            adjWidth = 18;
            adjHeight = 33;
            winOptions = ',resizable=yes';
      }
	if ((platform == 'Windows') && (browser == 'Netscape')) {
      	    adjWidth = 10;
            adjHeight = 12;
			winOptions = ',resizable=yes';
      }
	
	if ( (platform == 'Windows') && (browser == 'IE') ) {
		adjWidth = 10;
        adjHeight = 33;
		winOptions = ',resizable=yes';
	} 

	winWidth = screen.availWidth - adjWidth;
    winHeight = screen.availHeight - adjHeight;
    winSize = 'scrollbars=false,width=' + winWidth + ',height=' + winHeight;
	theX=0
	theY=0
	winPos=',screenX=' + theX+ ',screenY=' + theY+ ',left='+theX+',top='+theY

function FullScreen() {
    
    rd = window.open('pt/flashpop.asp', 'home', winSize + winOptions + winPos);
    rd.focus; 
   // rd.moveTo(0,0);

}
function FullScreenEng() {
    
    rd = window.open('en/flashpop.asp', 'home', winSize + winOptions + winPos);
   // rd.moveTo(0,0);

}
function FullScreenFr() {
    
    rd = window.open('fr/flashpop.asp', 'home', winSize + winOptions + winPos);
   // rd.moveTo(0,0);

}
function executa(idcliente){
	if ( idcliente == 'crediagora'){
		ppp=window.open('../pop_up_fotos/crediagora/fotos.php','pop','width=680,height=490,toolbars=no,scrollbars=yes,resize=no,left=100,top=0');
		ppp.focus();
		
	} else {
		ppp=window.open('../pop_up_fotos/fotos.asp?idcliente=' + idcliente +'','pop','width=680,height=490,toolbars=no,scrollbars=yes,resize=no,left=100,top=0');
		ppp.focus();
	}
}
// -->

