var __rootMenuItem,__menuInterval,__scrollPanel,__disappearAfter=500;function Menu_ClearInterval(){__menuInterval&&window.clearInterval(__menuInterval)}function Menu_Collapse(a){Menu_SetRoot(a);if(__rootMenuItem){Menu_ClearInterval();if(__disappearAfter>=0)__menuInterval=window.setInterval("Menu_HideItems()",__disappearAfter)}}
function Menu_Expand(a,b,c,d){Menu_ClearInterval();var g=a.parentNode.parentNode.parentNode.parentNode.parentNode,f=true;if(!g.id){f=false;g=g.parentNode}var e=Menu_FindSubMenu(a);if(e){var h=Menu_GetData(a);if(!h)return null;e.rel=g.id;e.x=b;e.y=c;if(f)e.pos="bottom";PopOut_Show(e.id,d,h)}Menu_SetRoot(a);if(e){if(!document.body.__oldOnClick&&document.body.onclick)document.body.__oldOnClick=document.body.onclick;if(__rootMenuItem)document.body.onclick=Menu_HideItems}Menu_ResetSiblings(g);return e}
function Menu_FindMenu(a){if(a&&a.menu)return a.menu;var b=a.parentNode.parentNode.parentNode.parentNode.parentNode;if(!b.id)b=b.parentNode;for(var c=b.id.length-1;c>=0;c--)if(b.id.charAt(c)<"0"||b.id.charAt(c)>"9"){var d=WebForm_GetElementById(b.id.substr(0,c));if(d)return a.menu=d}return null}
function Menu_FindNext(a){var b=WebForm_GetElementByTagName(a,"A");a=Menu_FindParentContainer(a);var c=null;if(a)for(var d=WebForm_GetElementsByTagName(a,"A"),g=false,f=0;f<d.length;f++){var e=d[f];if(Menu_IsSelectable(e)){if(Menu_FindParentContainer(e)==a)if(g)return e;else c||(c=e);if(!g&&e==b)g=true}}return c}
function Menu_FindParentContainer(a){if(a.menu_ParentContainerCache)return a.menu_ParentContainerCache;var b=a.tagName.toLowerCase()=="a"?a:WebForm_GetElementByTagName(a,"A");if(b=Menu_FindMenu(b)){for(var c=a;c&&c.tagName&&c.id!=b.id&&c.tagName.toLowerCase()!="div";)c=c.parentNode;return a.menu_ParentContainerCache=c}}function Menu_FindParentItem(a){a=Menu_FindParentContainer(a).id;var b=a.length;if(a&&a.substr(b-5)=="Items"){a=a.substr(0,b-5);return WebForm_GetElementById(a)}return null}
function Menu_FindPrevious(a){var b=WebForm_GetElementByTagName(a,"A");a=Menu_FindParentContainer(a);var c=null;if(a)for(var d=WebForm_GetElementsByTagName(a,"A"),g=0;g<d.length;g++){var f=d[g];if(Menu_IsSelectable(f)){if(f==b&&c)return c;if(Menu_FindParentContainer(f)==a)c=f}}return c}function Menu_FindSubMenu(a){a=a.parentNode.parentNode.parentNode.parentNode.parentNode;if(!a.id)a=a.parentNode;return WebForm_GetElementById(a.id+"Items")}
function Menu_Focus(a){if(a&&a.focus){var b=WebForm_GetElementPosition(a),c=Menu_FindParentContainer(a);if(!c.offset)c.offset=0;var d=WebForm_GetElementPosition(c);if(b.y+b.height>d.y+c.offset+c.clippedHeight){b=b.y+b.height-d.y-c.offset-c.clippedHeight;PopOut_Scroll(c,b)}else if(b.y<d.y+c.offset){b=d.y+c.offset-b.y;PopOut_Scroll(c,-b)}PopOut_HideScrollers(c);a.focus()}}
function Menu_GetData(a){if(!a.data){var b=a.tagName.toLowerCase()=="a"?a:WebForm_GetElementByTagName(a,"a");b=Menu_FindMenu(b);try{a.data=eval(b.id+"_Data")}catch(c){}}return a.data}
function Menu_HideItems(a){if(document.body.__oldOnClick){document.body.onclick=document.body.__oldOnClick;document.body.__oldOnClick=null}Menu_ClearInterval();if(!a||typeof a.tagName=="undefined"&&a instanceof Event)a=__rootMenuItem;var b=a;if(typeof b=="undefined"||b==null||!b.tagName||b.tagName.toLowerCase()!="table")b=WebForm_GetElementByTagName(b,"TABLE");if(!(typeof b=="undefined"||b==null||!b.tagName||b.tagName.toLowerCase()!="table")){b=b.rows?b.rows:b.firstChild.rows;for(var c=false,d=0;d<
b.length;d++)if(b[d].id){c=true;break}if(c)for(c=0;c<b.length;c++)if(b[c].id)(d=WebForm_GetElementById(b[c].id+"Items"))&&Menu_HideItems(d);else{if(b[c].cells[0])(d=WebForm_GetElementByTagName(b[c].cells[0],"TABLE"))&&Menu_HideItems(d)}else if(b[0])for(c=0;c<b[0].cells.length;c++)if(b[0].cells[c].id)(d=WebForm_GetElementById(b[0].cells[c].id+"Items"))&&Menu_HideItems(d);else(d=WebForm_GetElementByTagName(b[0].cells[c],"TABLE"))&&Menu_HideItems(b[0].cells[c].firstChild);a&&a.id&&PopOut_Hide(a.id)}}
function Menu_HoverDisabled(a){var b=a.tagName.toLowerCase()=="td"?a:a.cells[0];if(a=Menu_GetData(a)){b=WebForm_GetElementByTagName(b,"table").rows[0].cells[0].childNodes[0];if(a.disappearAfter>=200)__disappearAfter=a.disappearAfter;Menu_Expand(b,a.horizontalOffset,a.verticalOffset)}}
function Menu_HoverDynamic(a){var b=a.tagName.toLowerCase()=="td"?a:a.cells[0];if(a=Menu_GetData(a)){b=WebForm_GetElementByTagName(b,"table");if(a.hoverClass){b.hoverClass=a.hoverClass;WebForm_AppendToClassName(b,a.hoverClass)}b=b.rows[0].cells[0].childNodes[0];if(a.hoverHyperLinkClass){b.hoverHyperLinkClass=a.hoverHyperLinkClass;WebForm_AppendToClassName(b,a.hoverHyperLinkClass)}if(a.disappearAfter>=200)__disappearAfter=a.disappearAfter;Menu_Expand(b,a.horizontalOffset,a.verticalOffset)}}
function Menu_HoverRoot(a){var b=a.tagName.toLowerCase()=="td"?a:a.cells[0];a=Menu_GetData(a);if(!a)return null;b=WebForm_GetElementByTagName(b,"table");if(a.staticHoverClass){b.hoverClass=a.staticHoverClass;WebForm_AppendToClassName(b,a.staticHoverClass)}b=b.rows[0].cells[0].childNodes[0];if(a.staticHoverHyperLinkClass){b.hoverHyperLinkClass=a.staticHoverHyperLinkClass;WebForm_AppendToClassName(b,a.staticHoverHyperLinkClass)}return b}
function Menu_HoverStatic(a){var b=Menu_HoverRoot(a);if(a=Menu_GetData(a)){__disappearAfter=a.disappearAfter;Menu_Expand(b,a.horizontalOffset,a.verticalOffset)}}function Menu_IsHorizontal(a){if(a){a=a.tagName&&a.tagName.toLowerCase=="a"?a:WebForm_GetElementByTagName(a,"A");if(!a)return false;if(a.parentNode.parentNode.parentNode.parentNode.parentNode.id)return true}return false}function Menu_IsSelectable(a){return a&&a.href}
function Menu_Key(a){var b;if(window.event)b=window.event;else{b=a;a=b.currentTarget}var c=b?b.keyCode:-1,d=Menu_GetData(a);if(d){var g=Menu_IsHorizontal(a),f=WebForm_GetElementByTagName(a,"A"),e,h;if(!g&&c==38||g&&c==37){for(e=Menu_FindPrevious(a);e&&e.disabled;)e=Menu_FindPrevious(e);if(e){Menu_Focus(e);Menu_Expand(e,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}}if(!g&&c==40||g&&c==39){if(g)if((e=Menu_FindSubMenu(f))&&e.style&&e.style.visibility&&
e.style.visibility.toLowerCase()=="hidden"){Menu_Expand(f,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}for(e=Menu_FindNext(a);e&&e.disabled;)e=Menu_FindNext(e);if(e){Menu_Focus(e);Menu_Expand(e,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}}if(!g&&c==39||g&&c==40)if(f=Menu_Expand(f,d.horizontalOffset,d.verticalOffset,true)){f=WebForm_GetElementsByTagName(f,"A");for(e=0;e<f.length;e++)if(!f[e].disabled&&
Menu_IsSelectable(f[e])){h=f[e];break}if(h){Menu_Focus(h);Menu_Expand(h,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}}else{for(h=Menu_FindParentItem(a);h&&!Menu_IsHorizontal(h);)h=Menu_FindParentItem(h);if(h){for(e=Menu_FindNext(h);e&&e.disabled;)e=Menu_FindNext(e);if(e){Menu_Focus(e);Menu_Expand(e,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}}}if(!g&&c==37||g&&c==38)if(h=
Menu_FindParentItem(a)){if(Menu_IsHorizontal(h)){for(e=Menu_FindPrevious(h);e&&e.disabled;)e=Menu_FindPrevious(e);if(e){Menu_Focus(e);Menu_Expand(e,d.horizontalOffset,d.verticalOffset,true);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}}(a=WebForm_GetElementByTagName(h,"A"))&&Menu_Focus(a);Menu_ResetSiblings(h);b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();return}if(c==27){Menu_HideItems();b.cancelBubble=true;b.stopPropagation&&b.stopPropagation()}}}
function Menu_ResetSiblings(a){for(var b=a.tagName.toLowerCase()=="td"?a.parentNode.parentNode.parentNode:a.parentNode.parentNode,c=false,d=0;d<b.rows.length;d++)if(b.rows[d].id){c=true;break}if(c)for(c=0;c<b.rows.length;c++){d=b.rows[c];if(d!=a)(d=WebForm_GetElementById(d.id+"Items"))&&Menu_HideItems(d)}else for(c=0;c<b.rows[0].cells.length;c++){d=b.rows[0].cells[c];if(d!=a)(d=WebForm_GetElementById(d.id+"Items"))&&Menu_HideItems(d)}Menu_ResetTopMenus(b,b,0,true)}
function Menu_ResetTopMenus(a,b,c,d){if(d&&a.id==""){a=a.parentNode.parentNode.parentNode.parentNode;a.tagName.toLowerCase()=="table"&&Menu_ResetTopMenus(a,b,c+1,true)}else if(c==0&&a!=b)if(a.rows[0].id)for(d=0;d<a.rows.length;d++){b=a.rows[d];(b=WebForm_GetElementById(b.id+"Items"))&&Menu_HideItems(b)}else for(d=0;d<a.rows[0].cells.length;d++){b=a.rows[0].cells[d];(b=WebForm_GetElementById(b.id+"Items"))&&Menu_HideItems(b)}else if(c>0)for(d=0;d<a.rows.length;d++)for(var g=0;g<a.rows[d].cells.length;g++){var f=
a.rows[d].cells[g].firstChild;f&&f.tagName.toLowerCase()=="table"&&Menu_ResetTopMenus(f,b,c-1,false)}}function Menu_RestoreInterval(){if(__menuInterval&&__rootMenuItem){Menu_ClearInterval();__menuInterval=window.setInterval("Menu_HideItems()",__disappearAfter)}}function Menu_SetRoot(a){if(a=Menu_FindMenu(a)){__rootMenuItem&&__rootMenuItem!=a&&Menu_HideItems();__rootMenuItem=a}}
function Menu_Unhover(a){a=a.tagName.toLowerCase()=="td"?a:a.cells[0];a=WebForm_GetElementByTagName(a,"table");a.hoverClass&&WebForm_RemoveClassName(a,a.hoverClass);a=a.rows[0].cells[0].childNodes[0];a.hoverHyperLinkClass&&WebForm_RemoveClassName(a,a.hoverHyperLinkClass);Menu_Collapse(a)}function PopOut_Clip(a,b,c){if(a&&a.style){a.style.clip="rect("+b+"px auto "+(b+c)+"px auto)";a.style.overflow="hidden"}}
function PopOut_Down(a){Menu_ClearInterval();if((a=a?a.parentNode:__scrollPanel)&&a.offset+a.clippedHeight<a.physicalHeight){PopOut_Scroll(a,2);__scrollPanel=a;PopOut_ShowScrollers(a);PopOut_Stop();__scrollPanel.interval=window.setInterval("PopOut_Down()",8)}else PopOut_ShowScrollers(a)}
function PopOut_Hide(a){if((a=WebForm_GetElementById(a))&&a.tagName.toLowerCase()=="div"){a.style.visibility="hidden";a.style.display="none";a.offset=0;a.scrollTop=0;var b=WebForm_GetElementByTagName(a,"TABLE");b&&WebForm_SetElementY(b,0);if(window.navigator&&window.navigator.appName=="Microsoft Internet Explorer"&&!window.opera)if(a=WebForm_GetElementById(a.id+"_MenuIFrame"))a.style.display="none"}}
function PopOut_HideScrollers(a){if(a&&a.style){var b=WebForm_GetElementById(a.id+"Up");a=WebForm_GetElementById(a.id+"Dn");if(b){b.style.visibility="hidden";b.style.display="none"}if(a){a.style.visibility="hidden";a.style.display="none"}}}
function PopOut_Position(a,b){if(window.opera){a.parentNode.removeChild(a);document.forms[0].appendChild(a)}var c=WebForm_GetElementById(a.rel),d=WebForm_GetElementByTagName(c,"TABLE");d=WebForm_GetElementPosition(d?d:c);var g=WebForm_GetElementPosition(a),f=typeof a.physicalHeight!="undefined"&&a.physicalHeight!=null?a.physicalHeight:g.height;a.physicalHeight=f;var e;if(a.offsetParent)e=WebForm_GetElementPosition(a.offsetParent);else{e={};e.x=0;e.y=0}var h=WebForm_GetElementById("__overFlowElement");
if(!h){h=document.createElement("img");h.id="__overFlowElement";WebForm_SetElementWidth(h,1);document.body.appendChild(h)}WebForm_SetElementHeight(h,f+d.y+parseInt(a.y?a.y:0));h.style.visibility="visible";h.style.display="inline";var k=0,l=0;if(window.innerHeight){k=window.innerHeight;l=window.innerWidth}else if(document.documentElement&&document.documentElement.clientHeight){k=document.documentElement.clientHeight;l=document.documentElement.clientWidth}else if(document.body&&document.body.clientHeight){k=
document.body.clientHeight;l=document.body.clientWidth}var m=0,i=0;if(typeof window.pageYOffset!="undefined"){m=window.pageYOffset;i=window.pageXOffset}else if(document.documentElement&&typeof document.documentElement.scrollTop!="undefined"){m=document.documentElement.scrollTop;i=document.documentElement.scrollLeft}else if(document.body&&typeof document.body.scrollTop!="undefined"){m=document.body.scrollTop;i=document.body.scrollLeft}h.style.visibility="hidden";h.style.display="none";h=k+m;l=l+i;
i=a.pos;if(typeof i=="undefined"||i==null||i=="")i=WebForm_GetElementDir(c)=="rtl"?"middleleft":"middleright";i=i.toLowerCase();var j=d.y+parseInt(a.y?a.y:0)-e.y;c=c&&c.parentNode&&c.parentNode.parentNode&&c.parentNode.parentNode.parentNode&&c.parentNode.parentNode.parentNode.tagName.toLowerCase()=="div"?c.parentNode.parentNode.parentNode:null;WebForm_SetElementY(a,j);PopOut_SetPanelHeight(a,f,true);var n=false;if(i.indexOf("top")!=-1){j-=f;WebForm_SetElementY(a,j);if(j<-e.y){j=-e.y;WebForm_SetElementY(a,
j);if(f>k-2){n=true;PopOut_SetPanelHeight(a,k-2)}}}else{if(i.indexOf("bottom")!=-1){j+=d.height;WebForm_SetElementY(a,j)}f=j+e.y+f-h;if(f>0){j-=f;WebForm_SetElementY(a,j);if(j<-e.y){j=2-e.y+m;WebForm_SetElementY(a,j);n=true;PopOut_SetPanelHeight(a,k-2)}}}n||PopOut_SetPanelHeight(a,a.clippedHeight,true);k=0;if(a.offsetParent)k=WebForm_GetElementPosition(a.offsetParent).y;a.originY=typeof a.originY!="undefined"&&a.originY!=null?a.originY:j-k;b?PopOut_HideScrollers(a):PopOut_ShowScrollers(a);b=d.x+parseInt(a.x?
a.x:0)-e.x;if(c&&c.clientLeft)b+=2*c.clientLeft;WebForm_SetElementX(a,b);if(i.indexOf("left")!=-1){b-=g.width;WebForm_SetElementX(a,b);b<-e.x&&WebForm_SetElementX(a,-e.x)}else{if(i.indexOf("right")!=-1){b+=d.width;WebForm_SetElementX(a,b)}f=b+e.x+g.width-l;if(f>0){b-=i.indexOf("bottom")==-1&&d.x>g.width?d.width+g.width:f;WebForm_SetElementX(a,b);b<-e.x&&WebForm_SetElementX(a,-e.x)}}}
function PopOut_Scroll(a,b){var c=WebForm_GetElementByTagName(a,"TABLE");if(c){c.style.position="relative";var d=c.style.top?parseInt(c.style.top):0;a.offset+=b;WebForm_SetElementY(c,d-b)}}function PopOut_SetPanelHeight(a,b,c){if(a&&a.style){var d=WebForm_GetElementPosition(a);a.physicalWidth=d.width;a.clippedHeight=b;WebForm_SetElementHeight(a,b-(a.clientTop?2*a.clientTop:0));if(c&&a.style)a.style.clip="rect(auto auto auto auto)";else PopOut_Clip(a,0,b)}}
function PopOut_Show(a,b,c){if((a=WebForm_GetElementById(a))&&a.tagName.toLowerCase()=="div"){a.style.visibility="visible";a.style.display="inline";if(!a.offset||b){a.scrollTop=0;a.offset=0;var d=WebForm_GetElementByTagName(a,"TABLE");d&&WebForm_SetElementY(d,0)}PopOut_Position(a,b);b=1;if(window.navigator&&window.navigator.appName=="Microsoft Internet Explorer"&&!window.opera&&c){var g=a.id+"_MenuIFrame";d=WebForm_GetElementById(g);var f=a.offsetParent;if(!d){d=document.createElement("iframe");d.id=
g;d.src=c.iframeUrl?c.iframeUrl:"about:blank";d.style.position="absolute";d.style.display="none";d.scrolling="no";d.frameBorder="0";f.tagName.toLowerCase()=="html"?document.body.appendChild(d):f.appendChild(d)}c=WebForm_GetElementPosition(a);f=WebForm_GetElementPosition(f);WebForm_SetElementX(d,c.x-f.x);WebForm_SetElementY(d,c.y-f.y);WebForm_SetElementWidth(d,c.width);WebForm_SetElementHeight(d,c.height);d.style.display="block";if(a.currentStyle&&a.currentStyle.zIndex)b=a.currentStyle.zIndex;else if(a.style.zIndex)b=
a.style.zIndex}a.style.zIndex=b}}
function PopOut_ShowScrollers(a){if(a&&a.style){var b=WebForm_GetElementById(a.id+"Up"),c=WebForm_GetElementById(a.id+"Dn"),d=0;if(b&&c){if(a.offset&&a.offset>0){b.style.visibility="visible";b.style.display="inline";d++;if(a.clientWidth)WebForm_SetElementWidth(b,a.clientWidth-(b.clientLeft?2*b.clientLeft:0));WebForm_SetElementY(b,0)}else{b.style.visibility="hidden";b.style.display="none"}if(a.offset+a.clippedHeight+2<=a.physicalHeight){c.style.visibility="visible";c.style.display="inline";d++;if(a.clientWidth)WebForm_SetElementWidth(c,
a.clientWidth-(c.clientLeft?2*c.clientLeft:0));WebForm_SetElementY(c,a.clippedHeight-WebForm_GetElementPosition(c).height-(a.clientTop?2*a.clientTop:0))}else{c.style.visibility="hidden";c.style.display="none"}if(d==0)a.style.clip="rect(auto auto auto auto)"}}}function PopOut_Stop(){__scrollPanel&&__scrollPanel.interval&&window.clearInterval(__scrollPanel.interval);Menu_RestoreInterval()}
function PopOut_Up(a){Menu_ClearInterval();if((a=a?a.parentNode:__scrollPanel)&&a.offset&&a.offset>0){PopOut_Scroll(a,-2);__scrollPanel=a;PopOut_ShowScrollers(a);PopOut_Stop();__scrollPanel.interval=window.setInterval("PopOut_Up()",8)}}var mmuc_mm_Data={};mmuc_mm_Data.disappearAfter=500;mmuc_mm_Data.horizontalOffset=0;mmuc_mm_Data.verticalOffset=0;mmuc_mm_Data.hoverClass="mmuc_mm_10";mmuc_mm_Data.hoverHyperLinkClass="mmuc_mm_9";mmuc_mm_Data.staticHoverClass="mmuc_mm_8";
mmuc_mm_Data.staticHoverHyperLinkClass="mmuc_mm_7";window.onresize=function(){var a=document.getElementById("topLogo"),b=document.getElementById("content-container");if(!a||!b)setTimeout(window.onresize,100);else{var c=window.navigator.userAgent,d=c.indexOf("MSIE ");c=d>0?parseInt(c.substring(d+5,c.indexOf(".",d))):0;try{a.style.left=b.offsetLeft+(document.all&&c<8?20:12)+"px";a.style.visibility="visible"}catch(g){setTimeout(window.onresize,100)}}};window.onresize();