var p7PMMover='_over',p7PMMopen='_overdown',p7PMMmark='_down',p7PMMi=false,p7PMMa=false,p7PMMctl=[],p7PMMadv=[];function P7_PMMset(){var O,l,i,I,o,c;if(!document.getElementById){return}
i='.p7PMM div {position:absolute;display:none}\n';if(document.styleSheets){l='\n<st'+'yle type="text/css">\n'+i+'\n</s'+'tyle>';document.write(l)}else{l=document.createElement('style');l.type='text/css';l.appendChild(document.createTextNode(i));I=document.getElementsByTagName('head');I[0].appendChild(l)}}
P7_PMMset();function P7_PMMaddLoad(){if(window.addEventListener){if(!/KHTML|WebKit/i.test(navigator.userAgent)){document.addEventListener("DOMContentLoaded",P7_PMMinit,false)}
window.addEventListener("load",P7_PMMinit,false);window.addEventListener("unload",P7_PMMbb,false)}else if(document.addEventListener){document.addEventListener("load",P7_PMMinit,false)}else if(window.attachEvent){window.attachEvent("onload",P7_PMMinit)}else if(typeof window.onload=='function'){var i=onload;window.onload=function(){i();P7_PMMinit()}}else{window.onload=P7_PMMinit}}
P7_PMMaddLoad();function P7_PMMbb(){return}
function P7_PMMop(){if(!document.getElementById){return}
p7PMMctl[p7PMMctl.length]=arguments}
function P7_PMMinit(){var i,j,jj,k,tM,tA,tU,lv,pp,clv,fs,tS,d=1,cl,tp,uh=0,cN,tD,tN,iM,tw,ow,oh;if(p7PMMi){return}
p7PMMi=true;document.p7PMMpreload=[];for(k=0;k<p7PMMctl.length;k++){tM=document.getElementById(p7PMMctl[k][0]);if(tM){tM.p7opt=p7PMMctl[k];if(window.opera||navigator.appVersion.indexOf("MSIE 5")>-1){tM.p7opt[2]=0}
tM.p7PMMtmr=null;tD=tM.getElementsByTagName("DIV");for(i=0;i<tD.length;i++){tD[i].setAttribute("id",tM.id+'d'+(i+2));tD[i].p7state='closed';tD[i].pmmmenu=tM.id}
tU=tM.getElementsByTagName("UL");for(i=0;i<tU.length;i++){tU[i].setAttribute("id",tM.id+'u'+(i+1));lv=1;pp=tU[i].parentNode;while(pp){if(pp.id&&pp.id==tM.id){break}
if(pp.tagName&&pp.tagName=="UL"){lv++}
pp=pp.parentNode}
tU[i].pmmlevel=lv;clv='level_'+lv;P7_PMMsetClass(tU[i],clv);tN=tU[i].childNodes;if(tN){fs=-1;jj=0;for(j=0;j<tN.length;j++){if(tN[j].tagName&&tN[j].tagName=="LI"){jj++;tA=tN[j].getElementsByTagName("A")[0];if(fs<0){P7_PMMsetClass(tA,'pmmfirst');P7_PMMsetClass(tN[j],'pmmfirst')}
fs=j;tA.setAttribute("id",tM.id+'a'+(d));d++;tA.pmmlevel=lv;tA.pmmdiv=tU[i].parentNode.id;tA.pmmmenu=tM.id;if(i==0){P7_PMMsetClass(tN[j],('root_'+jj))}
tS=tN[j].getElementsByTagName("UL");if(tS&&tS.length>0){tA.pmmsub=tS[0].parentNode.id;tA.onmousedown=function(){P7_PMMtrigclick(this)};if(tM.p7opt[13]==1&&lv==1){P7_PMMsetClass(tA,'trig_closed_up');P7_PMMsetClass(tA.parentNode,'trig_closed_up')}else if(tM.p7opt[5]==1){P7_PMMsetClass(tA,'trig_closed_left');P7_PMMsetClass(tA.parentNode,'trig_closed_left')}else{P7_PMMsetClass(tA,'trig_closed');P7_PMMsetClass(tA.parentNode,'trig_closed')}}else{tA.pmmsub=false}
tA.onmouseover=function(){P7_PMMtrig(this)};tA.hasImg=false;var sr,x,fnA,fnB,swp,s1,s2,s3;iM=tA.getElementsByTagName("IMG");if(iM&&iM[0]){sr=iM[0].getAttribute("src");swp=tM.p7opt[9];iM[0].pmmswap=swp;x=sr.lastIndexOf(".");fnA=sr.substring(0,x);fnB='.'+sr.substring(x+1);s1=fnA+p7PMMover+fnB;s2=fnA+p7PMMopen+fnB;s3=fnA+p7PMMmark+fnB;if(swp==1){iM[0].p7imgswap=[sr,s1,s1,s1];P7_PMMpreloader(s1)}else if(swp==2){iM[0].p7imgswap=[sr,s1,s2,s2];P7_PMMpreloader(s1,s2)}else if(swp==3){iM[0].p7imgswap=[sr,s1,s2,s3];P7_PMMpreloader(s1,s2,s3)}else{iM[0].p7imgswap=[sr,sr,sr,sr]}
iM[0].p7state='closed';iM[0].mark=false;iM[0].rollover=tM.p7opt[10];if(swp>0){tA.hasImg=true;iM[0].onmouseover=function(){P7_PMMimovr(this)};iM[0].onmouseout=function(){P7_PMMimout(this)}}}}}
if(fs>0){P7_PMMsetClass(tA,'pmmlast');P7_PMMsetClass(tN[fs],'pmmlast')}}}
if(tM.p7opt[6]==1){tw=tM.offsetWidth;oh=tM.offsetHeight;ow=P7_PMMgetPropValue(tU[0],'position','position');tM.style.height=oh+'px';tU[0].style.position="absolute";uh=tU[0].offsetWidth;tU[0].style.position=ow;tM.style.height='auto';uh=(uh>=tw)?tw:uh;tU[0].style.marginLeft=((tw-uh)/2)+'px'}
tM.onmouseout=function(evt){var k,rt,pp,tD,m=true;evt=(evt)?evt:((event)?event:null);if(evt){rt=(evt.relatedTarget)?evt.relatedTarget:evt.toElement;if(rt){pp=rt.parentNode;while(pp){if(pp&&pp.id&&pp.id.indexOf(this.id)==0){m=false;break}
pp=pp.parentNode}}
if(m){if(this.p7PMMtmr){clearTimeout(this.p7PMMtmr)}
if(this.p7opt[8]==1){this.p7PMMtmr=setTimeout("P7_PMMshut('"+this.id+"')",360)}else{P7_PMMshut(this.id)}}}}
if(tM.p7opt[11]==1){P7_PMMcurrentMark(tM)}}}
p7PMMa=true}
function P7_PMMshut(o){var l,I,i;I=document.getElementById(o);i=I.getElementsByTagName("DIV");for(l=i.length-1;l>-1;l--){if(i[l].p7state&&i[l].p7state=='open'){P7_PMMclose(i[l])}}}
function P7_PMMpreloader(){var i,I;for(i=0;i<arguments.length;i++){I=document.p7PMMpreload.length;document.p7PMMpreload[I]=new Image;document.p7PMMpreload[I].src=arguments[i]}}
function P7_PMMimovr(i){var o=false,I=i.parentNode,l=i.rollover;if(i.mark){o=(l>1)?true:false}else if(i.p7state=='open'){o=(l==1||l==3)?true:false}else{o=true}
if(o){i.src=i.p7imgswap[1]}}
function P7_PMMimout(i){var l=i.parentNode,I=i.rollover;if(i.mark){if(i.p7state=='open'){i.src=i.p7imgswap[2]}else{i.src=i.p7imgswap[3]}}else if(i.p7state=='open'){if(I==1||I==3){i.src=i.p7imgswap[2]}}else{i.src=i.p7imgswap[0]}}
function P7_PMMtrig(a){var dV;dV=document.getElementById(a.pmmmenu);if(dV.p7PMMtmr){clearTimeout(dV.p7PMMtmr)}
if(a.pmmsub){if(dV.p7opt[8]==1){dV.p7PMMtmr=setTimeout("P7_PMMopen('"+a.id+"')",160)}else{P7_PMMopen(a.id)}}else{if(dV.p7opt[8]==1){dV.p7PMMtmr=setTimeout("P7_PMMtoggle('"+a.id+"')",160)}else{P7_PMMtoggle(a.id)}}}
function P7_PMMopen(E,Q){var R,i,l,O,r,e,v,o,C,Z=0,z=0,X,S,s,q,W,c,K,k,w;i=document.getElementById(E);if(!Q){P7_PMMtoggle(E)}
if(i.p7state=='open'){return}
i.p7state='open';if(i.hasImg){w=i.getElementsByTagName("IMG")[0];w.p7state='open';w.src=w.p7imgswap[2]}
i.className=i.className.replace('trig_closed','trig_open');i.parentNode.className=i.parentNode.className.replace('trig_closed','trig_open');l=document.getElementById(i.pmmmenu);O=document.getElementById(i.pmmsub);O.p7trigger=i.id;O.p7state='open';O.style.visibility="hidden";O.style.display="block";O.style.height='auto';O.style.width='auto';r=O.offsetWidth;e=O.offsetHeight;W=i.parentNode.offsetWidth;v=(i.parentNode.offsetHeight*-1)+l.p7opt[3];if(l.p7opt[5]==1){o=(r*-1)-l.p7opt[4]}else{o=i.offsetWidth+l.p7opt[4]}
if(l.p7opt[1]==1&&i.pmmlevel==1){v=0;o=0;if(l.p7opt[7]==1){o=((r-W)/2)*-1}else if(l.p7opt[7]==2){if(i.className.indexOf('pmmlast')>-1){o=(r-W)*-1}else if(i.className.indexOf('pmmfirst')==-1){o=((r-W)/2)*-1}else{o=0}}}
if(l.p7opt[13]==1){v-=e;if(l.p7opt[1]==1&&i.pmmlevel==1){v-=i.offsetHeight}}
X=P7_PMMwin();C=i;while(C){Z+=(C.offsetLeft)?C.offsetLeft:0;z+=(C.offsetTop)?C.offsetTop:0;if(window.opera){if(C.nodeName=="BODY"){z-=(C.offsetTop)?C.offsetTop:0}}
C=C.offsetParent}
c=document.body.parentNode.scrollTop;if(!c){c=document.body.scrollTop;if(!c){c=window.scrollY?window.scrollY:0}}
z-=c;c=document.body.parentNode.scrollLeft;if(!c){c=document.body.scrollLeft;if(c){c=window.scrollX?window.scrollX:0}}
Z-=c;s=Z+o+r;S=z+v+e+i.offsetHeight;if(s>X[1]){if(l.p7opt[1]==1&&i.pmmlevel==1){o=o-(s-X[1]+2)}else{o=r*-1}}
if(S>X[0]){v=v-(S-X[0]+2)}
K=z+v+i.offsetHeight;if(K<0){v=v-K+2}
k=Z+o;if(k<0){o=o-k+2}
O.style.marginTop=v+'px';O.style.marginLeft=o+'px';if(p7PMMa&&l.p7opt[2]>0){var I,V,x=O.getElementsByTagName('UL')[0];V=x.getElementsByTagName("A")[0];if(l.p7opt[2]==1){P7_PMManimA(x.id,5)}else if(l.p7opt[2]==2){I=P7_PMMgetPropValue(V,'lineHeight','line-height');I=(I)?I:'normal';P7_PMManimB(x.id,5,I)}else if(l.p7opt[2]==3){if(l.p7opt[1]==1&&x.pmmlevel==2){I=P7_PMMgetPropValue(V,'lineHeight','line-height');I=(I)?I:'normal';P7_PMManimB(x.id,5,I)}else{P7_PMManimA(x.id,5)}}else if(l.p7opt[2]==4){P7_PMManimC(x.id,-100)}}else{O.style.visibility="visible"}}
function P7_PMMtoggle(O,l){var C,c,o,i,I;c=document.getElementById(O);I=c.parentNode;while(I){if(I.tagName&&I.tagName=="UL"){break}
I=I.parentNode}
i=I.getElementsByTagName("DIV");if(i&&i.length>0){for(C=i.length-1;C>-1;C--){if(i[C].p7state&&i[C].p7state=='open'){if(!l&&i[C].p7trigger!=c.id){P7_PMMclose(i[C])}}}}}
function P7_PMMclose(o,I){var c,l,O,i;c=document.getElementById(o.p7trigger);c.p7state='closed';o.p7state='closed';c.className=c.className.replace('trig_open','trig_closed');c.parentNode.className=c.parentNode.className.replace('trig_open','trig_closed');if(c.hasImg){iM=c.getElementsByTagName("IMG")[0];iM.p7state='closed';if(iM.mark){iM.src=iM.p7imgswap[3]}else{iM.src=iM.p7imgswap[0]}}
o.style.display='none'}
function P7_PMMtrigclick(c){var O,o,l,I,i;o=c.getAttribute("href");if(o.charAt(o.length-1)=='#'||o.search(/javas/i)==0){l=document.getElementById(c.pmmsub);I=l.getElementsByTagName('A');for(O=0;O<I.length;O++){i=I[O].getAttribute('href');if(i.charAt(i.length-1)!='#'&&i.search(/javas/i)!=0){c.setAttribute('href',i);break}}}}
function P7_PMMmark(){p7PMMadv[p7PMMadv.length]=arguments}
function P7_PMMcurrentMark(C){var s,w,W,I,z=false,o=['',1,'',''],c,X,W,O,i,V,l,Z,v;;I=window.location.href;if(C.p7opt[12!=1]){I=I.replace(window.location.search,'')}
if(I.charAt(I.length-1)=='#'){I=I.substring(0,I.length-1)}
for(W=0;W<p7PMMadv.length;W++){if(p7PMMadv[W][0]&&p7PMMadv[W][0]==C.id){o=p7PMMadv[W];z=true;break}}
c=o[1];if(c<1){return}
X=/index\.[\S]*/i;W=-1,O=-1;i=C.getElementsByTagName("A");for(s=0;s<i.length;s++){V=i[s].href.replace(X,'');if(c>0){if(i[s].href==I||V==I){W=s;O=-1}}
if(c==2){if(i[s].firstChild){if(i[s].firstChild.nodeValue==o[2]){O=s}}}
if(c==3&&i[s].href.indexOf(o[2])>-1){O=s}
if(c==4){for(x=2;x<o.length;x+=2){if(I.indexOf(o[x])>-1){if(i[s].firstChild&&i[s].firstChild.nodeValue){if(i[s].firstChild.nodeValue==o[x+1]){O=s}}}}}}
W=(O>W)?O:W;if(W>-1){l=i[W].parentNode;while(l){if(l.tagName&&l.tagName=='LI'){P7_PMMsetClass(l,'li_current_mark');Z=l.getElementsByTagName('A');if(Z&&Z[0]){P7_PMMsetClass(Z[0],'current_mark');if(Z[0].hasImg){v=Z[0].getElementsByTagName('IMG')[0];v.mark=true;v.src=v.p7imgswap[3]}}}else{if(l==C){break}}
l=l.parentNode}}}
function P7_PMManimA(id,v,ft){var el,tg=100,fr=10,dy=10;el=document.getElementById(id);el.style.fontSize=v+'%';if(!ft){el.style.visibility="visible";el.parentNode.style.visibility="visible"}
if(v!=tg){v+=fr;v=(v>=tg)?tg:v;setTimeout("P7_PMManimA('"+id+"',"+v+",1)",dy)}}
function P7_PMManimB(id,v,ln,ft){var el,tg=120,fr=10,dy=10;el=document.getElementById(id);el.style.lineHeight=v+'%';if(!ft){el.style.visibility="visible";el.parentNode.style.visibility="visible"}
if(v!=tg){v+=fr;v=(v>=tg)?tg:v;setTimeout("P7_PMManimB('"+id+"',"+v+",'"+ln+"',1)",dy)}else{el.style.lineHeight=ln}}
function P7_PMManimC(id,v,ft){var el,tg=0,fr=8,dy=10;el=document.getElementById(id);el.style.textIndent=v+'px';if(!ft){el.style.visibility="visible";el.parentNode.style.visibility="visible"}
if(v!=tg){v+=fr;v=(v>=tg)?tg:v;setTimeout("P7_PMManimC('"+id+"',"+v+",1)",dy)}}
function P7_PMMsetClass(l,o){var I,i,O=/\s+/g;I=l.className;i=o;if(I&&I.length>0){i=I+' '+o}
i=i.replace(O,' ');l.className=i}
function P7_PMMremClass(l,o){var i,I,O=/\s+/g;;i=l.className;if(i&&i.indexOf(o>-1)){I=i.replace(o,'');I=I.replace(O,' ');l.className=I}}
function P7_PMMwin(){var i,I;if(document.documentElement&&document.documentElement.clientHeight){I=document.documentElement.clientWidth;i=document.documentElement.clientHeight}else if(window.innerHeight){if(document.documentElement.clientWidth){I=document.documentElement.clientWidth}else{I=window.innerWidth}
i=window.innerHeight}else if(document.body){I=document.body.clientWidth;i=document.body.clientHeight}
return[i,I]}
function P7_PMMgetPropValue(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}