// standard.js
//
// by aure@arsdigita.com
//
// (but mostly adaptation of anonymous code found on various sites)
//
// $Id: standard,v 1.1 2003/12/11 02:14:38 aegrumet Exp $
//do browser detection here
//placeholder for now; more robust testing to follow
var isNN, isIE, isMac;
var agent = navigator.userAgent;
var isMac;
var click_to_open_menu = 0;
if (agent.lastIndexOf('Mac')<0) isMac=false;
else isMac=true;
if (document.all){
if (navigator.appName.indexOf("WebTV") != -1) {
isWebTV = true;
} else {
isIE = true;
}
} else if (document.layers){
isNN = true;
document.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP | Event.RESIZE);
window.onresize=myResizeFunction;
}
//standard handler for dealing with
//netscape's bad habits
if (isNN)
{var ws = window.innerWidth;
var hs = window.innerHeight;}
function myResizeFunction()
{if (isNN)
{if ((window.innerWidth != ws) || (window.innerHeight != hs))
{window.location.href=window.location.href;}
}
}
//makes layers, courtesy of peterg
function mkLay(n,w,h,x,y,z,vis,cnt,exn,exe) {
if (isNN) {
vis == 1 ? vis='show' : vis='hide';
document.write('