/****************************************************************************/
var NS  = (document.layers) ? true : false;
var IE  = (document.all) ? true : false;
var DOM = (document.getElementById) ? true : false;
var Mac = (navigator.appVersion.indexOf('Mac') != -1) ? true : false;
/****************************************************************************/
if (!NS && !IE && !DOM) {location.href = 'browser.html';}
if (top.frames.length != 0) top.location.href = 'index.html';
/****************************************************************************/
var newWindow;
/****************************************************************************/
var intWidth  = window.innerWidth;
var intHeight = window.innerHeight;
/****************************************************************************/
window.onresize = function() {
	if ((!NS) && (window.innerWidth == intWidth) && (window.innerHeight == intHeight)) return;
	window.history.go(0);
}
/****************************************************************************/
function openStyle()
{
 var txtHTML = '<link rel=stylesheet href="styles/style';
 if (NS && !Mac) {txtHTML += '_ns.css" type="text/css">';}
 else {txtHTML += '.css" type="text/css">';}
 document.write(txtHTML);
}
/****************************************************************************/
openStyle();
/****************************************************************************/
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);
}
/****************************************************************************/
