	
 if (document.layers)
   isNS = true
 else
   isNS = false
 if (document.all)
   isIE = true
 else
   isIE = false
 if (isNS)
   var gBorder = 20; // Minimum image border to avoid scrollbars in Netscape
 else
   var gBorder = 25; // Minimum image border to avoid scrollbars in IE 


function winOpen(DefURL, Titel) {

  var title = DefURL;
  var FullDefURL = "images/histo/full/"+DefURL+".jpg";
  var gWidth  = 640 + gBorder;  // popup width and height
  var gHeight = 461 + gBorder;
  winFeatures = "resize=no,width="+gWidth+",height="+gHeight+",screenX=0,screenY=10,top=20,left=40";
 
  //if (gWin && !gWin.closed)
  //	gwin.location.href=gURL;
  //   else
  //	gWin = window.open(gURL,"Glossary",winFeatures);
  //
  // gWin.focus(); // Force to top
  // }

  var popup = window.open("","FULL",winFeatures);
  popup.document.write("<HTML><HEAD><TITLE>"+Titel+"</TITLE></HEAD>");
  popup.document.write("<FRAMESET Rows=*,45 BORDER=0>");
  popup.document.write("<FRAME Name=def SRC="+FullDefURL+" Scrolling=No>");
  popup.document.write("<FRAME Name=close SRC=closewindow.html Scrolling=No>");
  popup.document.write("</FRAMESET>");
  popup.document.write("</HTML>");
  popup.document.close();
  popup.focus();

}

