//Force Tables in Netscape to go all the way to the right margin //Pass 'IE' as the second argument to the function if you want to make //sure IE doesn't put anything in(especially   where a table cell //is supposed to be only 1px high function makeIt (num,exception) { var browser = navigator.appName; var version = parseInt(navigator.appVersion); var width; if (browser == "Netscape" && version >= '4') { width = window.innerWidth; if (num == 'total') { //make sure path to spacer.gif is correct space = "  "; return space; } else if (width <= num) { space = ' '; } else { width = width - num; //make sure path to spacer.gif is correct space = "  "; } } else if (browser != "Netscape" && num == 'total') { space = ''; } else if (browser !="Netscape" && exception == "IE") { space = ''; } else { space = ' '; } return space; } //Define functions for image rollovers function Navon(imgName) { if (document.images) { imgOn=eval(imgName + "on.src"); document[imgName].src= imgOn; } } function Navoff(imgName) { if (document.images) { imgOff=eval(imgName + "off.src"); document[imgName].src= imgOff; } } //Force NN to reload on re-size function fixNN () { var ua = navigator.appName; var uanum = parseFloat(navigator.appVersion); if (ua == "Netscape" && uanum >= '4.08') { location.reload(); } else { return; } } //Load Nav Bar Images For Online Course Index Page if (document.images) { nav1on = new Image(275,54); nav1on.src = "../images/enav/logo_roll.gif"; nav1off = new Image(275,54); nav1off.src = "../images/enav/logo.gif"; nav2on = new Image(71,54); nav2on.src = "../images/enav/evlib_roll.gif"; nav2off = new Image(71,54); nav2off.src = "../images/enav/evlib_off.gif"; nav3on = new Image(74,54); nav3on.src = "../images/enav/ts_roll.gif"; nav3off = new Image(74,54); nav3off.src = "../images/enav/ts_course_on.gif"; nav5on = new Image(84,54); nav5on.src = "../images/enav/slessons_roll.gif"; nav5off = new Image(84,54); nav5off.src = "../images/enav/slessons_off.gif"; nav6on = new Image(78,54); nav6on.src = "../images/enav/svideos_roll.gif"; nav6off = new Image(78,54); nav6off.src = "../images/enav/svideos_off.gif"; nav7on = new Image(73,54); nav7on.src = "../images/enav/tvideos_roll.gif"; nav7off = new Image(73,54); nav7off.src = "../images/enav/tvideos_off.gif"; nav8on = new Image(67,54); nav8on.src = "../images/enav/tguide_roll.gif"; nav8off = new Image(67,54); nav8off.src = "../images/enav/tguide_off.gif"; }