var p7EPMa=false,p7EPMi=false,p7EPMctl=[],p7EPMmo,p7EPMmanim=false,p7EPMadv=[];function P7_EPMset(){var D,E,C,F,A,B;if(!document.getElementById){return }C=".p7epm_cwrapper {height:0px;overflow:hidden;}\n";if(document.styleSheets){E='\n<style type="text/css">\n'+C+"\n</style>";document.write(E)}else{E=document.createElement("style");E.type="text/css";E.appendChild(document.createTextNode(C));F=document.getElementsByTagName("head");F[0].appendChild(E)}}P7_EPMset();function P7_EPMaddLoad(){if(window.addEventListener){if(!/KHTML|WebKit/i.test(navigator.userAgent)){document.addEventListener("DOMContentLoaded",P7_initEPM,false)}window.addEventListener("load",P7_initEPM,false);window.addEventListener("unload",P7_EPMff,false)}else{if(document.addEventListener){document.addEventListener("load",P7_initEPM,false)}else{if(window.attachEvent){document.write('<script id=p7ie_epm defer src="//:"><\/script>');document.getElementById("p7ie_epm").onreadystatechange=function(){if(this.readyState=="complete"){if(p7EPMctl.length>0){P7_initEPM()}}};window.attachEvent("onload",P7_initEPM)}else{if(typeof window.onload=="function"){var A=onload;window.onload=function(){A();P7_initEPM()}}else{window.onload=P7_initEPM}}}}}P7_EPMaddLoad();function P7_EPMff(){return }function P7_opEPM(){var E="",C,G,H,A,F,I,D,B;if(!document.getElementById){return }p7EPMctl[p7EPMctl.length]=arguments}function P7_initEPM(){var E,D,I,J,H,K,C,A,G,F,B,L;if(!document.getElementById){return }if(p7EPMi){return }p7EPMi=true;for(E=0;E<p7EPMctl.length;E++){J=document.getElementById(p7EPMctl[E][0]);if(J){J.p7opt=p7EPMctl[E];if(J.p7opt[8]==1){J.onmouseout=P7_EPMout}L=parseInt(J.className.replace("p7EPM",""));if(navigator.appVersion.indexOf("MSIE 5")>-1){J.p7opt[2]=0}J.p7EPMtrig=new Array();J.p7EPMcont=new Array();H=document.getElementById(J.id.replace("EPM_","EPMt_"));if(H){K=H.getElementsByTagName("A");if(J.p7opt[8]==1){H.onmouseout=P7_EPMout}C="p7EPMtrg";I=0;for(D=0;D<K.length;D++){if(K[D].id&&K[D].id.indexOf(C)===0){K[D].onclick=function(){return P7_EPMtrig(this)};if(J.p7opt[4]==1){K[D].onmouseover=function(){if(p7EPMmo){clearTimeout(p7EPMmo)}p7EPMmanim=true;p7EPMmo=setTimeout("P7_EPMmtrg('"+this.id+"',1)",200)};K[D].onmouseout=function(){if(p7EPMmo){clearTimeout(p7EPMmo)}p7EPMmanim=false}}J.p7EPMtrig[I]=K[D];I++;K[D].p7state="closed";K[D].p7EPMpr=J.id;A=document.getElementById(K[D].id.replace("trg","w"));J.p7EPMcont[J.p7EPMcont.length]=(A)?A:null;if(A){K[D].p7EPMw=A.id;A.p7state="closed";A.p7EPMtrg=K[D].id;if(L&&L>49){A.style.position="absolute"}if(J.p7opt[2]==1||J.p7opt[2]==2){A.style.height="0px";A.p7EPMtarget=0;A.p7EPMrate=10;A.p7ch=0}else{A.style.display="none";A.style.height="auto"}}else{K[D].p7EPMw=false;P7_EPMsetClass(K[D],"p7EPM_ext")}}}F=J.id.replace("_","trg")+"_"+J.p7opt[1];B=document.getElementById(F);if(B){P7_EPMopen(B)}if(J.p7opt[10]==1){P7_EPMcurrentMark(J)}if(J.p7opt[5]>0){P7_EPMrotate(J.id,J.p7opt[5])}}}}for(E=0;E<p7EPMctl.length;E++){P7_EPMurl(p7EPMctl[E][0])}p7EPMa=true}function P7_EPMmtrg(A){P7_EPMtrig(document.getElementById(A),1)}function P7_EPMout(C){var F,A=true,B,G,E,D;G=this.id.replace("t","");C=(C)?C:event;F=(C.relatedTarget)?C.relatedTarget:C.toElement;E=G.replace("_","t_");D=G.replace("_","c");if(F){B=F;while(B){if(B&&B.id){if(B.id.indexOf(E)===0||B.id.indexOf(D)===0){A=false;break}}B=B.parentNode}}if(A){P7_EPMall(G,"close")}}function P7_EPMctl(D,C,B){var A=document.getElementById(D);if(A){if(C=="open"){if(A.p7state!="open"){P7_EPMtrig(A,0,B)}}else{if(C=="close"){if(A.p7state!="closed"){P7_EPMtrig(A,0,B)}}else{if(C=="trigger"){P7_EPMtrig(A,0,B)}}}}return false}function P7_EPMall(D,F){var C,B,E,A;if(D=="all"){for(C=0;C<p7EPMctl.length;C++){if(F=="open"){E=document.getElementById(p7EPMctl[C][0]);for(B=0;B<E.p7EPMtrig.length;B++){if(E.p7EPMtrig[B].p7state!="open"){P7_EPMopen(E.p7EPMtrig[B])}}}else{P7_EPMtoggle(p7EPMctl[C][0])}}}else{E=document.getElementById(D);if(E){if(F=="open"){for(B=0;B<E.p7EPMtrig.length;B++){if(E.p7EPMtrig[B].p7state!="open"){P7_EPMopen(E.p7EPMtrig[B])}}}else{P7_EPMtoggle(D)}}}}function P7_EPMtrig(D,C,H){var F,E,G,B,A=true;if(C!=1&&D.href!=document.location.href){if(D.hash.indexOf("#p7EPMc")==-1){if(D.href.replace(/index\.[\S]*/i,"")!=document.location.href){if(D.href.indexOf("/")>-1||D.href.indexOf(".")>-1){return true}}}}if(!p7EPMa&&!H){return false}if(C==1&&D.p7state=="open"){return false}if(D.p7EPMw){A=false}G=document.getElementById(D.p7EPMpr);if(!C&&p7EPMmanim){return A}if(G.p7rtmr){clearTimeout(G.p7rtmr)}if(G.p7opt[3]==1){P7_EPMtoggle(D.p7EPMpr,D)}else{if(G.p7opt[3]==2){for(E=0;E<p7EPMctl.length;E++){P7_EPMtoggle(p7EPMctl[E][0],D)}}}if(D.p7state=="open"){if(G.p7opt[7]==1&&G.p7opt[3]>0){return A}else{P7_EPMclose(D)}}else{P7_EPMopen(D)}return A}function P7_EPMtoggle(C,A){var B,D;D=document.getElementById(C);if(D){for(B=0;B<D.p7EPMtrig.length;B++){if(D.p7EPMtrig[B].p7state!="closed"){if(D.p7EPMtrig[B]!=A){P7_EPMclose(D.p7EPMtrig[B])}}}}}function P7_EPMopen(I){var E,B,H,G,A,C,D=false,J,F;I.p7state="open";P7_EPMsetClass(I,"p7epm_open");B=document.getElementById(I.p7EPMpr);H=document.getElementById(I.p7EPMw);F=B.p7opt[2];if(!p7EPMa){F=0}if(H){G=document.getElementById(H.id.replace("w","c"));if(F>0){if(navigator.userAgent.toLowerCase().indexOf("gecko")>-1){if(P7_EPMov(G)){G.style.overflow="hidden";G.p7ov=true}}H.style.height="0px";H.p7ch=0;P7_EPMsetGlide(I,F,B.p7opt[9]);if(!B.p7EPMrunning){B.p7EPMrunning=true;B.p7EPMglide=setInterval("P7_EPMglide('"+B.id+"')",H.p7EPMdy)}}else{p7EPMmanim=false;if(B.p7opt[2]==0){H.style.display="block"}else{H.style.height="auto";P7_EPMsetGlide(I,F,B.p7opt[9]);H.p7ch=H.p7EPMtarget}}}}function P7_EPMclose(I){var E,B,H,G,A,C,D=false,F;I.p7state="closed";P7_EPMremClass(I,"p7epm_open");B=document.getElementById(I.p7EPMpr);F=B.p7opt[2];if(!p7EPMa){F=0}H=document.getElementById(I.p7EPMw);if(H){G=document.getElementById(H.id.replace("w","c"));if(F>0){if(navigator.userAgent.toLowerCase().indexOf("gecko")>-1){if(P7_EPMov(G)){G.style.overflow="hidden";G.p7ov=true}}H.p7ch=H.offsetHeight;P7_EPMsetGlide(I,F,B.p7opt[9]);if(!B.p7EPMrunning){B.p7EPMrunning=true;B.p7EPMglide=setInterval("P7_EPMglide('"+B.id+"')",H.p7EPMdy)}}else{p7EPMmanim=false;if(B.p7opt[2]==0){H.style.display="none"}else{H.style.height="0px";H.p7ch=0;P7_EPMsetGlide(I,F,B.p7opt[9])}}}}function P7_EPMrotate(C,D,A){var B;tB=document.getElementById(C);if(D===0){if(tB.p7rtmr){clearTimeout(tB.p7rtmr)}if(tB.p7rtrun){tB.p7rtcntr--;tB.p7rtrun=false}return }else{if(tB.p7rtrun){return }}if(tB&&tB.p7EPMtrig){if(D>0){tB.p7rtmd=D;tB.p7rtcy=1;tB.p7rtcntr=1}if(!A){A=-1;for(B=0;B<tB.p7EPMtrig.length;B++){if(tB.p7EPMtrig[B].p7state=="open"){A=B;break}}}else{A--}A=(A<-1)?0:A;A=(A>tB.p7EPMtrig.length-1)?tB.p7EPMtrig.length-1:A;if(D>0){tB.p7rtsp=A}if(tB.p7rtmr){clearTimeout(tB.p7rtmr)}tB.p7rtmr=setTimeout("P7_EPMrunrt('"+C+"',"+A+")",10)}}function P7_EPMrunrt(C,D){var B,A;A=document.getElementById(C);A.p7rtrun=true;if(A.p7rtmr){clearTimeout(A.p7rtmr)}if(D>-1&&D<A.p7EPMtrig.length){B=A.p7EPMtrig[D];if(B.p7state!="open"){P7_EPMtrig(B,0,true)}A.p7rtcntr++}D++;if(A.p7rtcntr>A.p7EPMtrig.length){A.p7rtcy++;A.p7rtcntr=1}if(D>=A.p7EPMtrig.length){D=0}if(A.p7rtcy>A.p7rtmd){if(A.p7rtsp==-1){A.p7rtmr=setTimeout("P7_EPMall('"+C+"','all')",A.p7opt[6])}else{A.p7rtmr=setTimeout("P7_EPMctl('"+A.p7EPMtrig[D].id+"','open',true)",A.p7opt[6])}A.p7rtrun=false}else{A.p7rtmr=setTimeout("P7_EPMrunrt('"+C+"',"+D+")",A.p7opt[6])}}function P7_EPMglide(H){var F,L,M,N,J,O,A,B,C,E,G,K,I=0.15,D=false;M=document.getElementById(H);N=M.p7EPMtrig;J=M.p7EPMcont;for(F=0;F<N.length;F++){O=N[F].p7state;if(J[F]){A=J[F].p7ch;if(O=="open"&&J[F].p7EPMtarget==0){J[F].p7EPMtarget=J[F].offsetHeight}B=(O=="closed")?0:J[F].p7EPMtarget;E=J[F].p7EPMrate;if(M.p7opt[2]==2){G=Math.abs(parseInt(A-B));K=parseInt(G*I);E=(K<1)?1:K}if(O=="closed"&&A!==0){C=A-E;C=(C<=0)?0:C;D=true;J[F].style.height=C+"px";J[F].p7ch=C}else{if(O=="open"&&A!=B){C=A+E;C=(C>=B)?B:C;D=true;J[F].style.height=C+"px";J[F].p7ch=C}else{if(O=="open"){J[F].style.height="auto"}else{}}}}}if(!D){p7EPMmanim=false;
M.p7EPMrunning=false;clearInterval(M.p7EPMglide)}}function P7_EPMsetGlide(G,D,B){var F,A,C,H,E,I;B=(B>0)?B:250;I=(D==2)?15:20;F=document.getElementById(G.p7EPMw);F.p7EPMdy=I;A=document.getElementById(G.id.replace("trg","c"));C=A.offsetHeight;F.p7EPMtarget=C;H=B/I;E=parseInt(C/H);E=(E<=1)?1:E;F.p7EPMrate=E}function P7_EPMmark(){p7EPMadv[p7EPMadv.length]=arguments}function P7_EPMcurrentMark(D){var G,H,F,I,O=false,A=["",1,"",""],J,E,F,B,N,K,C,M,L;I=window.location.href;if(D.p7opt[12!=1]){I=I.replace(window.location.search,"")}if(I.charAt(I.length-1)=="#"){I=I.substring(0,I.length-1)}for(F=0;F<p7EPMadv.length;F++){if(p7EPMadv[F][0]&&p7EPMadv[F][0]==D.id){A=p7EPMadv[F];O=true;break}}J=A[1];if(J<1){return }E=/index\.[\S]*/i;F=-1,B=-1;N=D.getElementsByTagName("A");for(G=0;G<N.length;G++){K=N[G].href.replace(E,"");if(J>0){if(N[G].href==I||K==I){F=G;B=-1}}if(J==2){if(N[G].firstChild){if(N[G].firstChild.nodeValue==A[2]){B=G}}}if(J==3&&N[G].href.indexOf(A[2])>-1){B=G}if(J==4){for(x=2;x<A.length;x+=2){if(I.indexOf(A[x])>-1){if(N[G].firstChild&&N[G].firstChild.nodeValue){if(N[G].firstChild.nodeValue==A[x+1]){B=G}}}}}}F=(B>F)?B:F;if(F>-1){if(N[F].p7EPMpr){tr=N[F]}else{P7_EPMsetClass(N[F],"current_mark");C=N[F].parentNode;while(C){if(C.id&&C.id.indexOf("p7EPMw")==0){tr=document.getElementById(C.p7EPMtrg);break}C=C.parentNode}}if(tr){P7_EPMsetClass(tr,"current_mark");P7_EPMsetClass(tr.parentNode,"current_mark");if(D.p7opt[11]==1){if(tr.p7state!="open"){P7_EPMtrig(tr,0,true)}}}}}function P7_EPMurl(D){var C,F,E,A,G="epm",B,H=D.replace("p7EPM_","");if(document.getElementById){F=document.location.search;if(F){F=F.replace("?","");E=F.split(/[=&]/g);if(E&&E.length){for(C=0;C<E.length;C+=2){if(E[C]==G){A=E[C+1];if(H!=A.charAt(0)){A=false}if(A){B=document.getElementById("p7EPMtrg"+A);if(B&&B.p7state!="open"){P7_EPMtrig(B,0,true)}}}}}}F=document.location.hash;if(F){A=F.substring(1,F.length);if(H!=A.charAt(3)){A=false}if(A&&A.indexOf(G)===0){B=document.getElementById("p7EPMtrg"+A.substring(3));if(B&&B.p7state!="open"){P7_EPMtrig(B,0,true)}}}}}function P7_EPMov(B){var C,A;C=B.style.overflow;if(!C){if(B.currentStyle){C=B.currentStyle.overflow}else{if(document.defaultView.getComputedStyle(B,"")){C=document.defaultView.getComputedStyle(B,"").getPropertyValue("overflow")}}}A=(C&&C=="auto")?true:false;return A}function P7_EPMsetClass(B,A){var E,D,C=/\s+/g;E=B.className;D=A;if(E&&E.length>0){if(E.indexOf(A)==-1){D=E+" "+A}else{return }}D=D.replace(C," ");B.className=D}function P7_EPMremClass(B,A){var E,D,C=/\s+/g;E=B.className;if(E&&E.indexOf(A>-1)){D=E.replace(A,"");D=D.replace(C," ");B.className=D}};