function browserType(){if(document.layers){return"NS4"}if(document.all){return"IE4"}return"IE4"}var oldObj=new Array(5);oldStyleName="";function hilite(name,styleName){try{obj0=document.getElementById(name);obj1=document.getElementById(name+1);obj2=document.getElementById(name+2);obj3=document.getElementById(name+3);obj4=document.getElementById(name+4);if(oldStyleName){if(oldObj[0]){oldObj[0].className=oldStyleName+"BG"}if(oldObj[1]){oldObj[1].className=oldStyleName+"Border"}if(oldObj[2]){oldObj[2].className=oldStyleName+"Reflex"}if(oldObj[3]){oldObj[3].className=oldStyleName+"Shadow"}if(oldObj[4]){oldObj[4].className=oldStyleName}}oldStyleName=styleName;if(obj0){obj0.className="FeatureBG_h"}if(obj1){obj1.className=styleName+"Border_h"}if(obj2){obj2.className="FeatureReflex_h"}if(obj3){obj3.className="FeatureShadow_h"}if(obj4){obj4.className="Feature_h"}for(i=0;i<5;i++){oldObj[i]=eval("obj"+i)}}catch(e){}}function hiliteNS4(b,a,c){obj=document.ids[b];if(oldObj[c]){oldObj[c].bgColor=""}if(obj){obj.bgColor=a;oldObj[c]=obj}else{alert("ID "+b+" not found in "+document.location)}}var lastActive=isLoggedIn();function isLoggedIn(){if(document.cookie.indexOf("==")==-1){return 0}else{s=document.cookie.split("Basic_Hosting=");s2=s[1].split("==");if(s2[0]!=""){return 1}else{return 0}}}function checkLoggedIn(){active=isLoggedIn();inactive=1-active;if(window.name!="header"){return false}if(lastActive!=active){document.location.reload(true);if(parent.menu){parent.menu.location.reload(true)}return true}return false}function requireFrame(b){current=document.location.href.split("#")[0];ary=current.split("/");newURL=location.protocol+"//"+location.hostname+"/";if(b=="body"){newURL+="#"+location.pathname+location.search}if(document.title&&b=="body"){if(browserType()=="NS4"){top.document.title=document.title}else{try{top.document.title=document.title;if(top.location.href!=newURL&&navigator.appVersion.lastIndexOf("Mac")==-1){}}catch(a){}}}if(top.frames[b]!=this.window){top.location.replace(newURL);return false}return true}function getMenuFrame(){var b;try{b=parent&&(parent.header||parent.parent.header);b.checkLoggedIn}catch(a){return false}return b}function isInIFrame(){try{if(window.location==window.parent.location){return false}else{return true}}catch(a){return true}}function requireNavigation(){header=getMenuFrame();noRedirect=0;if(header){noRedirect=1}if(isInIFrame()){noRedirect=1}try{var j=parent.location.href}catch(h){return}if(window.opener){return}if(noRedirect==1){return}var d=document.getElementById("TopPageLogin");var o=document.getElementById("SearchBox");var m=document.getElementById("SearchImg");var l=document.getElementById("SearchFieldSelector");d.style.display="block";var c=document.getElementById("DisplayOptionsSpan");var g=document.getElementById("FilterOptions");var a=Number(d.offsetHeight);if(o){var k=a+Number(removePX(o.style.top));o.style.top=k;m.style.top=k}if(c){c.style.top=a+Number(removePX(c.style.top))}if(l){l.style.top=a+Number(removePX(l.style.top))}for(menu in menuRegistry.menus){var n=document.getElementById(menu+"_pulldown");var q=document.getElementById(menu+"_pulldownBoundary");var b=document.getElementById(menu+"_pulldownBoundaryBuffer");var p=document.getElementById(menu+"_pulldownFrame");var f=document.getElementById(menu+"_pulldownShadow");n.style.top=a+Number(removePX(n.style.top));q.style.top=a+Number(removePX(q.style.top));b.style.top=a+Number(removePX(b.style.top));p.style.top=a+Number(removePX(p.style.top));f.style.top=a+Number(removePX(f.style.top))}}function requireBody(a){header=getMenuFrame();if(!header){return}if(header.name==window.name){return}lastPage=location.href;try{if(header&&header.location&&header.location.hostname==location.hostname){lastPage=location.pathname+location.search}}catch(b){}header.checkLoggedIn()}function showMainMenu(a){expires=new Date();expires.setFullYear(expires.getFullYear()+1);if(!a){a=document.location.href}document.cookie="lastVisitedPageBody="+uName+"*|*"+a+"; expires="+expires.toGMTString()+"; path=/";if(document.cookie.indexOf("OpenMenus=")!=-1){var b=(document.cookie.split("OpenMenus=")[1]).split(";")[0];var c=b.substr(0,b.lastIndexOf("|"))+"|"}else{var c="|||||"}document.cookie="OpenMenus="+c+"open;expires="+expires.toGMTString()+";path=/nav/";document.location.href="/"}function requireBodyNoCookie(){requireBody(1)}function requireTop(){if(window.self!=window.top){top.location.replace(document.location);return false}return true}function getLocation(){url=document.location.href.split("#")[1];return url}function updateSelected(a,b){for(i=0;a.length>i;i++){if(a.options[i].value==b){a.selectedIndex=i;break}}if(i==a.length){a.selectedIndex=0}}function checkAll(a,f){var c=document.forms[a];for(var b=0;b<c.elements.length;b++){var d=c.elements[b];if(f){if((d.name!="selectAll")&&(d.name==f)&&(d.type=="checkbox")){d.checked=c.selectAll.checked}}else{if((d.name!="selectAll")&&(d.type=="checkbox")){d.checked=c.selectAll.checked}}}}function checkField(formName,fieldName,formAction,numberPermited,popWidth,popHeight,message,type){var count=0;var count2=0;var len=eval("document."+formName+"."+fieldName+".length");var doc=eval("document."+formName+"."+fieldName);if(document.layers){if(eval(' (doc) && (doc != "'+formName+'")')){count2++;if(eval('(doc[0]) && (doc[0] !=" '+formName+'.substr(0,1)")')){for(i=0;i<len;i++){if(!type){if(doc[i].checked){count++}}else{if(doc[i].value){count++}}}}else{if(!type){if(doc.checked){count++}}else{if(doc.value){count++}}}}}else{if((doc=="[object HTMLCollection]")||(doc=="[object HTMLInputElement]")||(doc=="[object]")||(doc=="[object INPUT]")||(doc=="[object NodeList]")||(doc=="[object Collection]")){count2++;if(doc[0]){for(i=0;i<len;i++){if(!type){if(doc[i].checked){count++}}else{if(doc[i].value){count++}}}}else{if(!type){if(doc.checked){count++}}else{if(doc.value){count++}}}}}if(numberPermited=="single"){if(count==1){eval("document."+formName+'.action = "'+formAction+'"');if(message){conf=confirm(message)}else{conf=1}if(conf){if((popWidth)&&(popHeight)){popLeft=(screen.width-popWidth)/2;popTop=(screen.height-popHeight)/2;if(popLeft<0){popLeft=0}if(popTop<0){popTop=0}eval('newWin = window.open("","newWin","toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width='+popWidth+",height="+popHeight+",top="+popTop+",left="+popLeft+'")');newWin.focus();eval("document."+formName+'.target="newWin"')}else{eval("document."+formName+'.target="_self"')}eval("document."+formName+".submit()")}}else{if(count2>0){alert("Please Select One Item")}}}else{if(numberPermited=="multiple"){if(count>0){eval("document."+formName+'.action = "'+formAction+'"');if(message){conf=confirm(message)}else{conf=1}if(conf){if((popWidth)&&(popHeight)){popLeft=(screen.width-popWidth)/2;popTop=(screen.height-popHeight)/2;if(popLeft<0){popLeft=0}if(popTop<0){popTop=0}eval('newWin = window.open("","newWin","toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width='+popWidth+",height="+popHeight+",top="+popTop+",left="+popLeft+'")');newWin.focus();eval("document."+formName+'.target="newWin"')}else{eval("document."+formName+'.target="_self"')}eval("document."+formName+".submit()")}}else{if(count2>0){alert("You Must Select at Least one Item")}}}}}function openWindow(size,URL,winName){if(size){size=size.toLowerCase();if(size=="small"){width=350;height=300}else{if(size=="medium"){width=550;height=500}else{if(size=="large"){width=700;height=600}else{if(size=="x-large"){width=780;height=500}else{if(size=="xx-large"){width=800;height=600}}}}}}else{width=screen.width-2;height=screen.height-2}if(!winName){winName="win"+Math.round(100000*Math.random())}if(!URL){URL=""}newWin=eval("window.open(URL,winName,'width="+width+",height="+height+",resizable,scrollbars,left="+((screen.width-width)/2)+",top="+((screen.height-height)/2)+"')");newWin.focus();return newWin}function autoSize(c,b,a){if(!document.getElementById("windowAdjuster")){document.write('<center><a id="windowAdjuster" ><font size="1">&nbsp;</font></a></center>')}winAdjuster=document.getElementById("windowAdjuster");otherFrameHeight=0;isFrame=parent.document.getElementsByTagName("frameset")[0];if(isFrame){row=isFrame.rows;if(row){rowAr=row.split(",");for(i=0;i<rowAr.length;i++){if(rowAr[i]!="*"){otherFrameHeight+=Number(rowAr[i])}}}}if(document.all){Wt=2*getLeft(winAdjuster)+32;Ht=getTop(winAdjuster)+50+otherFrameHeight}else{Wt=2*getLeft(winAdjuster)+12;Ht=getTop(winAdjuster)+48+otherFrameHeight}if(c){if(!isNaN(c)){Wt=c}else{c=c.toLowerCase();if(c=="small"){Wt=350}else{if(c=="medium"){Wt=550}else{if(c=="large"){Wt=700}}}}}if(a&&!isNaN(a)){Ht+=a}if(Wt>(screen.width-40)){Wt=screen.width-40}if(Ht>(screen.height-60)){Ht=screen.height-60}parent.window.resizeTo(Wt,Ht);if(!b){parent.window.moveTo(((screen.width-Wt)/2),((screen.height-Ht)/2))}}function getTop(a){if(a.offsetParent){return(a.offsetTop+getTop(a.offsetParent))}else{return(a.offsetTop)}}function getLeft(a){if(a.offsetParent){return(a.offsetLeft+getLeft(a.offsetParent))}else{return(a.offsetLeft)}}function adminAccessFunc(){url="/access/admin/browse.pyt";url=url+"?feature=navigation&amp;showPath=1&amp;path="+path;openWindow("large/small",url)}function openAdminTree(a){if(!a){return}if(parent.adminTree&&parent.adminTree.openTreeFolder){setTimeout("parent.adminTree.openTreeFolder(path, true)",100)}}var capsLockAlerted;function checkCapsLock(b){if(!capsLockAlerted){var c=b.which?b.which:(b.keyCode?b.keyCode:(b.charCode?b.charCode:0));var a=(((window.Event)?b.modifiers&Event.SHIFT_MASK:0)||b.shiftKey);if(c>64&&c<91&&!a){alert("Your password is case sensitive and the Caps Lock key on your computer's keyboard has been turned on.\nPlease be sure to enter your password exactly as you created it. You may need to turn off Caps Lock for this.")}capsLockAlerted=true}};