var OB,DR,PX;
function pt_st(){pt_sH2();var h2ts=document.getElementById('LeftBar').getElementsByTagName('h2'),lftbr=document.getElementById('LeftBar'),cntnt=document.getElementById('Content');for(a in h2ts)h2ts[a].onclick=pt_tH2;lftbr.style.height='';cntnt.style.height='';if(lftbr.scrollHeight<cntnt.scrollHeight){lftbr.style.height=cntnt.scrollHeight+'px';cntnt.style.height=cntnt.scrollHeight+'px'}else{cntnt.style.height=lftbr.scrollHeight+'px';lftbr.style.height=lftbr.scrollHeight+'px'}}
function pt_gND(ob){while(ob.nodeName.toLowerCase()!='div')ob=ob.nextSibling;return ob;}
function pt_tH2(){var op=pt_gND(this);var sUD=(op.style.display!='none')?'close':'open';var px;if(sUD=='open'){op.style.visibility='hidden';op.style.display='block';op.style.height='';px=op.scrollHeight-2;op.style.height='0px';op.style.display='none';op.style.visibility='visible';}else{op.style.height=op.scrollHeight-2+'px';px=0;}pt_sC(op,sUD,px);}
function pt_sC(ob,dr,px){OB=ob;DR=dr;PX=px;switch(dr){case'close':if(parseInt(ob.style.height)>=8){ob.style.height=parseInt(ob.style.height)-8+'px';window.setTimeout("pt_sC(OB,DR,PX)",20);}else{ob.style.height=px+'px';ob.style.display='none';}break;case'open':if(ob.style.display=='none')ob.style.display='block';if(parseInt(ob.style.height)<=px-8){ob.style.height=parseInt(ob.style.height)+8+'px';window.setTimeout('pt_sC(OB,DR,PX)',20);}else{bf=document.all?0:2;ob.style.height=px+bf+'px';}break;}}
function pt_sH2(){var h2=document.getElementById('LeftBar').getElementsByTagName('h2');for(i in h2){h2[i].onmouseover=pt_hmO;h2[i].onmouseout=pt_hmT}}
function pt_hmO(){this.style.background='#d60000';this.style.cursor='default'}
function pt_hmT(){this.style.background='#004f6f'}
