Invariably, the job is reposted others example, today, Lane wrote their own a small j example (1)

  Invariably, the job is reposted others example, today, Lane wrote their own a small js example (1) None personal blog above many others are done in the job is reposted some of the procedures or the classic thinking today affixed with a small js write their own examples. 
  ?? Mouse through the Image Display pull-down menu 
  None believe that many people in the online casual found a mouse through the Image Display pull-down menu to search the code corresponding to the code, in this first code stickers out 
  Function? MM_callJS (jsStr)?? Return? Eval (jsStr) 
  ) 
  Function? Menu (label,? Mw, the mh, the fnt, the fs, the fclr, the fhclr, the bg, the bgh, the halgn, the valgn, the pad, the space,? To, the sx, the sy , the srel, the opq, the vert, the idt, the aw, the ah)? 
  ?? This.version? = "020320? [Menu;? Mm_menu.js]"; 
  ?? This.type? =? "Menu"; 
  ?? This.menuWidth? =? Mw; 
  ?? This.menuItemHeight? =? Mh; 
  ?? This.fontSize? =? Fs; 
  ?? This.fontWeight? =? "Plain"; 
  ?? This.fontFamily? =? Fnt; 
  ?? This.fontColor? =? Fclr; 
  ?? This.fontColorHilite? =? Fhclr; 
  ?? This.bgColor ?=?"# 555555 "; 
  ?? This.menuBorder? =? 1; 
  ?? This.menuBgOpaque = opq; 
  ?? This.menuItemBorder? =? 1; 
  ?? This.menuItemIndent? =? Idt; 
  ?? This.menuItemBgColor? =? Bg; 
  ?? This.menuItemVAlign? =? Valgn; 
  ?? This.menuItemHAlign? =? Halgn; 
  ?? This.menuItemPadding? =? Pad; 
  ?? This.menuItemSpacing? =? Space; 
  ?? This.menuLiteBgColor ?=?"# ffffff "; 
  ?? This.menuBorderBgColor ?=?"# 777,777 "; 
  ?? This.menuHiliteBgColor? =? Bgh; 
  ?? This.menuContainerBgColor ?=?"# cccccc "; 
  ?? This.childMenuIcon? =? "Arrows.gif"; 
  ?? This.submenuXOffset? =? Sx; 
  ?? This.submenuYOffset? =? Sy; 
  ?? This.submenuRelativeToItem? =? Srel; 
  ?? This.vertical? =? Vert; 
  ?? This.items? =? New? Array (); 
  ?? This.actions? =? New? Array (); 
  ?? This.childMenus? =? New? Array (); 
  ?? This.hideOnMouseOut? =? True; 
  ?? This.hideTimeout? =? To; 
  ?? This.addMenuItem? =? AddMenuItem; 
  ?? This.writeMenus? =? WriteMenus; 
  ?? This.MM_showMenu? =? MM_showMenu; 
  ?? This.onMenuItemOver? =? OnMenuItemOver; 
  ?? This.onMenuItemAction? =? OnMenuItemAction; 
  ?? This.hideMenu? =? HideMenu; 
  ?? This.hideChildMenu? =? HideChildMenu; 
  ?? If (! Window.menus)? Window.menus? =? New? Array (); 
  ?? This.label ?=?"?"?+? label; 
  ?? Window.menus [this.label]? =? This; 
  ?? Window.menus [window.menus.length]? =? This; 
  ?? If (! Window.activeMenus)? Window.activeMenus? =? New? Array (); 
  ) 

  Function? AddMenuItem (label, the action )????? this.items [this.items.length]? =? Label; 
  ?? This.actions [this.actions.length]? =? Action; 
  ) 

  Function? FIND (item )????? if (? Window.mmIsOpera?)? Return (document.getElementById (item)); 
  ?? If (document.all)? Return (document.all [item]); 
  ?? If (document.getElementById)? Return (document.getElementById (item)); 
  ?? Return (false); 
  ) 

  Function? WriteMenus (container )????? if (window.triedToWriteMenus)? Return; 
  ?? Var? Agt? =? Navigator.userAgent.toLowerCase (); 
  ?? Window.mmIsOpera? =? Agt.indexOf ( "opera ")?!=?- 1; 
  ?? If (! Container? &? Document.layers )????????? window.delayWriteMenus? =? This.writeMenus; 
  ???????? Var? Timer? =? SetTimeout ( 'delayWriteMenus ()',? 500); 
  ???????? Container? =? New? Layer (100); 
  ???????? ClearTimeout (timer); 
  ????}? Else? If (document.all? | |? Document.hasChildNodes? | |? Window.mmIsOpera )????????? document.writeln ( '<span? Id = "menuContainer "> </ span> '); 
  ???????? Container? =? FIND ( "menuContainer"); 
????}

  ?? Window.mmHideMenuTimer? =? Null; 
  ?? If (! Container)? Return ;???? 
  ?? Window.triedToWriteMenus? =? True;? 
  ?? Container.isContainer? =? True; 
  ?? Container.menus? =? New? Array (); 
  ?? For (var? I = 0;? I <window.menus.length;? I + +)? 
  ???????? Container.menus [i]? =? Window.menus [i]; 
  ?? Window.menus.length? =? 0; 
  ?? Var? CountMenus? =? 0; 
  ?? Var? CountItems? =? 0; 
  ?? Var? Top? =? 0; 
  ?? Var? Content ?=?''; 
  ?? Var? Lrs? =? False; 
  ?? Var? TheStat ?=?""; 
  ?? Var? Tsc? =? 0; 
  ?? If (document.layers)? Lrs? =? True; 
  ?? For (var? I = 0;? I <container.menus.length;? I + +? CountMenus ++)????????? var? Menu? =? Container.menus [i]; 
  ???????? If (menu.bgImageUp ?||?! menu.menuBgOpaque )????????????? menu.menuBorder? =? 0; 
  ???????????? Menu.menuItemBorder? =? 0; 
????????}
  ???????? If (lrs )????????????? var? MenuLayer? =? New? Layer (100, the container); 
  ???????????? Var? Lite? =? New? Layer (100, the menuLayer); 
  ???????????? Lite.top? =? Menu.menuBorder; 
  ???????????? Lite.left? =? Menu.menuBorder; 
  ???????????? Var? Body? =? New? Layer (100, the lite); 
  ???????????? Body.top? =? Menu.menuBorder; 
  ???????????? Body.left? =? Menu.menuBorder; 
  ????????}? Else ????????????? content ?+=?''+ 
  ????????????'< Div? Id = "menuLayer '+? CountMenus ?+'"? style =" position: absolute; z-index: 1; left: 10px; top:' + (i? *? 100)? + 'px; visibility: hidden; color :'?+?? menu.menuBorderBgColor ?+?';"> \ n' + 
  ????????????'??< Div? Id = "menuLite '+? CountMenus ?+'"? style =" position: absolute; z-index: 1; left:' +? Menu . menuBorder? + 'px; top:' +? menu.menuBorder? + 'px; visibility: hide;? "onmouseout =" mouseoutMenu ();"> \ n' + 
  ????????????'?????< Div? Id = "menuFg '+? CountMenus ?+'"? style =" position: absolute; left:' +? Menu.menuBorder? + 'px; top:' +? menu.menuBorder? + 'px; visibility: hide; "> \ n' + 
????????????'';
????????}
  ???????? Var? X = i; 
  ???????? For (var? I = 0;? I <menu.items.length;? I ++)????????????? var? Item? =? Menu. items [i]; 
  ???????????? Var? ChildMenu? =? False; 
  ???????????? Var? DefaultHeight? =? Menu.fontSize +2 * menu.menuItemPadding; 
  ???????????? If (item.label )????????????????? item? =? Item.label; 
  ???????????????? ChildMenu? =? True; 
????????????}
  ???????????? Menu.menuItemHeight? =? Menu.menuItemHeight? | |? DefaultHeight; 
  ???????????? Var? ItemProps ?=?''; 
  ???????????? If (? Menu.fontFamily ?!=?''?)? itemProps ?+=?' font-family :'?+? menu.fontFamily ?+';'; 
  ???????????? ItemProps ?+=?' font-weight :'?+? menu.fontWeight ?+?'; fontSize :'?+? menu.fontSize? +? 'Px;' ; 
  ???????????? If (menu.fontStyle)? ItemProps ?+=?' font-style :'?+? menu.fontStyle ?+?';'; 
  ???????????? If (document.all? | |? Window.mmIsOpera)? 
  ???????????????? ItemProps ?+=?' font-size :'?+? menu.fontSize? +? 'Px;? "Onmouseover =" onMenuItemOver (null, this) ;? "onclick =" onMenuItemAction (null, this); '; 
  ???????????? Else? If (! Document.layers )????????????????? itemProps ?+=?' font-size: ' ? +? menu.fontSize? +? 'px;'; 
????????????}
  ???????????? Var? L; 
  ???????????? If (lrs )????????????????? var? Lw? =? Menu.menuWidth; 
  ???????????????? If (? Menu.menuItemHAlign ?==?' right '?)? Lw? -=? Menu.menuItemPadding; 
  ???????????????? L? =? New? Layer (lw, body); 
????????????}
  ???????????? Var? ItemLeft? =? 0; 
  ???????????? Var? ItemTop? =? I * menu.menuItemHeight; 
  ???????????? If (! Menu.vertical ?)????????????????? itemLeft? =? I * menu.menuWidth; 
  ???????????????? ItemTop? =? 0; 
????????????}
  ???????????? Var? DTag ?=?'< div? Id = "menuItem '+? CountItems ?+'"? style =" position: absolute; left :'?+? itemLeft? +? 'px; top:' +? itemTop? + 'px;' +? itemProps ?+'">'; 
  ???????????? Var? DClose ?=?'</ div> ' 
  ???????????? If (menu.bgImageUp)? DTag ?=?'< div? Id = "menuItem '+? CountItems ?+'"? style =" background: url (' + menu.bgImageUp + '); position: absolute; left :'?+? itemLeft? +?' px; top: '+? itemTop? +' px; '+? itemProps ?+'">'; 

  ???????????? Var? Left? =? 0, the top? =? 0,? Right? =? 0, the bottom? =? 0; 
  ???????????? Left? =? 1? +? Menu.menuItemPadding? +? Menu.menuItemIndent; 
  ???????????? Right? =? Left? +? Menu.menuWidth? -? 2 * menu.menuItemPadding? -? Menu.menuItemIndent; 
  ???????????? If (? Menu.menuItemVAlign ?==?' top '?)? Top? =? Menu.menuItemPadding; 
  ???????????? If (? Menu.menuItemVAlign ?==?' bottom '?)? Top? =? Menu.menuItemHeight-menu.fontSize-1-menu.menuItemPadding; 
  ???????????? If (? Menu.menuItemVAlign ?==?' middle '?)? Top ?=?(( menu.menuItemHeight / 2) - (menu.fontSize / 2) -1 ); 
  ???????????? Bottom? =? Menu.menuItemHeight? -? 2 * menu.menuItemPadding; 
  ???????????? Var? TextProps? =? 'Position: absolute; left :'?+? left? +?' Px; top :'?+? top? +? 'Px;' ; 
  ???????????? If (lrs )????????????????? textProps? + = ItemProps? +? 'Right :'?+? right ?+?'; bottom :'?+? bottom ?+?';'; 
  ???????????????? DTag ?=?""; 
  ???????????????? DClose ?=?""; 
????????????}
????????????
  ???????????? If (document.all ?&&?! window.mmIsOpera )????????????????? item ?=?'< div? align ="'?+? menu.menuItemHAlign ?+?'">'?+? item ?+?'</ div> '; 
  ????????????}? Else? If (lrs )????????????????? item ?=?'< div? Style = "text - align :'?+? menu.menuItemHAlign ?+?';">'?+? item ?+?'</ div> '; 
  ????????????}? Else ????????????????? var? Hitem? =? Null; 
  ???????????????? If (? Menu.menuItemHAlign ?!=?' left'?)??????????????????? ? if (window.mmIsOpera )????????????????????????? var? operaWidth? =? menu.menuItemHAlign ?==?' center '? — - (menu.menuWidth )?:?( menu.menuItemPadding-2 * * menu.menuItemPadding menu.menuWidth-6); 
  ???????????????????????? Hitem ?=?'< div? Id = "menuItemHilite '? +? CountItems? +?' Shim?" Style = "position: absolute; top: 1px; left :'?+? menu.menuItemPadding? +? 'px; width :'?+? operaWidth? +?' px; text-align: '? 
  ????????????????????????????+? Menu.menuItemHAlign ?+?'; visibility: visible ;">'?+? item? +?'</ div> '; 
  ???????????????????????? Item ?=?'< div? Id = "menuItemText '? +? CountItems? +?' Shim?" Style = "position: absolute; top: 1px; left :'?+? menu.menuItemPadding? +? 'px; width :'?+? operaWidth? +?' px; text-align: '? 
  ????????????????????????????+? Menu.menuItemHAlign ?+?'; visibility: visible ;">'?+? item? +?'</ div> '; 
  ????????????????????????? Hitem ????????????????????}? else? =? '<div? id = "menuItemHilite'? +? countItems? +? 'Shim?" style = "position: absolute; top: 1px; left: 1px; right :-'?+?( left + menu.menuWidth -3 * menu.menuItemPadding )?+?' px; text-align: '? 
  ????????????????????????????+? Menu.menuItemHAlign ?+?'; visibility: visible ;">'?+? item? +?'</ div> '; 
  ???????????????????????? Item ?=?'< div? Id = "menuItemText '? +? CountItems? +?' Shim?" Style = "position: absolute; top: 1px; left: 1px; right :-'?+?( left menu.menuWidth-3 + * menu.menuItemPadding )?+?' px; text-align: '? 
  ????????????????????????????+? Menu.menuItemHAlign ?+?'; visibility: visible ;">'?+? item? +?'</ div> '; 
????????????????????}
  ????????????????}? Else? Hitem? =? Null; 
????????????}
  ???????????? If (document.all ?&&?! window.mmIsOpera)? Item ?=?'< div? Id = "menuItemShim '? +? CountItems ?+?'"? style = "position: absolute; left: 0px; top: 0px ;">'?+? item ?+?'</ div> '; 
  ???????????? Var? DText ????=?'< div? Id = "menuItemText '+? CountItems ?+'"? style ="'?+? textProps? +?' color: '+? menu.fontColor ?+';">'+? item? +' </ div> \ n ' 
  ????????????????????????+?'< Div? Id = "menuItemHilite '+? CountItems ?+'"? style ="'?+? textProps? +? 'color:' +? menu.fontColorHilite? + '; visibility: hidden ;">'? 
  ????????????????????????+?( Hitem | | item)? + '</ Div>'; 
  ???????????? If (childMenu)? Content ?+=?(? dTag? +? DText ?+?'< div? Id = "childMenu '+? CountItems ?+'"? style = "position: absolute; left: 0px; top: 3px;"> <img?src="'+?menu.childMenuIcon?+'"> </ div> \ n '? +? dClose); 
  ???????????? Else? Content ?+=?(? dTag? +? DText? +? DClose); 
  ???????????? If (lrs )????????????????? l.document.open ( "text / html"); 
  ???????????????? L.document.writeln (content); 
  ???????????????? L.document.close ();???? 
  ???????????????? Content ?=?''; 
  ???????????????? TheStat ?+=?"-"; 
  ???????????????? Tsc + +; 
  ???????????????? If (tsc?>? 50 )????????????????????? tsc? =? 0; 
  ???????????????????? TheStat ?=?""; 
????????????????}
  ???????????????? Status? =? TheStat; 
????????????}
  ???????????? CountItems ++;?? 
????????}
  ???????? If (lrs )????????????? var? FocusItem? =? New? Layer (100, the body); 
  ???????????? FocusItem.visiblity = "hidden"; 
  ???????????? FocusItem.document.open ( "text / html"); 
  ???????????? FocusItem.document.writeln ( ""); 
  ???????????? FocusItem.document.close ();???? 
  ????????}? Else ??????????? content ?+=?'??????< div? Id = "focusItem '+? CountMenus ?+'"? style = "position: absolute; left: 0px; top: 0px; visibility: hide;?" onclick = "onMenuItemAction (null, this);"> </ div> \ n '; 
  ?????????? Content ?+=?'???</ div> \ n? </ Div> \ n </ div> \ n '; 
????????}
  ???????? I = x; 
????}
  ?? If (document.layers )????????? container.clip.width? =? Window.innerWidth; 
  ???????? Container.clip.height? =? Window.innerHeight; 
  ???????? Container.onmouseout? =? MouseoutMenu; 
  ???????? Container.menuContainerBgColor? =? This.menuContainerBgColor; 
  ???????? For (var? I = 0;? I <container.document.layers.length;? I ++)????????????? proto? =? Container. menus [i]; 
  ???????????? Var? Menu? =? Container.document.layers [i]; 
  ???????????? Container.menus [i]. MenuLayer? =? Menu; 
  ???????????? Container.menus [i]. MenuLayer.Menu? =? Container.menus [i]; 
  ???????????? Container.menus [i]. MenuLayer.Menu.container? =? Container; 
  ???????????? Var? Body? =? Menu.document.layers [0]. Document.layers [0]; 
  ???????????? Body.clip.width? =? Proto.menuWidth? | |? Body.clip.width; 
  ???????????? Body.clip.height? =? Proto.menuHeight? | |? Body.clip.height; 
  ???????????? For (var? N = 0;? N <body.document.layers.length-1;? N ++)????????????? ?? var? l? =? body.document.layers [n]; 
  ???????????????? L.Menu? =? Container.menus [i]; 
  ???????????????? L.menuHiliteBgColor? =? Proto.menuHiliteBgColor; 
  ???????????????? L.document.bgColor? =? Proto.menuItemBgColor; 
  ???????????????? L.saveColor? =? Proto.menuItemBgColor; 
  ???????????????? L.onmouseover? =? Proto.onMenuItemOver; 
  ???????????????? L.onclick? =? Proto.onMenuItemAction; 
  ???????????????? L.mmaction? =? Container.menus [i]. Actions [n]; 
  ???????????????? L.focusItem? =? Body.document.layers [body.document.layers.length-1]; 
  ???????????????? L.clip.width? =? Proto.menuWidth? | |? Body.clip.width; 
  ???????????????? L.clip.height? =? Proto.menuItemHeight? | |? L.clip.height; 
  ???????????????? If (n> 0 )????????????????????? if (? L.Menu . vertical?)? l.top? =? body.document.layers [n-1]. top? +? body.document.layers [n-1]. clip.height? +? proto.menuItemBorder? +? proto . menuItemSpacing; 
  ???????????????????? Else? L.left? =? Body.document.layers [n-1]. Left? +? Body.document.layers [n -1]. clip.width? +? proto.menuItemBorder? +? proto.menuItemSpacing; 
????????????????}
  ???????????????? L.hilite? =? L.document.layers [1]; 
  ???????????????? If (proto.bgImageUp)? L.background.src? =? Proto.bgImageUp; 
  ???????????????? L.document.layers [1]. IsHilite? =? True; 
  ???????????????? If (l.document.layers.length?>? 2 )??????????????????? ? l.childMenu? =? container.menus [i]. items [n]. menuLayer; 
  ???????????????????? L.document.layers [2]. Left? =? L.clip.width? -13; 
  ???????????????????? L.document.layers [2]. Top? = (L.clip.height? /? 2) -4; 
  ???????????????????? L.document.layers [2]. Clip.left? + =? 3; 
  ???????????????????? L.Menu.childMenus [l.Menu.childMenus.length]? =? L.childMenu; 
????????????????}
????????????}
  ???????????? If (? Proto.menuBgOpaque?)? Body.document.bgColor? =? Proto.bgColor; 
  ???????????? If (? Proto.vertical ?)????????????????? body.clip.width? =? L.clip. width? + proto.menuBorder; 
  ???????????????? Body.clip.height? =? L.top? +? L.clip.height? + Proto.menuBorder; 
  ????????????????? Body.clip.height ????????????}? else? =? L.clip.height? + Proto. menuBorder; 
  ???????????????? Body.clip.width? =? L.left? +? L.clip.width? + Proto.menuBorder; 
  ???????????????? If (? Body.clip.width?>? Window.innerWidth?)? Body.clip.width? =? Window.innerWidth; 
????????????}
  ???????????? Var? FocusItem? =? Body.document.layers [n]; 
  ???????????? FocusItem.clip.width? =? Body.clip.width; 
  ???????????? FocusItem.Menu? =? L.Menu; 
  ???????????? FocusItem.top? =? -30; 
  ???????????? FocusItem.captureEvents (Event.MOUSEDOWN); 
  ???????????? FocusItem.onmousedown? =? OnMenuItemDown; 
  ???????????? If (? Proto.menuBgOpaque?)? Menu.document.bgColor? =? Proto.menuBorderBgColor; 
  ???????????? Var? Lite? =? Menu.document.layers [0]; 
  ???????????? If (? Proto.menuBgOpaque?)? Lite.document.bgColor? =? Proto.menuLiteBgColor; 
  ???????????? Lite.clip.width? =? Body.clip.width? +1; 
  ???????????? Lite.clip.height? =? Body.clip.height? +1; 
  ???????????? Menu.clip.width? =? Body.clip.width? + (Proto.menuBorder? *) 3?; 
  ???????????? Menu.clip.height? =? Body.clip.height? + (Proto.menuBorder? *? 3); 
????????}
  ????????? ????}? Else if ((! Document.all )?&&?( container.hasChildNodes )?&&?! window.mmIsOpera )????????? ?? container.innerHTML = content; 
  ????????}? Else ????????????? container.document.open ( "text / html"); 
  ???????????? Container.document.writeln (content); 
  ???????????? Container.document.close ();???? 
????????}
  ???????? If (! FIND ( "menuLayer0"))? Return; 
  ???????? Var? MenuCount? =? 0; 
  ???????? For (var? X = 0;? X <container.menus.length;? X ++)????????????? var? MenuLayer? =? FIND ( "menuLayer?" +? x); 
  ???????????? Container.menus [x]. MenuLayer? =? "MenuLayer?" +? X; 
  ???????????? MenuLayer.Menu? =? Container.menus [x]; 
  ???????????? MenuLayer.Menu.container? =? "MenuLayer?" +? X; 
  ???????????? MenuLayer.style.zindex? =? 1; 
  ???????????? Var? S? =? MenuLayer.style; 
  ???????????? S.pixeltop? =? -300; 
  ???????????? S.pixelleft? =? -300; 
  ???????????? S.top ?=?'- 300px '; 
  ???????????? S.left ?=?'- 300px '; 

  ???????????? Var? Menu? =? Container.menus [x]; 
  ???????????? Menu.menuItemWidth? =? Menu.menuWidth? | |? Menu.menuIEWidth? | |? 140; 
  ???????????? If (? Menu.menuBgOpaque?)? MenuLayer.style.backgroundColor? =? Menu.menuBorderBgColor; 
  ???????????? Var? Top? =? 0; 
  ???????????? Var? Left? =? 0; 
  ???????????? Menu.menuItemLayers? =? New? Array (); 
  ???????????? For (var? I = 0;? I <container.menus [x]. Items.length;? I ++)???????????? ????? var? l? =? FIND ( "menuItem"? +? menuCount); 
  ???????????????? L.Menu? =? Container.menus [x]; 
  ???????????????? L.Menu.menuItemLayers [l.Menu.menuItemLayers.length]? =? L; 
  ???????????????? If (l.addEventListener? | |? Window.mmIsOpera )???????????????????? ? l.style.width? =? menu.menuItemWidth? +? 'px'; 
  ???????????????????? L.style.height? =? Menu.menuItemHeight? +? 'Px'; 
  ???????????????????? L.style.pixelWidth? =? Menu.menuItemWidth; 
  ???????????????????? L.style.pixelHeight? =? Menu.menuItemHeight; 
  ???????????????????? L.style.top? =? Top? +? 'Px'; 
  ???????????????????? L.style.left? =? Left? +? 'Px'; 
  ???????????????????? If (l.addEventListener )???????????????????????? ? l.addEventListener ( "mouseover"? onMenuItemOver, the false); 
  ???????????????????????? L.addEventListener ( "click"? OnMenuItemAction, the false); 
  ???????????????????????? L.addEventListener ( "mouseout"? MouseoutMenu, the false); 
????????????????????}
  ???????????????????? If (? Menu.menuItemHAlign ?!=?' left'?)??????????????? ?????????? l.hiliteShim? =? FIND ( "menuItemHilite?" +? menuCount? +? "Shim"); 
  ???????????????????????? L.hiliteShim.style.visibility? =? "Inherit"; 
  ???????????????????????? L.textShim? =? FIND ( "menuItemText?" +? MenuCount? +? "Shim"); 
  ???????????????????????? L.hiliteShim.style.pixelWidth? =? Menu.menuItemWidth? -? 2 * menu.menuItemPadding? -? Menu. menuItemIndent; 
  ???????????????????????? L.hiliteShim.style.width? =? L.hiliteShim.style.pixelWidth; 
  ???????????????????????? L.textShim.style.pixelWidth? =? Menu.menuItemWidth? -? 2 * menu.menuItemPadding? -? Menu. menuItemIndent; 
  ???????????????????????? L.textShim.style.width? =? L.textShim.style.pixelWidth ;???? 
????????????????????}
  ????????????????????? L.style.pixelWidth ????????????????}? else? =? Menu. menuItemWidth; 
  ???????????????????? L.style.pixelHeight? =? Menu.menuItemHeight; 
  ???????????????????? L.style.pixelTop? =? Top; 
  ???????????????????? L.style.pixelLeft? =? Left; 
  ???????????????????? If (? Menu.menuItemHAlign ?!=?' left'?)??????????????? ?????????? var? shim? =? FIND ( "menuItemShim?" +? menuCount); 
  ???????????????????????? Shim [0]. Style.pixelWidth? =? Menu.menuItemWidth? -? 2 * menu.menuItemPadding? -? Menu . menuItemIndent; 
  ???????????????????????? Shim [1]. Style.pixelWidth? =? Menu.menuItemWidth? -? 2 * menu.menuItemPadding? -? Menu . menuItemIndent; 
  ???????????????????????? Shim [0]. Style.width? =? Shim [0]. Style.pixelWidth? +? 'Px'; 
  ???????????????????????? Shim [1]. Style.width? =? Shim [1]. Style.pixelWidth? +? 'Px'; 
????????????????????}
????????????????}
  ???????????????? If (? Menu.vertical?)? Top? =? Top? +? Menu.menuItemHeight + + menu.menuItemSpacing menu.menuItemBorder; 
  ???????????????? Else? Left? =? Left? +? Menu.menuItemWidth + + menu.menuItemSpacing menu.menuItemBorder; 
  ???????????????? L.style.fontSize? =? Menu.fontSize? +? 'Px'; 
  ???????????????? L.style.backgroundColor? =? Menu.menuItemBgColor; 
  ???????????????? L.style.visibility? =? "Inherit"; 
  ???????????????? L.saveColor? =? Menu.menuItemBgColor; 
  ???????????????? L.menuHiliteBgColor? =? Menu.menuHiliteBgColor; 
  ???????????????? L.mmaction? =? Container.menus [x]. Actions [i]; 
  ???????????????? L.hilite? =? FIND ( "menuItemHilite?" +? MenuCount); 
  ???????????????? L.focusItem? =? FIND ( "focusItem?" +? X); 
  ???????????????? L.focusItem.style.pixelTop? =? -30; 
  ???????????????? L.focusItem.style.top ?=?'- 30px '; 
  ???????????????? Var? ChildItem? =? FIND ( "childMenu?" +? MenuCount); 
  ???????????????? If (childItem )????????????????????? l.childMenu? =? Container. [x] menus. items [i]. menuLayer; 
  ???????????????????? ChildItem.style.pixelLeft? =? Menu.menuItemWidth? 11; 
  ???????????????????? ChildItem.style.left? =? ChildItem.style.pixelLeft? +? 'Px'; 
  ???????????????????? ChildItem.style.pixelTop? = (Menu.menuItemHeight? / 2) -4; 
  ???????????????????? ChildItem.style.top? =? ChildItem.style.pixelTop? +? 'Px'; 
  ???????????????????? L.Menu.childMenus [l.Menu.childMenus.length]? =? L.childMenu; 
????????????????}
  ???????????????? L.style.cursor? =? "Hand"; 
  ???????????????? MenuCount + +; 
????????????}
  ???????????? If (? Menu.vertical ?)????????????????? menu.menuHeight? =? Top-1-menu.menuItemSpacing ; 
  ???????????????? Menu.menuWidth? =? Menu.menuItemWidth; 
  ????????????????? Menu.menuHeight ????????????}? else? =? Menu.menuItemHeight; 
  ???????????????? Menu.menuWidth? =? Left-1-menu.menuItemSpacing; 
????????????}

  ???????????? Var? Lite? =? FIND ( "menuLite?" +? X); 
  ???????????? Var? S? =? Lite.style; 
  ???????????? S.pixelHeight? =? Menu.menuHeight? + (Menu.menuBorder? *? 2); 
  ???????????? S.height? =? S.pixelHeight? +? 'Px'; 
  ???????????? S.pixelWidth? =? Menu.menuWidth? + (Menu.menuBorder? *? 2); 
  ???????????? S.width? =? S.pixelWidth? +? 'Px'; 
  ???????????? If (? Menu.menuBgOpaque?)? S.backgroundColor? =? Menu.menuLiteBgColor; 

  ???????????? Var? Body? =? FIND ( "menuFg?" +? X); 
  ???????????? S? =? Body.style; 
  ???????????? S.pixelHeight? =? Menu.menuHeight? +? Menu.menuBorder; 
  ???????????? S.height? =? S.pixelHeight? +? 'Px'; 
  ???????????? S.pixelWidth? =? Menu.menuWidth? +? Menu.menuBorder; 
  ???????????? S.width? =? S.pixelWidth? +? 'Px'; 
  ???????????? If (? Menu.menuBgOpaque?)? S.backgroundColor? =? Menu.bgColor; 

  ???????????? S? =? MenuLayer.style; 
  ???????????? S.pixelWidth? =? Menu.menuWidth? + (Menu.menuBorder? *? 4); 
  ???????????? S.width? =? S.pixelWidth? +? 'Px'; 
  ???????????? S.pixelHeight? =? Menu.menuHeight + (menu.menuBorder * 4); 
  ???????????? S.height? =? S.pixelHeight? +? 'Px'; 
????????}
????}
  ?? If (document.captureEvents)? Document.captureEvents (Event.MOUSEUP); 
  ?? If (document.addEventListener)? Document.addEventListener ( "mouseup"? OnMenuItemOver, the false); 
  ?? If (document.layers? &? Window.innerWidth )????????? window.onresize? =? NS4resize; 
  ???????? Window.NS4sIW? =? Window.innerWidth; 
  ???????? Window.NS4sIH? =? Window.innerHeight; 
  ???????? SetTimeout ( "NS4resize ()", 500); 
????}
  ?? Document.onmouseup? =? MouseupMenu; 
  ?? Window.mmWroteMenu? =? True; 
  ?? Status ?=?""; 
  ) 

  Function? NS4resize ()????? if (NS4sIW? =? Window.innerWidth? | |? NS4sIH? =? Window.innerHeight)? Window.location.reload (); 
  ) 

  Function? OnMenuItemOver (e,? L )????? MM_clearTimeout (); 
  ?? L? =? L? | |? This; 
  ?? A? =? Window.ActiveMenuItem; 
  ?? If (document.layers )????????? if (a )????????????? a.document.bgColor? =? A.saveColor; 
  ???????????? If (a.hilite)? A.hilite.visibility? = "Hidden"; 
  ???????????? If (a.Menu.bgImageOver)? A.background.src? =? A.Menu.bgImageUp; 
  ???????????? A.focusItem.top? =? -100; 
  ???????????? A.clicked? =? False; 
????????}
  ???????? If (l.hilite )????????????? l.document.bgColor? =? L.menuHiliteBgColor; 
  ???????????? L.zIndex? =? 1; 
  ???????????? L.hilite.visibility? =? "Inherit"; 
  ???????????? L.hilite.zIndex? =? 2; 
  ???????????? L.document.layers [1]. ZIndex? =? 1; 
  ???????????? L.focusItem.zIndex? =? This.zIndex? +2; 
????????}
  ???????? If (l.Menu.bgImageOver)? L.background.src? =? L.Menu.bgImageOver; 
  ???????? L.focusItem.top? =? This.top; 
  ???????? L.focusItem.left? =? This.left; 
  ???????? L.focusItem.clip.width? =? L.clip.width; 
  ???????? L.focusItem.clip.height? =? L.clip.height; 
  ???????? L.Menu.hideChildMenu (l); 
  ????}? Else? If (l.style? &? L.Menu )????????? if (a )????????????? a. style.backgroundColor? =? a.saveColor; 
  ???????????? If (a.hilite)? A.hilite.style.visibility? = "Hidden"; 
  ???????????? If (a.hiliteShim)? A.hiliteShim.style.visibility? =? "Inherit"; 
  ???????????? If (a.Menu.bgImageUp)? A.style.background? = "Url ("?+? a.Menu.bgImageUp ?+")";; 
????????}?
  ???????? L.style.backgroundColor? =? L.menuHiliteBgColor; 
  ???????? L.zIndex? =? 1; 
  ???????? If (l.Menu.bgImageOver)? L.style.background? = "Url ("?+? l.Menu.bgImageOver ?+")"; 
  ???????? If (l.hilite )????????????? l.hilite.style.visibility? =? "Inherit"; 
  ???????????? If (? L.hiliteShim?)? L.hiliteShim.style.visibility? = "Visible"; 
????????}
  ???????? L.focusItem.style.pixelTop? =? L.style.pixelTop; 
  ???????? L.focusItem.style.top? =? L.focusItem.style.pixelTop? +? 'Px'; 
  ???????? L.focusItem.style.pixelLeft? =? L.style.pixelLeft; 
  ???????? L.focusItem.style.left? =? L.focusItem.style.pixelLeft? +? 'Px'; 
  ???????? L.focusItem.style.zIndex? =? L.zIndex? +1; 
  ???????? L.Menu.hideChildMenu (l); 
  ????}? Else? Return; 
  ?? Window.ActiveMenuItem? =? L; 
  ) 

  Function? OnMenuItemAction (e,? )????? L l? =? Window.ActiveMenuItem; 
  ?? If (! L)? Return; 
  ?? HideActiveMenus (); 
  ?? If (l.mmaction)? Eval (""?+? l.mmaction); 
  ?? Window.ActiveMenuItem? =? 0; 
  ) 

  Function? MM_clearTimeout ()????? if (mmHideMenuTimer)? ClearTimeout (mmHideMenuTimer); 
  ?? MmHideMenuTimer? =? Null; 
  ?? MmDHFlag? =? False; 
  ) 

  Function? MM_startTimeout ()????? if (? Window.ActiveMenu ?)????????? mmStart? =? New? Date (); 
  ???????? MmDHFlag? =? True; 
  ???????? MmHideMenuTimer? =? SetTimeout ( "mmDoHide ()",? window.ActiveMenu.Menu.hideTimeout); 
????}
  ) 

  Function? MmDoHide ()????? if (! MmDHFlag ?||?! window.ActiveMenu)? Return; 
  ?? Var? Elapsed? =? New? Date ()?-? mmStart; 
  ?? Var? Timeout? =? Window.ActiveMenu.Menu.hideTimeout; 
  ?? If (elapsed? <? Timeout )????????? mmHideMenuTimer? =? SetTimeout ( "mmDoHide ()",? timeout +100- elapsed); 
  ???????? Return; 
????}
  ?? MmDHFlag? =? False; 
  ?? HideActiveMenus (); 
  ?? Window.ActiveMenuItem? =? 0; 
  ) 

  Function? MM_showMenu (menu, the x,? Y, the child, the imgname)? 
  ?? 
  ?? If (! Window.mmWroteMenu)? Return; 
  ?? MM_clearTimeout (); 
  ?? If (menu )????????? var? Obj? =? FIND (imgname )?||? document.images [imgname ]?||? document.links [imgname]? | |? document.anchors [imgname]; 
  ???????? X? =? MoveXbySlicePos? (X, the obj); 
  ???????? Y? =? MoveYbySlicePos? (Y, the obj); 
????}
  ?? If (document.layers )????????? if (menu )????????????? var? L? =? Menu.menuLayer? | | ? menu; 
  ???????????? L.top? =? L.left? =? 1; 
  ???????????? HideActiveMenus (); 
  ???????????? If (this.visibility)? L? =? This; 
  ???????????? Window.ActiveMenu? =? L; 
  ????????????? Var ????????}? else? L? =? Child; 
????????}
  ???????? If (! L)? Return; 
  ???????? For (var? I = 0;? I <l.layers.length;? I ++)????????????? if (! L.layers [ i]. isHilite)? l.layers [i]. visibility? =? "inherit"; 
  ???????????? If (l.layers [i]. Document.layers.length?>? 0)? MM_showMenu (null, "relative" and "relative"? L. layers [i]); 
????????}
  ???????? If (l.parentLayer )????????????? if (x ?!=?" relative ")? L.parentLayer.left? =? X ? | |? window.pageX? | |? 0; 
  ???????????? If (l.parentLayer.left? +? L.clip.width?>? Window.innerWidth)? L.parentLayer.left ?-=?( l.parentLayer. left? +? l.clip.width? -? window.innerWidth); 
  ???????????? If (y ?!=?" relative ")? L.parentLayer.top? =? Y? | |? Window.pageY? | |? 0; 
  ???????????? If (l.parentLayer.isContainer )????????????????? l.Menu.xOffset? =? Window.pageXOffset; 
  ???????????????? L.Menu.yOffset? =? Window.pageYOffset; 
  ???????????????? L.parentLayer.clip.width? =? Window.ActiveMenu.clip.width? +2; 
  ???????????????? L.parentLayer.clip.height? =? Window.ActiveMenu.clip.height? +2; 
  ???????????????? If (l.parentLayer.menuContainerBgColor? &? L.Menu.menuBgOpaque?)? L.parentLayer.document.bgColor? =? L.parentLayer.menuContainerBgColor ; 
????????????}
????????}
  ???????? L.visibility? =? "Inherit"; 
  ???????? If (l.Menu)? L.Menu.container.visibility? =? "Inherit"; 
  ????}? Else? If (FIND ( "menuItem0 "))????????? var? L? =? Menu.menuLayer? | |? Menu ;???? 
  ???????? HideActiveMenus (); 
  ???????? If (typeof (l )?==?" string ")? L? =? FIND (l); 
  ???????? Window.ActiveMenu? =? L; 
  ???????? Var? S? =? L.style; 
  ???????? S.visibility? =? "Inherit"; 
  ???????? If (x ?!=?" relative ")????????????? s.pixelLeft? =? X ?||?( window.pageX? + ? document.body.scrollLeft )?||? 0; 
  ???????????? S.left? =? S.pixelLeft? +? 'Px'; 
????????}
  ???????? If (y ?!=?" relative ")????????????? s.pixelTop? =? Y ?||?( window.pageY? + ? document.body.scrollTop )?||? 0; 
  ???????????? S.top? =? S.pixelTop? +? 'Px'; 
????????}
  ???????? L.Menu.xOffset? =? Document.body.scrollLeft; 
  ???????? L.Menu.yOffset? =? Document.body.scrollTop; 
????}
  ?? If (menu)? Window.activeMenus [window.activeMenus.length]? =? L; 
  ?? MM_clearTimeout (); 
  ) 

  Function? OnMenuItemDown (e,? L )????? var? A? =? Window.ActiveMenuItem; 
  ?? If (document.layers? &? A )????????? a.eX? =? E.pageX; 
  ???????? A.eY? =? E.pageY; 
  ???????? A.clicked? =? True; 
????}
  ) 

  Function? MouseupMenu (e )????? hideMenu (true, the e); 
  ?? HideActiveMenus (); 
  ?? Return? True; 
  ) 

  Function? GetExplorerVersion ()????? var? IeVers? =? ParseFloat (navigator.appVersion); 
  ?? If (? Navigator.appName ?!=?' Microsoft? Internet? Explorer '?)? Return? IeVers; 
  ?? Var? TempVers? =? Navigator.appVersion; 
  ?? Var? I? =? TempVers.indexOf (? 'MSIE ?'?); 
  ?? If (- i -> =? 0 ?)????????? tempVers? =? TempVers.substring (? I +5?); 
  ???????? IeVers? =? ParseFloat (? TempVers?)? 
????}
  ?? Return? IeVers; 
  ) 

  Function? MouseoutMenu ()????? if ((navigator.appName ?==?" Microsoft? Internet? Explorer ")?&&?( getExplorerVersion ()?<? 4.5)) 
  ???????? Return? True; 
  ?? HideMenu (false, the false); 
  ?? Return? True; 
  ) 

  Function? HideMenu (mouseup, the e )????? var? A? =? Window.ActiveMenuItem; 
  ?? If (a? &? Document.layers )????????? a.document.bgColor? =? A.saveColor; 
  ???????? A.focusItem.top? =? -30; 
  ???????? If (a.hilite)? A.hilite.visibility? = "Hidden"; 
  ???????? If (mouseup? &? A.mmaction? &? A.clicked? &? Window.ActiveMenu )?????????????? if (a. eX? <=? e.pageX +15? &? a.eX?> =? e.pageX-15? &? a.eY? <=? e.pageY +10? &? a.eY?> =? e.pageY-10 )????????????????? setTimeout ( 'window.ActiveMenu.Menu.onMenuItemAction ();',? 500); 
????????????}
????????}
  ???????? A.clicked? =? False; 
  ???????? If (a.Menu.bgImageOver)? A.background.src? =? A.Menu.bgImageUp; 
  ????}? Else? If (window.ActiveMenu? &? FIND ( "menuItem0 "))????????? if (a )???????????? ? a.style.backgroundColor? =? a.saveColor; 
  ???????????? If (a.hilite)? A.hilite.style.visibility? = "Hidden"; 
  ???????????? If (a.hiliteShim)? A.hiliteShim.style.visibility? =? "Inherit"; 
  ???????????? If (a.Menu.bgImageUp)? A.style.background? = "Url ("?+? a.Menu.bgImageUp ?+")"; 
????????}
????}
  ?? If (! Mouseup? &? Window.ActiveMenu )????????? if (window.ActiveMenu.Menu )????????????? if ( window.ActiveMenu.Menu.hideOnMouseOut)? MM_startTimeout (); 
  ???????????? Return (true); 
????????}
????}
  ?? Return (true); 
  ) 

  Function? HideChildMenu (hcmLayer )????? MM_clearTimeout (); 
  ?? Var? L? =? HcmLayer; 
  ?? For (var? I = 0;? I? <? L.Menu.childMenus.length;? I ++)????????? var? TheLayer? =? L.Menu.childMenus [ i]; 
  ???????? If (document.layers)? TheLayer.visibility? = "Hidden"; 
  ???????? Else ????????????? theLayer? =? FIND (theLayer); 
  ???????????? TheLayer.style.visibility? = "Hidden"; 
  ???????????? If (? TheLayer.Menu.menuItemHAlign ?!=?' left'?)????????????????? for (var? j? =? 0;? j? <? theLayer.Menu.menuItemLayers.length;? j ++)????????????????????? var? itemLayer? =? theLayer . Menu.menuItemLayers [j]; 
  ???????????????????? If (itemLayer.textShim)? ItemLayer.textShim.style.visibility? =? "Inherit"; 
????????????????}
????????????}
????????}
  ???????? TheLayer.Menu.hideChildMenu (theLayer); 
????}
  ?? If (l.childMenu )????????? var? ChildMenu? =? L.childMenu; 
  ???????? If (document.layers )????????????? l.Menu.MM_showMenu (null, null, null, childMenu.layers [0]); 
  ???????????? ChildMenu.zIndex? =? L.parentLayer.zIndex? +1; 
  ???????????? ChildMenu.top? =? L.Menu.menuLayer.top? +? L.Menu.submenuYOffset; 
  ???????????? If (? L.Menu.vertical ?)????????????????? if (? L.Menu.submenuRelativeToItem?)? childMenu.top? + =? l.top? +? l.parentLayer.top; 
  ???????????????? ChildMenu.left? =? L.parentLayer.left? +? L.parentLayer.clip.width? - - (2 * l.Menu.menuBorder)? +? l.Menu.menuLayer.left? +? l.Menu.submenuXOffset; 
  ????????????????? ChildMenu.top ????????????}? else? + =? L.top? +? L.parentLayer.top ;???? 
  ???????????????? If (? L.Menu.submenuRelativeToItem?)? ChildMenu.left? =? L.Menu.menuLayer.left? +? L.left? +? L . clip.width? + (2 * l.Menu.menuBorder)? +? l.Menu.submenuXOffset; 
  ???????????????? Else? ChildMenu.left? =? L.parentLayer.left? +? L.parentLayer.clip.width? - - (2 * l.Menu.menuBorder )? +? l.Menu.menuLayer.left? +? l.Menu.submenuXOffset; 
????????????}
  ???????????? If (? ChildMenu.left? <? L.Menu.container.clip.left?)? L.Menu.container.clip.left? =? ChildMenu.left; 
  ???????????? Var? W? =? ChildMenu.clip.width + childMenu.left-l.Menu.container.clip.left; 
  ???????????? If (w?>? L.Menu.container.clip.width)? L.Menu.container.clip.width? =? W; 
  ???????????? Var? H? =? ChildMenu.clip.height + childMenu.top-l.Menu.container.clip.top; 
  ???????????? If (h?>? L.Menu.container.clip.height)? L.Menu.container.clip.height? =? H; 
  ???????????? L.document.layers [1]. ZIndex? =? 0; 
  ???????????? ChildMenu.visibility? =? "Inherit"; 
  ????????}? Else? If (FIND ( "menuItem0 "))????????????? childMenu? =? FIND (l.childMenu); 
  ???????????? Var? MenuLayer? =? FIND (l.Menu.menuLayer); 
  ???????????? Var? S? =? ChildMenu.style; 
  ???????????? S.zIndex? =? MenuLayer.style.zIndex +1; 
  ???????????? If (document.all? | |? Window.mmIsOpera )????????????????? s.pixelTop? =? MenuLayer . style.pixelTop? +? l.Menu.submenuYOffset; 
  ???????????????? If (? L.Menu.vertical ?)????????????????????? if (? l.Menu.submenuRelativeToItem?)? s.pixelTop? + =? l.style.pixelTop; 
  ???????????????????? S.pixelLeft? =? L.style.pixelWidth? +? MenuLayer.style.pixelLeft? +? L.Menu.submenuXOffset; 
  ???????????????????? S.left? =? S.pixelLeft? +? 'Px'; 
  ????????????????????? S.pixelTop ????????????????}? else? + =? L.style . pixelTop; 
  ???????????????????? If (? L.Menu.submenuRelativeToItem?)? S.pixelLeft? =? MenuLayer.style.pixelLeft? +? L.style.pixelLeft ? +? l.style.pixelWidth? + (2 * l.Menu.menuBorder)? +? l.Menu.submenuXOffset; 
  ???????????????????? Else? S.pixelLeft? = (MenuLayer.style.pixelWidth-4 * l.Menu.menuBorder)? +? MenuLayer.style. pixelLeft? +? l.Menu.submenuXOffset; 
  ???????????????????? S.left? =? S.pixelLeft? +? 'Px'; 
????????????????}
  ????????????}? Else ????????????????? var? Top? =? ParseInt (menuLayer.style.top)? +? L . Menu.submenuYOffset; 
  ???????????????? Var? Left? =? 0; 
  ???????????????? If (? L.Menu.vertical ?)????????????????????? if (? l.Menu.submenuRelativeToItem?)? top? + =? parseInt (l.style.top); 
  ???????????????????? Left? = (ParseInt (menuLayer.style.width) -4 * l.Menu.menuBorder)? +? ParseInt (menuLayer.style . left)? +? l.Menu.submenuXOffset; 
  ????????????????????? Top ????????????????}? else? + =? ParseInt (l.style . top); 
  ???????????????????? If (? L.Menu.submenuRelativeToItem?)? Left? =? ParseInt (menuLayer.style.left)? +? ParseInt (l. style.left)? +? parseInt (2 * l.style.width )?+?( l.Menu.menuBorder)? +? l.Menu.submenuXOffset; 
  ???????????????????? Else? Left? = (ParseInt (menuLayer.style.width) -4 * l.Menu.menuBorder)? +? ParseInt (menuLayer . style.left)? +? l.Menu.submenuXOffset; 
????????????????}
  ???????????????? S.top? =? Top? +? 'Px'; 
  ???????????????? S.left? =? Left? +? 'Px'; 
????????????}
  ???????????? ChildMenu.style.visibility? =? "Inherit"; 
  ????????}? Else? Return; 
  ???????? Window.activeMenus [window.activeMenus.length]? =? ChildMenu; 
????}
  ) 

  Function? HideActiveMenus ()????? if (! Window.activeMenus)? Return; 
  ?? For (var? I = 0;? I? <? Window.activeMenus.length;? I ++)????????? if (! ActiveMenus [i])? Continue; 
  ???????? If (activeMenus [i]. Visibility? &? ActiveMenus [i]. Menu ?&&?! window.mmIsOpera )????????????? activeMenus [i ]. visibility? = "hidden"; 
  ???????????? ActiveMenus [i]. Menu.container.visibility? = "Hidden"; 
  ???????????? ActiveMenus [i]. Menu.container.clip.left? =? 0; 
  ????????}? Else? If (activeMenus [i]. Style )????????????? var? S? =? ActiveMenus [i]. Style; 
  ???????????? S.visibility? = "Hidden"; 
  ???????????? S.left ?=?'- 200px '; 
  ???????????? S.top ?=?'- 200px '; 
????????}
????}
  ?? If (window.ActiveMenuItem)? HideMenu (false, the false); 
  ?? Window.activeMenus.length? =? 0; 
  ) 

  Function? MoveXbySlicePos? (X,? Img )????? if (! Document.layers )????????? var? OnWindows? =? Navigator.platform?? Navigator.platform? == "Win32"?: false; 
  ???????? Var? MacIE45? =? Document.all ?&&?! onWindows? &? GetExplorerVersion ()?==? 4.5; 
  ???????? Var? Par? =? Img; 
  ???????? Var? LastOffset? =? 0; 
  ???????? While (par )???????????? if (? Par.leftMargin ?&&?!? onWindows?)? X? + =? ParseInt (par.leftMargin) ; 
  ???????????? If ((par.offsetLeft? =? LastOffset )?&&? par.offsetLeft?)? X? + =? ParseInt (par.offsetLeft); 
  ???????????? If (? Par.offsetLeft? =? 0?)? LastOffset? =? Par.offsetLeft; 
  ???????????? Par? =? MacIE45?? Par.parentElement?: Par.offsetParent; 
????????}
  ????}? Else? If (img.x)? X? + =? Img.x; 
  ?? Return? X; 
  ) 

  Function? MoveYbySlicePos? (Y, the img )????? if (! Document.layers )????????? var? OnWindows? =? Navigator.platform?? Navigator.platform? ==? "Win32"?: false; 
  ???????? Var? MacIE45? =? Document.all ?&&?! onWindows? &? GetExplorerVersion ()?==? 4.5; 
  ???????? Var? Par? =? Img; 
  ???????? Var? LastOffset? =? 0; 
  ???????? While (par )???????????? if (? Par.topMargin ?&&?! onWindows?)? Y? + =? ParseInt (par.topMargin); 
  ???????????? If ((par.offsetTop? =? LastOffset )?&&? par.offsetTop?)? Y? + =? ParseInt (par.offsetTop); 
  ???????????? If (? Par.offsetTop? =? 0?)? LastOffset? =? Par.offsetTop; 
  ???????????? Par? =? MacIE45?? Par.parentElement?: Par.offsetParent; 
????????}????????
  ????}? Else? If (img.y?> =? 0)? Y? + =? Img.y; 
  ?? Return? Y; 
  ) 
  Posted on 2006-11-22 18:19-read text (26) Comments (0) quoted edit collections for the category: Personal Notes 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • DZone
  • Netvouz
  • Propeller

Recommend Articles

Comments

Leave a Reply