home *** CD-ROM | disk | FTP | other *** search
Wrap
////////////////////////////////////////////////// // DMB DHTML ENGINE 1.5.001 // // (c)xFX JumpStart // // // // PSN: 4A16-195224-XFX-3732 // // // // GENERATED: 1/10/2003 - 1:55:53 PM // // -------------------------------------------- // // Config: Local // // AddIn: // // JS Name: menu // ////////////////////////////////////////////////// var nStyle = new Array; var hStyle = new Array; var nLayer = new Array; var hLayer = new Array; var nTCode = new Array; var AnimStep = 0; var AnimHnd = 0; var HTHnd = new Array; var MenusReady = false; var imgLRsc = new Image; var imgRRsc = new Image; var smHnd = 0; var lsc = null; var tmrHideHnd = 0; var IsOverHS = false; var IsContext = false; var IsFrames = false; var dxFilter=null; var AnimSpeed = 35; var TimerHideDelay = 1037; var SubMenusDelay = 71; var cntxMenu = ''; var DoFormsTweak = true; function GetOPStyle(){;}function SetOPStyle(){;} var nsOW; var nsOH; var mFrame; var cFrame = self; var OpenMenus = new Array; var nOM = 0; var mX; var mY; var BV=parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion); var BN=navigator.appName; var IsWin=(navigator.userAgent.indexOf('Win')!=-1); var IsMac=(navigator.userAgent.indexOf('Mac')!=-1); var KQ=(BN.indexOf('Konqueror')!=-1&&(BV>=5))?true:false; var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false; var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP)?true:false; var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false; var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM||KQ)?true:false; var IX=(IE&&IsWin&&!SM&&!OP&&(BV>5.5)&&(dxFilter!=null)); if(!eval(frames['self'])) { frames.self = window; frames.top = top; } var lmcHS = null; var tbNum = 0; var fx = 0; hStyle[0]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[1]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[2]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[3]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[4]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[5]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[6]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[7]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[8]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[9]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[10]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; hStyle[11]="; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #804040; cursor: default;"; nTCode[12]="cFrame.execURL('http://www.google.com', 'this');"; nTCode[13]="cFrame.HideAll();dmbNW=window.open(cFrame._purl('http://software.xfx.net'),'NewWindow','left=80,top=80,width=600,height=400,directories=0,channelmode=0,toolbar=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1');dmbNW.focus();if(cFrame.IsFrames)mFrame.location.reload();"; var ComputersRImgOff = new Image; var ComputersRImgOn = new Image; ComputersRImgOff.src = rimPath+'black_arrow.gif'; ComputersRImgOn.src = rimPath+'white_arrow.gif'; var AccessoriesRImgOff = new Image; var AccessoriesRImgOn = new Image; AccessoriesRImgOff.src = rimPath+'black_arrow.gif'; AccessoriesRImgOn.src = rimPath+'white_arrow.gif'; function GetCurCmd(e) { //IE,SM,OP,KQ //This function will return the current command under the mouse pointer. //It will return null if the mouse is not over any command. //------------------------------ //Version 1.5 // if(SM) var cc = e; else { var cc = mFrame.window.event; if(!cc) cc = cFrame.window.event; cc = cc.srcElement; } while(cc.id=="") { cc = cc.parentElement; if(cc==null) break; } return cc; } function HoverSel(mode, imgLName, imgRName, e) { //IE,SM,OP,KQ //This is the function called every time the mouse pointer is moved over a command. //------------------------------ //mode: 0 if the mouse is moving over the command and 1 if is moving away. //imgLName: Name of the left image object, if any. //imgRName: Name of the right image object, if any. //------------------------------ //Version 16.2 // var nStyle; var mc; if(mode==0 && OpenMenus[nOM].SelCommand!=null) HoverSel(1); if(mode==0) { mc = GetCurCmd(e); if(nOM>1) { if(mc==OpenMenus[nOM-1].SelCommand) return false; while(((BV>=5)?mc.parentNode.parentNode.id!=OpenMenus[nOM].mName:mc.parentElement.parentElement.id!=OpenMenus[nOM].mName)) Hide(); } if(imgLName) imgLRsc = eval(imgLName+"On"); if(imgRName) imgRRsc = eval(imgRName+"On"); if(OP) mc.opw = OpenMenus[nOM].width - 2*mc.style.left; else { mc.opw = mc.style.width; mc.b = mc.style.borderLeft; mc.hasBorder = mc.b.split(" ").length>1; } if(!mc.nStyle) { if(OP) mc.nStyle = GetOPStyle(mc); else mc.nStyle = SM?mc.getAttribute("style"):mc.style.cssText; mc.hStyle = GetCStyle(mc.style) + ((SM||KQ)?xrep(hStyle[mc.id],"hand","pointer"):hStyle[mc.id]); } OpenMenus[nOM].SelCommand = mc; OpenMenus[nOM].SelCommandPar = [imgLName,imgRName,mc.nStyle]; if(SM||KQ) { IsOverHS = false; if(OP) SetOPStyle(mc, mc.hStyle); else mc.setAttribute("style", mc.hStyle); } else mc.style.cssText = mc.hStyle; if(!OP) FixCursor(mc.style, mc.hStyle); } else { mc = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener; imgLName = (mode==1)?OpenMenus[nOM].SelCommandPar[0]:OpenMenus[nOM].OpenerPar[0]; imgRName = (mode==1)?OpenMenus[nOM].SelCommandPar[1]:OpenMenus[nOM].OpenerPar[1]; nStyle = (mode==1)?OpenMenus[nOM].SelCommandPar[2]:OpenMenus[nOM].OpenerPar[2]; mc.style.background = ""; if(IsMac) mc.style.border = "0px none"; if(SM||KQ) { if(OP) SetOPStyle(mc, nStyle); else mc.setAttribute("style", nStyle); } else mc.style.cssText = ((BV<5)?GetCStyle(mc.style):"") + nStyle; if(imgLName) imgLRsc = eval(imgLName+"Off"); if(imgRName) imgRRsc = eval(imgRName+"Off"); OpenMenus[nOM].SelCommand = null; } if(imgLName) mFrame.document.images[imgLName].src = _fip(imgLRsc); if(imgRName) mFrame.document.images[imgRName].src = _fip(imgRRsc); if(!OP) FixHover(mc, mode); return true; } function FixHover(mc, mode) { //IE,SM //This function fixes the position of the commands' contents when using special highlighting effects. //------------------------------ //Version 2.2 // var hasBorder; var bw; if(mode==0) { if(BV>=5) s = mc.getElementsByTagName("SPAN")[0]; else s = mc.document.all.tags("SPAN")[0]; mc.s = s; mc.stop = s.style.top; mc.sleft = s.style.left; hasBorder = mc.style.borderLeft.split(" ").length>1; if(hasBorder != mc.hasBorder) { bw = (hasBorder?-GetBorderWidth(mc.style.borderLeft):GetBorderWidth(mc.b)); s.style.left = parseInt(s.style.left) + bw + "px"; s.style.top = parseInt(s.style.top) + bw + "px"; if(SM) with(mc.style) { mc.cwidth = width; mc.cheight = height; width = parseInt(width) + 2*bw + "px"; height = parseInt(height) + 2*bw + "px"; } } } else { mc.s.style.top = mc.stop; mc.s.style.left = mc.sleft; if(SM) { mc.style.width = mc.cwidth; mc.style.height = mc.cheight; } } } function NSHoverSel(mode, mc) { //NS //This is the function called every time the mouse pointer is moved over or away from a command. //------------------------------ //mode: 0 if the mouse is moving over the command and 1 if is moving away. //------------------------------ //Version 13.0 // var mcN; ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0; if(!nOM) return false; if(mode==0 && OpenMenus[nOM].SelCommand!=null) NSHoverSel(1); if(mode==0) { mcN = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "N"]; mcN.mcO = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "O"]; if(nOM>1) if(mc==OpenMenus[nOM-1].SelCommand) return false; while(!InMenu()&&nOM>1) Hide(); OpenMenus[nOM].SelCommand = mcN; mcN.mcO.visibility = "show"; mcN.visibility = "hide"; } else { mcN = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener; mcN.visibility = "show"; mcN.mcO.visibility = "hide"; OpenMenus[nOM].SelCommand = null; } return true; } function Hide() { //IE,NS,SM,OP,KQ //This function hides the last opened group and it keeps hiding all the groups until //no more groups are opened or the mouse is over one of them. //Also takes care of reseting any highlighted commands. //------------------------------ //Version 4.6 // var m; ClearTimer(HTHnd[nOM]);HTHnd[nOM] = 0; ClearTimer(AnimHnd);AnimHnd = 0; ClearTimer(tmrHideHnd); if(nOM) { m = OpenMenus[nOM]; if(m.SelCommand!=null) { if(IE) HoverSel(1); if(NS) NSHoverSel(1); } if(m.Opener!=null) { if(IE) HoverSel(3); if(NS) NSHoverSel(3); } ToggleMenu(m, "hidden"); nOM--; } if(nOM==0) { if(tbNum && lmcHS) { if(IE) hsHoverSel(1); if(NS) hsNSHoverSel(1); } status = ""; } else if(!InMenu()) HTHnd[nOM] = window.setTimeout("Hide()", TimerHideDelay/20); } function ToggleMenu(m, s) { //IE,NS,SM,OP,KQ //This function controls how the menus are displayed //and hidden from the screen. //------------------------------ //Version 1.0 // if(IX) { with(m.obj) { if(!m.fs) { m.filter += dxFilter; m.fs = true; } for(var i=0; i<filters.length; i++) { filters[i].apply(); m.visibility = s; filters[i].play(); } } } else m.visibility = s; FormsTweak(s=="visible"?"hidden":"visible"); } function ShowMenu(mName, x, y, isCascading, hsImgName, algn) { //IE,NS,SM,OP,KQ //This function controls the way menus and submenus are displayed. //It also applies a delay to display submenus. //------------------------------ //Version 1.0 // ClearTimer(smHnd);smHnd = 0; if(IX) if(document.readyState!="complete") return false; if(isCascading) { lsc = OpenMenus[nOM].SelCommand; smHnd = window.setTimeout("if(nOM)if(lsc==OpenMenus[nOM].SelCommand)ShowMenu2('" + mName + "',0,0,true,''," + algn + ")", SubMenusDelay); } else ShowMenu2(mName, x, y, false, hsImgName, algn); return true; } function ShowMenu2(mName, x, y, isCascading, hsImgName, algn) { //IE,NS,SM,OP,KQ //This is the main function to show the menus when a hotspot is triggered or a cascading command is activated. //------------------------------ //mName: Name of the <div> or <layer> to be shown. //x: Left position of the menu. //y: Top position of the menu. //isCascading: True if the menu has been triggered from a command. //hsImgName: Image to which the menu is attached to. //algn: Alignment setting for the menu. //------------------------------ //Version 20.5 // var xy; ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0; x = parseInt(x);y = parseInt(y); var Menu = GetObj(mName); if(!Menu) return false; if(IE) { Menu = Menu.style; Menu.obj = GetObj(mName); Menu.frmt = GetObj(mName+"frmt").style; } if(nOM>0) if(OpenMenus[1].mName == mName && !isCascading) { IsOverHS = true; return false; } if(Menu==OpenMenus[nOM]) return false; if(AnimHnd && nOM>0) { AnimStep=100; Animate(); } if(!isCascading) { var oldlmcHS = lmcHS; lmcHS = null; HideAll(); lmcHS = oldlmcHS; } Menu.mName = mName; Menu.Opener = nOM>0?OpenMenus[nOM].SelCommand:null; Menu.OpenerPar = nOM>0?OpenMenus[nOM].SelCommandPar:null; Menu.SelCommand = null; if(OP) { Menu.width = Menu.pixelWidth; Menu.height = Menu.pixelHeight; } if(!isCascading) { if(hsImgName) { var imgObj = NS?FindImage(cFrame.document, hsImgName.split("|")[0]):cFrame.document.images[hsImgName.split("|")[0]]; if(imgObj) { var tbMode = hsImgName.split("|")[1]; if(tbMode&2) x = AutoPos(Menu, imgObj, algn)[0] + (IsFrames?GetLeftTop()[0]:0); if(tbMode&1) y = AutoPos(Menu, imgObj, algn)[1] + (IsFrames?GetLeftTop()[1]:0); if(IsMac&&IE&&!SM&&(BV>=5)) { x += parseInt(mFrame.document.body.leftMargin); y += parseInt(mFrame.document.body.topMargin); } } } } var pW = GetWidthHeight()[0] + GetLeftTop()[0]; var pH = GetWidthHeight()[1] + GetLeftTop()[1]; if(IE) { if(SM) Menu.display = "none"; if(isCascading) { xy = GetSubMenuPos(Menu, algn); x = xy[0];y = xy[1]; } Menu.left = FixPos(x,parseInt(Menu.width),pW) + "px"; Menu.top = FixPos(y,parseInt(Menu.height),pH) + (OP?"":"px"); if(!IX&&!SM&&IsWin) Menu.clip = "rect(0 0 0 0)"; } if(NS) { if(isCascading) { xy = GetSubMenuPos(Menu, algn); x = xy[0];y = xy[1]; } Menu.clip.width = 0; Menu.clip.height = 0; Menu.moveToAbsolute(FixPos(x,Menu.w,pW),FixPos(y,Menu.h,pH)); } if(isCascading) Menu.zIndex = parseInt(OpenMenus[nOM].zIndex) + 1; OpenMenus[++nOM] = Menu; if(SM&&!OP) FixCommands(mName); if(SM) Menu.display = "inline"; if(!IX) { HTHnd[nOM] = 0; if((IE&&IsWin&&!SM)||(NS&&Menu.clip.width==0)) AnimHnd = window.setTimeout("Animate()", 10); } ToggleMenu(Menu, "visible"); if(!isCascading&&!IsContext) IsOverHS = true; IsContext = false; ClearTimer(tmrHideHnd); tmrHideHnd = window.setTimeout("AutoHide()", TimerHideDelay); return true; } function GetSubMenuPos(mg, a) { //IE,NS,SM,OP,KQ //This function calculates the position of a submenu based on its alignment. //------------------------------ //Version 1.1 // var x; var y; var pg = OpenMenus[nOM]; var sc = pg.SelCommand; if(NS) { pg.width = pg.w; pg.height = pg.h; mg.width = mg.w; mg.height = mg.h; sc.width = sc.clip.width; sc.height = sc.clip.height; } else if(OP) { sc.left = sc.style.left; sc.top = sc.style.top; sc.width = sc.style.pixelWidth; sc.height = sc.style.pixelHeight; } else sc = sc.style; var lp = parseInt(pg.left) + parseInt(sc.left); var tp = parseInt(pg.top) + parseInt(sc.top); switch(a) { case 0: x = lp; y = tp + parseInt(sc.height); break; case 1: x = lp + parseInt(sc.width) - parseInt(mg.width); y = tp + parseInt(sc.height); break; case 2: x = lp; y = tp - parseInt(mg.height); break; case 3: x = lp + parseInt(sc.width) - parseInt(mg.width); y = tp - parseInt(mg.height); break; case 4: x = lp - parseInt(mg.width); y = tp; break; case 5: x = lp - parseInt(mg.width); y = tp + parseInt(sc.height) - parseInt(mg.height); break; case 6: x = lp + parseInt(sc.width); y = tp; break; case 7: x = lp + parseInt(sc.width); y = tp + parseInt(sc.height) - parseInt(mg.height); break; case 8: x = lp - parseInt(mg.width); y = tp + (parseInt(sc.height) - parseInt(mg.height))/2; break; case 9: x = lp + parseInt(sc.width); y = tp + (parseInt(sc.height) - parseInt(mg.height))/2; break; case 10: x = lp + (parseInt(sc.width) - parseInt(mg.width))/2; y = tp - parseInt(mg.height); break; case 11: x = lp + (parseInt(sc.width) - parseInt(mg.width))/2; y = tp + parseInt(sc.height); break; } return [x,y]; } function FixCommands(mName, f, t) { //SM //This function is used to fix the way the Gecko engine calculates //the borders and the way they affect the size of divs //------------------------------ //Version 2.1 // var m = GetObj(mName, f); if(!m.Fixed) { if(!f) f = mFrame; if(!t) t = 0; var sd = m.getElementsByTagName("DIV"); for(var i=0;i<(sd.length);(t>0?i+=2:i++)) with(sd[i].style) { var b = GetBorderWidth(borderLeft); if(borderLeft.indexOf("none")==-1) { width = parseInt(width) - 2*b + "px"; height = parseInt(height) - 2*b + "px"; } } } m.Fixed = true; } function Animate() { //IE,NS,SM,OP,KQ //This function is called by ShowMenu every time a new group must be displayed and produces the predefined unfolding effect. //Currently is disabled for Navigator, because of some weird bugs we found with the clip property of the layers. //------------------------------ //Version 1.9 // var r = ''; var nw = nh = 0; if(AnimStep+AnimSpeed>100) AnimStep = 100; switch(fx) { case 1: if(IE) r = "0 " + AnimStep + "% " + AnimStep + "% 0"; if(NS) nw = AnimStep; nh = AnimStep; break; case 2: if(IE) r = "0 100% " + AnimStep + "% 0"; if(NS) nw = 100; nh = AnimStep; break; case 3: if(IE) r = "0 " + AnimStep + "% 100% 0"; if(NS) nw = AnimStep; nh = 100; break; case 0: if(IE) r = "0 100% 100% 0"; if(NS) nw = 100; nh = 100; break; } if(OpenMenus[nOM]) { with(OpenMenus[nOM]) { if(IE) clip = "rect(" + r + ")"; if(NS) { clip.width = w*(nw/100); clip.height = h*(nh/100); } } AnimStep += AnimSpeed; if(AnimStep<=100) AnimHnd = window.setTimeout("Animate()",25); else { ClearTimer(AnimHnd); AnimStep = 0; AnimHnd = 0; } } } function InTBHotSpot() { //IE,NS,SM,OP,KQ //This function returns true if the mouse pointer is over a toolbar item. //------------------------------ //Version 1.1 // if(!tbNum) return false; var m = lmcHS; if(!m) return false; var l = parseInt(m.left); var r = l+(IE?parseInt(m.width):m.clip.width); var t = parseInt(m.top); var b = t+(IE?parseInt(m.height):m.clip.height); return ((mX>=l && mX<=r) && (mY>=t && mY<=b)) || IsOverHS; } function InMenu() { //IE,NS,SM,OP,KQ //This function returns true if the mouse pointer is over the last opened menu. //------------------------------ //Version 2.1 // var m = OpenMenus[nOM]; if(!m) return false; var l = parseInt(m.left); var r = l+(IE?parseInt(m.width):m.clip.width); var t = parseInt(m.top); var b = t+(IE?parseInt(m.height):m.clip.height); return ((mX>=l && mX<=r) && (mY>=t && mY<=b)) || IsOverHS; } function SetPointerPos(e) { //IE,NS,SM,OP,KQ //This function sets the mX and mY variables with the current position of the mouse pointer. //------------------------------ //e: Only used under Navigator, corresponds to the Event object. //------------------------------ //Version 1.6 // if(IE) { if(!SM) { if(mFrame!=cFrame||event==null) if(mFrame.window.event==null) return; else e = mFrame.window.event; else e = event; } mX = e.clientX + GetLeftTop()[0]; mY = e.clientY + GetLeftTop()[1]; } if(NS) { mX = e.pageX; mY = e.pageY; } } function HideMenus(e) { //IE,NS,SM,OP,KQ //This function checks if the mouse pointer is on a valid position and if the current menu should be kept visible. //The function is called every time the mouse pointer is moved over the document area. //------------------------------ //e: Only used under Navigator, corresponds to the Event object. //------------------------------ //Version 25.1 // if(nOM>0) { SetPointerPos(e); if(OpenMenus[nOM].SelCommand!=null) if(!InMenu()&&!HTHnd[nOM]) HTHnd[nOM] = window.setTimeout("if(nOM>0)if(!InMenu())Hide()", TimerHideDelay); } } function FormsTweak(state) { //IE,SM,OP //This is an undocumented function, which can be used to hide every listbox (or combo) element on a page. //This can be useful if the menus will be displayed over an area where is a combo box, which is an element that cannot be placed behind the menus and it will always appear over the menus resulting in a very undesirable effect. //------------------------------ //Version 3.2 // var fe; if(IE&&(!SM||OP)&&DoFormsTweak) { var m = OpenMenus[nOM]; if((BV>=5.5)&&!OP&&m) cIF(state=="visible"?"hidden":"visible"); else if(nOM==1) for(var f=0; f<mFrame.document.forms.length; f++) for(var e=0; e<mFrame.document.forms[f].elements.length; e++) { fe = mFrame.document.forms[f].elements[e]; if(fe.type) if(fe.type.indexOf("select")==0) fe.style.visibility = state; } } } function cIF(state) { //IE //------------------------------ //Version 1.3 // var mfd = mFrame.document; if(mfd.getElementsByTagName("SELECT").length==0) return; var m = OpenMenus[nOM]; var iname = m.obj.id + "iframe"; var i = GetObj(iname); if(!i) { i = mfd.createElement("?"); i.id = iname + "pobj"; mfd.body.insertBefore(i); i = mfd.createElement("IFRAME"); if(location.protocol=="https:") i.src = "/ifo.htm"; i.id = iname; i.style.position = "absolute"; i.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; mfd.getElementById(iname + "pobj").insertBefore(i); } with(i.style) { left = m.left; top = m.top; width = m.width; height = m.height; zIndex = m.zIndex-1; visibility = state; } } function execURL(url, tframe) { //IE,NS,SM,OP,KQ //This function is called every time a command is triggered to jump to another page or execute some javascript code. //------------------------------ //url: Encrypted URL that must be opened or executed. //tframe: If the url is a document location, tframe is the target frame where this document will be opened. //------------------------------ //Version 1.2 // HideAll(); window.setTimeout("execURL2('" + escape(_purl(url)) + "', '" + tframe + "')", 100); } function execURL2(url, tframe) { //IE,NS,SM,OP,KQ //This function is called every time a command is triggered to jump to another page or execute some javascript code. //------------------------------ //url: Encrypted URL that must be opened or executed. //tframe: If the url is a document location, tframe is the target frame where this document will be opened. //------------------------------ //Version 1.6 // var fObj = (tframe=="_blank"?window.open(""):(tframe=="_parent"?mFrame.parent:eval(rStr(tframe)))); url = rStr(unescape(url)); url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url):fObj.location.href = url; } function rStr(s) { //IE,NS,SM,OP,KQ //This function is used to decrypt the URL parameter from the triggered command. //------------------------------ //Version 1.2 // s = xrep(s,"%1E", "'"); s = xrep(s,"\x1E", "'"); if(OP&&s.indexOf("frames[")!=-1) { s = xrep(s,String.fromCharCode(s.charCodeAt(7)), "'"); } return xrep(s,"\x1D", "\x22"); } function hNSCClick(e) { //NS //This function executes the selected command's trigger code. //------------------------------ //Version 1.0 // eval(this.TCode); } function HideAll() { //IE,NS,SM,OP,KQ //This function will hide all the currently opened menus. //------------------------------ //Version 1.1 // if(nOM) while(nOM>0) Hide(); else Hide(); } function tHideAll() { //IE,NS,SM,OP,KQ //This function is called when the mouse is moved away from a hotspot to close any opened menu. //------------------------------ //Version 1.2 // IsOverHS = false; HTHnd[nOM] = window.setTimeout("if(!InMenu()&&!InTBHotSpot())HideAll(); else HTHnd[nOM]=0;", TimerHideDelay); } function GetLeftTop(f) { //IE,NS,SM,OP,KQ //This function returns the scroll bars position on the menus frame. //------------------------------ //Version 2.7 // if(!f) f = mFrame; if(IE) if(SM) return [OP?f.pageXOffset:f.scrollX,OP?pageYOffset:f.scrollY]; else return [GetBodyObj(f).scrollLeft,GetBodyObj(f).scrollTop]; if(NS) return [f.pageXOffset,f.pageYOffset]; } function GetWidthHeight(f) { //IE,NS,SM,OP,KQ //This function returns the width and height of the menus frame. //------------------------------ //Version 2.3 // if(!f) f = mFrame; if(NS||SM) return [f.innerWidth,f.innerHeight]; else return [GetBodyObj(f).clientWidth,GetBodyObj(f).clientHeight]; } function GetBodyObj(f) { //IE // //------------------------------ //Version 1.0 // return (f.document.compatMode=="BackCompat"||BV<6||IsMac)?f.document.body:f.document.documentElement; } function GetBorderWidth(b) { //IE,SM //This functions returns the width of a border //------------------------------ //Version 1.1 // if(OP) return 0; var w; var l = b.split(" "); for(var i=0; i<l.length; i++) { w = parseInt(l[i]); if(w>0) return w; } return 0; } function GetCStyle(cmc) { //IE,SM,OP //This function completes the style of command with all the common //parameters from the original style code. //------------------------------ //Version 1.0 // return "position: absolute; white-space: nowrap; left:" + cmc.left + "; top: " + cmc.top + "; width: " + (OP?cmc.pixelWidth:cmc.width) + "; height: " + (OP?cmc.pixelHeight:cmc.height) + "; "; } function AutoPos(Menu, imgObj, arAlignment) { //IE,NS,SM,OP,KQ //This function finds the image-based hotspot and returns the position at which //the menu should be displayed based on the alignment setting. //------------------------------ //Version 1.1 // var x = GetImgXY(imgObj)[0]; var y = GetImgXY(imgObj)[1]; var mW = parseInt(NS?Menu.w:Menu.width); var mH = parseInt(NS?Menu.h:Menu.height); switch(arAlignment) { case 0: y += GetImgWH(imgObj)[1]; break; case 1: x += GetImgWH(imgObj)[0] - mW; y += GetImgWH(imgObj)[1]; break; case 2: y -= mH; break; case 3: x += GetImgWH(imgObj)[0] - mW; y -= mH; break; case 4: x -= mW; break; case 5: x -= mW; y -= mH - GetImgWH(imgObj)[1]; break; case 6: x += GetImgWH(imgObj)[0]; break; case 7: x += GetImgWH(imgObj)[0]; y -= mH - GetImgWH(imgObj)[1]; break; } return [x, y]; } function GetImgXY(imgObj) { //IE,NS,SM,OP,KQ //This function returns the x,y coordinates of an image. //------------------------------ //Version 1.2 // var x; var y; if(IE) { x = getOffset(imgObj)[0]; y = getOffset(imgObj)[1]; } else { y = GetImgOffset(cFrame, imgObj.name, 0, 0); x = imgObj.x + y[0]; y = imgObj.y + y[1]; } return [x, y]; } function GetImgWH(imgObj) { //IE,NS,SM,OP,KQ //This function returns the width and height of an image. //------------------------------ //Version 1.1 // return [parseInt(imgObj.width), parseInt(imgObj.height)]; } function getOffset(imgObj) { //IE,NS,SM,OP,KQ //This function returns the horizontal and vertical offset of an object. //------------------------------ //Version 1.0 // x = imgObj.offsetLeft; y = imgObj.offsetTop; ce =imgObj.offsetParent; while (ce!=null) { y += ce.offsetTop; x += ce.offsetLeft; ce = ce.offsetParent; } return [x,y]; } function FindImage(d, img) { //NS //This function finds an image regardless of its location in the document structure. //------------------------------ //Version 1.0 // var i; var tmp; if(d.images[img]) return d.images[img]; for(i=0; i<d.layers.length; i++) { tmp = FindImage(d.layers[i].document, img); if(tmp) return tmp; } return null; } function GetImgOffset(d, img, ox, oy) { //NS //This function finds the offset to an image regardless of its location in the document structure. //------------------------------ //Version 1.0 // var i; var tmp; if(d.left) { ox += d.left; oy += d.top; } if(d.document.images[img]) return [ox, oy]; for(i=0; i<d.document.layers.length; i++) { tmp = GetImgOffset(d.document.layers[i], img, ox, oy); if(tmp) return [tmp[0], tmp[1]]; } return null; } function AutoHide() { //IE,NS,SM,OP,KQ //This function hides the menus, even when a submenu is open and no //command has been selected. //------------------------------ //Version 1.1 // var original_nOM = nOM; var OktoClose = true; for(;nOM>0;nOM--) if(InMenu()) { OktoClose = false; break; } nOM = original_nOM; if(OktoClose&&!IsOverHS) Hide(); if(nOM) if(!InMenu()) tmrHideHnd = window.setTimeout("AutoHide()", TimerHideDelay); } function ShowContextMenu(e) { //IE,NS,SM //This function is called when a user rightclicks on the document and it will show a predefined menu. //------------------------------ //Version 1.3 // if(cntxMenu!='') { if(IE) { IsContext = true; SetPointerPos(e); } if(NS) if(e.which==3) { IsContext = true; mX = e.x; mY = e.y; } } if(IsContext) { HideAll(); cFrame.ShowMenu(cntxMenu, mX-1, mY-1, false); return false; } return true; } function SetUpEvents() { //IE,NS,SM,OP,KQ //This function initializes the frame variables and setups the event handling. //------------------------------ //Version 2.5 // if(!SM) onerror = errHandler; if(!mFrame) mFrame = cFrame; if(typeof(mFrame)=="undefined") window.setTimeout("SetUpEvents()",10); else { if(NS) { mFrame.captureEvents(Event.MOUSEMOVE); mFrame.onmousemove = HideMenus; if(cntxMenu!="") { mFrame.window.captureEvents(Event.MOUSEDOWN); mFrame.window.onmousedown = ShowContextMenu; } nsOW = GetWidthHeight()[0]; nsOH = GetWidthHeight()[1]; window.onresize = rHnd; PrepareEvents(); } if(IE) { document.onmousemove = HideMenus; mFrame.document.onmousemove = document.onmousemove; mFrame.document.oncontextmenu = ShowContextMenu; if(SM&&!OP) { var i = 0; var m; while(GetObj(i)) { m = GetObj(i++); m.style.width = parseInt(m.style.width) - 2*parseInt(m.style.paddingLeft) + "px"; m.style.height = parseInt(m.style.height) - 2*parseInt(m.style.paddingTop) + "px"; } } } IsFrames = (cFrame!=mFrame); MenusReady = true; if(IE) FixImages(); } } function errHandler(sMsg,sUrl,sLine) { //IE,NS //This function will trap any errors generated by the scripts and filter the unhandled ones. //------------------------------ //Version 1.1 // if(sMsg.substr(0,16)!="Access is denied"&&sMsg!="Permission denied"&&sMsg.indexOf("cursor")==-1) alert("Java Script Error\n" + "\nDescription: " + sMsg + "\nSource: " + sUrl + "\nLine: "+sLine); return true; } function FixPos(p, s, r) { //IE,NS,SM,OP,KQ //This function optimizes the position of the menus in order to ensure that they are always //displayed inside the browser's visible area. //------------------------------ //Version 1.0 // var n = (p+s>r)?r-s:p; return (n<0)?0:n; } function FixPointSize(s) { //NS //This function increases the point-size value for Navigator 4. //------------------------------ //Version 2.0 // if(IsWin||!NS) return s; for(var i=54; i>1; i--) if(s.indexOf("point-size=" + i)!=-1) s = xrep(s, "point-size=" + i, "point-size=" + (i+3)); return s; } function ClearTimer(t) { //IE,NS,SM,OP,KQ //This is a helper function used to overcome a bug in very //old versions of Navigator 4 //------------------------------ //Version 1.0 // if(t) window.clearTimeout(t); } function xrep(s, f, n) { //IE,NS,SM,OP,KQ //This function looks for any occurrence of the f string and replaces it with the n string. //------------------------------ //Version 1.2 // if(s) s = s.split(f).join(n); return s; } function rHnd() { //NS //This function is used to reload the page when Navigator window is resized. //Original Code from DHTML Lab //------------------------------ //Version 1.0 // if((GetWidthHeight()[0]!=nsOW) || (GetWidthHeight()[1]!=nsOH)) frames["top"].location.reload(); } function FixCursor(mcs, s) { //IE //This function fixes a bug that affects IE6 and custom cursors. //------------------------------ //Version 1.0 // if(mcs.cursor=="") mcs.cursor = (BV<6?"default":s.split("cursor: url(")[1].split(")")[0]); } function GetObj(oName, f) { //IE,NS,SM,OP,KQ //This function returns the object whose name is oName and its located in the f frame. //------------------------------ //Version 1.0 // var obj; if(!f) f = mFrame; if(NS) obj = f.document.layers[oName]; else if(BV>=5) obj = f.document.getElementById(oName); else obj = f.document.all[oName]; return obj; } function PrepareEvents() { //NS //This function is called right after the menus are rendered. //It has been designed to attach the event handlers to the <layer> tag and //fix the font size problems with Navigator under the Mac and Linux. //------------------------------ //Version 4.1 // for(var l=0; l<mFrame.document.layers.length; l++) { var lo = mFrame.document.layers[l]; if(lo.layers.length) { lo.w = lo.clip.width; lo.h = lo.clip.height; for(var sx=0; sx<lo.layers.length; sx++) for(var sl=0; sl<lo.layers[sx].layers.length; sl++) { var slo = mFrame.document.layers[l].layers[sx].layers[sl]; if(slo.name.indexOf("EH")>0) { slo.document.onmouseup = hNSCClick; slo.document.TCode = nTCode[slo.name.split("EH")[1]]; } } } } } if(IE) with(document) { open(); write(xrep("<div id=\"grpProducts\" style=\"position: absolute; top:0px; left:0px;; width:121px; height:79px; z-index: 1000; visibility: hidden\"><div id=\"grpProductsfrmt\" style=\"position: absolute; top:0px; left:0px; width: 121px; height: 79px; background-color: #FFC840; ; border-left: #804040 2px solid ; border-right: #804040 2px solid ; border-top: #804040 2px solid ; border-bottom: #804040 2px solid ;\"><div nowrap style=\"position: absolute; white-space: nowrap;; top: 2px; left: 2px; width: 113px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=0 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'ComputersRImg\',this);status=\'Computers\';cFrame.ShowMenu(\'grpComputers\', 0, 0, true, \'\', 6);\"><span style=\"position:absolute; top: 5px; left: 9px; width: 95px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:76px; left:0px;\" align=left>Computers</div><span style=\"position:absolute; top:0px; left:85px;\"><img name=ComputersRImg src=\"%%REL%%black_arrow.gif\" width=10 height=10></span></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 24px; left: 2px; width: 113px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=1 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'AccessoriesRImg\',this);status=\'Accessories\';cFrame.ShowMenu(\'grpAccessories\', 0, 0, true, \'\', 6);\"><span style=\"position:absolute; top: 5px; left: 9px; width: 95px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:76px; left:0px;\" align=left>Accessories</div><span style=\"position:absolute; top:0px; left:85px;\"><img name=AccessoriesRImg src=\"%%REL%%black_arrow.gif\" width=10 height=10></span></span></div><div style=\"position: absolute; top: 46px; left: 2px; width: 113px; height: 5px;\"><div style=\"position:absolute; top:2px; left:11px; width:90px; height:1px; overflow:hidden; background-color:#000000\"></div></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 52px; left: 2px; width: 113px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=2 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Catalog Index\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 95px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:95px; left:0px;\" align=left>Catalog Index</div></span></div></div></div><div id=\"grpComputers\" style=\"position: absolute; top:0px; left:0px;; width:165px; height:86px; z-index: 1000; visibility: hidden\"><div id=\"grpComputersfrmt\" style=\"position: absolute; top:0px; left:0px; width: 165px; height: 86px; background-color: #FFC840; ; border-left: #804040 2px solid ; border-right: #804040 2px solid ; border-top: #804040 2px solid ; border-bottom: #804040 2px solid ;\"><div nowrap style=\"position: absolute; white-space: nowrap;; top: 2px; left: 2px; width: 157px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=3 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'High Performance\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 139px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:139px; left:0px;\" align=left>High Performance</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 24px; left: 2px; width: 157px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=4 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Gaming Systems\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 139px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:139px; left:0px;\" align=left>Gaming Systems</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 46px; left: 2px; width: 157px; height: 34px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=5 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Computers for the Home<br>Desktop Systems\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 139px; height: 24px;\"><div style=\"position:absolute; top:-1px; width:139px; left:0px;\" align=left>Computers for the Home<br>Desktop Systems</div></span></div></div></div><div id=\"grpAccessories\" style=\"position: absolute; top:0px; left:0px;; width:90px; height:95px; z-index: 1000; visibility: hidden\"><div id=\"grpAccessoriesfrmt\" style=\"position: absolute; top:0px; left:0px; width: 90px; height: 95px; background-color: #FFC840; ; border-left: #804040 2px solid ; border-right: #804040 2px solid ; border-top: #804040 2px solid ; border-bottom: #804040 2px solid ;\"><div nowrap style=\"position: absolute; white-space: nowrap;; top: 2px; left: 2px; width: 82px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=6 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Cables\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 64px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:64px; left:0px;\" align=left>Cables</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 24px; left: 2px; width: 82px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=7 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Adapters\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 64px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:64px; left:0px;\" align=left>Adapters</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 46px; left: 2px; width: 82px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=8 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Connectors\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 64px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:64px; left:0px;\" align=left>Connectors</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 68px; left: 2px; width: 82px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=9 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Batteries\';\"><span style=\"position:absolute; top: 5px; left: 9px; width: 64px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:64px; left:0px;\" align=left>Batteries</div></span></div></div></div><div id=\"grpLinks\" style=\"position: absolute; top:0px; left:0px;; width:120px; height:51px; z-index: 1000; visibility: hidden\"><div id=\"grpLinksfrmt\" style=\"position: absolute; top:0px; left:0px; width: 120px; height: 51px; background-color: #FFC840; ; border-left: #804040 2px solid ; border-right: #804040 2px solid ; border-top: #804040 2px solid ; border-bottom: #804040 2px solid ;\"><div nowrap style=\"position: absolute; white-space: nowrap;; top: 2px; left: 2px; width: 112px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=10 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'Search the Web\';\" OnClick=\"cFrame.execURL(\'http://www.google.com\', \'this\');\"><span style=\"position:absolute; top: 5px; left: 9px; width: 94px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:94px; left:0px;\" align=left>Search the Web</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap;; top: 24px; left: 2px; width: 112px; height: 21px; font-family: Tahoma; font-size: 11px; font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FFC840; cursor: default;\" id=11 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'xFX JumpStart<sup>«</sup>\';\" OnClick=\"cFrame.HideAll();dmbNW=window.open(cFrame._purl(\'http://software.xfx.net\'),\'NewWindow\',\'left=80,top=80,width=600,height=400,directories=0,channelmode=0,toolbar=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1\');dmbNW.focus();if(cFrame.IsFrames)mFrame.location.reload();\"><span style=\"position:absolute; top: 5px; left: 9px; width: 94px; height: 11px;\"><div style=\"position:absolute; top:-1px; width:94px; left:0px;\" align=left>xFX JumpStart<sup>«</sup></div></span></div></div></div>", '%' + '%REL%%', rimPath)); close(); } if(NS) with(document) { open(); write(xrep(FixPointSize("<layer name=grpProducts top=0 left=0 width=121 height=79 z-index=1000 bgColor=#804040 visibility=hidden><layer bgColor=#FFC840 left=2 top=2 width=117 height=75 z-index=1001><layer name=MC1EH1 left=2 top=2 width=113 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Computers\';cFrame.ShowMenu(\'grpComputers\', 0, 0, true, \'\', 6);\"></layer><layer name=MC1N left=2 top=2 width=113 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=95 height=13><layer top=0 width=76 left=0><div align=left>Computers</div></layer><layer top=2 left=85><img name=ComputersRImg src=\"%%REL%%black_arrow.gif\" width=10 height=10></layer></layer></font></b></ilayer></layer><layer name=MC1O left=2 top=2 width=113 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=95 height=13><layer top=0 width=76 left=0><div align=left>Computers</div></layer><layer top=2 left=85><img name=ComputersRImg src=\"%%REL%%white_arrow.gif\" width=10 height=10></layer></layer></font></b></ilayer></layer><layer name=MC2EH2 left=2 top=24 width=113 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Accessories\';cFrame.ShowMenu(\'grpAccessories\', 0, 0, true, \'\', 6);\"></layer><layer name=MC2N left=2 top=24 width=113 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=95 height=13><layer top=0 width=76 left=0><div align=left>Accessories</div></layer><layer top=2 left=85><img name=AccessoriesRImg src=\"%%REL%%black_arrow.gif\" width=10 height=10></layer></layer></font></b></ilayer></layer><layer name=MC2O left=2 top=24 width=113 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=95 height=13><layer top=0 width=76 left=0><div align=left>Accessories</div></layer><layer top=2 left=85><img name=AccessoriesRImg src=\"%%REL%%white_arrow.gif\" width=10 height=10></layer></layer></font></b></ilayer></layer><layer left=2 top=46 width=109 height=7 z-index=1002><layer left=11 top=2 width=87 height=1 bgcolor=#000000></layer></layer><layer name=MC4EH4 left=2 top=52 width=113 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Catalog Index\';\"></layer><layer name=MC4N left=2 top=52 width=113 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=95 height=13><layer top=0 width=95 left=0><div align=left>Catalog Index</div></layer></layer></font></b></ilayer></layer><layer name=MC4O left=2 top=52 width=113 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=95 height=13><layer top=0 width=95 left=0><div align=left>Catalog Index</div></layer></layer></font></b></ilayer></layer></layer></layer><layer name=grpComputers top=0 left=0 width=165 height=86 z-index=1000 bgColor=#804040 visibility=hidden><layer bgColor=#FFC840 left=2 top=2 width=161 height=82 z-index=1001><layer name=MC5EH5 left=2 top=2 width=157 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'High Performance\';\"></layer><layer name=MC5N left=2 top=2 width=157 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=139 height=13><layer top=0 width=139 left=0><div align=left>High Performance</div></layer></layer></font></b></ilayer></layer><layer name=MC5O left=2 top=2 width=157 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=139 height=13><layer top=0 width=139 left=0><div align=left>High Performance</div></layer></layer></font></b></ilayer></layer><layer name=MC6EH6 left=2 top=24 width=157 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Gaming Systems\';\"></layer><layer name=MC6N left=2 top=24 width=157 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=139 height=13><layer top=0 width=139 left=0><div align=left>Gaming Systems</div></layer></layer></font></b></ilayer></layer><layer name=MC6O left=2 top=24 width=157 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=139 height=13><layer top=0 width=139 left=0><div align=left>Gaming Systems</div></layer></layer></font></b></ilayer></layer><layer name=MC7EH7 left=2 top=46 width=157 height=34 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Computers for the Home<br>Desktop Systems\';\"></layer><layer name=MC7N left=2 top=46 width=157 height=34 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=139 height=26><layer top=0 width=139 left=0><div align=left>Computers for the Home<br>Desktop Systems</div></layer></layer></font></b></ilayer></layer><layer name=MC7O left=2 top=46 width=157 height=34 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=139 height=26><layer top=0 width=139 left=0><div align=left>Computers for the Home<br>Desktop Systems</div></layer></layer></font></b></ilayer></layer></layer></layer><layer name=grpAccessories top=0 left=0 width=90 height=95 z-index=1000 bgColor=#804040 visibility=hidden><layer bgColor=#FFC840 left=2 top=2 width=86 height=91 z-index=1001><layer name=MC8EH8 left=2 top=2 width=82 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Cables\';\"></layer><layer name=MC8N left=2 top=2 width=82 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Cables</div></layer></layer></font></b></ilayer></layer><layer name=MC8O left=2 top=2 width=82 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Cables</div></layer></layer></font></b></ilayer></layer><layer name=MC9EH9 left=2 top=24 width=82 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Adapters\';\"></layer><layer name=MC9N left=2 top=24 width=82 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Adapters</div></layer></layer></font></b></ilayer></layer><layer name=MC9O left=2 top=24 width=82 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Adapters</div></layer></layer></font></b></ilayer></layer><layer name=MC10EH10 left=2 top=46 width=82 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Connectors\';\"></layer><layer name=MC10N left=2 top=46 width=82 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Connectors</div></layer></layer></font></b></ilayer></layer><layer name=MC10O left=2 top=46 width=82 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Connectors</div></layer></layer></font></b></ilayer></layer><layer name=MC11EH11 left=2 top=68 width=82 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Batteries\';\"></layer><layer name=MC11N left=2 top=68 width=82 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Batteries</div></layer></layer></font></b></ilayer></layer><layer name=MC11O left=2 top=68 width=82 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=64 height=13><layer top=0 width=64 left=0><div align=left>Batteries</div></layer></layer></font></b></ilayer></layer></layer></layer><layer name=grpLinks top=0 left=0 width=120 height=51 z-index=1000 bgColor=#804040 visibility=hidden><layer bgColor=#FFC840 left=2 top=2 width=116 height=47 z-index=1001><layer name=MC12EH12 left=2 top=2 width=112 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'Search the Web\';\"></layer><layer name=MC12N left=2 top=2 width=112 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=94 height=13><layer top=0 width=94 left=0><div align=left>Search the Web</div></layer></layer></font></b></ilayer></layer><layer name=MC12O left=2 top=2 width=112 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=94 height=13><layer top=0 width=94 left=0><div align=left>Search the Web</div></layer></layer></font></b></ilayer></layer><layer name=MC13EH13 left=2 top=24 width=112 height=21 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'xFX JumpStart<sup>«</sup>\';\"></layer><layer name=MC13N left=2 top=24 width=112 height=21 z-index=1002 bgColor=#FFC840><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#000000><layer left=1 top=0 width=94 height=13><layer top=0 width=94 left=0><div align=left>xFX JumpStart<sup>«</sup></div></layer></layer></font></b></ilayer></layer><layer name=MC13O left=2 top=24 width=112 height=21 z-index=1002 bgColor=#804040 visibility=hide><ilayer left=8 top=4><b><font face=Tahoma point-size=8 color=#FFFFFF><layer left=1 top=0 width=94 height=13><layer top=0 width=94 left=0><div align=left>xFX JumpStart<sup>«</sup></div></layer></layer></font></b></ilayer></layer></layer></layer>"), '%' + '%REL%%', rimPath)); close(); } SetUpEvents();