wmb75 = {wmb76 : 1,wmb77 : 2,wmb78 : 'onmouseover',wmb79 : 'onclick',wmb80 : 'hand',wmb81 : 'arrow',wmb82 : 'move',wmb83 : 'text',wmb84 : 'hourglass',wmb85 : 'help',wmb86 : 'n-resize',wmb87 : 's-resize',wmb88 : 'e-resize',wmb89 : 'w-resize',wmb90 : 'ne-resize',wmb91 : 'nw-resize',wmb92 : 'se-resize',wmb93 : 'sw-resize',wmb94 : 1,wmb95 : 2,wmb96 : 3,wmb97: 4,wmb98 : 'left',wmb99 : 'right',wmb100 : 'center',wmb101 : 'top',wmb102 : 'bottom',wmb103 : 1,wmb104 : 2,wmb105 :  3,wmb106 : 4,wmb107 : 'end'};var wmb24 = new WmbBrowser();var wmb0 = [];var wmb55 = [];var wmb26 = new wmb109();var wmbMMStack = new wmb109();
function wmb71(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);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;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 (wmb24.wmb25) {document.captureEvents(Event.CLICK);document.captureEvents(Event.MOUSEDOWN);
};if (document.onmousedown) {wmb26.wmb46(document.onmousedown);};document.onmousedown=wmb27;document.onclick=wmb27;if (Menu.oldonload && Menu.oldonload != Menu.onload) {Menu.oldonload();}};Menu.prototype.wmb108=function(menuItem) {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.wmb28=function(type) {if (type && type != "") {} else alert("Invalid type in Menu.wmb28()");
if (this.type != wmb75.wmb77) this.type = wmb75.wmb76;var border = this.border || 0;if (--border < 1) border++;var debug=0;var nsborder ='';if (wmb24.wmb254 && 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 html ='<table cellspacing=0 cellpadding=0 ' +wmb5('bgcolor="', this.bgcolor, '" ')  +(wmb24.wmb254?'border=0':wmb5('border=', this.border, ' ')) +
wmb5('borderColor="', this.borderColor, '" ') +wmb5('borderColorLight="', this.borderLightColor, '" ') +wmb5('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 +' ' + wmb5('background="',this.bgimg,'" ') +'><tr valign=center>';var wmb7=' '; var wmb6= ' ';if (this.type == wmb75.wmb77) {wmb6 = '</tr>';wmb7 = '<tr valign=bottom>';};var wmb8 = "";for (var i = 0; i < this.items.length; i++) {var wmb9=(i + 1 < this.items.length) ? wmb6 : "";html += wmb8 + this.items[i].wmb28() + wmb9;
wmb8 = wmb7;};nsborder = '';if (wmb24.wmb254 && 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 html + '</tr></table></td>'+nsborder+'</tr></table>';};Menu.prototype.write=function() {if (wmb24.wmb3955up && this.idpin) {document.all[this.idpin].insertAdjacentHTML("BeforeBegin", "<span id='"+this.idpin+"_wmbalt'></span>");
};text = this.wmb28('wmbmenubar');if (wmb24.wmb394up){document.all[this.id].innerHTML = text;wmb0[this.id] = document.all[this.id];} else if (wmb24.wmb254 ) {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) {var bugfix = "";      if (wmb24.wmb3955up) bugfix="_wmbalt";this.moveMenu(wmb_get_xpos(this.idpin), wmb_get_ypos(this.idpin+bugfix));} 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 (wmb24.wmb394up){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 (wmb24.wmb254){var wmb3 = new Layer(1);wmb3.document.open();wmb3.document.writeln(text);wmb3.document.close();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 wmb10 = wmb4.ownerDocument.createRange();wmb10.selectNodeContents(wmb4);wmb10.collapse(true);var wmb11 = wmb10.createContextualFragment(text);wmb4.appendChild(wmb11);wmb4.style.visibility = "hidden";wmb0[wmb2] = wmb4;};wmb55[wmb55.length] = wmb2;};Menu.prototype.moveMenu=function(x,y) {if (wmb24.wmb254) {eval("document." + this.id + ".moveTo(x,y)");} else if (wmb24.wmb394up) {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 wmbMakewmb68(title, description, link, target,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb66, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop) {var m = new wmb68(title, description, link, target);_wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,
iconwmb66, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop);return m;};function _wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb66, 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);_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, "iconwmb66", iconwmb66);_wmbsetval(m, "bgcolor", bgcolor);_wmbsetval(m, "robgcolor", robgcolor);_wmbsetval(m, "cursor", cursor);_wmbsetval(m, "paddingLeft", paddingLeft);_wmbsetval(m, "paddingRight", paddingRight);_wmbsetval(m, "paddingBottom", paddingBottom);
_wmbsetval(m, "paddingTop", paddingTop);return m;};function wmb68(title, description, link, target){this.id = 'menuitem' + wmb68.idcount++;this.title = title;this.description = description;this.link = link;this.target = target;this.parent = null;this.titleAlign = wmb75.wmb98;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 = wmb75.wmb100;this.iconwmb66 = wmb75.wmb94;
this.bgcolor = null;this.robgcolor = null;this.cursor = wmb75.wmb80;this.paddingLeft = 5;this.paddingRight = 5;this.paddingBottom = 2;this.paddingTop = 2;};wmb68.idcount = 0;wmb68.prototype.addSubMenu=function(submenu, suboptions) {this.submenu = submenu || new Menu();this.suboptions = suboptions || new wmb74();this.submenu.parent = this;if (this.submenu.type != wmb75.wmb76) this.submenu.type =  wmb75.wmb77;if (this.parent)this.submenu.ancestor = this.parent.ancestor;};wmb68.prototype.bindEvent=function(event, handler) {};wmb68.wmb17=0;wmb68.prototype.wmb28=function() {var wmb12 = '';var wmb13='wmb15(\'' + this.parent.id + '\', \'' + this.id + '\', true);';
var wmb14='wmb15(\'' + this.parent.id + '\', \'' + this.id + '\', false);';var clickhandler='';if (this.submenu) {wmb12 ='wmb16(\'' +this.parent.id  +'\',\''+ this.submenu.id +'\',\''+ 'mark' + this.submenu.id +'\', ' +((this.parent.type != wmb75.wmb77)?'true':'false') + ', \'' + this.id +'\', event);';if (this.suboptions.wmb67 == wmb75.wmb78) {wmb13 += wmb12;} else {clickhandler += wmb12;}} else {wmb13 += 'wmb51(\'' + this.parent.id +'\')';};var pad = this.computePadding(this.paddingLeft, this.paddingTop, this.paddingRight, this.paddingBottom);var style = this.computeStyle();var wmb18 = 'wmb18'+wmb68.wmb17++;
var html ='<table id=\'' + wmb18 + '\'' + wmb5(' bgcolor=\'', this.bgcolor, '\' ') +' onmouseover="wmb29(\'' + wmb18 + '\'' + wmb5(',\'',this.robgcolor,'\'')+');' +wmb13 +'" onmouseout="wmb29(\'' + wmb18 + '\'' + wmb5(',\'',this.bgcolor,'\'')+');' +wmb14 +'" onclick="' +clickhandler +'" onmousedown="wmb57=true" cellspacing=0 cellpadding=0 border=0 width=100% height=100%><tr>';var wmb22 = "";var submenuimg='';if (this.suboptions && this.suboptions.submenuimg) {submenuimg = '<img src="' + this.suboptions.submenuimg + '" border=0>';} else if (wmb24.wmb254) {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 == wmb75.wmb97) align='left';var tmarker = '<tr height=0%><td><span ' + submenuid + ' class=wmbmarker></span></td></tr>';var bmarker = '';if (this.parent.type == wmb75.wmb76 || (this.suboptions && this.suboptions.placement == wmb75.wmb97)) {valign="bottom";bmarker = tmarker;tmarker = '';};if (this.parent.type == wmb75.wmb76) align="left";wmb22 =  '<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.wmb28("wmbsubmenu"));wmb0[this.submenu.id].items = this.submenu.items;};var wmb19 = ''; var wmb20 = ""; var hwmb9= "";if (this.submenu && (this.parent.type == wmb75.wmb76 || this.suboptions.placement == wmb75.wmb94) && this.suboptions.placement != wmb75.wmb95) {wmb20 = wmb22;hwmb9 = '<td></td>';} else {wmb19 = wmb22;};html += wmb20 + '<td '+style+' nowrap align="' + this.titleAlign + '">' +pad.beg +'<a class=wmbmenuitem onmousedown="wmb57=true" ' +
' onmouseover="' + wmb13 + '" ' +' onmouseout="' + wmb14 + '" ' +wmb5(' title="', this.description, '" ');var href = '';if (!wmb24.wmb394up) {href = ' href="javascript:noop();" ';};if (this.submenu) {html +=href +this.suboptions.wmb67 +'="' + wmb12 + '"';} else {html += ((this.link)?'href="'+this.link+'"':href) +wmb5('target="',this.target, '" ') +' onmouseover="' + wmb13 +'" ';};var title = wmb68.wmb23(this);var iconwmb66 = this.iconwmb66?this.iconwmb66:wmb75.wmb94;var iconStr =wmb5('<IMG BORDER=0 ' +wmb5(' align="',this.iconAlign,'" ') +wmb5(' valign="',this.iconAlign,'" ') +' NAME="img' + this.id + '" SRC="', this.icon, '">');
var liconStr = iconwmb66 == wmb75.wmb94?iconStr:'';liconStr = iconwmb66 == wmb75.wmb96?iconStr+'<br>': liconStr;var riconStr = iconwmb66 == wmb75.wmb95?iconStr:'';riconStr = iconwmb66 == wmb75.wmb97?'<br>'+iconStr: riconStr;html += '>' +liconStr +title +riconStr +'</a>' +pad.end +'</td>' + hwmb9 +wmb5(null, wmb19) +'</tr></table>';return '<td '+style+'>' + html + '</td>';};wmb68.prototype.computePadding=function() {var result = [];result.beg='';result.end='';if (!wmb24.wmb254) return result;var paddingLeft = this.paddingLeft;var paddingRight = this.paddingRight;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>';} 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>';} else {epad += '<td></td>';};epad += '<td></td></tr></table>';};result.beg = bpad;
result.end = epad;return result;};wmb68.prototype.computeStyle=function() {var style = '';if (!wmb24.wmb254) {style = ' style = "' +wmb5(' padding-top:', this.paddingTop,'px; ') +wmb5(' padding-left:',this.paddingLeft,'px; ') +wmb5(' padding-right:',this.paddingRight,'px; ') +wmb5(' padding-bottom:',this.paddingBottom,'px; ') +wmb5(' cursor:', this.cursor, ';') +' align: middle; " ';};return style;};wmb68.wmb23=function(menuItem) {var title = '';if (wmb24.wmb254) {title ='<font ' +wmb5(' face="',menuItem.font,'" ') +wmb5('point-size="', (parseInt(menuItem.fontSize) - 2), '" ') +wmb5('color="',menuItem.color,'" ') +
'>' +true_noth(menuItem.isBold, '<b>') +true_noth(menuItem.isItalic, '<i>') +true_noth(menuItem.isUnderlined, '<u>') +wmb5(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="' +wmb5('font-family: ',menuItem.font,'; ') +wmb5('font-size: ',menuItem.fontSize,'; ') +wmb5_conv('font-weight: ', menuItem.isBold,'; ','bold','normal') +wmb5_conv('font-style:  ', menuItem.isItalic,'; ','italic','normal') +wmb5_conv('text-decoration: ', menuItem.isUnderlined,'; ','underline','none') +
wmb5('color: ',menuItem.color,'; ') +wmb5('cursor: ', menuItem.cursor,'; ') +'">' +wmb5(null, menuItem.title) +'</span>';};return title;};function wmb72(title, description,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,iconwmb66, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop) {var m = new wmb69(title, description);_wmbMakeBaseItem(m,titleAlign, font, fontSize, isBold, isItalic, isUnderlined, color, rofont,rofontSize, roisBold, roisItalic, roisUnderlined, rocolor, icon, roicon, iconAlign,
iconwmb66, bgcolor, robgcolor, cursor, paddingLeft, paddingRight, paddingBottom, paddingTop);return m;};function wmb69(title, description){this.id = 'dragitem' + wmb69.idcount++;this.title = title;this.description = description;this.parent = null;this.titleAlign = wmb75.wmb100;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 = wmb75.wmb100;this.bgcolor = null;
this.robgcolor = null;this.cursor = wmb75.wmb80;this.paddingLeft = 5;this.paddingRight = 5;this.paddingBottom = 2;this.paddingTop = 2;};wmb69.idcount = 0;wmb69.wmb17=0;wmb69.prototype.wmb28=function() {var pad = this.computePadding();var style = this.computeStyle();var wmb18 = 'dragwmb18'+wmb68.wmb17++;var wmb13='wmb15(\'' + this.parent.id + '\', \'' + this.id + '\', true);';var wmb14='wmb15(\'' + this.parent.id + '\', \'' + this.id + '\', false);';var html ='<table id=\'' + wmb18 + '\'' + wmb5(' bgcolor=\'', this.bgcolor, '\' ') +' onmouseover="wmb29(\'' + wmb18 + '\'' + wmb5(',\'',this.robgcolor,'\'')+');' +
wmb13 +'" onmouseout="wmb29(\'' + wmb18 + '\'' + wmb5(',\'',this.bgcolor,'\'')+');' +wmb14 +'" 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 (!wmb24.wmb394up) {href = ' href="javascript:noop();" ';};html +='<td '+style+' nowrap align="' + this.titleAlign + '">' +pad.beg +'<a class=wmbmenuitem ' +wmb5(' title="', this.description, '" ') +href +' onclick="return false;"' +' onmouseover="' + wmb13 + '" ' +' onmouseout="' + wmb14 + '" ' +' onmousedown="wmb31(event, \''+ this.parent.id +'\')"';
var title = wmb68.wmb23(this);var iconwmb66 = this.iconwmb66?this.iconwmb66:wmb75.wmb94;var iconStr =wmb5('<IMG BORDER=0 ' +wmb5(' align="',this.iconAlign,'" ') +wmb5(' valign="',this.iconAlign,'" ') +' NAME="img' + this.id + '" SRC="', this.icon, '">');var liconStr = iconwmb66 == wmb75.wmb94?iconStr:'';liconStr = iconwmb66 == wmb75.wmb96?iconStr+'<br>': liconStr;var riconStr = iconwmb66 == wmb75.wmb95?iconStr:'';riconStr = iconwmb66 == wmb75.wmb97?'<br>'+iconStr: riconStr;html += '>' +liconStr +title +riconStr +'</a>' +pad.end +'</td>' +'</tr></table>';return '<td '+style+'>' + html + '</td>';
};wmb69.prototype.computePadding=wmb68.prototype.computePadding;wmb69.prototype.computeStyle=wmb68.prototype.computeStyle;function wmb74(wmb62, wmb63, wmb67, submenuimg, wmb64, wmb65, placement) {this.wmb62 = wmb62 || wmb75.wmb103;this.wmb63 = wmb63 || 20;this.wmb67 = wmb67 || wmb75.wmb78;this.submenuimg = submenuimg || null;this.wmb64 = wmb64 || 0;this.wmb65 = wmb65 || 0;this.placement = placement || null;};wmb74.prototype.wmb32=function(submenuid, top, right, bottom, left) {if (this.wmb63 < 1) this.wmb63 = 20;if (this.wmb62 == wmb75.wmb104) {if (100 <= right) return null;top = 0;right += this.wmb63;
if (right > 100) right = 100;bottom = 100;left = 0;} else if (this.wmb62 == wmb75.wmb105) {if (100 <= bottom) return null;top = 0;right = 100;bottom += this.wmb63;if (bottom > 100) bottom = 100;left = 0;} else if (this.wmb62 == wmb75.wmb106) {if (100 <= right && 100 <= bottom) return null;top = 0;right += this.wmb63;if (right > 100) right = 100;bottom += this.wmb63;if (bottom > 100) bottom = 100;left = 0;} else {wmb33(wmb0[submenuid], 0, 100, 100, 0);return null;};wmb33(wmb0[submenuid], top, right, bottom, left);return new wmb34(top, right, bottom, left);};function WmbSeparator(firstColor, secondColor) {
this.firstColor = firstColor || '#999999';this.secondColor = secondColor || '#cccccc';};WmbSeparator.prototype.wmb28=function() {if (wmb75.wmb76 != this.parent.type) {if (wmb24.wmb255up) {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>';
};/*;if (wmb24.wmb254) {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 (wmb24.wmb255up) {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 height=1px><td bgcolor="'+this.firstColor+'"></td></tr><tr height=1px><td bgcolor="'+this.secondColor+'"></td></tr>';};*/} else {if (wmb24.wmb254) {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 (wmb24.wmb255up) {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>';
} 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 (wmb24.wmb254) {return '';} else if (wmb24.wmb255up) {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>'
} 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 wmb35=navigator.userAgent.toLowerCase();this.wmb25  = ((wmb35.indexOf('mozilla')!=-1) && (wmb35.indexOf('spoofer')==-1)&& (wmb35.indexOf('compatible') == -1) && (wmb35.indexOf('opera')==-1)&& (wmb35.indexOf('webtv')==-1));var wmb37 = parseInt(navigator.appVersion);var wmb38 = parseFloat(navigator.appVersion);this.wmb39   = (wmb35.indexOf("msie") != -1);
this.wmb254 = (this.wmb25 && (wmb37 == 4));this.wmb255up = (this.wmb25 && (wmb37 >= 5));var wmb393  = (this.wmb39 && (wmb37 < 4));this.wmb394up  = (this.wmb39  && (wmb37 >= 4));this.wmb395up  = (this.wmb394up && (wmb35.indexOf("msie 4") == -1));this.wmb3955 = (this.wmb395up && (wmb35.indexOf("msie 5.5") != -1));this.wmb396up = this.wmb395up && (wmb35.indexOf("msie 5") == -1);this.wmb3955up = this.wmb3955 || this.wmb396up;};function wmb109() { this.arr=[]; };wmb109.prototype.pt=0;wmb109.prototype.wmb46=function(value) { this.arr[this.pt++]=value; };wmb109.prototype.wmb47=function(wmb48) {--this.pt;
if (this.pt < 0) {this.pt=0;return wmb48;};return this.arr[this.pt];};wmb109.prototype.size=function() { return this.pt; };function wmb5(wmb49, value, wmb50) {wmb49 = wmb49 || "";wmb50 = wmb50 || "";if (value && value != "") {return wmb49 + value + wmb50;};return "";};function true_noth(expr, text) {return (expr && expr == true)?text:"";};function wmb5_conv(wmb49, value, wmb50, trueVal, falseVal) {wmb49 = wmb49 || "";wmb50 = wmb50 || "";if (value && value != "") {return wmb49 + (value?trueVal:falseVal) + wmb50;};return "";};function _wmbsetval(obj, item, value) {if (("" != value && null != value) || "0" == ''+value) {
if (!wmb24.wmb254 || 'undefined' != ''+value) {obj[item] = value;}}};function wmb_get_xpos(idobj) {var x = 0;if (wmb24.wmb394up) {var obj = document.all[idobj];while(obj) {x += obj.offsetLeft;obj = obj.offsetParent;}} else if (wmb24.wmb254) {x = document[idobj].pageX;} else {x = parseInt(document.getElementById(idobj).style.left);};return x;};function wmb_get_ypos(idobj) {var y = 0;if (wmb24.wmb394up) {var obj = document.all[idobj];while(obj) {y += obj.offsetTop;obj = obj.offsetParent;}} else if (wmb24.wmb254) {y = document[idobj].pageY;} else {y = parseInt(document.getElementById(idobj).style.top);
};return y;};var menuinmotion;var wmbmotionoffset=[];function wmb31(event, menu) {wmb51();if (wmb24.wmb25) {document.captureEvents(Event.MOUSEMOVE);};menuinmotion = menu;if (wmb24.wmb254) {wmbmotionoffset.x = event.pageX - document[menuinmotion].left;wmbmotionoffset.y = event.pageY - document[menuinmotion].top;} else if (wmb24.wmb394up) {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;};if (null == wmbmotionoffset.y || isNaN(wmbmotionoffset.y)) {wmbmotionoffset.y = 0;};if (document.onmousemove && document.onmousemove != wmb52) {wmbMMStack.wmb46(document.onmousemove);};document.onmousemove=wmb52;};function wmb53(sub, hide) {if (sub && wmb0[sub.id]) {wmb53wmb1(wmb0[sub.id], hide);}};function wmb53wmb1(wmb1, hide) {if (wmb24.wmb254) {wmb1.visibility = (hide)?"hidden":"visible";} else {wmb1.style.visibility = (hide)?"hidden":"visible";
};if (wmb24.wmb255up) {wmb1.style.left = parseInt(wmb1.style.left) + 5 + 'px';}};var wmb57=false;function wmb27(evt) {if (wmb24.wmb25) {document.routeEvent(evt);};if (!wmb57) {wmb51();};wmb57=false;};function wmb51(menuid) {if (menuid && wmb0[menuid]) {for(var i=0; i < wmb0[menuid].items.length; i++) {wmb53(wmb0[menuid].items[i].submenu, true);if (wmb0[menuid].items[i].submenu) {wmb51(wmb0[menuid].items[i].submenu.id, true);}}} else {for(var i=0; i < wmb55.length; i++) {wmb53wmb1(wmb0[wmb55[i]], true);}}};function wmb52(event) {if (wmb24.wmb254) {Menu.menusbyid[menuinmotion].moveMenu(event.pageX-wmbmotionoffset.x, event.pageY-wmbmotionoffset.y);
document.captureEvents(Event.MOUSEDOWN);} else if (wmb24.wmb394up) {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 != wmb56) {if (document.onmousedown) {wmb26.wmb46(document.onmousedown);};document.onmousedown=wmb56;}};function wmb56() {if (wmb24.wmb25) {document.releaseEvents(Event.MOUSEDOWN | Event.MOUSEMOVE);};document.onmousemove=wmbMMStack.wmb47(noop);document.onmousedown=wmb26.wmb47(noop);
};function noop() {};function wmb16(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 wmb74();var borderOffset = Menu.menusbyid[parentmenu].border;var subBorderOffset = Menu.menusbyid[submenu].border;var placement = suboptions.placement;if (!placement) {placement = ishorizontal?wmb75.wmb97:wmb75.wmb95;};if (wmb24.wmb254) {if (wmb0[submenu].visibility != 'hide') return;} else {
if (wmb0[submenu].style.visibility != 'hidden') return;};wmb57=true;wmb51(parentmenu);if (wmb24.wmb254) {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];if (placement == wmb75.wmb97) {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.wmb64;
var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + wmb0[parentmenu].clip.height:mrkLyr.clip.height+mrkLyr.pageY+verpadding) + suboptions.wmb65;wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);} else if (placement == wmb75.wmb96) {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.wmb64;var pixelTop = (ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - borderOffset) + suboptions.wmb65 - wmb0[submenu].clip.height;
wmb0[submenu].moveToAbsolute(pixelLeft, pixelTop);} else if (placement == wmb75.wmb95) {var verpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingTop-1;var horpadding = Menu.menusbyid[parentmenu].getChild(itemid).paddingRight;var pixelLeft = (ishorizontal?mrkLyr.pageX + horpadding:wmb0[parentmenu].pageX + wmb0[parentmenu].clip.width) + suboptions.wmb64;var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + borderOffset - subBorderOffset:mrkLyr.pageY - subBorderOffset - verpadding)  + suboptions.wmb65 ;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((ishorizontal?mrkLyr.pageX+horpadding:wmb0[parentmenu].clip.width + wmb0[parentmenu].pageX)  + suboptions.wmb64,(ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - subBorderOffset)  + suboptions.wmb65);*/} else if (placement == wmb75.wmb94) {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.wmb64 - wmb0[submenu].clip.width;
var pixelTop = (ishorizontal?wmb0[parentmenu].pageY + borderOffset - subBorderOffset:mrkLyr.pageY - subBorderOffset - verpadding)  + suboptions.wmb65;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.wmb64 + horpadding + borderOffset,(ishorizontal?wmb0[parentmenu].pageY:mrkLyr.pageY - verpadding - subBorderOffset)  + suboptions.wmb65);*/              } else {alert("Unexpected submenu placement: " + placement);
};wmb0[submenu].moveAbove(wmb0[parentmenu]);} else if (wmb24.wmb394up) {var mrkLyr = document.all[marker];if (placement == wmb75.wmb97) {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.wmb64;wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?mrkLyr.offsetParent.offsetHeight:mrkLyr.offsetHeight+mrkLyr.offsetTop+verpadding+2) + suboptions.wmb65;
} else if (placement == wmb75.wmb96) {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.wmb64;wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?0:mrkLyr.offsetTop - verpadding - borderOffset) + suboptions.wmb65 - wmb0[submenu].offsetHeight;} else if (placement == wmb75.wmb95) {
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.wmb64;wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?borderOffset - subBorderOffset:mrkLyr.offsetTop - subBorderOffset - verpadding)  + suboptions.wmb65 ;} else if (placement == wmb75.wmb94) {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.wmb64 - wmb0[submenu].offsetWidth;wmb0[submenu].style.pixelTop = mrkLyr.offsetParent.offsetTop + (ishorizontal?borderOffset - subBorderOffset:mrkLyr.offsetTop - subBorderOffset - verpadding)  + suboptions.wmb65 ;} 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.wmb64) + 'px';
document.getElementById(submenu).style.top='' + (event.pageY + suboptions.wmb65) + 'px';document.getElementById(submenu).style.zIndex = document.getElementById(parentmenu).style.zIndex + 1;};wmb61(wmb0[submenu]);wmb33(wmb0[submenu], 0,0,0,0);wmb53wmb1(wmb0[submenu],false);wmb58(submenu);};function wmb34(top, right, bottom, left) {this.top = top || 0;this.right = right || 0;this.bottom = bottom || 0;this.left = left || 0;};var wmb59;function wmb58(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");
var suboptions = Menu.menusbyid[submenu].parent.suboptions;if (!suboptions) {Menu.menusbyid[submenu].parent.suboptions= new wmb74();};wmb59= setTimeout("_wmb58('" + submenu + "', 0,0,0,0)", 10);};function _wmb58(submenu, top, right, bottom, left) {clearTimeout(wmb59);var suboptions = Menu.menusbyid[submenu].parent.suboptions;var rect = suboptions.wmb32(submenu, top, right, bottom, left);if (rect) {wmb59= setTimeout("_wmb58('" + submenu + "'," +rect.top + "," +rect.right + "," +rect.bottom + "," +rect.left +")",25);}};function wmb29(id,color) {color = color || "";if (wmb24.wmb255up) {document.getElementById(id).style.backgroundColor=color;
} else if(wmb24.wmb394up) {if (color=="hand")alert("" + id + " " + color);document.all[id].style.backgroundColor=color;}};function wmb15(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++) {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 (wmb24.wmb254) {wmb0[menuid].document.images["img" + itemid].src = menuItem.roicon;
} else {document.images["img" + itemid].src = menuItem.roicon;}} else {if (wmb24.wmb254) {wmb0[menuid].document.images["img" + itemid].src = menuItem.icon;} else {document.images["img" + itemid].src = menuItem.icon;}}};if (isover) {window.status = menuItem.description||window.defaultStatus;} else {window.status = window.defaultStatus;};if (wmb24.wmb254) return;var obj;if (wmb24.wmb254) {obj = eval("document." + itemid);} else if (wmb24.wmb394up) {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';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';
if (null != menuItem.roisUnderlined) obj.textDecoration = menuItem.roisUnderlined?'underline':'none';if (menuItem.rocolor) obj.color = menuItem.rocolor;}};function wmb33(wmb1, top, right, bottom, left) {if (wmb24.wmb254) {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 + "%)";}};function wmb61(wmb1) {if (wmb24.wmb254) {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; }');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; }');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);
