

/*iolsmenuconfig.js - Menu Config for IOLS Web Site 
* by IOLS.com (mga)
* Copyright (c) 2003 iols.com All Rights Reserved. 
* Originally published and documented at http://www.iols.com/ 
* You may use this code on a public Web site only if this entire 
* copyright notice appears unchanged and you publicly display 
* on the Web page a link to http://www.iols.com/. 
* 
* Contact info@iols.com for all other uses. 
*/ 
     agt = navigator.userAgent.toLowerCase();

is_major = parseInt(navigator.appVersion);
  is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1));
is_webtv = (agt.indexOf("webtv") != -1);

     NS5 = (is_nav && (is_major >= 5));
     NS4 = (document.layers && !is_webtv);
     IE4 = (document.all && !is_webtv);
    ver4 = (NS4 || IE4);
     IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

function popUp(){return};
function popDown(){return};
function hideMenu(){return};

if (!ver4) event = null;

//begin defining parameters

if (isMenu) {
    menuVersion = 3;

    menuWidth = 174;
    childOverlap = 50;
    childOffset = 20;
    perCentOver = null;
    secondsVisible = .1;


    fntCol = "#000000"; overFnt = "#000000"; 
    fntSiz = "8";
    fntBold = false;
    fntItal = false;
    fntFam = "verdana,Arial,Helvetica,sans-serif";
    backCol = "#FFBB55"; overCol = "#FF9933"; 

    borWid = 0;
    borCol = "#FFFFFF";
    borSty = "plain";
    itemPad = 3;

    imgSrc = "../images/base/tspace.gif";
    imgSiz = 10;

    separator = 1;
    separatorCol = "#FFFFFF";

    isFrames = false;      // <-- IMPORTANT for full window
    navFrLoc = "left";     // <-- display. see below

    keepHilite = true;
    clickStart = false;    //when clickstart is false, it uses mouseOver as the event
    clickKill = false;	   //same idea here as the click start
}
// why wasn't there an else here!!
else {
    backCol = "#FF8844"; overCol = "#FFCC66"; 
    borWid = 0;
    borCol = "#FFFFFF";
    borSty = "plain";
    clickKill = false;	   //same idea here as the click start
    fntCol = "#000000"; overFnt = "#000000"; 
    fntSiz = "7";
    fntBold = false;
    fntItal = false;
    fntFam = "verdana,Arial,Helvetica,sans-serif";
    imgSrc = "../images/base/tspace.gif";
    imgSiz = 10;
    itemPad = 3;
    menuWidth = 174;
    secondsVisible = .1;
    separator = 1;
    separatorCol = "#FFFFFF";
}


function no_op(){return;}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);