document.write(""); document.write(""); ///////////////////////////////////////////////// // Coalesys PanelBar for ASP IE5/6 DHTML script // Build 58 COPYRIGHT 2000-2002 Coalesys, Inc. ///////////////////////////////////////////////// var cspbVS="CSPBPanelBarLoading"; var cspbGD=new Object(); var cspbID=new Object(); var cspbBoH=32; var cspbBuH=0; var cspbSH=0; var cspbBM=0; var cspbBS=0; var cspbAF=false; var cspbCT=0; var cspbCB=0; var cspbSS=false; var cspbMA=0; var cspbUEI="pics/scrollup_enable.gif"; var cspbUDI="pics/scrollup_disable.gif"; var cspbUAI="pics/scrollup_active.gif"; var cspbDEI="pics/scrolldown_enable.gif"; var cspbDDI="pics/scrolldown_disable.gif"; var cspbDownActiveImg="pics/scrolldown_active.gif"; var cspbSelI=0; function cspbShowSection(id) { if(cspbVS=="CSPBPanelBarLoading") { document.all.CSPBButtons.style.display="inline"; } if(("CSPBGroup" + id)!=cspbVS) { cspbSelI=id;document.all[cspbVS].style.display="none"; cspbGD=document.all["CSPBGroup" + id]; cspbGD.style.display="none"; cspbVS="CSPBGroup"+id; cspbRS(cspbVS); cspbGD.style.display="inline"; cspbPI(id); if(cspbID.clientHeight>cspbSH) { ScrollStop=false; cspbCT=0; cspbCB=0; cspbMA=0; cspbCI(id); cspbSP(); cspbSI(); } else { document.all.CSPBScrollUp.style.display="none"; document.all.CSPBScrollDown.style.display="none"; } document.all.CSPanelBar.style.display="none"; document.all.CSPanelBar.style.display="block"; } } function cspbRS(id) { cspbSSH(id); if(cspbSH>0) { cspbGD.style.height = cspbSH; } } function cspbSSH(id) { if(cspbAF==true) { cspbBM=document.all.CSPanelBar.offsetTop*2; cspbBoH=document.body.clientHeight; if(navigator.platform=="MacPPC") { cspbBuH=document.all.CSPBButtons.clientHeight+(cspbBS*2); } else { cspbBuH=document.all.CSPBButtons.offsetHeight+(cspbBS*2); } cspbSH=(cspbBoH-cspbBM)-(cspbBuH); } else { cspbBuH=document.all.CSPBButtons.offsetHeight+(cspbBS*2); cspbSH=cspbBoH-cspbBuH; } if(cspbSH<32){cspbSH=450;} } function cspbPI(id) { cspbID=document.all["CSPBIcons" + id]; cspbID.style.clip="rect(0 "+cspbGD.clientWidth+" "+cspbSH+" 0)"; cspbID.y=0; if(cspbBS>0 && navigator.platform!="MacPPC") { cspbID.y=1; } cspbID.x=cspbBS; var cspbPO=cspbGD; var cspbPId=""; while(cspbPId!="CSPBButtons") { cspbID.y+=cspbPO.offsetTop; cspbPO=cspbPO.parentElement; if(cspbPO.tagName=="TR") { cspbPO=cspbPO.parentElement; } cspbPId=cspbPO.id; } if(navigator.platform=="MacPPC") { cspbID.style.top="auto"; cspbID.style.left="auto"; } else { cspbID.style.top=cspbID.y;cspbID.style.left=cspbID.x; } } function cspbCI(id) { cspbID.style.clip="rect(0 "+cspbGD.clientWidth+" "+cspbSH+" 0)"; } function cspbSP() { document.all.CSPBScrollUp.style.top=cspbID.y; document.all.CSPBScrollUp.style.left=(cspbID.clientWidth-16)+cspbBS; document.all.CSPBScrollDown.style.top=(cspbID.y+cspbSH)-16; document.all.CSPBScrollDown.style.left=(cspbID.clientWidth-16)+cspbBS; document.all.CSPBScrollUp.style.display="block"; document.all.CSPBScrollDown.style.display="block"; } function cspbSI(dir) { var UE; var DE; if(cspbCB>=cspbID.clientHeight) { document.all.CSPBScrollDownImg.src=cspbDDI; DE=false; } else { document.all.CSPBScrollDownImg.src=cspbDEI; DE=true; } if(cspbMA != 0) { document.all.CSPBScrollUpImg.src=cspbUEI; UE=true; } else { document.all.CSPBScrollUpImg.src=cspbUDI; UE=false; } if(dir=="inactive") { if(DE==true) { document.all.CSPBScrollDownImg.src=cspbDEI; } } else if(dir=="down") { document.all.CSPBScrollDownImg.src=cspbDownActiveImg; } else if(dir=="up") { document.all.CSPBScrollUpImg.src=cspbUAI; } } function cspbSD(speed) { if(cspbSS==false) { cspbCB=cspbSH+cspbMA; if(cspbCB0) { cspbMA-=7; cspbID.style.top=cspbID.offsetTop+7; cspbCT=cspbMA; cspbCB=cspbSH+cspbMA; cspbID.style.clip="rect("+cspbCT+" "+cspbID.clientWidth+" "+cspbCB+" 0)"; cspbSI("up"); setTimeout("cspbSU("+speed+");",speed); } else { cspbSS=true;cspbSI(); } } } function cspbRefresh() { cspbVS="CSPBPanelBarLoading"; cspbShowSection(cspbSelI); } function cspbSetHeight(px){cspbBoH=px;} document.write("\r\n
Loading PanelBar...
\"\"
\"\"
\r\n\r\n"); //document.write("\r\n\r\n\r\n\r\n
Loading PanelBar...
\"\"
\"\"
\r\n\r\n"); document.write(""); window.onload=csWindowLoad; window.onresize=csWindowResize; function csWindowLoad() { csSetHeight(); csWindowWidthCookie(); cspbShowSection(0); } function csWindowResize() { csSetHeight(); csWindowWidthCookie(); cspbRefresh(); } // Client-side PanelBar height setting function csSetHeight() { if(window.innerHeight) cspbSetHeight(window.innerHeight-250); else if(document.body.clientHeight) cspbSetHeight(document.body.clientHeight-250); } // Detect window size and set cookie function csWindowWidthCookie() { var csWindowWidth = 750; if(window.innerWidth) csWindowWidth = window.innerWidth; else if(document.body.offsetWidth) csWindowWidth = document.body.offsetWidth; if(document.cookie) document.cookie = "WindowWidth=" + csWindowWidth + ";path=/"; }