agent = navigator.userAgent browserVer = 2 if ((navigator.userAgent.substring(0,9) == "Mozilla/3") || (navigator.userAgent.substring(0,9) == "Mozilla/4")) (browserVer = 1) var y="home"; var z="blah"; if (browserVer == 1) { buy = new Image(100,14); buy.src = "www.shafe.com/images/nav/b_buy.gif"; buy2 = new Image(100,14); buy2.src = "www.shafe.com/images/nav/b_buy2.gif"; artwork = new Image(100,14); artwork.src = "www.shafe.com/images/nav/b_artwork.gif"; artwork2 = new Image(100,14); artwork2.src = "www.shafe.com/images/nav/b_artwork2.gif"; squadrons = new Image(100,14); squadrons.src = "www.shafe.com/images/nav/b_squadrons.gif"; squadrons2 = new Image(100,14); squadrons2.src = "www.shafe.com/images/nav/b_squadrons2.gif"; feedback = new Image(100,14); feedback.src = "www.shafe.com/images/nav/b_feedback.gif"; feedback2 = new Image(100,14); feedback2.src = "www.shafe.com/images/nav/b_feedback2.gif"; files = new Image(100,14); files.src = "www.shafe.com/images/nav/b_files.gif"; files2 = new Image(100,14); files2.src = "www.shafe.com/images/nav/b_files2.gif"; forum = new Image(100,14); forum.src = "www.shafe.com/images/nav/b_forum.gif"; forum2 = new Image(100,14); forum2.src = "www.shafe.com/images/nav/b_forum2.gif"; home = new Image(100,14); home.src = "www.shafe.com/images/nav/b_home.gif"; home2 = new Image(100,14); home2.src = "www.shafe.com/images/nav/b_home2.gif"; info = new Image(100,14); info.src = "www.shafe.com/images/nav/b_info.gif"; info2 = new Image(100,14); info2.src = "www.shafe.com/images/nav/b_info2.gif"; links = new Image(100,14); links.src = "www.shafe.com/images/nav/b_links.gif"; links2 = new Image(100,14); links2.src = "www.shafe.com/images/nav/b_links2.gif"; news = new Image(100,14); news.src = "www.shafe.com/images/nav/b_news.gif"; news2 = new Image(100,14); news2.src = "www.shafe.com/images/nav/b_news2.gif"; qna = new Image(100,14); qna.src = "www.shafe.com/images/nav/b_q&a.gif"; qna2 = new Image(100,14); qna2.src = "www.shafe.com/images/nav/b_q&a2.gif"; poll = new Image(100,14); poll.src = "www.shafe.com/images/nav/b_polls.gif"; poll2 = new Image(100,14); poll2.src = "www.shafe.com/images/nav/b_polls2.gif"; screens = new Image(100,14); screens.src = "www.shafe.com/images/nav/b_screens.gif"; screens2 = new Image(100,14); screens2.src = "www.shafe.com/images/nav/b_screens2.gif"; strategy = new Image(100,14); strategy.src = "www.shafe.com/images/nav/b_strategy.gif"; strategy2 = new Image(100,14); strategy2.src = "www.shafe.com/images/nav/b_strategy2.gif"; } function hiLite(imgDocID) { if (browserVer == 1) { z = imgDocID document.images[imgDocID].src = eval(imgDocID + "2.src"); }} function unLite(imgDocID) { if (browserVer == 1) { x = document.images[imgDocID].src z = imgDocID document.images[imgDocID].src = eval(imgDocID + ".src") }} function Lite(imgDocID) { if (browserVer == 1) { document.images[y].src = eval(y + ".src"); x = document.images[imgDocID].src y = imgDocID document.images[imgDocID].src = eval(imgDocID + "2.src") }} // -->