var p7VSCi=false,p7VSCctl=[],p7vscobj,p7vscofY,p7vscuA=navigator.userAgent.toLowerCase();function P7_setVSC(){var A;if(!document.getElementById){return }A='\n<style type="text/css">\n';A+=".p7VSC_scrollbox {overflow:hidden;}\n";A+=".p7VSC_scrolling {position:absolute;}\n";A+=".p7VSCdragchannel, .p7VSCtoolbar{display: block !important;}\n";A+="</style>";document.write(A)}function P7_VSCaddLoad(){if(!document.getElementById){return }if(window.addEventListener){window.addEventListener("load",P7_initVSC,false)}else{if(window.attachEvent){window.attachEvent("onload",P7_initVSC)}else{if(typeof window.onload=="function"){var A=onload;window.onload=function(){A();P7_initVSC()}}else{window.onload=P7_initVSC}}}p7VSCi=true}P7_setVSC();function P7_opVSC(){var C="",B,A,D;if(!document.getElementById){return }p7VSCctl[p7VSCctl.length]=arguments;B=arguments[6];A=arguments[0];D=A.replace("b","cn");C='\n<style type="text/css">\n';C+="#"+A+"{height:"+B+"px;}\n";C+="#"+D+"{height:"+B+"px;}\n";C+="</style>";document.write(C);if(!p7VSCi){P7_VSCaddLoad()}}function P7_initVSC(){var F,E,J,I,A,L,K,D,B,C,G,H;for(F=0;F<p7VSCctl.length;F++){J=document.getElementById(p7VSCctl[F][0]);if(J){J.p7opt=p7VSCctl[F];J.p7acdv="";J.p7dragbar=false;J.p7resume="no";J.p7status="none";J.p7box=J.id;I=J.id.replace("b","d")+"_c"+J.p7opt[8];A=document.getElementById(I);if(A){L=J.p7opt[9];A.style.top=L+"px";J.p7acdv=I;if(L<J.offsetHeight*-1){J.p7dir="down"}else{J.p7dir="up"}K=J.p7opt[6];I=J.id.replace("b","dc");D=document.getElementById(I);if(D){B=D.parentNode.childNodes;for(E=0;E<B.length;E++){if(B[E].nodeName=="DIV"&&B[E]!=D){G=B[E].offsetHeight;if(!G||G===0){if(p7vscuA.indexOf("applewebkit")>-1){H=P7_fixSafDB(J)}G=parseInt(P7_getPropValue(B[E].getElementsByTagName("A")[0],"height","height"),10)}G=(G>0)?G:0;K-=G}}D.style.height=K+"px";if(H){H.style.display="none"}}if(J.p7opt[7]==1){J.onmouseover=function(){if(this.p7status=="moving"){this.p7resume="yes"}P7_VSCpause(this,1)};J.onmouseout=function(){if(this.p7resume=="yes"){P7_VSCplay(this,1)}}}C=getBoxChild(J.id,"a",true);if(C){C.p7status="show";C.onclick=function(){return P7_VSCshowall(this)}}C=getBoxChild(J.id,"db",true);C=getBoxChild(J.id,"dc",true);if(C){dDa=C.getElementsByTagName("A")[0];J.p7dragbar=I;J.p7dragbar=I;if(J.p7opt[14]===1){dDa.removeAttribute("href")}else{dDa.onmousedown=P7_VSCeng;dDa.onkeydown=P7_VSCkey;dDa.onkeyup=P7_VSCkeyup;C.onmousedown=P7_VSCeng}P7VSCsetDrag(J)}C=getBoxChild(J.id,"du",true);if(C){C.onmousedown=function(){P7_VSCmoveUp(this)};C.onmouseup=function(){P7_VSCpause(this)};C.onkeydown=P7_VSCkey;C.onkeyup=P7_VSCkeyup}C=getBoxChild(J.id,"dd",true);if(C){C.onmousedown=function(){P7_VSCmoveDown(this)};C.onmouseup=function(){P7_VSCpause(this)};C.onkeydown=P7_VSCkey;C.onkeyup=P7_VSCkeyup}C=getBoxChild(J.id,"bu",true);if(C){C.onmousedown=function(){P7_VSCmoveUp(this)};C.onkeydown=P7_VSCkey;if(J.p7opt[3]<3){C.onmouseup=function(){P7_VSCpause(this)};C.onkeyup=P7_VSCkeyup}}C=getBoxChild(J.id,"bd",true);if(C){C.onmousedown=function(){P7_VSCmoveDown(this)};C.onkeydown=P7_VSCkey;if(J.p7opt[3]<3){C.onmouseup=function(){P7_VSCpause(this)};C.onkeyup=P7_VSCkeyup}}C=getBoxChild(J.id,"bpp",true);if(C){C.onmousedown=function(){P7_VSCpp(this)};C.onkeydown=P7_VSCppkey}J.accum=0;J.autostarting=false;J.p7vscMode="manual";if(J.p7opt[10]==1){J.p7vscMode="auto";J.p7status="moving";J.p7VSCtimer=setTimeout("P7_VSCplay('"+J.id+"')",J.p7opt[11])}}}}P7_VSCaddEvts()}function getBoxChild(E,B,C){var D,A;D=E.replace("b",B);A=document.getElementById(D);if(A&&C){A.p7box=E}return A}function P7_VSCaddEvts(){if(window.addEventListener){document.addEventListener("mousemove",P7_VSCdrg,false);document.addEventListener("mouseup",P7_VSCrel,false);document.addEventListener("DOMMouseScroll",P7_VSCwheel,false);if(window.opera||p7vscuA.indexOf("applewebkit")>-1){document.addEventListener("mousewheel",P7_VSCwheel,false)}}else{if(window.attachEvent){document.attachEvent("onmousemove",P7_VSCdrg);document.attachEvent("onmouseup",P7_VSCrel);document.attachEvent("onmousewheel",P7_VSCwheel)}else{document.onmousemove=P7_VSCdrg;document.onmouseup=P7_VSCrel}}}function P7_VSCshowall(D){var C,B,F,G,E,A;C=D.p7box;B=document.getElementById(C);F=document.getElementById(B.p7acdv);G=getBoxChild(B.id,"cn");E=getBoxChild(B.id,"tb");A=B.p7status;if(D.p7status=="show"){P7_VSCpause(C);B.p7restore=A;D.p7status="restore";D.innerHTML="Restore Scroller";D.setAttribute("title","Restore Scroller");B.style.height="auto";F.style.position="static";if(G){G.style.visibility="hidden"}if(E){E.style.visibility="hidden"}}else{D.p7status="show";D.innerHTML="Show All";D.setAttribute("title","Show All Scroller Content");B.style.height=B.p7opt[6]+"px";F.style.position="absolute";if(G){G.style.visibility="visible"}if(E){E.style.visibility="visible"}if(B.p7restore=="moving"){P7_VSCplay(B)}}return false}function P7_VSCplay(G,C){var I,A,K,F,D,E,J;if(typeof (G)=="object"){G=G.p7box}I=document.getElementById(G);I.p7vscMode="auto";P7_VSCpause(G,C);A=document.getElementById(I.p7acdv);D=I.offsetHeight;E=A.offsetHeight;K=D-E;J=I.p7opt[2];if(K>=0){return }F=parseInt(A.style.top,10);if(F==K){if(I.p7opt[3]===0||I.p7opt[3]==3){F=0;P7_VSCmoveTo(I.p7box,F);J=(I.p7opt[3]==3)?I.p7opt[13]:1000}}K=(I.p7dir=="up")?K:0;if(I.p7opt[3]==2){K=K-D;if(F<K){F=D}else{if(F>D){F=D}}A.style.top=F+"px";I.p7dir="up"}if(I.p7opt[3]>2){var B=true;var H=I.p7opt[12];while(B){if(F>H){B=false;if(I.p7dir=="up"){I.accum=(H+I.p7opt[12])-F}else{I.accum=F-H}}if(H<=(I.offsetHeight-A.offsetHeight)){B=false}H-=I.p7opt[12]}}P7_VSCspp(G,"play");if(I.p7VSCtimer){clearTimeout(I.p7VSCtimer)}I.p7VSCtimer=setTimeout("P7_VSCscroll('"+I.id+"',"+F+","+K+","+false+")",J)}function P7_VSCpp(A){var C,B;if(typeof (A)=="object"){A=A.p7box}C=getBoxChild(A,"bpp");B=C.className;if(C.className=="pause"){C.className="play";P7_VSCpause(A)}else{C.className="pause";P7_VSCplay(A)}}function P7_VSCspp(B,A){var C=getBoxChild(B,"bpp");if(C&&C.className&&C.className==A){C.className=(A=="play")?"pause":"play"}}function P7_VSCpause(A,C){if(typeof (A)=="object"){A=A.p7box}var B=document.getElementById(A);if(B.p7VSCtimer){clearTimeout(B.p7VSCtimer);B.p7status="stopped"}if(C!=1){B.p7resume="no"}P7_VSCspp(A,"pause")}function P7_VSCctrl(C,A,B){if(C=="pause"){P7_VSCpause(A)}else{if(C=="play"){P7_VSCplay(A)}else{if(C=="scrollUp"){P7_VSCmoveUp(A)}else{if(C=="scrollDown"){P7_VSCmoveDown(A)}else{if(C=="panelUp"){P7_VSCmoveBy(A,"up")}else{if(C=="panelDown"){P7_VSCmoveBy(A,"down")}else{if(B&&C=="moveBy"){P7_VSCmoveBy(A,B)}else{if(B&&C=="goTo"){P7_VSCmoveTo(A,B)}else{if(C=="goToElement"){P7_VSCmovetoId(A)}}}}}}}}}}function P7_VSCmovetoId(F){var J,A,D,H,B,E,I=0,C=false,G;B=document.getElementById(F);while(B){I+=B.offsetTop;if(B.className&&B.className=="p7VSC_scrolling"){C=true;break}B=B.offsetParent}if(C){J=B.parentNode;A=document.getElementById(J.p7acdv);D=parseInt(A.style.top,10);E=D-I;P7_VSCmoveTo(J.id,E)}}function P7_VSCwheel(B){var F,A=false,E=true,G=0,D,C;B=(B)?B:event;F=(B.target)?B.target:B.srcElement;while(F){if(F.id&&F.id.indexOf("p7VSCb_")>-1){A=true;break}F=F.parentNode}if(A){C=document.getElementById(F.p7acdv);if(C.offsetHeight>F.offsetHeight){E=false;if(B.wheelDelta){G=B.wheelDelta/120;if(window.opera&&parseFloat(navigator.appVersion)<9.2){G=G*-1}}else{if(B.detail){G=-B.detail/3}}D=G*16;P7_VSCmoveBy(F.id,D);if(B.preventDefault){B.preventDefault()}}}return E}function P7_VSCmoveBy(B,F){var E,D,A,C;A=document.getElementById(B);if(A.p7status!="stopped"){P7_VSCpause(B)}E=document.getElementById(A.p7acdv);C=A.offsetHeight-E.offsetHeight;if(C>=0){return }if(F=="down"){F=A.offsetHeight*-1}if(F=="up"){F=A.offsetHeight}if(C<0){D=parseInt(E.style.top,10);D+=F;D=(D<=C)?C:D;D=(D>=0)?0:D;E.style.top=D+"px";if(A.p7dragbar){P7VSCsetDrag(A)}}}function P7_VSCmoveTo(B,F){var A,E,C,D;P7_VSCpause(B);A=document.getElementById(B);E=document.getElementById(A.p7acdv);C=A.offsetHeight-E.offsetHeight;if(C>=0){return }if(F=="start"){F=0}else{if(F=="end"){F=C}}if(C<0){D=parseInt(E.style.top,10);F=(F<=C)?C:F;F=(F>=0)?0:F;
E.style.top=F+"px";if(A.p7dragbar){P7VSCsetDrag(A)}}}function P7_VSCmoveUp(B){var E,D,A,F=1,C;if(typeof (B)=="object"){C=B;B=B.p7box}P7_VSCpause(B);A=document.getElementById(B);E=document.getElementById(A.p7acdv);if(E.offsetHeight<=A.offsetHeight){return }if(A.p7opt[3]>2){if(C&&C.id&&C.id.indexOf("p7VSCbu_")>-1){F=2}}P7_VSCscroll(A.id,parseInt(E.style.top,10),0,F)}function P7_VSCmoveDown(B){var E,D,A,F=1,C;P7_VSCpause(B);if(typeof (B)=="object"){C=B;B=B.p7box}A=document.getElementById(B);E=document.getElementById(A.p7acdv);D=A.offsetHeight-E.offsetHeight;if(D>=0){return }if(A.p7opt[3]>2){if(C&&C.id&&C.id.indexOf("p7VSCbd_")>-1){F=2}}P7_VSCscroll(A.id,parseInt(E.style.top,10),D,F)}function P7_VSCscroll(K,G,I,L){var H,M,E,D,J,C,A,B=true,F;if(!L){L=false}E=document.getElementById(K);D=document.getElementById(E.p7acdv);E.p7status="moving";F=E.p7opt[3];A=E.offsetHeight-D.offsetHeight;if(A>=0){return }if(!L){H=E.p7opt[1];M=E.p7opt[2]}else{H=E.p7opt[4];M=E.p7opt[5]}if(I!==0){if(F>2&&L!==1){E.accum+=H;if(E.accum>=E.p7opt[12]){H-=E.accum-E.p7opt[12];E.accum=0;B=false}}G-=H;if(G<=I){G=I;B=false}}else{if(L!=1&&F>2){E.accum+=H;if(E.accum>=E.p7opt[12]){H-=E.accum-E.p7opt[12];E.accum=0;B=false}}G+=H;if(G>=I){G=I;B=false}}D.style.top=G+"px";if(E.p7dragbar){P7VSCsetDrag(E)}if(!B&&L!==1){if(F>2){E.accum=0;M=E.p7opt[13];if(L!==2){if(G!==0&&G!=A){B=true}}if(F==4&&(G===0||G==A)){F=1}}if(F==1){I=(G===0)?A:0;E.p7dir=(I===0)?"down":"up";if(L!==2){B=true}}else{if(F==2){G=E.offsetHeight;E.p7dir="up";B=true}}}if(B){E.p7VSCtimer=setTimeout("P7_VSCscroll('"+K+"',"+G+","+I+","+L+")",M)}else{E.p7status="stopped";P7_VSCpause(E.p7box)}}function P7_VSCkey(B){var C,A=true;B=(B)?B:event;C=(B.target)?B.target:B.srcElement;if(C&&C.p7box){if(B.keyCode==38){P7_VSCmoveUp(C.p7box);A=false}else{if(B.keyCode==40){P7_VSCmoveDown(C.p7box);A=false}else{if(B.keyCode==33||B.keyCode==37||(B.keyCode==32&&B.shiftKey)){P7_VSCmoveBy(C.p7box,"up");A=false}else{if(B.keyCode==34||B.keyCode==39||B.keyCode==32){P7_VSCmoveBy(C.p7box,"down");A=false}else{if(B.keyCode==36){P7_VSCmoveTo(C.p7box,"start");A=false}else{if(B.keyCode==35){P7_VSCmoveTo(C.p7box,"end");A=false}}}}}}if(!A){if(B.preventDefault){B.preventDefault()}}}return A}function P7_VSCkeyup(A){A=(A)?A:event;tg=(A.target)?A.target:A.srcElement;if(tg&&tg.p7box){if(A.keyCode!=9&&A.keyCode!=16){P7_VSCpause(tg.p7box)}}}function P7_VSCppkey(A){var B;A=(A)?A:event;B=(A.target)?A.target:A.srcElement;if(B&&B.p7box){if(A.keyCode==13){P7_VSCpp(B.p7box)}}}function P7_VSCeng(K){var A,I,H,F,E=0,B,G,J,D=true,C;K=(K)?K:event;p7vscobj=null;A=(K.target)?K.target:K.srcElement;F=A.parentNode;if(K.clientY){if(A&&A.id&&A.id.indexOf("p7VSCdc_")>-1){F=document.getElementById(A.id.replace("dc","db"));P7_VSCpause(F.p7box);J=A.offsetHeight;B=A;while(B){E+=B.offsetTop;B=B.offsetParent}I=(K.clientY+document.documentElement.scrollTop+document.body.scrollTop)-E;C="down";if(I<=F.offsetTop){C="up"}P7_VSCmoveBy(F.p7box,C);D=false}else{if(F&&F.id&&F.id.indexOf("p7VSCdb_")>-1){p7vscobj=F;P7_VSCpause(F.p7box);I=(p7vscobj.offsetTop)?p7vscobj.offsetTop:0;p7vscofY=K.clientY-I;D=false;if(!document.addEventListener&&document.attachEvent){F.setCapture()}}}}return D}function P7_VSCdrg(B){B=(B)?B:event;var A=true;if(p7vscobj){if(B.clientY){P7_VSCshift(p7vscobj,(B.clientY-p7vscofY))}B.cancelBubble=true;A=false}return A}function P7_VSCrel(){if(p7vscobj){if(!document.addEventListener&&document.attachEvent){p7vscobj.releaseCapture()}p7vscobj=null}}function P7_VSCshift(G,K){var L,J,M,C,N,D,F,H,B,I,A,E;J=G.id.replace("db","dc");L=document.getElementById(J);M=G.id.replace("db","b");C=document.getElementById(M);A=L.offsetHeight-G.offsetHeight;K=(K<=0)?0:K;K=(K>=A)?A:K;N=C.p7acdv;D=document.getElementById(N);E=C.offsetHeight-D.offsetHeight;if(E>=0){K=0;E=0}B=K/A;I=parseInt(E*B,10);G.style.top=K+"px";D.style.top=I+"px"}function P7VSCsetDrag(C){var E,I,F,H,G,B,D,A;if(C.p7dragbar){E=document.getElementById(C.p7dragbar);I=E.id.replace("dc","db");F=document.getElementById(I);A=document.getElementById(C.p7acdv);H=parseInt(A.style.top,10);G=C.offsetHeight-A.offsetHeight;B=E.offsetHeight-F.offsetHeight;D=H/G;yy=parseInt(B*D,10);yy=(yy<=0)?0:yy;yy=(yy>=B)?B:yy;if(!isNaN(yy)){F.style.top=yy+"px"}}}function P7_getPropValue(ob,prop,prop2){var h,v=null;if(ob){if(ob.currentStyle){v=eval("ob.currentStyle."+prop)}else{if(document.defaultView.getComputedStyle(ob,"")){v=document.defaultView.getComputedStyle(ob,"").getPropertyValue(prop2)}else{v=eval("ob.style."+prop)}}}return v}function P7_fixSafDB(D){var B,C,A=false;B=D.id.replace("b","");pp=document.getElementById(B);pp=pp.parentNode;while(pp){C=P7_getPropValue(pp,"display","display");if(!C||C=="none"){if(!pp.id||pp.id.indexOf("p7VSC")==-1){A=pp;pp.style.display="block";break}}if(pp.nodeName=="BODY"){break}pp=pp.parentNode}return A};