var isIE=navigator.userAgent.indexOf("MSIE")>-1;var safari2=(navigator.userAgent.indexOf("Safari")!=-1)&&(navigator.userAgent.substr(navigator.userAgent.indexOf("Safari/")+7,1)<5)?true:false;
var safari3=(navigator.userAgent.indexOf("Safari")!=-1)&&(navigator.userAgent.substr(navigator.userAgent.indexOf("Safari/")+7,1)>=5)?true:false;var isSafari=safari2;
var isMozilla=!isIE&&!safari2&&!safari3&&navigator.userAgent.indexOf("Gecko")>-1;var Mac=(navigator.userAgent.indexOf("mac")!=-1)||(navigator.userAgent.indexOf("Mac")!=-1);
var NS6=(navigator.userAgent.indexOf("Netscape")!=-1&&navigator.userAgent.indexOf("Gecko")!=-1);if(isIE||isMozilla||isSafari){var dom=1}var debuggingON=false;var debugWindow=null;
if(debuggingON){var debugContextPath="/"+window.location.pathname.split("/")[1];debugWindow=window.open("","debugWindow","status=1,scrollbars=1,resizable=1,width=1024,height=600");
if(debugWindow.location.href.indexOf(debugContextPath+"/jsdebugger.jsp")==-1){debugWindow.open(debugContextPath+"/jsdebugger.jsp","debugWindow")}}function debug(a){debugWindow.debug(window.name+"("+detailIndex+") "+a)
}var safariLatency=10;function getIFrame(b){var a=null;if(isSafari){a=getElement(b)}else{a=window.frames[b]}return a}var maxWaiting=50;function loadMacIFrame(b,c){var a=getIFrame(b);
if(a!=null&&a.document!=null&&a.document.location!=null&&a.document.location.href!=null){if(!a.document.location.href||a.document.location.href.indexOf(c)==-1){a.document.location.href=c
}maxWaiting=50}else{if(a!=null&&a.src!=null){if(!a.src||a.src.indexOf(c)==-1){a.src=c}maxWaiting=50}else{if(maxWaiting>0){setTimeout('loadMacIFrame("'+b+'","'+c+'");',safariLatency);
maxWaiting--}else{return}}}}function getElement(a){return document.getElementById?document.getElementById(a):document.all?document.all[a]:null}function getLayerStatesParameterValue(){var a="";
for(var b in layerStates){if(layerStates[b]==1){a+=b+";"}}return a}function constructUrlFromForm(e,d){var a=e;var f=(a.indexOf("?")!=-1);if(d){for(var c=0;c<d.elements.length;
c++){var b=d.elements[c];if(f){a+="&"+b.name+"="+escape(b.value)}else{f=true;a+="?"+b.name+"="+escape(b.value)}}}return a}function toggleStaticLayer(e){var a=e+"openedDivID";
var b=e+"closedDivID";var d=getElement(a);var c=getElement(b);if(d.style.display=="none"){d.style.display="inline";c.style.display="none";layerStates[e]=1}else{c.style.display="inline";
d.style.display="none";layerStates[e]=0}notifyParentOfHeightChange();return false}function toggleDynamicLayer(g,e){var a=g+"openedDivID";var b=g+"closedDivID";var d=getElement(a);
var c=getElement(b);if(d.style.display=="none"){var f=getElement(g+"DivID");f.innerHTML="";d.style.display="inline";c.style.display="none";startProxyLoading(g,e);
layerStates[g]=1}else{c.style.display="inline";d.style.display="none";layerStates[g]=0;notifyParentOfHeightChange()}return false}function setAriaExpanded(b,c){var a=$(b).find("[role='treeitem']");
if(a&&a.length){a.attr("aria-expanded",""+c)}}function toggleEmbeddedLayer(h,g){var c=h+"Buffer";var b=getIFrame(c);if(b){var a=h+"openedDivID";var d=h+"closedDivID";
var f=getElement(a);var e=getElement(d);if(f.style.display=="none"){f.style.display="inline";e.style.display="none";setAriaExpanded(f,true);setAriaExpanded(e,false);
if(isSafari){setTimeout('loadMacIFrame("'+c+'","'+g+'");',safariLatency)}else{if(!b.document.location.href||b.document.location.href.indexOf(g)==-1){b.document.location.href=g
}else{setIframeHeight(h);notifyParentOfHeightChange()}}layerStates[h]=1}else{e.style.display="inline";f.style.display="none";setAriaExpanded(f,true);setAriaExpanded(e,false);
layerStates[h]=0;notifyParentOfHeightChange()}}return false}function toggleStaticTableRowLayer(c,a,b){toggleTableCellClasses(c,a,b);toggleTableRowLayer(c);return toggleStaticLayer(c)
}function toggleDynamicTableRowLayer(b,f,d,g){toggleTableCellClasses(b,f,g);toggleTableRowLayer(b);var e=b+"openedDivID";var j=b+"closedDivID";var h=getElement(e);
var c=getElement(j);if(h.style.display=="none"){var a=getElement(b+"DivID");a.innerHTML="";h.style.display="inline";c.style.display="none";startProxyLoading(b,d);
layerStates[b]=1}else{c.style.display="inline";h.style.display="none";layerStates[b]=0;notifyParentOfHeightChange()}return false}function toggleEmbeddedTableRowLayer(d,a,c,b){toggleTableCellClasses(d,a,b);
toggleTableRowLayer(d);return toggleEmbeddedLayer(d,c)}function toggleTableCellClasses(a,c,j){var k=new String(j).split(";");var b=new Object();for(var f=0;f<k.length;
f++){var d=k[f].split("=");b[d[0]]=d[1];b[d[1]]=d[0]}for(var f=0;f<c;f++){var g=a+"row_"+f;var h=getElement(g);if(b[h.className]){h.className=b[h.className]}}}function toggleTableRowLayer(e){var c=e+"row_data";
var d=document.getElementsByName(c);var a;if(d.length>0){for(var b=0;b<d.length;b++){a=d[b];if(a.style.display=="none"){a.style.display=""}else{a.style.display="none"
}}}else{a=getElement(c);if(a.style.display=="none"){a.style.display=""}else{a.style.display="none"}}}var loadingLayers=new Object();function startProxyLoading(c,b){var a=window.frames[c+"Proxy"];
if(a){loadingLayers[c]=1;a.location.href=b;setTimeout("waitForProxyLoad('"+c+"')",100)}}function waitForProxyLoad(b){if(loadingLayers[b]==1){var a=getElement(b+"DivID")
}}function notifyProxyLoadCompletion(e){loadingLayers[e]=0;var c=window.frames[e+"Proxy"];if(c){var d=c.document.getElementById(e);if(d){var a=e+"DivID";var b=getElement(a);
if(b&&typeof b.innerHTML!="undefined"){b.innerHTML=d.innerHTML}notifyParentOfHeightChange()}}}function setIframeHeight(a){var f=a+"Buffer";var e=window.frames[f];
if(e){var g=e.document.getElementById?e.document.getElementById(a):e.document.all?e.document.all[a]:null;if(g){var h=getElement(f);if(h){var c=0;if(isSafari&&g.id=="detailWindow"){c=20
}var j=g.offsetHeight+g.offsetTop;var b=getIframeContentWidth(h,g);if(debuggingON){debug("setting iframe height to "+j+" (sourceDiv.offsetHeight == "+g.offsetHeight+")")
}if(debuggingON){debug("setting iframe width to "+b+" (sourceDiv.offsetWidth == "+g.offsetWidth+")")}if(j<0){if(debuggingON){debug("delaying setIframeHeight('"+a+"') until height calculation returns >= 0")
}setTimeout("setIframeHeight('"+a+"')",100)}else{var d=g.offsetHeight+g.offsetTop;setTimeout(function(){j=g.offsetHeight+g.offsetTop!==0?g.offsetHeight+g.offsetTop:d;
b=getIframeContentWidth(h,g);h.style.height=(j+c)+"px";if(b>h.offsetWidth){h.style.width=(b+c)+"px"}}.bind(this),2000);h.style.height=(j+c)+"px";h.style.width="100%";
h.parentNode.style.width="100%";if(b>h.offsetWidth){h.style.width=(b+c)+"px"}}}else{if(debuggingON){debug("Could not find frame element "+f)}}}}reconcileFrameWidths(embeddedWindowsArray)
}function getIframeContentWidth(b,a){var c;if(isIE){c=a.offsetWidth}else{c=getWidestTableWidth(b.contentDocument?b.contentDocument:b.document)}return c}function getWidestTableWidth(a){var b=0;
var d=a.getElementsByTagName("TABLE");for(var c=0;c<d.length;c++){if(d[c].offsetWidth>b){b=d[c].offsetWidth}}return b}function notifyHeightChange(a){if(isSafari){setTimeout("setIframeHeight('"+a+"'); notifyParentOfHeightChange();",50)
}else{setIframeHeight(a);notifyParentOfHeightChange()}}var registeredIDsToNotify=new Array(0);function notifyHeightChangesOfRegistered(){for(var a=0;a<registeredIDsToNotify.length;
a++){notifyHeightChange(registeredIDsToNotify[a])}}var embeddedWindowsArray=new Array(0);function reconcileFrameWidths(e){var a=0;if(e){for(var d=0;d<e.length;d++){var c=document.getElementById(e[d]);
if(c.offsetWidth>a){if(isIE){a=c.offsetWidth}else{a=getWidestTableWidth(c.contentDocument?c.contentDocument:c.document)}}}for(var d=0;d<e.length;d++){var c=document.getElementById(e[d]);
if(c.parentNode){var b=c.parentNode;b.style.width=a}else{alert("cannot find parentNode in reconcileFrameWidths()")}}}}function notifyParentOfHeightChange(){if(isDetailWindow){setParentDetailWindowToDetailContentHeight()
}if(_currentLayerID!=null&&window.parent&&window.parent.setIframeHeight){if(isSafari){setTimeout("window.parent.setIframeHeight('"+_currentLayerID+"');",safariLatency)
}else{if(debuggingON){debug("hello---"+_currentLayerID)}window.parent.setIframeHeight(_currentLayerID)}}try{if(window.parent&&window.parent!=window&&window.parent.notifyParentOfHeightChange){window.parent.notifyParentOfHeightChange()
}}catch(a){}}function showBodyLayer(){if(debuggingON){debug("showBodyLayer()")}var a=getElement("bodyDiv"+detailIndex);if(!a){var b=$(".contentWhiteRegion");if(b.length){a=$(b[0]).parent()[0]
}}if(a!=null){a.style.display="block";a.style.position="static";a.style.clip="rect(auto auto auto auto)";document.body.style.marginTop=""}else{return false}return true
}function hideBodyLayer(){if(debuggingON){debug("hideBodyLayer()")}var b=getElement("bodyDiv"+detailIndex);if(!b){var c=$(".contentWhiteRegion");if(c.length){b=$(c[0]).parent()[0]
}}if(b){b.style.display="none";b.style.position="absolute";b.style.clip="rect(0px 0px 0px 0px)";document.body.scrollTop=0;document.body.style.marginTop="0px";return true
}try{if(window.frameElement&&$(window.frameElement).parent("td").length){return window.parent.hideBodyLayer()}}catch(a){return false}return false}function showDetailLayer(){if(debuggingON){debug("showDetailLayer()")
}var b=getElement("detailRow"+detailIndex);if(b){b.style.display="";return true}try{if(window.frameElement&&$(window.frameElement).parent("td").length){return window.parent.showDetailLayer()
}}catch(a){return false}return false}function hideDetailLayer(){if(debuggingON){debug("hideDetailLayer()")}var a=getElement("detailRow"+detailIndex);if(a!=null){a.style.display="none"
}else{return false}return true}var counter=0;function setDetailLayerSrc(e,c){if(debuggingON){debug("setDetailLayerSrc('"+e+"','"+c+"'), detailIndex == "+detailIndex)
}if(e&&e!=""){if(e.indexOf("?")==-1){e+="?"}else{e+="&"}e+="uniqueUrlCounter="+(counter++);if(debuggingON){debug("...new SRC == "+e)}}else{e=window.pslBlankURI}var a="detailWindowBuffer"+detailIndex;
if(debuggingON){debug("...bufferid == "+a)}if(isSafari){setTimeout('loadMacIFrame("'+a+'","'+e+'");',safariLatency)}else{var d=getIFrame(a);if(d){d.location.href=e
}else{try{if(window.frameElement&&$(window.frameElement).parent("td").length){return window.parent.setDetailLayerSrc(e,c)}}catch(b){return false}return false}}return true
}function simulateClick(b){var a;var c=document.getElementById(b);if(document.createEvent){a=document.createEvent("MouseEvents");if(a.initMouseEvent){a.initMouseEvent("click",true,true,window,0,0,0,0,0,false,false,false,false,0,null)
}else{a=false}}(a)?c.dispatchEvent(a):(c.click&&c.click())}function focusHeading(b,a){heading=document.getElementById(b);if(isMozilla){this.location=heading.href
}else{simulateClick(b)}heading.focus();if(a){window.scrollTo(0,0);topWindowHelper.getWindow().scrollTo(0,0)}}function showDetailWindowNoIFrame(b,a){if(tileUIEnabled){if(a){historyManager.updateAndSubmit(b)
}else{window.location.href=b}return false}else{return showDetailWindow(b)}}function showDetailWindow(b){if(debuggingON){debug("showDetailWindow('"+b+"')")}if(hideBodyLayer()){if(showDetailLayer()){if(b){var a=(!detailIndex||detailIndex=="")?"0":(detailIndex+"1");
if(!setDetailLayerSrc(b,a)){alert("buffer window not found")}}}else{alert("detail layer not found")}}else{alert("body layer not found")}if(window.detailWindowOpened){detailWindowOpened()
}return false}function clearDetailWindow(){if(debuggingON){debug("clearDetailWindow()")}if(!isIE){return true}var a="detailWindowBuffer"+detailIndex;var b=getElement(a);
if(b!=null){b.style.height="0px";var c=getIFrame(a);if(c){c.location.href=window.pslBlankURI}else{return false}}else{return false}return true}function closeDetailWindow(){if(debuggingON){debug("closeDetailWindow()")
}if(clearDetailWindow()){if(showBodyLayer()){if(hideDetailLayer()){setParentDetailWindowToDetailContentHeight()}else{alert("detailRow not found")}}else{alert("Could not find body layer to show")
}}else{alert("Could not clear detail window - window not found")}notifyHeightChangesOfRegistered();if(window.detailWindowClosed){detailWindowClosed()}return false
}function notifyParentOfDetailHeightChange(a){if(debuggingON){debug("notifyParentOfDetailHeightChange() called")}setParentDetailWindowToDetailContentHeight(a)}function setParentDetailWindowToDetailContentHeight(c){if(debuggingON){debug("setParentDetailWindowToDetailContentHeight called: isDetailWindow == "+isDetailWindow)
}if(isDetailWindow){var g=0;var a="bodyDiv"+detailIndex;var d=getElement(a);var h=$(".contentWhiteRegion");var b=0;if(d||h.length){if(d&&!h.length&&d.offsetHeight>0&&d.style.position!="absolute"){b=0;
if(isSafari){b=100}g=d.offsetHeight+d.offsetTop+b;width=getIframeContentWidth(window,d);if(g<getWindowHeight()){g=getWindowHeight()}if(debuggingON){debug("...setParentDetailWindowToDetailContentHeight() calc'd width as "+width+" -height as "+g+" from sourceDiv "+d.id)
}if(window.parent&&window.parent.setDetailWindowSize){if(isSafari){setTimeout("window.parent.setDetailWindowSize("+width+","+g+");",safariLatency)}else{window.parent.setDetailWindowSize(width,g,c);
if(debuggingON){debug("...parent call to setDetailWindowSize() done")}}}}else{if(h.length){var f=$(h[0]).parent()[0];width=$(f).width();if(isSafari){b=100}g=Math.max(f.offsetHeight+f.offsetTop,d.offsetHeight+d.offsetTop+b);
if(typeof SF_NONINT_DELEGATED_OR_EXTREQFROMCDP!="undefined"&&SF_NONINT_DELEGATED_OR_EXTREQFROMCDP){width+=20;width=Math.max(width,getWindowWidth()-24)}else{width-=20;
width=Math.max(width,$(window.parent).width()-18)}if(g==0){return}else{if(g<getWindowHeight()){var j=$("#detailWindowBuffer");var e=j&&j.height()?j.height():0;g=Math.max(getWindowHeight(),e)
}}if(debuggingON){debug("...setParentDetailWindowToDetailContentHeight() calc'd width as "+width+" -height as "+g+" from sourceDiv "+d.id)}if(window.parent&&window.parent.setDetailWindowSize){if(isSafari){setTimeout("window.parent.setDetailWindowSize("+width+","+g+");",safariLatency)
}else{window.parent.setDetailWindowSize(width,g,c);if(debuggingON){debug("...parent call to setDetailWindowSize() done")}}}}}}else{alert("Your detail window lacks a body content div named "+a)
}}}function setDetailWindowSize(d,a,b){if(debuggingON){debug("setDetailWindowSize("+d+","+a+") called: isDetailWindow == "+isDetailWindow)}var g="detailWindowBuffer"+detailIndex;
var c=getElement(g);if(c){if(debuggingON){debug("...setting iframe height to "+a)}c.style.height=a+"px";if(debuggingON){debug("...setting iframe width to "+d)}if(b){if(b.width){c.style.width=b.width
}}else{c.style.width=d+"px"}}else{alert("iframeEl was null for "+g)}try{if(window.parent&&window.parent!=window&&window.parent.setDetailWindowSize){if(debuggingON){debug("...calling parent.setDetailWindowSize()...")
}window.parent.setDetailWindowSize(d,a)}}catch(f){}if(debuggingON){debug("...setDetailWindowSize("+d+","+a+") done")}}var howmanymenus=0;var menunames;var stopshow=0;
var noway=0;var timerID=null;var timerID2=null;var timerID3=null;var whatsopen="none";var menutop=0;var menuleft=0;var cellpad=2;var buttonheight=21;var toggleswitch=1;
var menusInitialized=false;if(Mac||isIE||NS6||isMozilla||isSafari){noway=0}else{noway=1}function initMenus(a){howmanymenus=a;menunames=new Array(howmanymenus)}function startup(){if(isSafari){setTimeout("startupImpl();",safariLatency)
}else{startupImpl()}}function startupImpl(){if(noway){return}menusInitialized=true;if(isIE&&!Mac){for(var i=0;i<=howmanymenus;i++){var menuTableStr=menunames[i]+"Table"
}}getpositions();eval("document.getElementById('menu"+selectedMenuIndex+"').style.visibility = 'visible';");whatsopen="menu"+selectedMenuIndex}function toggle(a,b){if(noway){return
}if(!menusInitialized){return}getpositions();if(b==1){if(timerID){clearTimeout(timerID)}if(whatsopen=="none"){if(timerID){clearTimeout(timerID)}timerID=setTimeout("replacePopup('"+a+"');",500);
jcsmenu=a.substr(4,1);if(isSafari){topWindowHelper.getWindow().window.window.scrollX=topWindowHelper.getWindow().window.scrollX+100}b=0}if(whatsopen==a){b=0}if(whatsopen!=a&&whatsopen!="none"){if(timerID){clearTimeout(timerID)
}timerID=setTimeout("replacePopup('"+a+"');",500);jcsmenu1=a.substr(4,1);if(isSafari){topWindowHelper.getWindow().window.scrollX=topWindowHelper.getWindow().window.scrollX+100
}b=0}if(timerID2){clearTimeout(timerID2)}timerID2=setTimeout("hidePopup('"+a+"');",3000);return}if(b==0&&(whatsopen!="none"&&b!=1)){hidePopup(a)}}function toggleSelectedLinkText(a,b){var c=selectedLink.substring(0,selectedLink.length-4);
if(a==c){document.getElementById(selectedLink).className=b}}function hidePopup(whatmenu){if(!menusInitialized){return}if(noway){return}eval("document.getElementById('"+whatmenu+"').style.visibility = 'hidden';");
eval("document.getElementById('menu"+selectedMenuIndex+"').style.visibility = 'visible';");whatsopen="menu"+selectedMenuIndex;return}function replacePopup(whatmenu){if(!menusInitialized){return
}if(noway){return}if(whatmenu==whatsopen){return}if(whatmenu!="none"){eval("document.getElementById('"+whatmenu+"').style.visibility = 'visible';")}eval("document.getElementById('"+whatsopen+"').style.visibility = 'hidden';");
whatsopen=whatmenu;return}function toggle2(whatmenu){if(noway){return}if(!menusInitialized){return}if(toggleswitch==0){eval("document.getElementById('"+whatmenu+"').style.visibility = 'visible';");
toggleswitch=1;whatsopen=whatmenu;return}if(toggleswitch==1){eval("document.getElementById('"+whatmenu+"').style.visibility = 'hidden';");toggleswitch=0;whatsopen="none";
jcsmenuoff22=whatmenu.substr(4,1);if(jcsmenuoff22!=selectedMenuIndex){document.getElementById("MenuGroup"+jcsmenuoff22).className="NavCell"}else{document.getElementById("MenuGroup"+jcsmenuoff22).className="NavCellOn"
}return}}function goSub(a,c,d){stopshow=-1;clearTimeout(timerID);clearTimeout(timerID2);if(d==""){var b="self"}else{var b=d}if(d==""){whereto="location.href='"+a+"'"
}if(d=="new"){whereto="window.open('"+a+"','"+d+"');"}if(d=="top"){whereto="window.topWindowHelper.getWindow().location.href='"+a+"'"}if(d!="top"&&d!="new"&&d!=""){whereto="parent."+d+".location.href='"+a+"'"
}setTimeout("eval(whereto)",550)}function getStylesheetRule(a){var c="ssRule null";var b="retVal null";if(isIE){c=document.styleSheets[0].rules}else{c=document.styleSheets[0].cssRules
}for(i=0;i<2;i++){if(c[i].selectorText.toLowerCase()==a.toLowerCase()){b=c[i];return b}}return b}function getpositions(){if(noway){return}if(dom){var logoOffset=document.getElementById("logoTable").offsetHeight;
var ssRule=getStylesheetRule("body");var bodyTopMargin=ssRule.style.marginTop;bodyTopMargin=parseInt(bodyTopMargin.substring(0,(bodyTopMargin.length-2)));menutop=document.getElementById("navbarBottom").offsetHeight+1;
menutop+=bodyTopMargin+logoOffset;for(var i=0;i<=howmanymenus;i++){menuleft=document.getElementById("MenuGroup"+(i+1)).offsetHeight+15;eval("document.getElementById('"+menunames[i]+"').style.left="+menuleft);
if(isSafari){eval("document.getElementById('"+menunames[i]+"').style.top="+(menutop+9))}else{eval("document.getElementById('"+menunames[i]+"').style.top="+menutop)
}if(NS6){menuleft+=cellpad}}}}function killMenu(b,a){if(noway){return}if(stopshow==-1){return}if(timerID){clearTimeout(timerID)}if(timerID2){clearTimeout(timerID2)
}timerID=setTimeout("hidePopup('"+b+"');",a)}function checkMenu(){if(noway){return}if(stopshow==-1){return}if(timerID){clearTimeout(timerID)}if(timerID2){clearTimeout(timerID2)
}}var flyoutObj;var flyoutShowing=false;var flyoutMax=0;var flyoutMin=-180;var flyoutLoc=-180;var timer=0;var increment=30;var menuSpeed=20;if(isMozilla){increment=80
}function initFlyout(c,e,d){flyoutObj=document.getElementById(c);flyoutObj.tabTextElementID=e;flyoutShowing=false;flyoutMax=0;flyoutMin=-1*document.getElementById("leftCell").offsetWidth;
flyoutLoc=-1*document.getElementById("leftCell").offsetWidth;document.getElementById("Flyout").style.left=flyoutLoc;document.getElementById("Flyout").style.top=d;
if(isIE){var a=document.getElementById("FlyoutIFrameLeftCell").style;a.left=0;a.top=0;a.zIndex=-1;a.height=1*document.getElementById("leftCell").offsetHeight;a.width=1*document.getElementById("leftCell").offsetWidth;
var f=7;var b=document.getElementById("FlyoutIFrameFlyoutTab").style;b.left=0+1*document.getElementById("leftCell").offsetWidth;b.top=f;b.zIndex=-1;b.height=1*document.getElementById("FlyoutTabCell").offsetHeight-f*2;
b.width=1*document.getElementById("rightCell").offsetWidth}timer=0;document.getElementById("Flyout").style.visibility="visible"}function flyout(b){var a=document.getElementById(b);
if(flyoutShowing==true){flyoutHide(b,flyoutObj.tabTextElementID);flyoutShowing=false}else{flyoutShow(b,flyoutObj.tabTextElementID);flyoutShowing=true}}function flyoutShow(b,a){myElem=document.getElementById(b);
document.getElementById(a).innerHTML=closeHtml;moveOut(b);if(isIE){document.getElementById(b+"IFrameFlyoutTab").style.visibility="visible";document.getElementById(b+"IFrameLeftCell").style.visibility="visible";
moveOut(b+"IFrameLeftCell");moveTabFrame(b+"IFrameFlyoutTab")}}function flyoutHide(b,a){myElem=document.getElementById(b);document.getElementById(a).innerHTML=openHtml;
moveIn(b);if(isIE){moveIn(b+"IFrameLeftCell");moveTabFrame(b+"IFrameFlyoutTab")}}function moveOut(c,b){var a=document.getElementById(c);if(flyoutLoc<flyoutMax-increment){flyoutLoc+=increment;
a.style.left=flyoutLoc;timer=setTimeout("moveOut('"+c+"')",menuSpeed)}else{a.style.left=flyoutMax}}function moveIn(d,c){var a=document.getElementById(d);var b=flyoutMin;
if(flyoutLoc>flyoutMin+increment){flyoutLoc-=increment;a.style.left=flyoutLoc;timer=setTimeout("moveIn('"+d+"')",menuSpeed)}else{a.style.left=flyoutMin}}function moveTabFrame(c,b){var a=document.getElementById(c);
a.style.left=document.getElementById("rightCell").offsetLeft}var ie=navigator.appName.indexOf("Microsoft")!=-1||navigator.userAgent.lastIndexOf("Trident")!=-1;var ns=navigator.appName.indexOf("Netscape")!=-1&&navigator.userAgent.indexOf("Netscape")!=-1;
var safari=isSafari;var moz=!ie&&!ns&&!safari2&&!safari3;var firefox=moz&&navigator.userAgent.indexOf("Firefox");var enabletip=false;var ContentInfo="";var curX=0;
var curY=0;var offsetX=-100;var offsetY=-100;var offsetfromcursorX=3;var offsetfromcursorY=7;var freeze=0;var tooltip,detailPage,divId,detailDivHeight;function tip(b,a,c){return false
}function calculateOffsetX(){if(ie){offsetX=topWindowHelper.getWindow().screenLeft}else{offsetX=topWindowHelper.getWindow().screenX}}function calculateOffsetY(){if(ie){offsetY=topWindowHelper.getWindow().screenTop
}else{var a=topWindowHelper.getWindow().outerHeight-topWindowHelper.getWindow().innerHeight;offsetY=topWindowHelper.getWindow().screenY+a}}function calculateToolTipXLocation(a){var b=-2;
if(ie){return a-offsetX+topWindowHelper.getWindow().document.body.scrollLeft+offsetfromcursorX}else{return a-offsetX+topWindowHelper.getWindow().scrollX+b+offsetfromcursorX
}}function calculateToolTipYLocation(a){var b=30;if(ie){return a-offsetY+topWindowHelper.getWindow().document.body.scrollTop+offsetfromcursorY}else{return a-offsetY+topWindowHelper.getWindow().scrollY+b+offsetfromcursorY
}}function calculateOffsets(){calculateOffsetX();calculateOffsetY()}function positiontip(g){calculateOffsets();if(enabletip&&freeze==0){if(!ie){curX=g.screenX;curY=g.screenY
}else{curX=event.screenX;curY=event.screenY}var f=ie&&!window.opera?topWindowHelper.getWindow().document.body.clientWidth:topWindowHelper.getWindow().innerWidth-20;
var a=ie&&!window.opera?topWindowHelper.getWindow().document.body.clientHeight:topWindowHelper.getWindow().innerHeight-20;var c=f-(curX-offsetX);var k=curX-offsetY;
var b=a-(curY-offsetY);var d=curY-offsetY;var h=a-curY+topWindowHelper.getWindow().scrollY+50;var j=curX+offsetfromcursorX;if(!safari){if(c<tooltip.offsetWidth){if(k>tooltip.offsetWidth){tooltip.style.left=calculateToolTipXLocation(curX)-(tooltip.offsetWidth+offsetfromcursorX*2)
}else{tooltip.style.left=calculateToolTipXLocation(curX)}}else{tooltip.style.left=calculateToolTipXLocation(curX)}if(b<tooltip.offsetHeight){if(d>tooltip.offsetHeight){tooltip.style.top=calculateToolTipYLocation(curY)-(tooltip.offsetHeight+offsetfromcursorY*2)
}else{tooltip.style.top=calculateToolTipYLocation(curY)}}else{tooltip.style.top=calculateToolTipYLocation(curY)}}else{if((j+tooltip.offsetWidth)>f+topWindowHelper.getWindow().scrollX){if(j>tooltip.offsetWidth){tooltip.style.left=j-(tooltip.offsetWidth+offsetfromcursorX*2)
}else{tooltip.style.left=j}}else{tooltip.style.left=j}if((h+tooltip.offsetHeight)>a+topWindowHelper.getWindow().scrollY){if(h>tooltip.offsetHeight){tooltip.style.top=h-(tooltip.offsetHeight+offsetfromcursorY*2)
}else{tooltip.style.top=h}}else{tooltip.style.top=h}}tooltip.style.visibility="visible";freeze=1}}function hidetip(){return false}function submitHTMLForm(formName){var submitCall=formName+".submit()";
if(isSafari){setTimeout(submitCall,safariLatency)}else{eval(submitCall)}}function showRowElement(a){if(isSafari){a.style.display="table-row"}else{a.style.display="inline"
}}function maintainHeaderOnScroll(d,b,a,m){var f=document.getElementById(d);var l=document.getElementById(b);var j=document.getElementById(a);var k=document.getElementById(m);
var h=k!=null;if(!h){k=document.createElement("DIV");k.id=m;k.style.position="absolute";k.style.visibility="hidden";k.style.border=0;l.appendChild(k);j=document.createElement("TABLE");
j.id=a;k.appendChild(j);j.className="globalTable";j.style.border=0;j.style.borderCollapse="collapse";var n=f.cloneNode(true);j.appendChild(n);k.style.position="absolute";
k.style.visibility="visible";var c=f.getElementsByTagName("TH");var g=k.getElementsByTagName("TH");if(!isIE){k.style.width=f.parentNode.offsetWidth}for(var e=0;e<c.length;
e++){g[e].style.width=c[e].offsetWidth-c.length}}if(l.scrollTop<=5){k.style.visibility="hidden"}else{k.style.visibility="visible"}k.style.top=0+l.scrollTop;k.style.left=1
}function deleteFloatDiv(c,b){var e=document.getElementById(c);if(e!=null){var a;if(isIE){a=e.children(b)}else{var f=e.childNodes;for(var d=0;d<f.length;d++){if(b==f[d].id){a=f[d]
}}}if(a!=null){e.removeChild(a)}}}function doNotSubmit(b){var a;if(b&&b.which){b=b;a=b.which}else{b=event;a=b.keyCode}if(a==13||a==3){return false}else{return true
}}function doDetailWindowOnResize(){var b=getElement("bodyDiv"+detailIndex);var a=getWindowWidth();if(b){b.style.width=a}notifyParentOfDetailHeightChange()}function doDetailWindowOnLoad(){topWindowHelper.getWindow().window.onresize=doDetailWindowOnResize;
topWindowHelper.getWindow().document.body.onresize=doDetailWindowOnResize;doDetailWindowOnResize()}function getWindowWidth(){var a=0;if(typeof(topWindowHelper.getWindow().window.innerWidth)=="number"){a=topWindowHelper.getWindow().window.innerWidth
}else{if(topWindowHelper.getWindow().document.documentElement&&topWindowHelper.getWindow().document.documentElement.clientWidth){a=topWindowHelper.getWindow().document.documentElement.clientWidth
}else{if(topWindowHelper.getWindow().document.body&&topWindowHelper.getWindow().document.body.clientWidth){a=topWindowHelper.getWindow().document.body.clientWidth
}}}return a}function getWindowHeight(){var a=0;if(typeof(topWindowHelper.getWindow().window.innerHeight)=="number"){a=topWindowHelper.getWindow().window.innerHeight
}else{if(topWindowHelper.getWindow().document.documentElement&&topWindowHelper.getWindow().document.documentElement.clientHeight){a=topWindowHelper.getWindow().document.documentElement.clientHeight
}else{if(topWindowHelper.getWindow().document.body&&topWindowHelper.getWindow().document.body.clientHeight){a=topWindowHelper.getWindow().document.body.clientHeight
}}}return a}var CONST_SUBORDINATE_VIEWER_FRAME_NAME="subordinateViewer";var CONST_INTEGRATED_MODE_FRAME_NAME="iframelearning";function TopWindowHelper(a){var b;var f=function(g){try{if(g.name){if(g.name.indexOf(CONST_SUBORDINATE_VIEWER_FRAME_NAME)!=-1){b=g
}if(g.name.indexOf(CONST_INTEGRATED_MODE_FRAME_NAME)!=-1){return g}}}catch(k){}var j=null;try{j=g.parent;if(typeof g.parent.name==="undefined"){return g}var h=g.parent.name
}catch(k){return g}if(j&&j!=g){return f(j)}return g};var e=function(g){if(g.name&&(g.name.indexOf(CONST_SUBORDINATE_VIEWER_FRAME_NAME)!=-1)){return g}var h=null;
try{h=g.parent;var k=g.parent.name}catch(j){return g}if(h&&h!=g){return e(h)}return g};var d=function(g){return g.name};var c=function(j){try{if(j==top){var g=top.name;
if((!top.name||""==top.name)){return"_top"}}}catch(h){}try{if(!j.name){return"_top"}}catch(h){console.error("ERROR retrieving Top Frame Name",h)}return"_top"};_topWindow=f(window);
_topWindow.name=c(_topWindow);this.getWindow=function(){return _topWindow};this.getWindowName=function(){return _topWindow.name};this.getMyEmployeesWindow=function(){return b?b:_topWindow
}}var topWindowHelper=new TopWindowHelper();var winStack=new Array();var sessionTimer=null;function startSessionTimer(c,a){try{if(window!=topWindowHelper.getWindow()&&topWindowHelper.getWindow().startSessionTimer){topWindowHelper.getWindow().startSessionTimer(c);
return}if(!a&&window==top&&window.opener!=null&&window.opener.top.startSessionTimer&&window.opener.top!=c){window.opener.top.startSessionTimer(c);return}}catch(b){}if(c!=window){addWindowToStack(c)
}stopSessionTimeout();sessionTimer=setTimeout("doSessionTimeout()",sessionTimeoutDuration)}function addWindowToStack(d){var a=new Array();for(var c=0;c<winStack.length;
c++){var b=winStack.pop();if(b!=d){a.push(b)}}winStack=a.reverse();winStack.push(d)}function stopSessionTimeout(){clearTimeout(sessionTimer);sessionTimer=null}function doSessionTimeout(){var c=null;
if(winStack.length>0){c=winStack[winStack.length-1];while((c==null||c.closed||!c.startSessionTimer)&&winStack.length>0){winStack.pop();if(winStack.length>0){c=winStack[winStack.length-1]
}else{c=null}}}if(c==null||c.closed||!c.startSessionTimer){c=window}if(isLMSLoadedInBizXiFrame===false){var a=function(){var f=window,g=window&&window.opener;if(g){f=g
}try{while(f&&f.name!="iframelearning"&&f.parent!=f){f=f.parent}}catch(h){console&&console.log(h)}return f};var b=a();if(typeof b!=="undefined"&&b!==null&&b.SFSessionTimeout){var d=b.SFSessionTimeout;
if(d.isSessionExpired&&d.isSessionExpired()){d.endSession&&d.endSession();endTMSSession()}return}}c.focus();alert(extendSessionAlertMsg);$.ajax({url:contextPath+"/session_ping.jsp",success:function(f,e){if($.trim(f)=="OK"){startSessionTimer();
pingSuccessfactors()}else{c.alert(sessionExpiredAlertMsg);endTMSSession()}},error:function(){endTMSSession()}})}function pingSuccessfactors(){if(sfServerPingURL){var c="sfServerPingID",a=document.getElementById(c),b;
if(a!=null){a.parentNode.removeChild(a);delete a}b=document.createElement("img");b.id=c;b.src=sfServerPingURL+"&type=img&t="+new Date().getTime();b.style.display="none";
document.body.appendChild(b)}}function endTMSSession(){clearTimeout(sessionTimer);sessionTimer=null;window.top.location.href=userTimeoutURL}function showUserFlexAppIfNeeded(a){if(a){$(".pslLearnerPopupContext").removeClass("pslLearnerPopupContext_WAI_HAS_POPUPS").addClass("pslLearnerPopupContext_WAI_NO_POPUPS")
}}function hideUserFlexAppIfNeeded(a){if(a){$(".pslLearnerPopupContext").removeClass("pslLearnerPopupContext_WAI_NO_POPUPS").addClass("pslLearnerPopupContext_WAI_HAS_POPUPS")
}};