var mmtpa=new Array();
function mm_setTP(){
 var i,h="<sty"+"le type=\"text/css\">\n";h+=".mmTP_tabs{display: block;}.mmTPcontent div{display:none;}\n";
 h+=".mmTPcontent div div{display:block;}\n";if(document.getElementById){for(i=1;i<11;i++){
 h+="#mmtpc"+i+"_1 {display:block;}\n";}h+="\n<"+"/sty"+"le>";document.write(h);}
}
mm_setTP();
function mm_initTP(){
 var i,j,tb,tD,tP,tA,pb="mmTP";if(!document.getElementById){return;};mmtpa=arguments;
 for(i=1;i<11;i++){tb=pb+i;tP=document.getElementById(tb);if(tP){tD=tP.getElementsByTagName("DIV");
 if(tD){for(j=0;j<tD.length;j++){if(tD[j].id&&tD[j].id.indexOf("mmtpb")==0){
 tA=tD[j].getElementsByTagName("A");if(tA[0]){tA[0].mmtpn=new Array(i,tD[j].id);
 tA[0].onclick=function(){return mm_TPtrig(this);};}}}}}}
}
function mm_TPtrig(a){
 var i,tD,tA,tC,c,d,sb,an=mmtpa[1],wP,h,cP,ch,hD,hh;if(typeof(a)!='object'){c=a.replace("mmtpc","mmtpb");
 d=document.getElementById(c);if(d){a=d.getElementsByTagName("A")[0];}}if(a.mmtpn){
 tD=document.getElementById(a.mmtpn[1]);if(tD){tA=tD.parentNode.getElementsByTagName("A");
 if(an==29&&!isIE5){wP=mm_getCD(a);h=mm_getPH(wP);cP=getTPc(a);ch=mm_getPH(cP);hD=h-ch;
 if(window.opera){mm_setPW(wP);}wP.style.height=h+"px";wP.style.overflow="hidden";}
 for(i=0;i<tA.length;i++){if(tA[i].mmtpn){sb=tA[i].mmtpn[1].replace("mmtpb","mmtpc");
 tC=document.getElementById(sb);if(tA[i]==a){tA[i].className="down";
 document.getElementById(tA[i].mmtpn[1]).className="down";if(tC){if(an>0&&an!=29){
 tC.style.visibility="hidden";tC.style.display="block";setTimeout("mm_TPanim('"+tC.id+"')",100);}
 else{tC.style.display="block";}if(an==29&&!isIE5){hh=mm_getPH(tC);mm_TPglide(tC.id,h,hh+hD);}}}
 else{tA[i].className='';document.getElementById(tA[i].mmtpn[1]).className='';if(tC){
 tC.style.display="none";}}}}}}if(typeof(mm_colH2)=='function'){mm_colH2();}
 if(typeof(mm_colH)=='function'){mm_colH();}return false;
}
function mm_getPH(d){
 var h,nh,dh,oh;d.style.height="auto";oh=d.offsetHeight;d.style.height=oh+"px";
 nh=d.offsetHeight;if(oh!=nh){nh=(oh-(nh-oh));}d.style.height="auto";return nh;
}
function mm_setPW(d){
 var w,nw,dw,ow;d.style.width="auto";ow=d.offsetWidth;d.style.width=ow+"px";
 nw=d.offsetWidth;if(ow!=nw){nw=(ow-(nw-ow));}d.style.width=nw+"px";
}
function mm_getCD(a){
 var g,tP=a.mmtpn[1].replace("mmtpb","mmtpc");g=document.getElementById(tP);return g.parentNode;
}
function getTPc(a){
 var i,tA,cD,tC=null;tA=a.parentNode.parentNode.getElementsByTagName("A");
 for(i=0;i<tA.length;i++){if(tA[i].className && tA[i].className=="down"){
 cD=tA[i].mmtpn[1].replace("mmtpb","mmtpc");tC=document.getElementById(cD);break;}}
 return tC;
}

