
//------------css-path------------------------------------------------------------------
var theBrowser = myBrowser.name;
if (theBrowser=="GK") { theBrowser="NN"; }
var cssSource="../css/sftgStyle_"+myBrowser.os+"_"+theBrowser+".css"
//
document.writeln("<link rel=\"stylesheet\" href=\""+cssSource+"\" type=\"text/css\">");

//--------------------------------------------------------------------------------------
function _netscapeCssFix() {
  if (document.wM._netscapeCssFix.initWindowWidth != window.innerWidth || document.wM._netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

//--------------------------------------------------------------------------------------
function _netscapeCssFixCheckIn() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.wM == 'undefined'){
      document.wM = new Object;
    }
    if (typeof document.wM.wM_scaleFont == 'undefined') {
      document.wM._netscapeCssFix = new Object;
      document.wM._netscapeCssFix.initWindowWidth = window.innerWidth;
      document.wM._netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = _netscapeCssFix;
  }
}

_netscapeCssFixCheckIn();

//--------------------------------------------------------------------------------------  
var nUrl,nW,nH;
var nWin=new Array;
var nw=0;
function openWindow(nUrl,nW,nH){
nWin[nw] = open(nUrl, "","width="+nW+",height="+nH+",status=yes,scrollbars=yes,scrolling=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes");
nw++;
}
function openWindowNoFrame(nUrl,nW,nH){
nWin[nw] = open(nUrl, "","width="+nW+",height="+nH+",status=no,scrollbars=no,scrolling=no,toolbar=no,menubar=no,location=no,resizable=no");
nw++;
}
