var platform;
var browser;
var version;
var adjWidth;
var adjHeight;
var winSize,winOptions;
var rd;

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=no';
      }
      if ((platform == 'Macintosh') && (browser == 'IE')) {
            adjWidth = 18;
            adjHeight = 33;
            winOptions = ',resizable=no';
      }
	if ((platform == 'Windows') && (browser == 'Netscape')) {
      	    adjWidth = 10;
            adjHeight = 12;
			winOptions = ',resizable=no';
      }
	
	if ( (platform == 'Windows') && (browser == 'IE') ) {
		adjWidth = 10;
        adjHeight = 33;
		winOptions = ',resizable=no';
	} 

	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() {
   if (rd && rd.open && !rd.closed) {
	    rd.focus(); 
   }else{
		rd = window.open('flashpop.php', 'home', winSize + winOptions + winPos);
	    rd.focus();    
	}

}

// -->

