home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2003 May / PFA0503.iso / fullversioner / webmenubuilder / WebMenuBuilderfull / WebMenuBuilder.exe / %MAINDIR% / samples / light-2 / wmb_menu.js < prev    next >
Encoding:
Text File  |  2001-03-20  |  38.4 KB  |  75 lines

  1. wmb76 = {wmb77 :1,wmb78 : 2,wmb79 : 'onmouseover',wmb80 : 'onclick',wmb81 : 'hand',wmb82 : 'arrow',wmb83 : 'move',wmb84 : 'text',wmb85 : 'hourglass',wmb86 : 'help',wmb87 : 'n-resize',wmb88 : 's-resize',wmb89 : 'e-resize',wmb90 : 'w-resize',wmb91 : 'ne-resize',wmb92 : 'nw-resize',wmb93 : 'se-resize',wmb94 : 'sw-resize',wmb95 : 1,wmb96 : 2,wmb97 : 3,wmb98: 4,wmb99 : 'left',wmb100 : 'right',wmb101 : 'center',wmb102 : 'top',wmb103 : 'bottom',wmb104 : 1,wmb105 : 2,wmb106 :3,wmb107 : 4,wmb108 : 'end'};
  2. var wmb25 = new WmbBrowser();var wmb0 = [];var wmb56 = [];var wmb27 = new wmb110();var wmbMMStack = new wmb110();function wmb72(id, type, x, y, isMoveable, bgimg, bgcolor, border, borderColor, borderLightColor, borderDarkColor) {var a = arguments;var i = 0;var m = new Menu(id, type, x, y);_wmbsetval(m, "isMoveable", isMoveable);_wmbsetval(m, "bgimg", bgimg);m.bgcolor = bgcolor;m.border = border;_wmbsetval(m, "borderColor", borderColor);_wmbsetval(m, "borderLightColor", borderLightColor);_wmbsetval(m, "borderDarkColor", borderDarkColor);
  3. return m;};function Menu(id, type, x, y) {this.id = id || 'submenu' + Menu.idcount++;this.type = type;this.x = x;this.y = y;this.items = [];this.ancestor = this;Menu.menus[Menu.menus.length]=this;Menu.menusbyid[this.id]=this;this.isMoveable = false;this.bgimg = null;this.bgcolor = '#cccccc';this.border = 2;this.borderColor=null;this.borderLightColor = '#eeeeee';this.borderDarkColor = '#aaaaaa';this.roimg = null;};Menu.voidgif="void.gif";Menu.menus=[];Menu.menusbyid=[];Menu.idcount=0;Menu.oldonload=document.onload;
  4. Menu.shortonload=false;Menu.onload=function() {if (Menu.shortonload) return;Menu.shortonload = true;for (i = 0; i < Menu.menus.length; i++) {menu = Menu.menus[i];if (menu.ancestor == menu) menu.write();};if (wmb25.wmb26) {document.captureEvents(Event.CLICK);document.captureEvents(Event.MOUSEDOWN);};if (document.onmousedown) {wmb27.wmb47(document.onmousedown);};document.onmousedown=wmb28;document.onclick=wmb28;if (Menu.oldonload && Menu.oldonload != Menu.onload) {Menu.oldonload();}};Menu.prototype.wmb109=function(menuItem) {
  5. this.items[this.items.length]=menuItem;this.menuitemsbyid[menuItem.id] = menuItem;menuItem.parent = this;if (menuItem.submenu) menuItem.submenu.ancestor = this.ancestor;};Menu.prototype.menuitemsbyid=[];Menu.prototype.getChild=function(itemid) {return this.menuitemsbyid[itemid];};Menu.prototype.wmb29=function(type) {if (type && type != "") {} else alert("Invalid type in Menu.wmb29()");if (this.type != wmb76.wmb78) this.type = wmb76.wmb77;var border = this.border || 0;if (--border < 1) border++;
  6. var debug=0;var nsborder ='';if (wmb25.wmb264 && this.border > 0) {nsborder= '<tr bgcolor='+this.borderLightColor+'><td rowspan=2><table cellspacing=0 cellpadding='+border+' border='+debug+'><tr><td></td></tr></table></td><td colspan=2><table width=100% cellspacing=0 cellpadding='+border+' border='+debug+'><tr><td></td></tr></table></td></tr>';};var wmb5 ='<table cellspacing=0 cellpadding=0 ' +wmb6('bgcolor="', this.bgcolor, '" ')  +(wmb25.wmb264?'border=0':wmb6('border=', this.border, ' ')) +wmb6('borderColor="', this.borderColor, '" ') +
  7. wmb6('borderColorLight="', this.borderLightColor, '" ') +wmb6('borderColorDark="', this.borderDarkColor, '" ') +((0==this.border)?' frame=void ': '') +' rules=none class=wmbouter>' +nsborder +'<tr><td><table cellspacing=0 cellpadding=0 border=0 class=tbl' + type +' ' + wmb6('background="',this.bgimg,'" ') +'><tr valign=center>';var wmb8=' '; var wmb7= ' ';if (this.type == wmb76.wmb78) {wmb7 = '</tr>';wmb8 = '<tr valign=bottom>';};var wmb9 = "";for (var i = 0; i < this.items.length; i++) {
  8. var wmb10=(i + 1 < this.items.length) ? wmb7 : "";wmb5 += wmb9 + this.items[i].wmb29() + wmb10;wmb9 = wmb8;};nsborder = '';if (wmb25.wmb264 && this.border > 0) {nsborder= '<td bgcolor='+this.borderDarkColor+' rowspan=3><table cellspacing=0 cellpadding='+border+' border='+debug+'><tr><td></td></tr></table></td></tr><tr><td colspan=2 bgcolor='+this.borderDarkColor+'><table width=100% cellspacing=0 cellpadding='+border+' border='+debug+'><tr><td></td></tr></table></td>';};return wmb5 + '</tr></table></td>'+nsborder+'</tr></table>';
  9. };Menu.prototype.write=function() {text = this.wmb29('wmbmenubar');if (wmb25.wmb404up){document.all[this.id].innerHTML = text;wmb0[this.id] = document.all[this.id];} else if (wmb25.wmb264 ) {var wmb1;wmb1 = document.layers[this.id].document;wmb0[this.id] = document.layers[this.id];wmb1.open();wmb1.write( text );wmb1.close();} else {document.getElementById(this.id).innerHTML = text;wmb0[this.id] = document.getElementById(this.id);};wmb0[this.id].items = this.items;if (this.idpin) {this.moveMenu(wmb_get_xpos(this.idpin), wmb_get_ypos(this.idpin))
  10. } else if (!isNaN(this.x) && !isNaN(this.y) && 'null' != ''+this.x && 'null' != ''+this.y) {this.moveMenu(this.x,this.y);}};Menu.prototype.createLayer=function(wmb2, text) {if (wmb25.wmb404up){document.all[this.ancestor.id].insertAdjacentHTML("AfterEnd",'<div id="' + wmb2 + '" class=wmbsubmenu>' +text +'</div>');document.all[wmb2].style.visibility = "hidden";wmb0[wmb2] = document.all[wmb2];} else if (wmb25.wmb264){var wmb3 = new Layer(1);wmb3.document.open();wmb3.document.writeln(text);wmb3.document.close();
  11. wmb3.visibility = "hidden";wmb0[wmb2] = wmb3;} else {var wmb4 = document.createElement("div");wmb4.style.position="absolute";wmb4.setAttribute("id", wmb2);wmb4.setAttribute("class", "wmbsubmenu");document.documentElement.appendChild(wmb4);var wmb11 = wmb4.ownerDocument.createRange();wmb11.selectNodeContents(wmb4);wmb11.collapse(true);var wmb12 = wmb11.createContextualFragment(text);wmb4.appendChild(wmb12);wmb4.style.visibility = "hidden";wmb0[wmb2] = wmb4;};wmb56[wmb56.length] = wmb2;
  12. };Menu.prototype.moveMenu=function(x,y) {if (wmb25.wmb264) {eval("document." + this.id + ".moveTo(x,y)");} else if (wmb25.wmb404up) {document.all[this.id].style.pixelLeft = x;document.all[this.id].style.pixelTop = y;} else {document.getElementById(this.id).style.left = '' + x + 'px';document.getElementById(this.id).style.top =  '' + y + 'px';};this.x = x;this.y = y;};Menu.prototype.setPin=function(pinname) {this.idpin = pinname;};function wmbMakewmb69(title, description, link, target,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,
  13. rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb67, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop) {var m = new wmb69(title, description, link, target);_wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb67, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop);return m
  14. };function _wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb67, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop) {_wmbsetval(m, "titleAlign", titleAlign);_wmbsetval(m, "font", font);_wmbsetval(m, "fontSize", fontSize);_wmbsetval(m, "isBold", isBold);_wmbsetval(m, "isItalic", isItalic);_wmbsetval(m, "isUnderlined", isUnderlined);
  15. _wmbsetval(m, "color", color);_wmbsetval(m, "rofont", rofont);_wmbsetval(m, "rofontSize", rofontSize);_wmbsetval(m, "roisBold", roisBold);_wmbsetval(m, "roisItalic", roisItalic);_wmbsetval(m, "roisUnderlined", roisUnderlined);_wmbsetval(m, "rocolor", rocolor);_wmbsetval(m, "icon", icon);_wmbsetval(m, "roicon", roicon);_wmbsetval(m, "iconAlign", iconAlign);_wmbsetval(m, "iconwmb67", iconwmb67);_wmbsetval(m, "bgcolor", bgcolor);_wmbsetval(m, "robgcolor", robgcolor);_wmbsetval(m, "cursor", cursor);
  16. _wmbsetval(m, "paddingLeft", paddingLeft);_wmbsetval(m, "paddingRight", paddingRight);_wmbsetval(m, "paddingBottom", paddingBottom);_wmbsetval(m, "paddingTop", paddingTop);return m;};function wmb69(title, description, link, target){this.id = 'menuitem' + wmb69.idcount++;this.title = title;this.description = description;this.link = link;this.target = target;this.parent = null;this.titleAlign = wmb76.wmb99;this.font = null;this.fontSize = null;this.isBold = null;this.isItalic = null;this.isUnderlined = null;
  17. this.color = null;this.rofont = null;this.rofontSize = null;this.roisBold = null;this.roisItalic = null;this.roisUnderlined = null;this.rocolor = null;this.icon = null;this.roicon = null;this.iconAlign = wmb76.wmb101;this.iconwmb67 = wmb76.wmb95;this.bgcolor = null;this.robgcolor = null;this.cursor = wmb76.wmb81;this.paddingLeft = 5;this.paddingRight = 5;this.paddingBottom = 2;this.paddingTop = 2;};wmb69.idcount = 0;wmb69.prototype.addSubMenu=function(submenu, suboptions) {this.submenu = submenu || new Menu();
  18. this.suboptions = suboptions || new wmb75();this.submenu.parent = this;if (this.submenu.type != wmb76.wmb77) this.submenu.type =  wmb76.wmb78;if (this.parent)this.submenu.ancestor = this.parent.ancestor;};wmb69.prototype.bindEvent=function(event, handler) {};wmb69.wmb18=0;wmb69.prototype.wmb29=function() {var wmb13 = '';var wmb14='wmb16(\'' + this.parent.id + '\', \'' + this.id + '\', true);';var wmb15='wmb16(\'' + this.parent.id + '\', \'' + this.id + '\', false);';var clickhandler='';if (this.submenu) {
  19. wmb13 ='wmb17(\'' +this.parent.id  +'\',\''+ this.submenu.id +'\',\''+ 'mark' + this.submenu.id +'\', ' +((this.parent.type != wmb76.wmb78)?'true':'false') + ', \'' + this.id +'\', event);';if (this.suboptions.wmb68 == wmb76.wmb79) {wmb14 += wmb13;} else {clickhandler += wmb13;}} else {wmb14 += 'wmb52(\'' + this.parent.id +'\')';};var pad = this.computePadding(this.paddingLeft, this.paddingTop, this.paddingRight, this.paddingBottom);var style = this.computeStyle();var wmb19 = 'wmb19'+wmb69.wmb18++;
  20. var wmb5 ='<table id=\'' + wmb19 + '\'' + wmb6(' bgcolor=\'', this.bgcolor, '\' ') +' onmouseover="wmb30(\'' + wmb19 + '\'' + wmb6(',\'',this.robgcolor,'\'')+');' +wmb14 +'" onmouseout="wmb30(\'' + wmb19 + '\'' + wmb6(',\'',this.bgcolor,'\'')+');' +wmb15 +'" onclick="' +clickhandler +'" onmousedown="wmb58=true" cellspacing=0 cellpadding=0 border=0 width=100% height=100%><tr>';var wmb23 = "";var submenuimg='';if (this.suboptions && this.suboptions.submenuimg) {submenuimg = '<img src="' + this.suboptions.submenuimg + '" border=0>';
  21. } else if (wmb25.wmb264) {submenuimg= '<table cellspacing=0 cellpadding=0><tr><td></td></tr></table>';};var submenuid = this.submenu?' id="mark'+this.submenu.id+'"':'';var valign='top';var align = 'right';if (this.suboptions && this.suboptions.placement == wmb76.wmb98) align='left';var tmarker = '<tr height=0%><td><span ' + submenuid + ' class=wmbmarker></span></td></tr>';var bmarker = '';if (this.parent.type == wmb76.wmb77 || (this.suboptions && this.suboptions.placement == wmb76.wmb98)) {valign="bottom";
  22. bmarker = tmarker;tmarker = '';};if (this.parent.type == wmb76.wmb77) align="left";wmb23 =  '<td valign=' + valign +' align='+align+' width="1px">' +'<table cellspacing=0 cellpadding=1 border=0 height=100% valign=center>' +tmarker +'<tr height=100%><td valign=center>'+ submenuimg+'</td></tr>' +bmarker +'</table></td>';if (this.submenu) {this.parent.createLayer(this.submenu.id, this.submenu.wmb29("wmbsubmenu"));wmb0[this.submenu.id].items = this.submenu.items;};var wmb20 = ''; var wmb21 = ""; var hwmb10= "";
  23. if (this.submenu && (this.parent.type == wmb76.wmb77 || this.suboptions.placement == wmb76.wmb95) && this.suboptions.placement != wmb76.wmb96) {wmb21 = wmb23;hwmb10 = '<td></td>';} else {wmb20 = wmb23;};wmb5 += wmb21 + '<td '+style+' nowrap align="' + this.titleAlign + '">' +pad.beg +'<a class=wmbmenuitem onmousedown="wmb58=true" ' +' onmouseover="' + wmb14 + '" ' +' onmouseout="' + wmb15 + '" ' +wmb6(' title="', this.description, '" ');var href = '';if (!wmb25.wmb404up) {href = ' href="javascript:noop();" ';
  24. };if (this.submenu) {wmb5 +=href +this.suboptions.wmb68 +'="' + wmb13 + '"';} else {wmb5 += ((this.link)?'href="'+this.link+'"':href) +wmb6('target="',this.target, '" ') +' onmouseover="' + wmb14 +'" ';};var title = wmb69.wmb24(this);var iconwmb67 = this.iconwmb67?this.iconwmb67:wmb76.wmb95;var iconStr =wmb6('<IMG BORDER=0 ' +wmb6(' align="',this.iconAlign,'" ') +wmb6(' valign="',this.iconAlign,'" ') +' NAME="img' + this.id + '" SRC="', this.icon, '">');var liconStr = iconwmb67 == wmb76.wmb95?iconStr:'';
  25. liconStr = iconwmb67 == wmb76.wmb97?iconStr+'<br>': liconStr;var riconStr = iconwmb67 == wmb76.wmb96?iconStr:'';riconStr = iconwmb67 == wmb76.wmb98?'<br>'+iconStr: riconStr;wmb5 += '>' +liconStr +title +riconStr +'</a>' +pad.end +'</td>' + hwmb10 +wmb6(null, wmb20) +'</tr></table>';return '<td '+style+'>' + wmb5 + '</td>';};wmb69.prototype.computePadding=function() {var result = [];result.beg='';result.end='';if (!wmb25.wmb264) return result;var paddingLeft = this.paddingLeft;var paddingRight = this.paddingRight;
  26. var paddingTop = this.paddingTop;var paddingBottom = this.paddingBottom;paddingLeft = paddingLeft<0?0:paddingLeft;paddingRight = paddingRight<0?0:paddingRight;paddingTop = paddingTop<0?0:paddingTop;paddingBottom = paddingBottom<0?0:paddingBottom;var isPadded =paddingLeft ||paddingRight ||paddingTop ||paddingBottom;var bpad='';var epad='';if (isPadded) {var debug = 0;bpad = '<table cellspacing=0 cellpadding=0 border='+debug+'><tr><td></td>';if (paddingTop > 0) {bpad += '<td><table border='+debug+' cellspacing=0 cellpadding='+paddingTop+'><tr><td></td></tr></table></td>';
  27. } else {bpad += '<td></td>';};bpad += '<td></td></tr><tr>';if (paddingLeft > 0) {bpad += '<td><table border='+debug+' cellspacing=0 cellpadding='+paddingLeft+'><tr><td></td></tr></table></td>';} else {bpad += '<td></td>';};bpad += '<td>';epad += '</td>';if (paddingRight > 0) {epad += '<td><table border='+debug+' cellspacing=0 cellpadding='+paddingRight+'><tr><td></td></tr></table></td>';} else {epad += '<td></td>';};epad += '</tr><tr><td></td>';if (paddingBottom > 0) {epad += '<td><table border='+debug+' cellspacing=0 cellpadding='+paddingBottom+'><tr><td></td></tr></table></td>';
  28. } else {epad += '<td></td>';};epad += '<td></td></tr></table>';};result.beg = bpad;result.end = epad;return result;};wmb69.prototype.computeStyle=function() {var style = '';if (!wmb25.wmb264) {style = ' style = "' +wmb6(' padding-top:', this.paddingTop,'px; ') +wmb6(' padding-left:',this.paddingLeft,'px; ') +wmb6(' padding-right:',this.paddingRight,'px; ') +wmb6(' padding-bottom:',this.paddingBottom,'px; ') +wmb6(' cursor:', this.cursor, ';') +' align: middle; " ';};return style;};wmb69.wmb24=function(menuItem) {
  29. var title = '';if (wmb25.wmb264) {title ='<font ' +wmb6(' face="',menuItem.font,'" ') +wmb6('point-size="', (parseInt(menuItem.fontSize) - 2), '" ') +wmb6('color="',menuItem.color,'" ') +'>' +true_noth(menuItem.isBold, '<b>') +true_noth(menuItem.isItalic, '<i>') +true_noth(menuItem.isUnderlined, '<u>') +wmb6(null, menuItem.title) +true_noth(menuItem.isUnderlined, '</u>') +true_noth(menuItem.isItalic, '</i>') +true_noth(menuItem.isBold, '</b>') +'</font>';} else {title ='<span id="' + menuItem.id + '" style="' +
  30. wmb6('font-family: ',menuItem.font,'; ') +wmb6('font-size: ',menuItem.fontSize,'; ') +wmb6_conv('font-weight: ', menuItem.isBold,'; ','bold','normal') +wmb6_conv('font-style:  ', menuItem.isItalic,'; ','italic','normal') +wmb6_conv('text-decoration: ', menuItem.isUnderlined,'; ','underline','none') +wmb6('color: ',menuItem.color,'; ') +wmb6('cursor: ', menuItem.cursor,'; ') +'">' +wmb6(null, menuItem.title) +'</span>';};return title;};function wmb73(title, description,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,
  31. rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb67, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop) {var m = new wmb70(title, description);_wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb67, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop);return m;};function wmb70(title, description)
  32. {this.id = 'dragitem' + wmb70.idcount++;this.title = title;this.description = description;this.parent = null;this.titleAlign = wmb76.wmb101;this.font = null;this.fontSize = null;this.isBold = null;this.isItalic = null;this.isUnderlined = null;this.color = null;this.rofont = null;this.rofontSize = null;this.roisBold = null;this.roisItalic = null;this.roisUnderlined = null;this.rocolor = null;this.icon = null;this.roicon = null;this.iconAlign = wmb76.wmb101;this.bgcolor = null;this.robgcolor = null;
  33. this.cursor = wmb76.wmb81;this.paddingLeft = 5;this.paddingRight = 5;this.paddingBottom = 2;this.paddingTop = 2;};wmb70.idcount = 0;wmb70.wmb18=0;wmb70.prototype.wmb29=function() {var pad = this.computePadding();var style = this.computeStyle();var wmb19 = 'dragwmb19'+wmb69.wmb18++;var wmb14='wmb16(\'' + this.parent.id + '\', \'' + this.id + '\', true);';var wmb15='wmb16(\'' + this.parent.id + '\', \'' + this.id + '\', false);';var wmb5 ='<table id=\'' + wmb19 + '\'' + wmb6(' bgcolor=\'', this.bgcolor, '\' ') +
  34. ' onmouseover="wmb30(\'' + wmb19 + '\'' + wmb6(',\'',this.robgcolor,'\'')+');' +wmb14 +'" onmouseout="wmb30(\'' + wmb19 + '\'' + wmb6(',\'',this.bgcolor,'\'')+');' +wmb15 +'" cellspacing=0 cellpadding=0 border=0 width=100% height=100%><tr>';if (!this.parent.isMoveable) alert("Error: why have a drag item if you can't move the menu?");var href = '';if (!wmb25.wmb404up) {href = ' href="javascript:noop();" ';};wmb5 +='<td '+style+' nowrap align="' + this.titleAlign + '">' +pad.beg +'<a class=wmbmenuitem ' +
  35. wmb6(' title="', this.description, '" ') +href +' onclick="return false;"' +' onmouseover="' + wmb14 + '" ' +' onmouseout="' + wmb15 + '" ' +' onmousedown="wmb32(event, \''+ this.parent.id +'\')"';var title = wmb69.wmb24(this);var iconwmb67 = this.iconwmb67?this.iconwmb67:wmb76.wmb95;var iconStr =wmb6('<IMG BORDER=0 ' +wmb6(' align="',this.iconAlign,'" ') +wmb6(' valign="',this.iconAlign,'" ') +' NAME="img' + this.id + '" SRC="', this.icon, '">');var liconStr = iconwmb67 == wmb76.wmb95?iconStr:'';
  36. liconStr = iconwmb67 == wmb76.wmb97?iconStr+'<br>': liconStr;var riconStr = iconwmb67 == wmb76.wmb96?iconStr:'';riconStr = iconwmb67 == wmb76.wmb98?'<br>'+iconStr: riconStr;wmb5 += '>' +liconStr +title +riconStr +'</a>' +pad.end +'</td>' +'</tr></table>';return '<td '+style+'>' + wmb5 + '</td>';};wmb70.prototype.computePadding=wmb69.prototype.computePadding;wmb70.prototype.computeStyle=wmb69.prototype.computeStyle;function wmb75(wmb63, wmb64, wmb68, submenuimg, wmb65, wmb66, placement) {this.wmb63 = wmb63 || wmb76.wmb104;
  37. this.wmb64 = wmb64 || 20;this.wmb68 = wmb68 || wmb76.wmb79;this.submenuimg = submenuimg || null;this.wmb65 = wmb65 || 0;this.wmb66 = wmb66 || 0;this.placement = placement || null;};wmb75.prototype.wmb33=function(submenuid, top, right, bottom, left) {if (this.wmb64 < 1) this.wmb64 = 20;if (this.wmb63 == wmb76.wmb105) {if (100 <= right) return null;top = 0;right += this.wmb64;if (right > 100) right = 100;bottom = 100;left = 0;} else if (this.wmb63 == wmb76.wmb106) {if (100 <= bottom) return null;top = 0;
  38. right = 100;bottom += this.wmb64;if (bottom > 100) bottom = 100;left = 0;} else if (this.wmb63 == wmb76.wmb107) {if (100 <= right && 100 <= bottom) return null;top = 0;right += this.wmb64;if (right > 100) right = 100;bottom += this.wmb64;if (bottom > 100) bottom = 100;left = 0;} else {wmb34(wmb0[submenuid], 0, 100, 100, 0);return null;};wmb34(wmb0[submenuid], top, right, bottom, left);return new wmb35(top, right, bottom, left);};function WmbSeparator(firstColor, secondColor) {this.firstColor = firstColor || '#999999';
  39. this.secondColor = secondColor || '#cccccc';};WmbSeparator.prototype.wmb29=function() {if (wmb76.wmb77 != this.parent.type) {if (wmb25.wmb265up) {return '<tr><td><div style="position: relative; background-color: '+this.secondColor+'; height: 2px; width: 100%; "><div style="position: relative; background-color: '+this.firstColor+'; height: 1px; width: 100%;"></div></div></td></tr>';} else {return '<tr><td><table width=100% height=2 cellpadding=0 cellspacing=0 border=0><tr align=left valign=bottom><td bgcolor=' + this.firstColor + '><img src="'+Menu.voidgif+'" width=1 height=1 border=0></td></tr><tr align=left valign=top><td bgcolor=' + this.secondColor+ '><img src="'+Menu.voidgif+'" width=1 height=1 border=0></td></tr></table></td></tr>';
  40. };/*;if (wmb25.wmb264) {return '<tr><td><table width=100% height=2 cellpadding=0 cellspacing=0 border=0><tr align=left valign=bottom><td bgcolor=' + this.firstColor + '><img src="'+Menu.voidgif+'" width=1 height=1 border=0></td></tr><tr align=left valign=top><td bgcolor=' + this.secondColor+ '><img src="'+Menu.voidgif+'" width=1 height=1 border=0></td></tr></table></td></tr>';} else if (wmb25.wmb265up) {return '<tr><td><div style="position: relative; background-color: '+this.secondColor+'; height: 2px; width: 100%; "><div style="position: relative; background-color: '+this.firstColor+'; height: 1px; width: 100%;"></div></div></td></tr>';
  41. } else {return '<tr height=1px><td bgcolor="'+this.firstColor+'"></td></tr><tr height=1px><td bgcolor="'+this.secondColor+'"></td></tr>';};*/} else {if (wmb25.wmb264) {return '<td height=100% width=1 bgcolor="'+ this.firstColor+'"><table height=100% cellspacing=0 cellpadding=1 border=0><tr><td></td></tr></table></td><td height=100% width=1 bgcolor="'+ this.secondColor+'"><table height=100% cellspacing=0 cellpadding=1 border=0><tr><td></td></tr></table></td>';} else if (wmb25.wmb265up) {return '<td><div style="position: relative; background-color: '+this.secondColor+'; height: 100%; width: 2px; padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><div style="position: relative; background-color: '+this.firstColor+'; height: 100%; width: 1px;padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><hr height=0 width=0></div></div></td>';
  42. } else {return '<td><table width=2 height=100% cellpadding=0 cellspacing=0 border=0><tr height=100% align=left><td bgcolor=' + this.firstColor + '><img src="'+Menu.voidgif+'" width=1 height=100% border=0></td><td bgcolor=' + this.secondColor+ '><img src="'+Menu.voidgif+'" width=1 height=100% border=0></td></tr></table></td>';};/*;if (wmb25.wmb264) {return '';} else if (wmb25.wmb265up) {return '<td><div style="position: relative; background-color: '+this.secondColor+'; height: 100%; width: 2px; padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><div style="position: relative; background-color: '+this.firstColor+'; height: 100%; width: 1px;padding-top: 0px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><hr height=0 width=0></div></div></td>'
  43. } else {return '<td><div style="position: relative; background-color: '+this.secondColor+'; height: 100%; width: 2px; "><div style="position: relative; background-color: '+this.firstColor+'; height: 100%; width: 1px;"></div></div></td>';};*/}};function WmbBrowser() {var wmb36=navigator.userAgent.toLowerCase();this.wmb26  = ((wmb36.indexOf('mozilla')!=-1) && (wmb36.indexOf('spoofer')==-1)&& (wmb36.indexOf('compatible') == -1) && (wmb36.indexOf('opera')==-1)&& (wmb36.indexOf('webtv')==-1));var wmb38 = parseInt(navigator.appVersion);
  44. var wmb39 = parseFloat(navigator.appVersion);this.wmb40   = (wmb36.indexOf("msie") != -1);this.wmb264 = (this.wmb26 && (wmb38 == 4));this.wmb265up = (this.wmb26 && (wmb38 >= 5));var wmb403  = (this.wmb40 && (wmb38 < 4));var wmb404  = (this.wmb40 && (wmb38 == 4) && (wmb36.indexOf("msie 5.0")==-1) );this.wmb404up  = (this.wmb40  && (wmb38 >= 4));this.wmb405up  = (this.wmb40  && !wmb403 && !wmb404);};function wmb110() { this.arr=[]; };wmb110.prototype.pt=0;wmb110.prototype.wmb47=function(value) { this.arr[this.pt++]=value; };
  45. wmb110.prototype.wmb48=function(wmb49) {--this.pt;if (this.pt < 0) {this.pt=0;return wmb49;};return this.arr[this.pt];};wmb110.prototype.size=function() { return this.pt; };function wmb6(wmb50, value, wmb51) {wmb50 = wmb50 || "";wmb51 = wmb51 || "";if (value && value != "") {return wmb50 + value + wmb51;};return "";};function true_noth(expr, text) {return (expr && expr == true)?text:"";};function wmb6_conv(wmb50, value, wmb51, trueVal, falseVal) {wmb50 = wmb50 || "";wmb51 = wmb51 || "";
  46. if (value && value != "") {return wmb50 + (value?trueVal:falseVal) + wmb51;};return "";};function _wmbsetval(obj, item, value) {if (("" != value && null != value) || "0" == ''+value) {if (!wmb25.wmb264 || 'undefined' != ''+value) {obj[item] = value;}}};function wmb_get_xpos(idobj) {var x = 0;if (wmb25.wmb404up) {var obj = document.all[idobj];while(obj) {x += obj.offsetLeft;obj = obj.offsetParent;}} else if (wmb25.wmb264) {x = document[idobj].pageX;} else {x = parseInt(document.getElementById(idobj).style.left);
  47. };return x;};function wmb_get_ypos(idobj) {var y = 0;if (wmb25.wmb404up) {var obj = document.all[idobj];while(obj) {y += obj.offsetTop;obj = obj.offsetParent;}} else if (wmb25.wmb264) {y = document[idobj].pageY;} else {y = parseInt(document.getElementById(idobj).style.top);};return y;};var menuinmotion;var wmbmotionoffset=[];function wmb32(event, menu) {wmb52();if (wmb25.wmb26) {document.captureEvents(Event.MOUSEMOVE);};menuinmotion = menu;if (wmb25.wmb264) {wmbmotionoffset.x = event.pageX - document[menuinmotion].left;
  48. wmbmotionoffset.y = event.pageY - document[menuinmotion].top;} else if (wmb25.wmb404up) {wmbmotionoffset.x = window.event.clientX - document.all[menuinmotion].offsetLeft;wmbmotionoffset.y = window.event.clientY - document.all[menuinmotion].offsetTop;} else {wmbmotionoffset.x = event.pageX - parseInt(document.getElementById(menuinmotion).style.left);wmbmotionoffset.y = event.pageY - parseInt(document.getElementById(menuinmotion).style.top);};if (null == wmbmotionoffset.x || isNaN(wmbmotionoffset.x)) {wmbmotionoffset.x = 0;};
  49. if (null == wmbmotionoffset.y || isNaN(wmbmotionoffset.y)) {wmbmotionoffset.y = 0;};if (document.onmousemove && document.onmousemove != wmb53) {wmbMMStack.wmb47(document.onmousemove);};document.onmousemove=wmb53;};function wmb54(sub, hide) {if (sub && wmb0[sub.id]) {wmb54wmb1(wmb0[sub.id], hide);}};function wmb54wmb1(wmb1, hide) {if (wmb25.wmb264) {wmb1.visibility = (hide)?"hidden":"visible";} else {wmb1.style.visibility = (hide)?"hidden":"visible";};if (wmb25.wmb265up) {wmb1.style.left = parseInt(wmb1.style.left) + 5 + 'px';
  50. }};var wmb58=false;function wmb28(evt) {if (wmb25.wmb26) {document.routeEvent(evt);};if (!wmb58) {wmb52();};wmb58=false;};function wmb52(menuid) {if (menuid && wmb0[menuid]) {for(var i=0; i < wmb0[menuid].items.length; i++) {wmb54(wmb0[menuid].items[i].submenu, true);if (wmb0[menuid].items[i].submenu) {wmb52(wmb0[menuid].items[i].submenu.id, true);}}} else {for(var i=0; i < wmb56.length; i++) {wmb54wmb1(wmb0[wmb56[i]], true);}}};function wmb53(event) {if (wmb25.wmb264) {Menu.menusbyid[menuinmotion].moveMenu(event.pageX-wmbmotionoffset.x, event.pageY-wmbmotionoffset.y);
  51. document.captureEvents(Event.MOUSEDOWN);} else if (wmb25.wmb404up) {Menu.menusbyid[menuinmotion].moveMenu(window.event.clientX - wmbmotionoffset.x, window.event.clientY - wmbmotionoffset.y);} else {Menu.menusbyid[menuinmotion].moveMenu(event.pageX-wmbmotionoffset.x, event.pageY-wmbmotionoffset.y);};if (document.onmousedown != wmb57) {if (document.onmousedown) {wmb27.wmb47(document.onmousedown);};document.onmousedown=wmb57;}};function wmb57() {if (wmb25.wmb26) {document.releaseEvents(Event.MOUSEDOWN | Event.MOUSEMOVE);
  52. };document.onmousemove=wmbMMStack.wmb48(noop);document.onmousedown=wmb27.wmb48(noop);};function noop() {};function wmb17(parentmenu, submenu, marker, ishorizontal, itemid, event) {if (!Menu.menusbyid[submenu]) alert("Could not find " + submenu);if (!Menu.menusbyid[submenu].parent) alert("Expected a parent item in " + submenu);var suboptions = Menu.menusbyid[submenu].parent.suboptions || new wmb75();var borderOffset = Menu.menusbyid[parentmenu].border;var subBorderOffset = Menu.menusbyid[submenu].border;
  53. var placement = suboptions.placement;if (!placement) {placement = ishorizontal?wmb76.wmb98:wmb76.wmb96;};if (wmb25.wmb264) {if (wmb0[submenu].visibility != 'hide') return;} else {if (wmb0[submenu].style.visibility != 'hidden') return;};wmb58=true;wmb52(parentmenu);if (wmb25.wmb264) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingBottom + Menu.menusbyid[parentmenu].getChild(itemid).paddingTop;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;var mrkLyr = wmb0[parentmenu].document.layers[marker];
  54. if (placement == wmb76.wmb98) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingBottom;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;var pixelLeft = (ishorizontal?mrkLyr.pageX- horpadding - borderOffset:wmb0[parentmenu].pageX) + suboptions.wmb65;var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + wmb0[parentmenu].clip.height:mrkLyr.clip.height+mrkLyr.pageY+verpadding) + suboptions.wmb66;wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);} else if (placement == wmb76.wmb97) {
  55. var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;var pixelLeft = (ishorizontal?mrkLyr.pageX- horpadding - borderOffset:wmb0[parentmenu].pageX) + suboptions.wmb65;var pixelTop = (ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - borderOffset) + suboptions.wmb66 - wmb0[submenu].clip.height;wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);} else if (placement == wmb76.wmb96) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;
  56. var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingRight;var pixelLeft = (ishorizontal?mrkLyr.pageX + horpadding:wmb0[parentmenu].pageX + wmb0[parentmenu].clip.width) + suboptions.wmb65;var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + borderOffset - subBorderOffset:mrkLyr.pageY - subBorderOffset - verpadding)  + suboptions.wmb66 ;wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);/*;var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingRight+2;
  57. wmb0[submenu].moveToAbsolute((ishorizontal?mrkLyr.pageX+horpadding:wmb0[parentmenu].clip.width + wmb0[parentmenu].pageX)  + suboptions.wmb65,(ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - subBorderOffset)  + suboptions.wmb66);*/} else if (placement == wmb76.wmb95) {verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;var pixelLeft = (ishorizontal?mrkLyr.pageX - horpadding:wmb0[parentmenu].pageX) + suboptions.wmb65 - wmb0[submenu].clip.width;
  58. var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + borderOffset - subBorderOffset:mrkLyr.pageY - subBorderOffset - verpadding)  + suboptions.wmb66;wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);/*var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingRight+2;wmb0[submenu].moveToAbsolute(mrkLyr.pageX + suboptions.wmb65 + horpadding + borderOffset,(ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - subBorderOffset)  + suboptions.wmb66);
  59. */} else {alert("Unexpected submenu placement: " + placement);};wmb0[submenu].moveAbove(wmb0[parentmenu]);} else if (wmb25.wmb404up) {var mrkLyr = document.all[marker];if (placement == wmb76.wmb98) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingBottom + Menu.menusbyid[parentmenu].getChild(itemid).paddingTop;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;wmb0[submenu].style.pixelLeft = (ishorizontal?mrkLyr.offsetLeft- horpadding - borderOffset:0) + mrkLyr.offsetParent.offsetLeft + suboptions.wmb65;
  60. wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?mrkLyr.offsetParent.offsetHeight:mrkLyr.offsetHeight+mrkLyr.offsetTop+verpadding+2) + suboptions.wmb66;} else if (placement == wmb76.wmb97) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingBottom + Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;wmb0[submenu].style.pixelLeft = (ishorizontal?mrkLyr.offsetLeft- horpadding - borderOffset:0) + mrkLyr.offsetParent.offsetLeft + suboptions.wmb65;
  61. wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?0:mrkLyr.offsetTop - verpadding - borderOffset) + suboptions.wmb66 - wmb0[submenu].offsetHeight;} else if (placement == wmb76.wmb96) {verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop+1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingRight;wmb0[submenu].style.pixelLeft = mrkLyr.offsetParent.offsetLeft + (ishorizontal?mrkLyr.offsetLeft + horpadding:mrkLyr.offsetParent.offsetWidth) + suboptions.wmb65;
  62. wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?borderOffset - subBorderOffset:mrkLyr.offsetTop - subBorderOffset - verpadding)  + suboptions.wmb66 ;} else if (placement == wmb76.wmb95) {verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop+1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingLeft;wmb0[submenu].style.pixelLeft = mrkLyr.offsetParent.offsetLeft + (ishorizontal?mrkLyr.offsetLeft - horpadding:0) + suboptions.wmb65 - wmb0[submenu].offsetWidth;
  63. wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?borderOffset - subBorderOffset:mrkLyr.offsetTop - subBorderOffset - verpadding)  + suboptions.wmb66 ;} else {alert("Unexpected submenu placement: " + placement);};wmb0[submenu].style.zIndex = wmb0[parentmenu].style.zIndex + 1;} else {var mrkLyr = document.getElementById(marker);document.getElementById(submenu).style.left='' + (event.pageX + suboptions.wmb65) + 'px';document.getElementById(submenu).style.top='' + (event.pageY + suboptions.wmb66) + 'px';
  64. document.getElementById(submenu).style.zIndex = document.getElementById(parentmenu).style.zIndex + 1;};wmb62(wmb0[submenu]);wmb34(wmb0[submenu], 0,0,0,0);wmb54wmb1(wmb0[submenu],false);wmb59(submenu);};function wmb35(top, right, bottom, left) {this.top = top || 0;this.right = right || 0;this.bottom = bottom || 0;this.left = left || 0;};var wmb60;function wmb59(submenu) {if (!Menu.menusbyid[submenu]) alert("Unexpected error: Expected to find " + submenu);if (!Menu.menusbyid[submenu].parent) alert("Unexpected error: Expected to find " + submenu + " parent");
  65. var suboptions = Menu.menusbyid[submenu].parent.suboptions;if (!suboptions) {Menu.menusbyid[submenu].parent.suboptions= new wmb75();};wmb60= setTimeout("_wmb59('" + submenu + "', 0,0,0,0)", 10);};function _wmb59(submenu, top, right, bottom, left) {clearTimeout(wmb60);var suboptions = Menu.menusbyid[submenu].parent.suboptions;var rect = suboptions.wmb33(submenu, top, right, bottom, left);if (rect) {wmb60= setTimeout("_wmb59('" + submenu + "'," +rect.top + "," +rect.right + "," +rect.bottom + "," +
  66. rect.left +")",25);}};function wmb30(id,color) {color = color || "";if (wmb25.wmb265up) {document.getElementById(id).style.backgroundColor=color;} else if(wmb25.wmb404up) {if (color=="hand")alert("" + id + " " + color);document.all[id].style.backgroundColor=color;}};function wmb16(menuid, itemid, isover) {if (!Menu.menusbyid[menuid]) alert("Invalid menu id " + menuid);if (!Menu.menusbyid[menuid].items) alert("No menu items in " + menuid);var menuItem;for (var i = 0; i < Menu.menusbyid[menuid].items.length; i++) {
  67. if (itemid == Menu.menusbyid[menuid].items[i].id) {menuItem = Menu.menusbyid[menuid].items[i];break;}};if (!menuItem) alert("Could not find " + itemid);if (menuItem.roicon) {if (isover) {if (wmb25.wmb264) {wmb0[menuid].document.images["img" + itemid].src = menuItem.roicon;} else {document.images["img" + itemid].src = menuItem.roicon;}} else {if (wmb25.wmb264) {wmb0[menuid].document.images["img" + itemid].src = menuItem.icon;} else {document.images["img" + itemid].src = menuItem.icon;}};
  68. };if (isover) {window.status = menuItem.description||window.defaultStatus;} else {window.status = window.defaultStatus;};if (wmb25.wmb264) return;var obj;if (wmb25.wmb264) {obj = eval("document." + itemid);} else if (wmb25.wmb404up) {obj = document.all[itemid].style;} else {obj = document.getElementById(itemid).style;};if (!isover) {if (menuItem.rofont) obj.fontFamily = menuItem.font;if (menuItem.rofontSize) obj.fontSize = menuItem.fontSize;if (null != menuItem.roisBold) obj.fontWeight = menuItem.isBold?'bold':'normal';
  69. if (null != menuItem.roisItalic) obj.fontStyle = menuItem.isItalic?'italic':'normal';if (null != menuItem.roisUnderlined) obj.textDecoration = menuItem.isUnderlined?'underline':'none';if (menuItem.rocolor) obj.color = menuItem.color;} else {if (menuItem.rofont) obj.fontFamily = menuItem.rofont;if (menuItem.rofontSize) obj.fontSize = menuItem.rofontSize;if (null != menuItem.roisBold) obj.fontWeight = menuItem.roisBold?'bold':'normal';if (null != menuItem.roisItalic) obj.fontStyle = menuItem.roisItalic?'italic':'normal';
  70. if (null != menuItem.roisUnderlined) obj.textDecoration = menuItem.roisUnderlined?'underline':'none';if (menuItem.rocolor) obj.color = menuItem.rocolor;}};function wmb34(wmb1, top, right, bottom, left) {if (wmb25.wmb264) {wmb1.clip.top = wmb1.clip.orgTop * top / 100;wmb1.clip.right = wmb1.clip.orgRight * right / 100;wmb1.clip.bottom = wmb1.clip.orgBottom * bottom / 100;wmb1.clip.left = wmb1.clip.orgLeft * left / 100;} else {wmb1.style.clip = "rect(" + top + "% " + right + "% " + bottom + "% " + left + "%)";
  71. }};function wmb62(wmb1) {if (wmb25.wmb264) {wmb1.clip.orgTop = wmb1.clip.top;wmb1.clip.orgRight = wmb1.clip.right;wmb1.clip.orgBottom = wmb1.clip.bottom;wmb1.clip.orgLeft = wmb1.clip.left;}};window.onload=Menu.onload;function wmbwritestyles(wnd, style) {wnd.document.writeln('<style type="text/css"><!--');wnd.document.writeln('div.wmbmenubar { width: 4px; position: absolute;}');wnd.document.writeln('.wmbmenupin { position: relative;}');wnd.document.writeln('table.tblwmbmenubar { border-collapse: collapse; }');
  72. wnd.document.writeln('table.wmbouter {border-collapse: collapse; }');wnd.document.writeln('table.tblwmbsubmenu {border-collapse: collapse;}');wnd.document.writeln('table.tblwmbmenubar td, table.tblwmbsubmenu td {align: middle; }');wnd.document.writeln('.wmbsubmenu { width: 4px; position: absolute; visibility: hidden; z-index: 10; }');wnd.document.writeln('.wmbmarker {position: relative; font-size: 1pt; height: 0; width: 0; }');wnd.document.writeln('.wmbmenuitem:link { text-decoration: none; font-size: 8pt; font-family: verdana, arial, helvetica, sans serif; color: black; }');
  73. wnd.document.writeln('.wmbmenuitem:visited { text-decoration: none; font-size: 8pt; font-family: verdana, arial, helvetica, sans serif; color: black; }');wnd.document.writeln('.wmbmenuitem:hover { text-decoration: none;}');if (style) {wnd.document.writeln(style);};wnd.document.writeln('--></style>');};wmbwritestyles(window);
  74. onload=Menu.onload
  75.