
//full screen gimmick
//michel.ravey@free.fr - 7.4.01


function plein_ecran(page) {

netscape = (navigator.appName == "Netscape");
n4 = netscape && (parseInt(navigator.appVersion) >= 4);
explorer = (navigator.appName == "Microsoft Internet Explorer");
ie = explorer && (parseInt(navigator.appVersion) >= 4);
ie4 = explorer && (parseInt(navigator.appVersion) == 4);
ie5 = explorer && (navigator.appVersion.indexOf('MSIE 5') > 0);
mac = navigator.userAgent.indexOf('Mac') > 0;
win = navigator.userAgent.indexOf('Win') > 0;

if (mac) {
  glanwin=window.open(page,"","resizable=yes")
//  if (document.all){
    glanwin.moveTo(0,0);
    glanwin.resizeTo(screen.width,screen.height); 
//  }
}
else {
  if (ie) {
    glanwin=window.open(page,"","scrollbars=0, titlebar=0, toolbar=0, menubar=0,top=0,left=0");
    glanwin.resizeTo(screen.width,screen.height);
  }
  else {
    glanwin=window.open(page,"","")
    if (document.all){
      glanwin.moveTo(0,0);
      glanwin.resizeTo(screen.width,screen.height);
    }
  }
}
}


