/****************************************************************************/
var NS  = (document.layers) ? true : false;
var IE  = (document.all) ? true : false;
var IE6 = (IE) && (navigator.appVersion.indexOf['MSIE 6'] != -1) ? true : false;
var DOM = (document.getElementById) ? true : false;
var Mac = (navigator.appVersion.indexOf('Mac') != -1) ? true : false;
var Win = ((navigator.userAgent.indexOf('Windows') != -1) && 
     (navigator.userAgent.indexOf('Windows 3') == -1)) ? true : false;
/****************************************************************************/
//if (!NS && !IE && !DOM) {location.href = 'browser.html';}
//if (top.frames.length != 0) top.location.href = 'index.html';
/****************************************************************************/
var intWidth  = window.innerWidth;
var intHeight = window.innerHeight;
/****************************************************************************/
var newWindow;
/****************************************************************************/
function hilite(nr) {
 window.status = arrImg[nr][3];
  document.images['menu' + nr].src = arrImg[nr][1].src;
}
/****************************************************************************/
function restore(nr) {
 window.status = '';
  document.images['menu' + nr].src = arrImg[nr][0].src;
}
/****************************************************************************/
function doClick(nr) {
  document.location.href = arrImg[nr][2];
}
/****************************************************************************/
function openWindow(txtHTTP, txtNewWin, intX, intY) {
  var directive;
  directive = 'scrollbars=no,resizable=no,status=no,width=' + intX + ',height=' + intY;
  newWindow = window.open(txtHTTP, txtNewWin, directive);
 setTimeout('newWindow.focus();', 200);
}
/****************************************************************************/
function openDynWindow(txtHTTP, txtNewWin, intX, intY) {
  var directive;
  directive = 'scrollbars=yes,resizable=yes,status=yes,width=' + intX + ',height=' + intY;
  newWindow = window.open(txtHTTP, txtNewWin, directive);
 setTimeout('newWindow.focus();', 200);
}
/****************************************************************************/
