try{Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded()}catch(ex){}var ob_em_AutoPosition=true,ob_em_displayOffset=10,isMenuOnTop=false;function ob_EasyMenu(g,m,z,v,q,r,w,t,o,n,x,B,e,d,i,A,y,u,l,j,f,h,p,k,s){this.showEvent=x.toLowerCase();this.ZIndex=B;this.id="ob_em_"+g;this.menu_id=g;this.items=[];this.subMenus=[];this.parentMenu=null;this.oat_id=m;this.oat_ids=[];this.ui=z;this.il=v;this.vt=A;this.iconsFolder=y;this.Events=u;this.selectedItemId="";this.SelectTreeNode=j;this.KeepOpen=p;this.isMultiColumn=k;this.DropIncrement=typeof f=="undefined"?10:f;this.DropTime=typeof h=="undefined"?10:h;if(isIE){this.DropTime-=3;this.DropIncrement-=2}this.ExpandStyle=s;this.classes=w;ob_em_getDefaultClasses(this);this.styleSheet=i==null?this.id:i;this.hz_o=q;if(isIE)this.hz_o=this.hz_o-Math.ceil(this.hz_o/95);this.vt_o=r;this.displayPosition=t.toLowerCase();this.menuCorner=ob_em_arrangeAlignProperty(o.toLowerCase());this.elementCorner=ob_em_arrangeAlignProperty(n.toLowerCase());this.underlayOffsets;this.el=null;this.menu=document.getElementById(this.menu_id);this.menu.firstChild.cellPadding="0";this.menu.firstChild.cellSpacing="0";if(isIE||isSafari||!this.vt)this.menu.style.display="";else{var c=ob_em_getStyle(this.menu,"overflow");if(isOpera)c=this.menu.currentStyle.overflow;if(c=="auto"||c=="scroll")this.menu.style.display="";else this.menu.style.display=""}this.menu.style.visibility="visible";this.type="ob_em_menu";this.menu.object=this;this.underlay=null;this.showCoords=null;this.visibleFor=null;this.documentMouseDown=ob_em_documentMouseDown;this.mouseHover=ob_em_mouseHover;this.showMenu=ob_em_showMenu;this.hideMenu=ob_em_hideMenu;this.menuItemClick=ob_em_menuItemClick;this.attachToControls=ob_em_attachToControls;this.attachToControl=ob_em_attachToControl;this.detachFromControl=ob_em_detachFromControl;this.detachFromAllControls=ob_em_detachFromAllControls;this.mouseOverMenu=ob_em_mouseOverMenu;this.getMenuCoords=ob_em_getMenuCoords;this.GetMenuCoordsFromElement=ob_em_GetMenuCoordsFromElement;this.IsLoaded=false;this.AddItem=ob_em_AddItem;this.RemoveItem=ob_em_RemoveItem;this.HideItem=ob_em_HideItem;this.ShowItem=ob_em_ShowItem;this.SetItemInnerHTML=ob_em_SetItemInnerHTML;this.isMSAJAXAvailable=e;this.isAJAXPageAvailable=d;try{document.execCommand("BackgroundImageCache",false,true)}catch(C){}if(this.showEvent=="always")ob_em_buildMenuItems(this);else for(var b=0;b<this.oat_id.length;b++){try{var a=document.getElementById(this.oat_id[b]);if(typeof a=="number"){ob_em_buildMenuItems(this);break}if(a==null&&typeof a=="object"){ob_em_buildMenuItems(this);break}}catch(D){if(typeof a=="undefined"){ob_em_buildMenuItems(this);break}continue}if(this.oat_id[b]==""||a!=null&&a.getAttribute("emType")!="MenuItem"){ob_em_buildMenuItems(this);break}}if(this.showEvent!="always"){this.menu.style.top="-2000px";this.menu.style.left="0px";ob_em_CreateMenuUnderlay(this.menu_id);this.underlay=document.getElementById(this.menu_id+"__underlay");this.itemDescription=document.getElementById(this.menu_id+"__itemDes");this.cover_iframe=document.getElementById(this.menu_id+"__iframe");if(this.cover_iframe!=null){this.cover_iframe.style.display="";this.cover_iframe.style.position="absolute";this.cover_iframe.style.visibility="hidden";this.cover_iframe.style.top="-2000px";this.cover_iframe.style.left="0px"}else isIE=false;if(!d&&!e)if(document.body!=this.underlay.parentNode){document.body.insertBefore(this.cover_iframe,document.body.firstChild);document.body.insertBefore(this.menu,document.body.firstChild)}this.underlay.style.zIndex=1+parseInt(this.ZIndex,10);this.menu.style.zIndex=2+parseInt(this.ZIndex,10);!this.KeepOpen&&ob_em_safeAddOnEvent("onclick","document","document.ob_em_mouseclickcollection","documentMouseDown(ev)",this.id);if(this.showEvent=="mouseover"){eval("this.menu.onmouseover = function(e) {heo_ProcessEvent(e, ob_em_MouseMoveProcess, null, '"+this.menu_id+"')};");eval("this.menu.onmouseout = function(e) {heo_ProcessEvent(e, null, ob_em_MouseMoveProcess, '"+this.menu_id+"')};");eval("this.underlay.onmouseover = function(e) {heo_ProcessEvent(e, ob_em_MouseMoveProcess, null, '"+this.menu_id+"__underlay')};");eval("this.underlay.onmouseout = function(e) {heo_ProcessEvent(e, null, ob_em_MouseMoveProcess, '"+this.menu_id+"__underlay')};")}window.setTimeout(Function("ob_em_loadComplete("+this.id+")"),1);this.underlay.oncontextmenu=ob_em_cancelEvent}this.menu.oncontextmenu=ob_em_cancelEvent;window.onunload=ob_em_cleanUp;this.uniqueid=l;this.SlideMenu=ob_em_slideContent}function ob_em_loadComplete(d){for(var c=0,a=0;a<ob_em_Menus.length;a++){try{var b=false;b=typeof eval(ob_em_Menus[a])=="object";if(b){c++;continue}}catch(e){}break}if(c==ob_em_Menus.length)ob_em_attachToControls(d);else window.setTimeout(Function("ob_em_loadComplete("+(eval(d)).id+")"),100)}function ob_em_buildMenuItems(a,g){var e=a.menu.firstChild.firstChild,f=a.vt?e.childNodes:e.firstChild.childNodes;if(!a.vt&&a.isMultiColumn){f=[];for(var b=0;b<e.childNodes.length;b++)for(var c=0;c<e.childNodes[b].childNodes.length;c++)f.push(e.childNodes[b].childNodes[c])}for(var b=0;b<f.length;b++){obj=a.vt?f[b].firstChild:f[b];if(obj.id.toLowerCase().indexOf("_7r14l")==-1){if(g)for(var d=false,c=0;c<ob_em_Menus.length;c++)if(isOpera){if(document.getElementById(ob_em_Menus[c].replace("ob_em_",""))==null){d=false;break}for(var i=document.getElementById(ob_em_Menus[c].replace("ob_em_","")).getAttribute("attachTo").split(","),h=0;h<i.length;h++)if(i[h]==obj.id){d=true;break}if(d)break}else if((eval(ob_em_Menus[c])).oat_id==obj.id){d=true;break}if((!g||g&&d)&&!obj.alreadyAdded){new ob_em_MenuItem(obj,a);if(g&&d)obj.alreadyAdded=true}}isOpera&&obj.getAttribute("selected")!=null&&obj.getAttribute("selected")=="selected"&&ob_em_SelectItem(obj.id)}if(!g){a.itemsAdded=true;a.IsLoaded=true}}function ob_em_buildSubmenu(c){for(var a=null,b=0;b<ob_em_Menus.length;b++)if(ob_em_searchArrayForElement((eval(ob_em_Menus[b])).oat_ids,c)!=-1)a=eval(ob_em_Menus[b]);if(a!=null&&typeof a=="object")!a.itemsAdded&&ob_em_buildMenuItems(a)}function ob_em_getStyle(c,a){var b="";if(document.defaultView&&document.defaultView.getComputedStyle)b=document.defaultView.getComputedStyle(c,"").getPropertyValue(a);else if(c.currentStyle)try{a=a.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()});b=c.currentStyle[a]}catch(d){}return b}function ob_em_MenuItem(a,b){var c=a.getAttribute("disabled")!=null&&a.getAttribute("disabled")=="disabled";this.isSelected=a.getAttribute("selected")!=null&&a.getAttribute("selected")=="true";a.className=b.classes[a.getAttribute("emtype")]["c"+(this.isSelected?"_o":"")];b.items.push(a);a.object=this;this.item=a;this.menu=b.menu;this.type="ob_em_menuitem";a.firstChild.cellPadding="0";a.firstChild.cellSpacing="0";a.firstChild.style.width="100%";a.firstChild.style.height="100%";this.clickLink=ob_em_clickLink;this.iconCell=null;this.leftroundcornerCell=a.firstChild.firstChild.firstChild.firstChild;this.contentCell=a.firstChild.firstChild.firstChild.firstChild.nextSibling;this.subMenuCell=a.firstChild.firstChild.firstChild.firstChild.nextSibling.nextSibling;this.rightroundcornerCell=a.firstChild.firstChild.firstChild.firstChild.nextSibling.nextSibling.nextSibling;if(b.ui){this.iconCell=b.il?a.firstChild.firstChild.firstChild.firstChild.nextSibling:a.firstChild.firstChild.firstChild.firstChild.nextSibling.nextSibling.nextSibling;this.subMenuCell=b.il?a.firstChild.firstChild.firstChild.firstChild.nextSibling.nextSibling.nextSibling:a.firstChild.firstChild.firstChild.firstChild.nextSibling;this.contentCell=this.contentCell.nextSibling;this.rightroundcornerCell=a.firstChild.firstChild.firstChild.firstChild.nextSibling.nextSibling.nextSibling.nextSibling}if(c)this.contentCell.style.color="#A8A8A8";if(!c){ob_em_safeAddOnEvent("onmouseover","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseovercollection","heo_ProcessEvent(ev, function(ev){ob_em_buildSubmenu('"+a.id+"');ob_em_ElementHover(ev, '"+a.id+"', '"+b.menu_id+"')}, null, '"+a.id+"')",null);ob_em_safeAddOnEvent("onmouseout","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseoutcollection","heo_ProcessEvent(ev, null, function(ev){ob_em_ElementHover(ev, '"+a.id+"', '"+b.menu_id+"')}, '"+a.id+"')",null)}if(this.isSelected)b.selectedItemId=a.id;if(b.isAJAXPageAvailable||b.isMSAJAXAvailable)document.getElementById(a.id).ob_em_mouseclickcollection=undefined;if(!c){ob_em_safeAddOnEvent("onclick","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseclickcollection","menuItemClick(document.getElementById('"+a.id+"'), ev)",b.id);a.oncontextmenu=ob_em_cancelEvent}}function ob_em_attachToControls(a){ob_em_buildMenuItems(a,true);var c=0,d=true;while(c<a.oat_id.length){var b=document.getElementById(a.oat_id[c]);if(b!=null&&(b.getAttribute("emType")!="MenuItem"||typeof b.object!="undefined")&&a.attachToControl(a.oat_id[c]))a.oat_id.splice(c,1);else{if(b!=null&&b.getAttribute("emType")=="MenuItem"&&typeof b.object=="undefined")d=false;c++}}if(a.oat_id.length>0&&!ob_em_wdl||!d){window.setTimeout(Function("ob_em_attachToControls("+a.id+")"),100);return}a.IsLoaded=true}function ob_em_attachToControl(c){var a=c.toLowerCase()=="document"?document.body:document.getElementById(c);if(a!=null){if(ob_em_searchArrayForElement(this.oat_ids,c)!=-1)return;this.oat_ids.push(c);if(a.id=="")alert('The EasyMenu needs to be attached to some html element.\n\nPlease specify "AttachTo" value!');else{var e=document.getElementById(a.id),f=e.getAttribute("disabled")!=null&&e.getAttribute("disabled")=="disabled";if(!f)if(this.showEvent=="contextmenu")ob_em_safeAddOnEvent("oncontextmenu","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_contextmenucollection","documentMouseDown("+(document.all?"window.event":"ev")+");",this.id);else if(this.showEvent=="mouseclick"){ob_em_safeAddOnEvent("onclick","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseclickcollection","documentMouseDown("+(document.all?"window.event":"ev")+")",this.id);ob_em_safeAddOnEvent("oncontextmenu","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_contextmenucollection","hideMenu("+(document.all?"window.event":"ev")+", true, false, true)",this.id)}else if(this.showEvent=="doubleclick"){ob_em_safeAddOnEvent("ondblclick","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseclickcollection","documentMouseDown("+(document.all?"window.event":"ev")+")",this.id);ob_em_safeAddOnEvent("oncontextmenu","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_contextmenucollection","hideMenu("+(document.all?"window.event":"ev")+", true, false, true)",this.id)}else if(this.showEvent=="mouseover"){ob_em_safeAddOnEvent("onmouseover","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseovercollection","heo_ProcessEvent(ev, function(ev){ob_em_ElementHover(ev, '"+a.id+"', '"+this.menu_id+"')}, null, '"+a.id+"')",null);ob_em_safeAddOnEvent("onmouseout","document.getElementById('"+a.id+"')","document.getElementById('"+a.id+"').ob_em_mouseoutcollection","heo_ProcessEvent(ev, null, function(ev){ob_em_ElementHover(ev, '"+a.id+"', '"+this.menu_id+"')}, '"+a.id+"')",null)}}var b=a.object;if(b!=null&&typeof b.type!="undefined"&&b.type=="ob_em_menuitem"&&b.menu.object.id!=this.id){b=b.menu.object;b.subMenus.push(this);this.parentMenu=b;this.parentItem=a;a.object.ob_em_submenu=this;document.getElementById(a.id).object.ob_em_submenu=this;if(this.showEvent=="mouseclick"||this.showEvent=="doubleclick"||this.showEvent=="contextmenu"){var d=a.getAttribute("nohide");a.object.wasNoHide=typeof d!="undefined"&&d!=null&&d.toLowerCase()=="true";a.setAttribute("nohide","true")}a.object.subMenuCell.style.display="";a.object.contentCell.style.colspan="1";if(b.menu.style.zIndex!="")this.underlay.style.zIndex=parseInt(b.menu.style.zIndex,10)+1;this.menu.style.zIndex=parseInt(this.underlay.style.zIndex,10)+1;this.showEvent=="contextmenu"&&ob_em_removeEvent(a,"oncontextmenu",a.ob_em_contextmenucollection,ob_em_cancelEvent)}if(typeof a.object=="undefined"||a.object==null){a.object={};a.object.type="ob_em_attachelement"}a.object.item=a;a.object.ob_em_submenu=this;this.parentItem=a;return true}return false}function ob_em_detachFromAllControls(){for(var c=[],a=0;a<this.oat_ids.length;a++)c[a]=this.oat_ids[a];for(var b=0;b<c.length;b++)this.detachFromControl(c[b])}function ob_em_detachFromControl(c){var d=ob_em_searchArrayForElement(this.oat_ids,c);if(d==-1)return;var a=c.toLowerCase()=="document"?document.body:document.getElementById(c);if(a!=null){try{if(this.showEvent=="contextmenu")ob_em_removeEvent(a,"oncontextmenu",a.ob_em_contextmenucollection,this.id+".documentMouseDown");else if(this.showEvent=="mouseclick"){ob_em_removeEvent(a,"onclick",a.ob_em_mouseclickcollection,this.id+".documentMouseDown");ob_em_removeEvent(a,"oncontextmenu",a.ob_em_contextmenucollection,this.id+".hideMenu")}else if(this.showEvent=="doubleclick"){ob_em_removeEvent(a,"ondblclick",a.ob_em_mouseclickcollection,this.id+".documentMouseDown");ob_em_removeEvent(a,"oncontextmenu",a.ob_em_contextmenucollection,this.id+".hideMenu")}else if(this.showEvent=="mouseover"){ob_em_removeEvent(a,"onmouseover",a.ob_em_mouseovercollection,"ob_em_ElementHover(ev, '"+a.id+"', '"+this.menu_id+"')");ob_em_removeEvent(a,"onmouseout",a.ob_em_mouseoutcollection,"ob_em_ElementHover(ev, '"+a.id+"', '"+this.menu_id+"')")}}catch(f){}var b=a.object;if(b!=null&&typeof b.type!="undefined"&&b.type=="ob_em_menuitem"&&b.menu.object.id!=this.id){b=b.menu.object;var e=ob_em_searchArrayForElement(b.subMenus,this);e!=-1&&b.subMenus.splice(e,1);(this.showEvent=="mouseclick"||this.showEvent=="doubleclick"||this.showEvent=="contextmenu")&&(typeof a.object.wasNoHide=="undefined"||!a.object.wasNoHide)&&a.setAttribute("nohide","false");a.object.ob_em_submenu=null;a.object.subMenuCell.style.display="none";a.object.contentCell.colspan="2";this.parentMenu=null;this.parentItem=null}}this.oat_ids.splice(d,1)}function ob_em_documentMouseDown(a){if(!a)a=window.event;if(!a){this.hideMenu(null,true,false,true);return false}var c=a.type.toLowerCase();if(a.type.toLowerCase()=="click")c="mouseclick";if(a.type.toLowerCase()=="dblclick")c="doubleclick";if(!document.all&&a.type.toLowerCase()=="click"&&a.which==3)c="contextmenu";if(!this.KeepOpen&&this.showEvent.toLowerCase()!="contextmenu")return false;var f=ob_em_GetEventElements(a),e=ob_em_GetParentItemFromElement(f[1],c,this.showEvent);if(e!=null)var g=ob_em_searchArrayForElement(this.oat_ids,e.id);else g=-1;if(c==this.showEvent&&g!=-1){this.visibleFor=e.object;this.showMenu(a);ob_em_cancelEvent(a)}else{var h=ob_em_GetParentMenuFromElement(f[1]),b=0;if(h==null){var d=ob_em_GetParentItemFromElement(f[1],c,this.showEvent);if(d!=null){var b=-1;if(d.object.ob_em_submenu.menu.visibleFor==d){b=ob_em_VisibleArrayIndexOf(d.object.ob_em_submenu.menu);if(b!=-1)b+=2;else b=0}else return false}}else{b=ob_em_VisibleArrayIndexOf(h);if(b!=-1)b+=2;else b=0}ob_em_HideAllFromIndex(b,false);return true}return false}function ob_em_MouseMoveProcess(d){if(!d)d=window.event;if(!d)return false;var g=d.type.toLowerCase()=="mouseover",c=ob_em_GetEventElements(d),a=ob_em_GetParentMenuFromElement(c[0]),b=ob_em_GetParentMenuFromElement(c[1]);a=a!=null?a:ob_em_GetUnderlayFromElement(c[0]);b=b!=null?b:ob_em_GetUnderlayFromElement(c[1]);if(!g){if(typeof b.menu!="undefined"&&typeof b.menu.object=="object"&&typeof b.menu.object.type!="undefined"&&b.menu.object.type=="ob_em_menu")b=b.menu;if(a!=null){if(typeof a.menu!="undefined"&&typeof a.menu.object=="object"&&typeof a.menu.object.type!="undefined"&&a.menu.object.type=="ob_em_menu")a=a.menu;if(ob_em_VisibleArrayElementHasPrecedence(b,a))return;else if(ob_em_VisibleArrayElementHasPrecedence(a,b)){var e=ob_em_GetParentItemFromElement(c[0]);if(e!=null&&ob_em_MenuIsSubmenuOfElement(b,e))return;var f=ob_em_VisibleArrayIndexOf(b);f>0&&ob_em_HideAllFromIndex(f,true);return}else if(a.object.showEvent=="always"){var e=ob_em_GetParentItemFromElement(c[0]);if(e!=null&&ob_em_VisibleArrayElementHasPrecedence(e,b))return}}else{a=ob_em_GetParentItemFromElement(c[0]);if(a!=null&&ob_em_MenuIsSubmenuOfElement(b,a)&&ob_em_MenuIsVisibleForElement(b,a))return}ob_em_HideAll(true)}return false}function ob_em_ElementHover(d,h,i){var g=d.type.toLowerCase()=="mouseover",b=document.getElementById(h),c=document.getElementById(i);if(g){if(ob_em_MenuIsSubmenuOfElement(c,b)){c.object.visibleFor=b.object;c.object.showMenu(d)}}else{var e=ob_em_GetEventElements(d)[0],a=ob_em_GetParentMenuFromElement(e);a=a==null?ob_em_GetUnderlayFromElement(e):a;if(a==null)c.object.showEvent=="mouseover"&&ob_em_HideAllFromIndex(Math.max(0,ob_em_VisibleArrayIndexOf(b)),c.object.showEvent=="mouseover");else{if(typeof a.menu!="undefined"&&typeof a.menu.object=="object"&&typeof a.menu.object.type!="undefined"&&a.menu.object.type=="ob_em_menu")a=a.menu;if(!(b.object.type=="ob_em_menuitem"&&b.object.menu==a)){var f=ob_em_GetParentItemFromElement(e);if(f!=null&&f.object.type=="ob_em_menuitem"&&ob_em_VisibleArrayElementHasPrecedence(f.object.menu,c))return;else if(!ob_em_MenuIsSubmenuOfElement(a,b)&&!ob_em_MenuIsVisibleForElement(a,b))ob_em_HideAllFromIndex(Math.max(0,ob_em_VisibleArrayIndexOf(c)),c.object.showEvent!="mouseover"||c.object.showEvent=="always");else return}}}b.object.type=="ob_em_menuitem"&&ob_em_mouseHover(b,d,g,false)}function ob_em_mouseHover(a,i,b,e){if(document.getElementById(a.object.menu.id+"__itemDes")!=null){var c=document.getElementById(a.object.menu.id+"__itemDes");if(a.getAttribute("description")!=null&&b==true){var g=ob_em_getTop(a,null),f=ob_em_getLeft(a,null);c.style.top=g+"px";c.style.left=a.offsetWidth+f+"px";c.style.zIndex=parseInt(a.object.menu.style.zIndex,10)+2;c.innerHTML=a.getAttribute("description");$("#"+a.object.menu.id+"__itemDes").fadeIn();c.style.display=""}else if(a.getAttribute("description")!=null&&b==false){c.innerHTML="";c.style.display="none"}}if(!e&&!b&&a.object.ob_em_submenu!=null&&a.object.ob_em_submenu.showEvent!="mouseover"&&a.object.ob_em_submenu.underlay!=null&&a.object.ob_em_submenu.underlay.style.visibility.toLowerCase()=="visible")return;if(!a.object.isSelected||b){a.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c"+(b?"_o":"")];try{a.object.leftroundcornerCell.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c_"+a.object.leftroundcornerCell.getAttribute("emtype")+(b?"_o":"")];a.object.contentCell.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c_"+a.object.contentCell.getAttribute("emtype")+(b?"_o":"")];a.object.subMenuCell.firstChild.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c_"+a.object.subMenuCell.getAttribute("emtype")+(b?"_o":"")];a.object.rightroundcornerCell.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c_"+a.object.rightroundcornerCell.getAttribute("emtype")+(b?"_o":"")];if(this.ui)a.object.iconCell.className=a.object.menu.object.classes[a.getAttribute("emtype")]["c_"+a.object.iconCell.getAttribute("emtype")+(b?"_o":"")]}catch(h){}}if(b&&a.object.ob_em_submenu==null){var d=ob_em_VisibleArrayIndexOf(a.object.menu);d>=0&&ob_em_HideAllFromIndex(d+2,a.object.menu.object.showEvent!="mouseover")}if(!b&&a.object.ob_em_submenu!=null){var d=ob_em_VisibleArrayIndexOf(a.object.ob_em_submenu.menu);d>-1&&ob_em_HideAllFromIndex(d,a.object.menu.object.showEvent!="mouseover")}}var tp_increment=0;function ob_em_showMenu(a,b,f,g){this.ExpandStyle.toLowerCase()=="fade"&&$("#"+this.menu.id).fadeOut(1);if(ob_em_eventSet(this,"OnBeforeMenuOpen"))if(!ob_em_OnBeforeMenuOpen(this.menu))return;if(this.visibleFor!=null)if(this.underlay.style.visibility.toLowerCase()=="visible"&&this.visibleFor.item==this.parentItem)return;if(!a)a=window.event;if(b!=null)this.el=b;else this.el=ob_em_GetParentItemFromElement(ob_em_GetEventElements(a)[1]);if(this.el!=null&&typeof this.el.object!="undefined")if(typeof this.el.object.ob_em_submenu=="undefined"||this.el.object.ob_em_submenu==null||this.el.object.ob_em_submenu!=this)return;if(this.el!=null)if(this.parentMenu!=null&&this.el.menu!=null&&this.el.menu==this.parentMenu&&this.parentMenu.underlay.style.visibility.toLowerCase()=="hidden")return;this.parentItem=this.visibleFor!=null?this.visibleFor.item:this.parentItem;if(this.parentItem.object.type=="ob_em_menuitem"&&this.parentItem.object.menu.object.showEvent!="always"){var e=ob_em_VisibleArrayIndexOf(this.parentItem.object.menu);e>=0&&ob_em_HideAllFromIndex(e+2,false)}else{ob_em_HideAll(false);ob_em_VisibleArrayPush(this.parentItem)}this.parentItem.object.type=="ob_em_menuitem"&&ob_em_mouseHover(this.parentItem,a,true,false);ob_em_VisibleArrayPush(this.menu);ob_em_VisibleArrayPush(this.underlay);ob_em_changeStyle(this.styleSheet);for(var c=0;c<this.items.length;c++)this.items[c].id!=obj.id&&this.mouseHover(this.items[c],null,false,true);this.underlayOffsets={left:ob_em_displayOffset,top:ob_em_displayOffset,right:ob_em_displayOffset,bottom:ob_em_displayOffset};this.underlay.style.width=this.menu.offsetWidth+this.underlayOffsets.left+this.underlayOffsets.right+"px";this.underlay.style.height=this.menu.offsetHeight+this.underlayOffsets.top+this.underlayOffsets.bottom+"px";if(b!=null)if(parseInt(f)>0&&parseInt(g)>0)this.showCoords=[parseInt(f),parseInt(g)];else this.showCoords=[a.clientX+this.hz_o,a.clientY+this.vt_o];else if(a!=null)this.showCoords=this.getMenuCoords(a,true);else{var h=parseInt(ob_em_getStyle(this.parentItem,"height"));this.showCoords=[parseInt(findPosX(this.parentItem)),parseInt(findPosY(this.parentItem)+h+1)]}this.underlay.style.width=this.menu.offsetWidth+this.underlayOffsets.left+this.underlayOffsets.right+"px";this.underlay.style.height=this.menu.offsetHeight+this.underlayOffsets.top+this.underlayOffsets.bottom+"px";this.ExpandStyle.toLowerCase()=="fade"&&ob_fadeIn(this.menu.id);this.menu.style.left=this.showCoords[0]+"px";this.menu.style.top=this.showCoords[1]+"px";this.underlay.style.left=this.showCoords[0]-this.underlayOffsets.left+"px";this.underlay.style.top=this.showCoords[1]-this.underlayOffsets.top+"px";this.menu.style.overflowY="hidden";this.menu.style.visibility="visible";this.underlay.style.visibility="visible";this.menu.firstChild.style.position="relative";if(this.ExpandStyle.toLowerCase()=="none")if(isIE){this.cover_iframe.style.width=this.menu.offsetWidth+"px";this.cover_iframe.style.height=this.menu.offsetHeight+"px";this.cover_iframe.style.top=this.showCoords[1]+"px";this.cover_iframe.style.left=this.showCoords[0]+"px";this.cover_iframe.style.visibility="visible"}if(this.ExpandStyle.toLowerCase()=="slide"){var d=this.menu.offsetHeight,i=this.menu.offsetWidth;if(isMenuOnTop){this.menu.style.top=this.showCoords[1]+this.menu.offsetHeight+"px";this.underlay.style.top=this.showCoords[1]+this.menu.offsetHeight+"px"}else this.menu.firstChild.style.top="-"+d+"px";this.menu.style.height="0px";this.underlay.style.height="0px";tp_increment=this.menu.offsetHeight-this.menu.firstChild.offsetHeight;this.SlideMenu(d,i,0)}b!=null&&ob_em_cancelEvent(a);if(this.SelectTreeNode)try{if(this.el.tagName.toLowerCase()=="td"&&this.el.className=="ob_t2"&&typeof tree_node_exp_col!="undefined"){tree_node_exp_col=true;this.el.onclick();tree_node_exp_col=false}}catch(j){}ob_em_eventSet(this,"OnAfterMenuOpen")&&ob_em_OnAfterMenuOpen(this.menu);return false}function findPosX(a){var b=0;if(a.offsetParent)while(1){b+=a.offsetLeft;if(!a.offsetParent)break;a=a.offsetParent}else if(a.x)b+=a.x;return b}function findPosY(a){var b=0;if(a.offsetParent)while(1){b+=a.offsetTop;if(!a.offsetParent)break;a=a.offsetParent}else if(a.y)b+=a.y;return b}function ob_em_hideMenu(a,f,b,e){if(b==null)b=false;if(!a)a=window.event;if(this.showEvent=="always"||this.underlay.style.visibility=="hidden")return true;var d=b?false:a?this.showCoords!=null?this.mouseOverMenu(a,this.showCoords):false:false;if(!b&&d==null)return true;if(ob_em_eventSet(this,"OnBeforeMenuClose"))if(!ob_em_OnBeforeMenuClose(this.menu))return false;if(b||(this.showEvent!="mouseover"||a&&(!f||!d))){this.ExpandStyle.toLowerCase()=="fade"&&ob_fadeOut(this.menu.id);for(var c=0;c<this.subMenus.length;c++)if(!this.subMenus[c].hideMenu(a,false,true,false))return false;this.cover_iframe.style.visibility="hidden";this.menu.style.left="0px";this.menu.style.top="-2000px";this.menu.style.visibility="hidden";if(this.ExpandStyle.toLowerCase()=="slide")this.menu.firstChild.style.top="-2000px";this.underlay.style.left="0px";this.underlay.style.top="-2000px";this.underlay.style.visibility="hidden";if(this.parentMenu!=null){this.parentMenu.mouseHover(this.parentItem,a,false,true);e&&(b||this.showEvent=="mouseover"&&this.parentMenu.showEvent=="mouseover")&&this.parentMenu.hideMenu(a,true,false,true)}this.showCoords=null;this.visibleFor=null}ob_em_eventSet(this,"OnAfterMenuClose")&&ob_em_OnAfterMenuClose(this.menu);return true}var targetMenu="";function ob_em_menuItemClick(a,b){if(!b)b=window.event;var c=this.el,e=this,d=a.object;c=ob_em_visibleMenus[0];if(this.showEvent=="always")c=a;targetMenu=c.id;if(ob_em_eventSet(this,"OnBeforeItemClick"))if(!ob_em_OnBeforeItemClick(this.menu,a,c,b))return false;if(a.getAttribute("nohide")==null||a.getAttribute("nohide").toString().toLowerCase()!="true")ob_em_HideAllFromIndex(0,false);else this.mouseHover(a,b,true,true);eval(a.getAttribute("OnClientClick"));typeof a.object.contentCell.firstChild!="undefined"&&a.object.contentCell.firstChild!=null&&a.object.contentCell.firstChild.nodeType==1&&a.object.contentCell.firstChild.tagName.toLowerCase()=="a"&&a.object.clickLink(b);ob_em_eventSet(this,"OnAfterItemClick")&&ob_em_OnAfterItemClick(a,this.menu,c,b);return false}function ob_em_clickLink(a){if(!a)a=window.event;if(!a)return;var b=null;if(a.target)b=a.target;else if(a.srcElement)b=a.srcElement;if(b!=null){var d=b.tagName.toLowerCase()=="a",c=b;while(!d&&c.tagName.toLowerCase()!="td"&&c.getAttribute("emType")==null){d=c.tagName.toLowerCase()=="a";c=c.parentNode}if(!(b.nodeType==1&&d))if(this.contentCell.firstChild.href!=null)try{if(typeof this.contentCell.firstChild.target!="undefined"&&this.contentCell.firstChild.target!=null&&this.contentCell.firstChild.target.length>0)if(this.contentCell.firstChild.target.toLowerCase()=="_self")self.location.href=this.contentCell.firstChild.href;else if(this.contentCell.firstChild.target.toLowerCase()=="_top")top.location.href=this.contentCell.firstChild.href;else if(this.contentCell.firstChild.target.toLowerCase()=="_parent")self.parent.location.href=this.contentCell.firstChild.href;else if(this.contentCell.firstChild.target.toLowerCase()=="_blank")window.open(this.contentCell.firstChild.href,this.contentCell.firstChild.target);else if(top.frames)if(top.frames[this.contentCell.firstChild.target])top.frames[this.contentCell.firstChild.target].location.href=this.contentCell.firstChild.href;else window.alert("Frame '"+this.contentCell.firstChild.target+"' doesn't exist");else window.open(this.contentCell.firstChild.href,this.contentCell.firstChild.target);else self.location.href=this.contentCell.firstChild.href}catch(e){}}return false}function ob_em_SelectItem(c){var b=document.getElementById(c);if(b){var a=b.object;if(a){ob_em_DeselectItem(a.menu.object.selectedItemId);a.isSelected=true;a.menu.object.selectedItemId=c;ob_em_mouseHover(b,null,true,false)}}}function ob_em_DeselectItem(c){var b=document.getElementById(c);if(b){var a=b.object;if(a){a.isSelected=false;a.menu.object.selectedItemId="";ob_em_mouseHover(b,null,false,false)}}}function ob_em_HideItem(b){var a=document.getElementById(b);if(a!=null)a.style.display="none"}function ob_em_ShowItem(b){var a=document.getElementById(b);if(a!=null)a.style.display=""}function ob_em_SetItemInnerHTML(e,d){var c=document.getElementById(e);if(c!=null)for(var b=c.getElementsByTagName("td"),a=0;a<b.length;a++)if(b[a].getAttribute("emtype")=="c"){b[a].innerHTML=d;break}}function ob_em_AddItem(u,b,t,r,s,o,m,n,h){var g=this.vt?this.menu.firstChild:this.menu.firstChild.firstChild;if(typeof b=="undefined"||typeof this.classes[b]=="undefined"||this.classes[b]==null)b="MenuItem";if(typeof n=="undefined")n=true;var a;if(h==null)h=this.items.length;if(this.vt){g=g.insertRow(h);a=document.createElement("td");a.id=u;g.appendChild(a)}else{a=g.rows[0].insertCell(h);a.id=u}a.setAttribute("emType",b);typeof m=="string"&&m.length>0&&a.setAttribute("OnClientClick",m);a.setAttribute("nohide",n?"true":"false");a.className=this.classes[b].c;var q=document.createElement("table");q.id="ob_em_mc";a.appendChild(q);var c=q.appendChild(document.createElement("tbody")).appendChild(document.createElement("tr")),k=document.createElement("td");k.setAttribute("emType","lrc");k.className=this.classes[b].c_lrc;c.appendChild(k);if(this.ui){var f=document.createElement("td");c.appendChild(f);f.setAttribute("emType","i");f.className=this.classes[b].c_i;if(typeof r=="string"&&r.length>0){var p=document.createElement("img");f.appendChild(p);p.src=this.iconsFolder+"/"+r;p.border=0}else f.innerHTML="&nbsp;"}var d=document.createElement("td");if(this.il)c.appendChild(d);else c.insertBefore(d,c.firstChild.nextSibling);d.className=this.classes[b].c_c;d.setAttribute("emType","c");d.colSpan=this.ui?2:3;if(typeof s=="string"&&s.length>0){var i=document.createElement("a");d.appendChild(i);i.href=s;if(typeof o=="string"&&o.length>0)i.target=o;i.innerHTML=t}else d.innerHTML=t;var e=document.createElement("td"),l=document.createElement("div");e.appendChild(l);if(this.il)c.appendChild(e);else c.insertBefore(e,c.firstChild.nextSibling);var j=document.createElement("td");j.setAttribute("emType","rrc");j.className=this.classes[b].c_rrc;c.appendChild(j);e.setAttribute("emType","m");e.style.display="none";e.style.width="1px";l.className=this.classes[b].c_m;l.innerHTML="&nbsp;";new ob_em_MenuItem(a,this)}function ob_em_RemoveItem(c){var a=document.getElementById(c);if(a!=null){var b=ob_em_searchArrayForElement(this.items,a);if(b!=-1){this.items.splice(b,1);if(this.vt)a.parentNode.parentNode.removeChild(a.parentNode);else a.parentNode.removeChild(a)}}}function ob_em_safeAddOnEvent(b,e,a,d,c){obj=eval(e);if(typeof eval(a)!="object")eval(a+" = new Array();");if(typeof eval("obj."+b)=="function"&&(eval("obj."+b)).toString().indexOf("ob_em_safeOnEvent")==-1)eval(a+"[0] = obj."+b);if(document.all&&navigator.appVersion.indexOf("Mac")!=-1&&(document.all&&navigator.appVersion.indexOf("MSIE 4.")!=-1))eval(a+"["+a+".length] = Function("+(c!=null?c+".":"")+d+")");else eval(a+"["+a+".length] = function(ev){"+(c!=null?c+".":"")+d+"}");eval("obj."+b+" = function(ev) {ob_em_safeOnEvent(a, ev)}")}function ob_em_safeOnEvent(b,c){for(var a=0;a<(eval(b)).length;a++){ran=false;try{(eval(b))[a](c);ran=true}catch(d){}if(!ran)try{(eval(b))[a]}catch(d){}}}function ob_em_getAllSheets(){if(!window.ScriptEngine&&navigator.__ice_version)return document.styleSheets;if(document.getElementsByTagName)var b=document.getElementsByTagName("link"),e=document.getElementsByTagName("style");else if(document.styleSheets&&document.all)var b=document.all.tags("LINK"),e=document.all.tags("STYLE");else return[];for(var a=0,c=[];b[a];a++){var d=b[a].rel?b[a].rel:b[a].getAttribute?b[a].getAttribute("rel"):"";if(typeof d=="string"&&d.toLowerCase().indexOf("style")+1)c[c.length]=b[a]}for(var a=0;e[a];a++)c[c.length]=e[a];return c}function ob_em_changeStyle(){for(var a=0,b=ob_em_getAllSheets();b[a];a++){if(b[a].title&&typeof b[a].rel=="string"&&b[a].rel.toLowerCase().indexOf("alternate")!=-1)b[a].disabled=true;for(var c=0;c<arguments.length;c++)if(b[a].title==arguments[c])b[a].disabled=false}}function ob_em_getMenuCoords(l,m){if(this.el==null)return[0,0];if(this.underlay.style.visibility=="hidden"||m){var n=typeof document.dir=="string"&&document.dir.toLowerCase()=="rtl",g=0,f=0,h=document.body.scrollLeft+document.documentElement.scrollLeft,e=document.body.scrollTop+document.documentElement.scrollTop;if(isOpera){h/=2;e/=2}if(typeof window.innerWidth=="number"){g=window.innerWidth;f=window.innerHeight}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){g=document.documentElement.clientWidth;f=document.documentElement.clientHeight}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){g=document.body.clientWidth;f=document.body.clientHeight}if(n)h=-15;f+=e-15;g+=h-15;var b=[this.elementCorner[0],this.elementCorner[1]],a=[this.menuCorner[0],this.menuCorner[1]];if(this.displayPosition=="cursor")var c=l.clientX+this.hz_o,d=l.clientY+this.vt_o;else var k=ob_em_GetElementCoords(this.el),j=this.GetMenuCoordsFromElement(k),c=j.left,d=j.top;if(!isSafari||this.displayPosition!="cursor"){d+=e;c+=h}var i=false;if(this.displayPosition=="cursor"||ob_em_AutoPosition){if(c+this.menu.offsetWidth>g&&c-this.menu.offsetWidth-(this.displayPosition!="cursor"&&this.elementCorner[1]=="left"?-this.el.offsetWidth:0)>h){if(this.displayPosition=="cursor")c-=this.menu.offsetWidth;if(a[0]==b[0]||a[1]==b[1])b[1]=b[1]=="left"?"right":"left";a[1]=a[1]=="left"?"right":"left";i=true}else if(c<h&&c+2*this.menu.offsetWidth+(this.displayPosition!="cursor"&&this.menuCorner[1]=="left"?0:this.el.offsetWidth)<g){if(this.displayPosition=="cursor")c+=this.menu.offsetWidth;if(a[0]==b[0]||a[1]==b[1])b[1]=b[1]=="left"?"right":"left";a[1]=a[1]=="left"?"right":"left";i=true}else if(c<e&&c+this.menu.offsetWidth>g||c<h&&c+this.menu.offsetWidth<h||c>g&&c+this.menu.offsetWidth>g)if(c<h&&c+this.menu.offsetWidth+this.el.offsetWidth>h){a[0]="left";b[0]="right";i=true}else if(c>g&&c-this.menu.offsetWidth-this.el.offsetWidth<g){a[0]="right";b[0]="left";i=true}if(d+this.menu.offsetHeight>f&&d-this.menu.offsetHeight-(this.displayPosition!="cursor"&&this.menuCorner[0]=="top"?this.el.offsetHeight:0)>e){if(this.displayPosition=="cursor")d-=this.menu.offsetHeight;if(a[0]==b[0]||a[1]==b[1])b[0]=b[0]=="top"?"bottom":"top";a[0]=a[0]=="top"?"bottom":"top";i=true}else if(d<e&&d+2*this.menu.offsetHeight+(this.displayPosition!="cursor"&&this.menuCorner[0]=="top"?0:this.el.offsetHeight)<f){if(this.displayPosition=="cursor")d+=this.menu.offsetHeight;if(a[0]==b[0]||a[1]==b[1])b[0]=b[0]=="top"?"bottom":"top";a[0]=a[0]=="top"?"bottom":"top";i=true}else if(d<e&&d+this.menu.offsetHeight>f||d<e&&d+this.menu.offsetHeight<e||d>f&&d+this.menu.offsetHeight>f)if(d<e&&d+this.menu.offsetHeight+this.el.offsetHeight>e){a[0]="top";b[0]="bottom";i=true}else if(d>f&&d-this.menu.offsetHeight-this.el.offsetHeight<f){a[0]="bottom";b[0]="top";i=true}}if(this.displayPosition!="cursor"&&i){j=this.GetMenuCoordsFromElement(k,a,b);c=j.left;d=j.top;d+=e;c+=h}if(b[0]!=a[0]&&b[1]==a[1])this.underlayOffsets[a[0]]=2+Math.max(0,-this.vt_o);if(b[1]!=a[1]&&b[0]==a[0])this.underlayOffsets[a[1]]=2+Math.max(0,-this.hz_o);this.underlayOffsets.bottom=Math.max(0,Math.min(this.underlayOffsets.bottom,f-(d+this.menu.offsetHeight)-1));this.underlayOffsets.right=Math.max(0,Math.min(this.underlayOffsets.right,g-(c+this.menu.offsetWidth)-1));return[c,d]}else return[this.underlay.offsetLeft,this.underlay.offsetTop]}function ob_em_GetMenuCoordsFromElement(b,d,c){isMenuOnTop=false;if(d==null)d=this.menuCorner;if(c==null)c=this.elementCorner;var e=document.body.scrollLeft+document.documentElement.scrollLeft,h=document.body.scrollTop+document.documentElement.scrollTop;if(isOpera){e/=2;h/=2}var a=this.el.object.type=="ob_em_attachelement"?this.el:this.el.object.menu;do{a=a.parentNode;if(a!=null&&a!=document.body){if(typeof a.scrollLeft!="undefined"&&(!isOpera||a.scrollWidth!=a.clientWidth))e+=a.scrollLeft;if(typeof a.scrollTop!="undefined"&&(!isOpera||a.scrollHeight!=a.clientHeight))h+=a.scrollTop}else break}while(true);var i=typeof document.dir=="string"&&document.dir.toLowerCase()=="rtl";if(i)e=-15;var g=this.vt_o-h,f=this.hz_o-e;if(c[0]=="top")g+=b.top;else g+=b.bottom;if(c[1]=="left")f+=b.left;else f+=b.right;if(d[0]=="bottom"){g-=this.menu.offsetHeight;isMenuOnTop=true}if(d[1]=="right")f-=this.menu.offsetWidth;return{left:f,top:g}}function ob_em_mouseOverMenu(a,b){if(this.underlay.style.visibility!="visible")return false;if(!b)b=this.getMenuCoords(a,false);var h=eval(b[0]),j=eval(b[1]),c=document.body.scrollLeft+document.documentElement.scrollLeft,d=document.body.scrollTop+document.documentElement.scrollTop;if(isOpera){c/=2;d/=2}for(var g=a.clientX==-1?ob_em_getLeft(a.fromElement)-a.offsetX:a.clientX,i=a.clientY==-1?ob_em_getTop(a.fromElement)-a.offsetY:a.clientY,e=this.underlay.style.visibility=="visible"&&g+c>=h&&g+c<=h+this.underlay.offsetWidth&&i+d>=j&&i+d<=j+this.underlay.offsetHeight,f=0;f<this.subMenus.length;f++)e=e||this.subMenus[f].mouseOverMenu(a,null);return e}function ob_em_GetElementCoords(a,b,c,f,e){var h=ob_em_GetParentMenuFromElement(a),d=false;if(h!=null){var g=eval("ob_em_"+ob_em_GetParentMenuFromElement(a).id);if(typeof g=="object"&&g.showEvent!="always")d=true}if(typeof a=="undefined"||a==null)return{left:0,top:0,right:0,bottom:0};if(b==null)b=ob_em_getLeft(a,d);if(c==null)c=ob_em_getTop(a,d);if(f==null)f=b+a.offsetWidth;if(e==null)e=c+a.offsetHeight;return{left:b,top:c,right:f,bottom:e}}function ob_em_getLeft(a,d){var b=0;if(isFF==true||isOpera==true)var c=[],g=a;if(a)if(isIE)if(!isNaN(parseInt(a.currentStyle.borderLeftWidth)))b+=parseInt(a.currentStyle.borderLeftWidth);if(a.offsetParent)while(a.offsetParent){if(a.nodeName!="TR"||isSafari==false)if(d)b+=a.offsetLeft-(a.nodeName!="TR"&&isOpera==false?a.scrollLeft:0);else b+=a.offsetLeft;else if(d)b+=a.firstChild.offsetLeft-a.firstChild.scrollLeft;else b+=a.firstChild.offsetLeft;(isFF==true||isOpera==true)&&c.push(a);a=a.offsetParent}else if(a.x)b+=a.x;if((isFF==true||isOpera==true)&&c.length>0){a=g;while(a.parentNode){if(a.nodeName=="DIV"&&a.style.position!="absolute"&&a.style.position!="relative"&&a.style.position!="fixed"){for(var f=false,e=0;e<c.length;e++)if(c[e]==a){f=true;break}if(f==false)if(d)b-=a.scrollLeft}a=a.parentNode}}return b}function ob_em_getTop(a,e){var b=0,i=0;if(isFF==true||isOpera==true)var d=[],h=a;if(a){if(isIE)if(!isNaN(parseInt(a.currentStyle.borderTopWidth)))b+=parseInt(a.currentStyle.borderTopWidth);while(a){i++;var c=undefined;if(a.id!="")try{c=eval("ob_em_"+a.id)}catch(j){}if(a.nodeName!="TR"||isSafari==false)if(e&&typeof c=="object"&&c.showEvent!="always")b+=a.offsetTop-(a.nodeName!="TR"&&isOpera==false?a.scrollTop:0);else b+=a.offsetTop;else if(e&&typeof c=="object"&&c.showEvent!="always")b+=a.firstChild.offsetTop-a.firstChild.scrollTop;else b+=a.firstChild.offsetTop;(isFF==true||isOpera==true)&&d.push(a);a=a.offsetParent}}else if(a.y)b+=a.y;if((isFF==true||isOpera==true)&&d.length>0){a=h;while(a.parentNode){if(a.nodeName=="DIV"&&a.style.position!="absolute"&&a.style.position!="relative"&&a.style.position!="fixed"){for(var g=false,f=0;f<d.length;f++)if(d[f]==a){g=true;break}if(g==false)if(e)b-=a.scrollTop}a=a.parentNode}}return b}function ob_em_getStyle(c,a){var b="";if(document.defaultView&&document.defaultView.getComputedStyle)b=document.defaultView.getComputedStyle(c,"").getPropertyValue(a);else if(c.currentStyle)try{a=a.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()});b=c.currentStyle[a]}catch(d){}return b}function ob_em_searchArrayForElement(b,c){if(c==null||b==null||typeof b!="object")return-1;for(var a=0;a<b.length;a++)if(typeof c=="string"){if(b[a].toLowerCase()==c.toLowerCase())return a}else if(b[a]==c)return a;return-1}function ob_em_arrangeAlignProperty(a){var b=[];if(a==""){b[0]="";b[1]=""}else if(a.substr(0,3)=="top"){b[0]=a.substr(0,3);b[1]=a.substr(3,a.length)}else{b[0]=a.substr(0,6);b[1]=a.substr(6,a.length)}return b}function ob_em_removeEvent(e,d,a,b){b=b.toString();if(a.length==0){if((eval("elem."+d)).toString().toLowerCase().replace(/'/g,'"').indexOf(b.toLowerCase().replace(/'/g,'"'))!=-1)eval("elem."+d+" = null")}else{for(var c=0;c<a.length;c++)a[c].toString().toLowerCase().replace(/'/g,'"').indexOf(b.toLowerCase().replace(/'/g,'"'))!=-1&&a.splice(c,1);if(a.length==0)eval("elem."+d+" = null")}}function ob_em_slideContent(j,l,h){var f=null,e=true,d=this.DropTime,i=this.showCoords[1],a=h,b=this.menu,k=this.underlay,c=b.firstChild;Increment=this.DropIncrement;var m=null;b.style.overflow="hidden";if(isIE){Increment+=5;d-=4;if(d<1)d=1}var g=function(){e=true;a=a+Increment;b.style.height=a+"px";if(isMenuOnTop){f=findPosY(b);f=f-Increment;b.style.top=f+"px";c.style.top="0px"}else c.style.top=-1*(parseInt(j,10)-parseInt(a,10))+"px";if(a>=c.offsetHeight){a=c.offsetHeight;e=false}if(e)window.setTimeout(g,d);else{b.style.height=a+"px";if(isMenuOnTop)b.style.top=i+"px";else c.style.top="0px"}};if(isIE){this.cover_iframe.style.width=this.menu.offsetWidth+"px";this.cover_iframe.style.height=this.menu.offsetHeight+"px";this.cover_iframe.style.top=this.showCoords[1]+"px";this.cover_iframe.style.left=this.showCoords[0]+"px";this.cover_iframe.style.visibility="visible"}e&&window.setTimeout(g,d)}function ob_fadeIn(a){$("#"+a).fadeIn("slow",function(){if(isIE){this.cover_iframe.style.width=this.menu.offsetWidth+"px";this.cover_iframe.style.height=this.menu.offsetHeight+"px";this.cover_iframe.style.top=this.showCoords[1]+"px";this.cover_iframe.style.left=this.showCoords[0]+"px";this.cover_iframe.style.visibility="visible"}})}function ob_fadeOut(a){$("#"+a).fadeOut(1)}function ob_fadeTo(b,a){$("#"+b).fadeTo("fast",a)}function ob_em_getDefaultClasses(b){for(var a in b.classes)if(b.classes[a]=="default")switch(a.toLowerCase()){case"menuseparator":b.classes[a]={c:"easyMenuSeparator",c_o:"easyMenuSeparatorOver",c_c:"easyMenuSeparatorContentCell",c_c_o:"easyMenuSeparatorContentCellOver",c_lrc:"easyMenuSeparatorLeftRoundCornerCell",c_lrc_o:"easyMenuSeparatorLeftRoundCornerCellOver",c_rrc:"easyMenuSeparatorRightRoundCornerCell",c_rrc_o:"easyMenuSeparatorRightRoundCornerCellOver",c_i:"easyMenuSeparatorIconCell",c_i_o:"easyMenuSeparatorIconCellOver",c_m:"easyMenuSeparatorSubMenuCell",c_m_o:"easyMenuSeparatorSubMenuCellOver"};break;default:b.classes[a]={c:"easyMenuItem",c_o:"easyMenuItemOver",c_c:"easyMenuItemContentCell",c_c_o:"easyMenuItemContentCellOver",c_lrc:"easyMenuItemLeftRoundCornerCell",c_lrc_o:"easyMenuItemLeftRoundCornerCellOver",c_rrc:"easyMenuItemRightRoundCornerCell",c_rrc_o:"easyMenuItemRightRoundCornerCellOver",c_i:"easyMenuItemIconCell",c_i_o:"easyMenuItemIconCellOver",c_m:"easyMenuItemSubMenuCell",c_m_o:"easyMenuItemSubMenuCellOver"}}}function ob_em_CreateMenuUnderlay(c){var d=document.getElementById(c),a=document.getElementById(c+"__underlay");a.type="ob_em_underlay";a.style.display="";a.style.backgroundColor="transparent";a.style.visibility="hidden";a.menu=d;var b=document.createElement("span");a.appendChild(b);b.style.width="100%";b.style.height="100%";b.style.backgroundColor="transparent"}function ob_em_GetEventElements(a){if(!a)a=window.event;if(!a)return[null,null];var c;if(typeof a.relatedTarget!="undefined")c=a.relatedTarget;else if(typeof a.fromElement!="undefined"||typeof a.toElement!="undefined")c=a.type.toLowerCase()=="mouseover"?a.fromElement:a.toElement;var b;if(typeof a.target!="undefined")b=a.target;else if(typeof a.srcElement!="undefined")b=a.srcElement;return[c,b]}function ob_em_GetParentMenuFromElement(a){while(a!=null&&(a.nodeType==3||typeof a.tagName=="undefined"||a.tagName.toLowerCase()!="div"||(typeof a.object!="object"||(typeof a.object.type=="undefined"||a.object.type.toLowerCase()!="ob_em_menu"))))a=a.parentNode;return a}function ob_em_GetUnderlayFromElement(a){while(a!=null&&(a.nodeType==3||typeof a.tagName=="undefined"||a.tagName.toLowerCase()!="div"||(typeof a.menu!="object"||(typeof a.menu.object=="undefined"||(typeof a.menu.object.type=="undefined"||a.menu.object.type.toLowerCase()!="ob_em_menu")))))a=a.parentNode;return a}function ob_em_GetParentItemFromElement(a,b,c){try{if((c=="contextmenu"&&b=="mouseclick"||c=="mouseclick"&&b=="contextmenu")&&(a!=null&&typeof a.object=="object"&&a.object.type.toLowerCase()=="ob_em_attachelement"))return null;while(a!=null&&(a.nodeType==3||(typeof a.object!="object"||(typeof a.object.type=="undefined"||a.object.type.toLowerCase()!="ob_em_menuitem"&&a.object.type.toLowerCase()!="ob_em_attachelement"))))a=a.parentNode}catch(d){}return a}function ob_em_MenuIsSubmenuOfElement(b,a){if(b==null||typeof b!="object"||a==null||typeof a!="object")return false;b=typeof b.object=="object"&&b.object!=null?b.object:b;a=typeof a.object=="object"&&a.object!=null?a.object:a;return typeof a.ob_em_submenu=="object"&&a.ob_em_submenu==b}function ob_em_MenuIsVisibleForElement(a,b){if(a==null||typeof a!="object"||b==null||typeof b!="object")return false;a=typeof a.object=="object"&&a.object!=null?a.object:a;b=typeof b.object=="object"&&b.object!=null?b.object:b;return typeof a.visibleFor=="object"&&a.visibleFor==b}function heo_ProcessEvent(a,e,f,h){if(!a)a=window.event;if(!a)return false;var g=a.type.toLowerCase()=="mouseover",d=document.getElementById(h),c;if(typeof a.relatedTarget!="undefined")c=a.relatedTarget;else if(typeof a.fromElement!="undefined"||typeof a.toElement!="undefined")c=g?a.fromElement:a.toElement;while(c!=null&&c!=d)c=c.parentNode;var b;if(typeof a.target!="undefined")b=a.target;else if(typeof a.srcElement!="undefined")b=a.srcElement;while(b!=null&&b!=d)b=b.parentNode;if(c==b&&b!=null){ob_em_cancelEvent(a);return false}else return g?typeof e=="function"?e(a,d):true:typeof f=="function"?f(a,d):true}var ob_em_visibleMenus=[];function ob_em_HideAll(a){ob_em_HideAllFromIndex(0,a)}function ob_em_VisibleArrayElementHasPrecedence(c,d){for(var a=0;a<ob_em_visibleMenus.length;a++)if(c==ob_em_visibleMenus[a]){for(var b=a;b<ob_em_visibleMenus.length;b++)if(d==ob_em_visibleMenus[b])return true;break}return false}function ob_em_VisibleArrayIndexOf(b){for(var a=ob_em_visibleMenus.length-1;a>=0;a--)if(ob_em_visibleMenus[a]==b)return a;return-1}function ob_em_HideAllFromIndex(b,c){if(c){var a=ob_em_visibleMenus.length-1;while(a>=b){if(ob_em_visibleMenus[a]!=null&&typeof ob_em_visibleMenus[a].object!="undefined"&&ob_em_visibleMenus[a].object!=null&&typeof ob_em_visibleMenus[a].object.hideMenu=="function")if(ob_em_visibleMenus[a].object.showEvent!="mouseover"){b=a+2;break}a--}}for(var a=b;a<ob_em_visibleMenus.length;a++)if(ob_em_visibleMenus[a]!=null&&(typeof ob_em_visibleMenus[a].object!="undefined"&&ob_em_visibleMenus[a].object!=null&&typeof ob_em_visibleMenus[a].object.hideMenu=="function")){b=a;if(ob_em_visibleMenus[a].object.hideMenu(null,false,true,false))break;else if(a+1==ob_em_visibleMenus.length-1)return}if(b>=1&&typeof ob_em_visibleMenus[b-1]!="undefined"&&typeof ob_em_visibleMenus[b-1].object!="undefined"&&typeof ob_em_visibleMenus[b-1].object!="undefined"&&ob_em_visibleMenus[b-1].object!=null&&typeof ob_em_visibleMenus[b-1].object.type!="undefined"&&(ob_em_visibleMenus[b-1].object.type=="ob_em_attachelement"||ob_em_visibleMenus[b-1].object.type=="ob_em_menuitem"))b--;ob_em_VisibleArrayRemoveFromIndex(b)}function ob_em_VisibleArrayRemoveFromIndex(c){for(var b=[],a=0;a<c;a++)if(typeof ob_em_visibleMenus[a]!="undefined")b[a]=ob_em_visibleMenus[a];ob_em_visibleMenus=b}function ob_em_VisibleArrayPush(a){ob_em_visibleMenus.push(a)}var agt=navigator.userAgent.toLowerCase(),isNav=agt.indexOf("mozilla")!=-1&&agt.indexOf("spoofer")==-1&&agt.indexOf("compatible")==-1&&agt.indexOf("opera")==-1&&agt.indexOf("webtv")==-1&&agt.indexOf("hotjava")==-1,isGecko=agt.indexOf("gecko")!=-1,isSafari=agt.indexOf("safari")!=-1,isIE=agt.indexOf("msie")!=-1&&agt.indexOf("opera")==-1,isAol=agt.indexOf("aol")!=-1,isOpera=agt.indexOf("opera")!=-1,isFF=navigator.userAgent.indexOf("Firefox")!=-1&&parseInt(navigator.userAgent.charAt(navigator.userAgent.indexOf("Firefox")+8))>=1?true:false,isWebtv=agt.indexOf("webtv")!=-1,isTVNavigator=agt.indexOf("navio")!=-1||agt.indexOf("navio_aoltv")!=-1,isAOLTV=isTVNavigator,ishotjava=agt.indexOf("hotjava")!=-1,ob_em_gSafeOnLoad=[];function ob_em_cleanUp(){if(window.event==null||window.event!=null&&window.event.type=="")return;if(typeof ob_em_Menus!="object"||typeof ob_em_Menus.length=="undefined")return;for(var d=0,c=0,d=0;d<ob_em_Menus.length;d++)try{var a=eval(ob_em_Menus[d]);if(typeof a=="undefined"||a==null)continue;if(a.menu!=null)a.menu.object=null;ob_em_removeEvents(a.menu);a.parentMenu=null;a.parentItem=null;if(a.underlay!=null){ob_em_removeEvents(a.underlay);a.underlay.menu=null;a.underlay=null}a.cover_iframe=null;if(typeof a.items!="undefined"&&a.items!=null&&typeof a.items.length!="undefined")for(c=0;c<a.items.length;c++){var b=a.items[c];if(b!=null){if(a.showEvent=="always")b.object.subMenuCell!=null&&b.object.subMenuCell.parentNode.removeChild(b.object.subMenuCell);else b.parentNode.removeChild(b);if(b.object!=null){b.object.item=null;b.object.ob_em_submenu=null;b.object.menu=null;b.object.iconCell=null;b.object.contentCell=null;b.object.subMenuCell=null}b.object=null;ob_em_removeEvents(b)}}for(c=0;c<a.oat_ids.length;c++){var b=document.getElementById(a.oat_ids[c]);if(b!=null){if(b.object!=null){b.object.item=null;b.object.ob_em_submenu=null;b.object.menu=null}b.object=null;ob_em_removeEvents(b)}}a.items=null;a.menu=null;a=null}catch(e){}ob_em_Menus=null;window.onload=null;window.onunload=null}function ob_em_removeEvents(a){if(typeof a=="undefined"||a==null)return;a.onmouseover=null;a.onmouseout=null;a.oncontextmenu=null;a.onclick=null}function ob_em_cancelEvent(a){if(!a)a=window.event;a.returnValue=false;a.cancelBubble=true;a.stopPropagation&&a.stopPropagation();return false}function ob_em_eventSet(a,b){return ob_em_searchArrayForElement(a.Events,b)!=-1}var ob_em_wdl=false;ob_em_safeAddOnEvent("onload","window","ob_em_gSafeOnLoad",'new Function("ob_em_wdl=true;")()',null);