﻿var p7PMp,p7PMct;function P7_setPM(){var a,c="",d='<style type="text/css">',b=navigator.userAgent.toLowerCase();if(window.opera)if(b.indexOf("opera 5")>-1||b.indexOf("opera 6")>-1)return;if(document.getElementById){for(a=1;a<20;a++){c+="ul ";d+="\n#p7PMnav "+c+"{position:absolute;left:-9000px;}"}document.write(d+"\n<"+"/sty"+"le>")}}P7_setPM();function P7_initPM(){var a,f,e,b,i,d,g,c,h=navigator.userAgent.toLowerCase();if(window.opera){if(h.indexOf("opera 5")>-1||h.indexOf("opera 6")>-1)return}else if(!document.getElementById)return;p7PMp=arguments;p7PMct=[];e=document.getElementById("p7PMnav");if(e){b=e.getElementsByTagName("A");for(a=0;a<b.length;a++){b[a].p7PMcl=p7PMct.length;p7PMct[p7PMct.length]=b[a];f=b[a].parentNode.getElementsByTagName("UL");b[a].p7PMsub=f&&f[0]?f[0]:false;c=b[a].getAttribute("onmouseover");if(!c||c=="undefined")b[a].onmouseover=function(){P7_PMtrig(this)};c=b[a].getAttribute("onfocus");if(!c||c=="undefined")b[a].onfocus=function(){P7_PMtrig(this)};if(b[a].p7PMsub){d=b[a].parentNode;g=0;while(d){if(d.tagName&&d.tagName=="UL")g++;d=d.parentNode}b[a].p7PMlv=g}}e.onmouseout=P7_PMclose;P7_PMopen()}}function P7_PMtrig(a){var b,t;if(document.p7PMt)clearTimeout(document.p7PMt);document.p7PMa=1;b=a.p7PMsub?"P7_PMshow(":"P7_PMtg(";t='document.p7PMt=setTimeout("'+b+a.p7PMcl+')",160)';eval(t)}function P7_PMshow(g,A){var b,p,x,w,r,u,a,t,j,n,d,k,i=0,f,B,C,e,h,q,y,s,l=0,m=0,z=true,v=navigator.appVersion.indexOf("MSIE 5")>-1?true:false,o=document.documentElement,c=document.body;document.p7PMa=1;if(!A)P7_PMtg(g);b=p7PMct[g].p7PMsub;if(b.p7pmax&&b.p7pmax==1)return;b.p7pmax=1;p=p7PMp[0]==1&&p7PMct[g].p7PMlv==1?true:false;p7PMct[g].className=p7PMct[g].className.replace("p7PMtrg","p7PMon");x=parseInt(p7PMp[3]);w=parseInt(p7PMp[4]);r=b.offsetWidth;u=b.offsetHeight;a=p7PMct[g];t=a.offsetWidth;j=a.offsetHeight;while(a){l+=a.offsetLeft?a.offsetLeft:0;m+=a.offsetTop?a.offsetTop:0;if(window.opera||navigator.userAgent.indexOf("Safari")>-1)if(p7PMct[g].p7PMlv!=1&&a.nodeName=="BODY")m-=a.offsetTop?a.offsetTop:0;a=a.offsetParent}if(v&&navigator.userAgent.indexOf("Mac")>-1)m+=parseInt(c.currentStyle.marginTop);n=parseInt(t*w/100);d=p?0:t-n;n=parseInt(j*x/100);k=p?0:(j-n)*-1;e=c.parentNode.scrollLeft;if(!e)e=c.scrollLeft;e=e?e:0;if(o&&o.clientWidth)i=o.clientWidth+e;else if(c)i=c.clientWidth+e;if(!i){i=0;z=false}f=window.innerHeight;if(!f){f=o.clientHeight;if(!f||f<=0)f=c.clientHeight}h=c.parentNode.scrollTop;if(!h){h=c.scrollTop;if(!h)h=window.scrollY?window.scrollY:0}q=l+d+r;if(q>i&&z){d=r*-1;d+=10;if(p)d=i-l-r}y=l+d;if(y<0)d=l*-1;q=m+u+j+k-h;s=f-q;if(s<0){k+=s;if(u>f)k=(m+j-h)*-1}b.style.marginLeft=d+"px";b.style.marginTop=k+"px";if(p7PMp[2]==1)if(!v)P7_PManim(g,20);b.className="p7PMshow"}function P7_PMhide(b){var d,c,a;b.p7pmax=0;b.className="p7PMhide";a=b.parentNode.firstChild;a.className=a.className.replace("p7PMon","p7PMtrg")}function P7_PMtg(e,f){var b,g,d,c,a;d=p7PMct[e];a=d.parentNode;while(a){if(a.tagName=="UL")break;a=a.parentNode}if(a){c=a.getElementsByTagName("UL");for(b=c.length-1;b>-1;b--)if(f!=1&&d.p7PMsub==c[b])continue;else P7_PMhide(c[b])}}function P7_PMclose(a){var b,d,c,e=true;a=a?a:event?event:null;d=document.p7PMa;if(d!=-1)if(a){c=a.relatedTarget?a.relatedTarget:a.toElement;if(c){b=c.parentNode;while(b){if(b&&b.id&&b.id=="p7PMnav"){e=false;document.p7PMa=1;break}b=b.parentNode}}if(e){document.p7PMa=-1;if(document.p7PMt)clearTimeout(document.p7PMt);document.p7PMt=setTimeout("P7_PMclr()",360)}}}function P7_PMclr(){var b,c,a;document.p7PMa=-1;c=document.getElementById("p7PMnav");if(c){a=c.getElementsByTagName("UL");if(a)for(b=a.length-1;b>-1;b--)P7_PMhide(a[b])}}function P7_PManim(b,a){var e=p7PMct[b].p7PMsub,d=30,c=20;a=a>=100?100:a;e.style.fontSize=a+"%";if(a<100){a+=c;setTimeout("P7_PManim("+b+","+a+")",d)}}function P7_PMmark(){document.p7PMop=arguments}function P7_PMopen(){var a,h,b,f,e,i,b,j,k,g=-1,c=-1,d=[1,"",""];if(document.p7PMop)d=document.p7PMop;f=d[0];if(f<1)return;b=document.getElementById("p7PMnav").getElementsByTagName("A");i=window.location.href;k=/index\.[\S]*/i;for(a=0;a<b.length;a++)if(b[a].href){j=b[a].href.replace(k,"");if(f>0)if(b[a].href==i||j==i){g=a;c=-1;break}if(f==2)if(b[a].firstChild)if(b[a].firstChild.nodeValue==d[1])c=a;if(f==3&&b[a].href.indexOf(d[1])>-1)c=a;if(f==4)for(h=1;h<d.length;h+=2)if(i.indexOf(d[h])>-1)if(b[a].firstChild&&b[a].firstChild.data)if(b[a].firstChild.data==d[h+1]){c=a;break}}g=c>g?c:g;if(g>-1){e=b[g].parentNode;while(e){if(e.nodeName=="LI")e.firstChild.className="p7PMmark "+e.firstChild.className;e=e.parentNode}}if(c>-1)document.p7PMad=1;P7_PMadma();P7_PMadmb()}function P7_PMadma(){var o,e,a,h,t,n,m,b,u,p,w,g,m,v,r,s,f,k,j,c=[],d="",i=0,l=1,q=document.p7PMad;n=document.getElementById("p7PMnav");m=document.getElementById("pmmcrumb");if(n&&m){b=m.getElementsByTagName("A");if(b&&b[0]){v=b[0].parentNode.childNodes;r=/<a/i;s=/\/a>/i;f=b[0].parentNode.innerHTML;h=f.search(r);k=f.substring(0,h);h=f.search(s);j=f.substring(h+3);d+=k?k:"";o=j?j:" &gt ";if(!b[0].id||b[0].id!="pmmcn")if(b[0].href!=window.location.href){c[0]=b[0];i++;l=2}g=n.getElementsByTagName("A");for(a=0;a<g.length;a++)if(g[a].className.indexOf("p7PMmark")>-1){c[i]=g[a];i++}for(a=0;a<c.length;a++){e=a>0?o:"";t=a==c.length-1?0:1;u=a==0&&b[0].id?'id="'+b[0].id+'" ':" ";p=c[a].firstChild.nodeValue;if(t==1||q==1||i<l)d+=e+"<a "+u+"hr"+'ef="'+c[a].href+'">'+p+"</a>";else d+=e+p}if(q==1||a<l){e=a>0?o:"";d+=e+document.title}b[0].parentNode.innerHTML=d}}}function P7_PMadmb(){var f="",d,a,b,c,e=false;d=document.getElementById("p7PMnav");c=document.getElementById("pmmnext");if(d&&c){b=d.getElementsByTagName("A");for(a=b.length-1;a>-1;a--)if(b[a].className.indexOf("p7PMmark")>-1){e=true;break}if(e){if(a<b.length-1)a++;else a=0;while(b[a].href==window.location.href+"#"||b[a].href=="javascript:;"){a++;if(a>b.length-1){a=0;break}}c.href=b[a].href;c.innerHTML=b[a].firstChild.nodeValue}}}