var p7APMover="_over";var p7APMopen="_down";var p7APMmark="_overdown";var p7APMi=false,p7APMa=false,p7APMctl=[];function P7_APMset(){var D,E,C,F,A,B;if(!document.getElementById){return }C=".p7APMcwrapper {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_APMset();function P7_APMaddLoad(){if(!document.getElementById){return }if(window.addEventListener){document.addEventListener("DOMContentLoaded",P7_initAPM,false);window.addEventListener("load",P7_initAPM,false);window.addEventListener("unload",P7_APMff,false)}else{if(document.addEventListener){document.addEventListener("load",P7_initAPM,false)}else{if(window.attachEvent){document.write('<script id=p7ie_apm defer src="//:"><\/script>');document.getElementById("p7ie_apm").onreadystatechange=function(){if(this.readyState=="complete"){if(p7APMctl.length>0){P7_initAPM()}}};window.attachEvent("onload",P7_initAPM)}else{if(typeof window.onload=="function"){var A=onload;window.onload=function(){A();P7_initAPM()}}else{window.onload=P7_initAPM}}}}}P7_APMaddLoad();function P7_APMff(){return }function P7_opAPM(){if(!document.getElementById){return }p7APMctl[p7APMctl.length]=arguments}function P7_initAPM(){var F,E,K,L,N,H,D,B,J,C,A,G,O,M,I;if(p7APMi){return }p7APMi=true;document.p7APMpreload=[];for(F=0;F<p7APMctl.length;F++){L=document.getElementById("p7APM_"+p7APMctl[F][0]);if(L){L.p7opt=p7APMctl[F];if(navigator.appVersion.indexOf("MSIE 5")>-1){L.p7opt[2]=0}L.p7APMcont=new Array();L.p7APMtrig=new Array();L.p7APMmv=false;N=L.getElementsByTagName("A");K=-1;for(E=0;E<N.length;E++){if(N[E].id&&N[E].id.indexOf("p7APMt")===0){L.p7APMtrig[L.p7APMtrig.length]=N[E];N[E].p7state="closed";N[E].p7APMpr=L.id;N[E].p7APMct=false;H=document.getElementById(N[E].id.replace("t","w"));L.p7APMcont[L.p7APMcont.length]=(H)?H:null;if(K==-1){P7_APMsetClass(N[E],"apmfirst");P7_APMsetClass(N[E].parentNode,"apmfirst")}K=E;if(H){H.p7state="closed";H.p7APMtrg=N[E].id;N[E].p7APMct=H.id;if(L.p7opt[2]==1||L.p7opt[2]==2){H.style.height="0px";H.p7APMtarget=0;H.p7APMrate=10;H.p7ch=0}else{H.style.display="none";H.style.height="auto"}}else{P7_APMsetClass(N[E],"p7APM_ext")}N[E].onclick=function(){return P7_APMtrig(this)};if(L.p7opt[6]==1){N[E].onmouseover=function(){var P=document.getElementById(this.p7APMpr);if(this.p7state=="closed"){P7_APMopen(this)}}}if(L.p7opt[7]==1){N[E].onmouseout=function(S){var U,R,T,Q,P=true;Q=document.getElementById(this.p7APMpr);T=this.id.replace("t","w");S=(S)?S:event;U=(S.toElement)?S.toElement:S.relatedTarget;if(U){R=U;while(R){if(R.id&&R.id.indexOf(T)===0){P=false;break}R=R.parentNode}}if(P){P7_APMclose(this)}};if(H){H.onmouseout=function(T){var U,S,R,Q,P=true;T=(T)?T:event;U=(T.toElement)?T.toElement:T.relatedTarget;R=document.getElementById(this.p7APMtrg);Q=document.getElementById(this.p7APMpr);if(U){S=U;if(U.id&&U.id==R.p7APMpr){P=true}else{while(S){if(S.id){if(S.id.indexOf("p7APM")===0){P=false;break}}S=S.parentNode}}if(P){if(R){if(R.p7state=="open"){P7_APMclose(R)}}}}}}}N[E].hasImg=false;D=N[E].getElementsByTagName("IMG");if(D&&D[0]){B=D[0].getAttribute("src");G=L.p7opt[8];D[0].apmswap=G;J=B.lastIndexOf(".");C=B.substring(0,J);A="."+B.substring(J+1);O=C+p7APMover+A;M=C+p7APMopen+A;I=C+p7APMmark+A;if(G==1){D[0].p7imgswap=[B,O,O,O];P7_APMpreloader(O)}else{if(G==2){D[0].p7imgswap=[B,O,M,M];P7_APMpreloader(O,M)}else{if(G==3){D[0].p7imgswap=[B,O,M,I];P7_APMpreloader(O,M,I)}else{D[0].p7imgswap=[B,B,B,B]}}}D[0].p7state="closed";D[0].mark=false;D[0].rollover=L.p7opt[9];if(G>0){N[E].hasImg=true;D[0].onmouseover=function(){P7_APMimovr(this)};D[0].onmouseout=function(){P7_APMimout(this)}}}}}if(K>0){P7_APMsetClass(N[K],"apmlast");P7_APMsetClass(N[K].parentNode,"apmlast")}if(L.p7opt[3]==-2){P7_APMall(L.id,"open")}else{if(L.p7opt[3]==-3){P7_APMall(L.id,"open");setTimeout("P7_APMall('"+L.id+"','close',1)",200)}else{if(L.p7opt[3]==-1){ob=P7_APMrandom(L.id);P7_APMopen(ob,1,1,1)}else{tr=L.id.replace("_","t")+"_"+L.p7opt[3];ob=document.getElementById(tr);if(ob){P7_APMopen(ob,1,1,1)}}}}if(L.p7opt[5]==1&&L.p7opt[3]!=-2){if(L.p7opt[3]==-3){setTimeout("P7_APMauto('"+L.id+"')",200)}else{P7_APMauto(L)}}if(L.p7opt[10]>0){L.p7rtmr=setTimeout("P7_APMrotate('"+L.id+"',"+L.p7opt[10]+")",L.p7opt[11])}}}for(F=0;F<p7APMctl.length;F++){P7_APMurl("p7APM_"+p7APMctl[F][0])}p7APMa=true}function P7_APMpreloader(){var B,A;for(B=0;B<arguments.length;B++){A=document.p7APMpreload.length;document.p7APMpreload[A]=new Image();document.p7APMpreload[A].src=arguments[B]}}function P7_APMimovr(B){var A=false,C=B.rollover;if(B.mark){A=(C>1)?true:false}else{if(B.p7state=="open"){A=(C==1||C==3)?true:false}else{A=true}}if(A){B.src=B.p7imgswap[1]}}function P7_APMimout(A){var B=A.rollover;if(A.mark){if(A.p7state=="open"){A.src=A.p7imgswap[2]}else{A.src=A.p7imgswap[3]}}else{if(A.p7state=="open"){if(B==1||B==3){A.src=A.p7imgswap[2]}}else{A.src=A.p7imgswap[0]}}}function P7_APMctl(G,E,D,F,C,B){var A=document.getElementById(G);if(A){if(E=="open"){if(A.p7state!="open"){P7_APMopen(A,D,F,C,B)}}else{if(E=="close"){if(A.p7state!="closed"){P7_APMclose(A,D,F,C,B)}}else{if(E=="trigger"){P7_APMtrig(A,D,F,C,B)}}}}return false}function P7_APMall(A,I,B){var D,C,G,F,H,E=1;if(B==1){E=null}if(A=="all"){for(D=0;D<p7APMctl.length;D++){G=document.getElementById("p7APM_"+p7APMctl[D][0]);H=G.p7APMtrig;for(C=0;C<H.length;C++){if(I=="open"&&H[C].p7state!="open"){P7_APMopen(H[C],1,1,E)}else{if(I=="close"&&H[C].p7state!="closed"){P7_APMclose(H[C],1,1,E)}}}}}else{G=document.getElementById(A);if(G){H=G.p7APMtrig;for(C=0;C<H.length;C++){if(I=="open"&&H[C].p7state!="open"){P7_APMopen(H[C],1,1,E)}else{if(I=="close"&&H[C].p7state!="closed"){P7_APMclose(H[C],1,1,E)}}}}}}function P7_APMrandom(B){var G,E,F=0,A,D,C,H=new Array();A=document.getElementById(B);if(A){D=A.getElementsByTagName("A");for(G=0;G<D.length;G++){if(D[G].p7APMpr&&D[G].p7APMpr==B&&D[G].p7APMct){H[F]=D[G].id;F++}}if(F>0){E=Math.floor(Math.random()*F);C=document.getElementById(H[E])}}return C}function P7_APMrotate(D,F,B){var C,E,A=document.getElementById(D);if(F===0){if(A.p7rtmr){clearTimeout(A.p7rtmr)}if(A.p7rtrun){A.p7rtcntr--;A.p7rtrun=false}return }else{if(A.p7rtrun){return }}if(A&&A.p7APMtrig){if(F>0){A.p7rtmd=F;A.p7rtcy=1;A.p7rtcntr=1}if(!B||B<0){B=-1;for(C=0;C<A.p7APMtrig.length;C++){if(A.p7APMtrig[C].p7state=="open"){B=C;break}}}else{B--}E=B;B=(B<=-1)?0:B;B=(B>A.p7APMtrig.length-1)?A.p7APMtrig.length-1:B;if(F>0){A.p7rtsp=(E==-1)?E:B}if(A.p7rtmr){clearTimeout(A.p7rtmr)}A.p7rtmr=setTimeout("P7_APMrunrt('"+D+"',"+B+")",10)}}function P7_APMrunrt(C,D){var B,A;A=document.getElementById(C);A.p7rtrun=true;if(A.p7rtmr){clearTimeout(A.p7rtmr)}if(D>-1&&D<A.p7APMtrig.length){B=A.p7APMtrig[D];if(B.p7state!="open"){P7_APMopen(B,null,null,null,1)}A.p7rtcntr++}D++;if(A.p7rtcntr>A.p7APMtrig.length){A.p7rtcy++;A.p7rtcntr=1}if(D>=A.p7APMtrig.length){D=0}if(A.p7rtcy>A.p7rtmd){if(A.p7rtsp==-1){A.p7rtmr=setTimeout("P7_APMall('"+C+"','close',1)",A.p7opt[11])}else{A.p7rtmr=setTimeout("P7_APMctl('"+A.p7APMtrig[D].id+"','open',true,false,false,1)",A.p7opt[11])}A.p7rtrun=false}else{A.p7rtmr=setTimeout("P7_APMrunrt('"+C+"',"+D+")",A.p7opt[11])}}function P7_APMtrig(C,E,F,D,B){var A=false;if(!p7APMa&&!E){return false}if(!C.p7APMct){if(C.href!=window.location.href){A=true}return A}if(C.p7state=="open"){P7_APMclose(C,E,F,D,B)}else{P7_APMopen(C,E,F,D,B)}return A}function P7_APMopen(H,A,C,F,D){var E,I,J,B,G;if(!p7APMa&&!A){return }if(H.p7state=="open"){return }I=document.getElementById(H.p7APMpr);G=I.p7opt[2];if(!p7APMa||F==1){G=0}H.p7state="open";P7_APMsetClass(H,"p7APMtrig_down");if(H.hasImg){B=H.getElementsByTagName("IMG")[0];B.p7state="open";B.src=B.p7imgswap[2]}J=document.getElementById(H.p7APMct);if(!J){return }if((!C&&I.p7opt[1]==1)||D==1){for(E=0;E<I.p7APMtrig.length;E++){if(I.p7APMtrig[E].p7state=="open"){if(I.p7APMtrig[E]!=H){P7_APMclose(I.p7APMtrig[E],null,1)
}}}}if(J){if(G>0&&P7_APMhasOverflow(J.getElementsByTagName("DIV")[0])){G=0}if(G==1||G==2){J.style.height="0px";J.p7ch=0;P7_APMsetGlide(H,G,I.p7opt[12]);if(!I.p7APMrunning){I.p7APMrunning=true;I.p7APMglide=setInterval("P7_APMglide('"+I.id+"')",J.p7APMdy)}}else{if(I.p7opt[2]==0){J.style.display="block"}else{J.style.height="auto";P7_APMsetGlide(H,G,I.p7opt[12]);J.p7ch=J.p7APMtarget}}}}function P7_APMclose(I,A,C,G,E){var F,D=false,J,K,B,H;if(!p7APMa&&!A){return }if(I.p7state=="closed"){return }J=document.getElementById(I.p7APMpr);H=J.p7opt[2];if(!p7APMa||G==1){H=0}if(!C&&J.p7opt[4]==1){for(F=0;F<J.p7APMtrig.length;F++){if(J.p7APMtrig[F].p7state=="open"){if(J.p7APMtrig[F]!=I){D=true;break}}}if(!D){return }}I.p7state="closed";P7_APMremClass(I,"p7APMtrig_down");if(I.hasImg){B=I.getElementsByTagName("IMG")[0];B.p7state="closed";if(B.mark){B.src=B.p7imgswap[3]}else{B.src=B.p7imgswap[0]}}K=document.getElementById(I.p7APMct);if(K){if(P7_APMhasOverflow(K.getElementsByTagName("DIV")[0])){H=0}if(H==1||H==2){K.p7ch=K.offsetHeight;P7_APMsetGlide(I,H,J.p7opt[12]);if(!J.p7APMrunning){J.p7APMrunning=true;J.p7APMglide=setInterval("P7_APMglide('"+J.id+"')",K.p7APMdy)}}else{if(J.p7opt[2]==0){K.style.display="none"}else{K.style.height="0px";K.p7ch=0;P7_APMsetGlide(I,H,J.p7opt[12])}}}}function P7_APMglide(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.p7APMtrig;J=M.p7APMcont;for(F=0;F<N.length;F++){O=N[F].p7state;if(J[F]){A=J[F].p7ch;if(O=="open"&&J[F].p7APMtarget==0){J[F].p7APMtarget=J[F].offsetHeight}B=(O=="closed")?0:J[F].p7APMtarget;E=J[F].p7APMrate;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){M.p7APMrunning=false;clearInterval(M.p7APMglide)}}function P7_APMsetGlide(G,D,B){var F,A,C,H,E,I;B=(B>0)?B:250;I=(D==2)?15:20;F=document.getElementById(G.p7APMct);F.p7APMdy=I;A=document.getElementById(G.id.replace("t","c"));C=A.offsetHeight;F.p7APMtarget=C;H=B/I;E=parseInt(C/H);E=(E<=1)?1:E;F.p7APMrate=E}function P7_APMurl(D){var C,F,E,A,G="apm",B,H=D.replace("p7APM_","");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("p7APMt"+A);if(B&&B.p7state!="open"){P7_APMopen(B,1)}}}}}}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("p7APMt"+A.substring(3));if(B&&B.p7state!="open"){P7_APMopen(B,1)}}}}}function P7_APMauto(D){var E,A,F,C,B;if(typeof D!="object"){D=document.getElementById(D)}A=window.location.href;if(A.charAt(A.length-1)=="#"){A=A.substring(0,A.length-1)}r1=/index\.[\S]*/i;tA=D.getElementsByTagName("A");for(E=0;E<tA.length;E++){if(tA[E].href==A){if(tA[E].p7APMpr){F=tA[E];break}else{P7_APMsetClass(tA[E],"current_mark");C=tA[E].parentNode;while(C){if(C.id&&C.id.indexOf("p7APMw")==0){F=document.getElementById(C.p7APMtrg);break}C=C.parentNode}break}}}if(F){P7_APMsetClass(F,"current_mark");P7_APMsetClass(F.parentNode,"current_mark");if(F.hasImg){B=F.getElementsByTagName("IMG")[0];B.mark=true;B.src=B.p7imgswap[3]}P7_APMopen(F,1)}}function P7_APMsetClass(B,A){var E,D,C=/\s+/g;E=B.className;D=A;if(E&&E.length>0){D=E+" "+A}D=D.replace(C," ");B.className=D}function P7_APMremClass(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}}function P7_APMhasOverflow(B){var C,A;if(navigator.userAgent.toLowerCase().indexOf("gecko")>-1){C=B.style.overflow;if(!C){if(document.defaultView.getComputedStyle(B,"")){C=document.defaultView.getComputedStyle(B,"").getPropertyValue("overflow")}}}A=(C&&C=="auto")?true:false;return A};