function MM_findObj(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=MM_findObj(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function MM_swapImage(){var e,d=0,b,c=MM_swapImage.arguments;document.MM_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=MM_findObj(c[e]))!=null){document.MM_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}}function MM_swapImgRestore(){var d,b,c=document.MM_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e<b.length;e++){if(b[e].indexOf("#")!=0){f.MM_p[c]=new Image;f.MM_p[c++].src=b[e]}}}}function MM_showHideLayers(){var c,e,a,d,b=MM_showHideLayers.arguments;for(c=0;c<(b.length-2);c+=3){if((d=MM_findObj(b[c]))!=null){a=b[c+2];if(d.style){d=d.style;a=(a=="show")?"block":(a="hide")?"none":a}d.display=a}}}function ChangeURL(a){switch(parseInt(a)){case 1:document.getElementById("tab1").className="tab1";document.getElementById("text1").className="activetab";document.getElementById("tab2").className="tab2off";document.getElementById("text2").className="inactivetab";document.getElementById("tab3").className="tab3off";document.getElementById("text3").className="inactivetab";document.getElementById("tab4").className="tab4off";document.getElementById("text4").className="inactivetab";break;case 2:document.getElementById("tab1").className="tab1offL";document.getElementById("text1").className="inactivetab";document.getElementById("tab2").className="tab2";document.getElementById("text2").className="activetab";document.getElementById("tab3").className="tab3offR";document.getElementById("text3").className="inactivetab";document.getElementById("tab4").className="tab4off";document.getElementById("text4").className="inactivetab";break;case 3:document.getElementById("tab1").className="tab1off";document.getElementById("text1").className="inactivetab";document.getElementById("tab2").className="tab2offL";document.getElementById("text2").className="inactivetab";document.getElementById("tab3").className="tab3";document.getElementById("text3").className="activetab";document.getElementById("tab4").className="tab4offR";document.getElementById("text4").className="inactivetab";break;case 4:document.getElementById("tab1").className="tab1off";document.getElementById("text1").className="inactivetab";document.getElementById("tab2").className="tab2offC";document.getElementById("text2").className="inactivetab";document.getElementById("tab3").className="tab3offL";document.getElementById("text3").className="inactivetab";document.getElementById("tab4").className="tab4";document.getElementById("text4").className="activetab";break}}var enabletabpersistence=1;var tabcontentIDs=new Object();function expandcontent(a){var d=a.parentNode.parentNode.id;var b=document.getElementById(d).getElementsByTagName("li");for(var c=0;c<b.length;c++){b[c].className="";if(typeof tabcontentIDs[d][c]!="undefined"){document.getElementById(tabcontentIDs[d][c]).style.display="none"}}a.parentNode.className="selected";document.getElementById(a.getAttribute("rel")).style.display="block";saveselectedtabcontentid(d,a.getAttribute("rel"))}function savetabcontentids(b,a){if(typeof tabcontentIDs[b]=="undefined"){tabcontentIDs[b]=new Array()}tabcontentIDs[b][tabcontentIDs[b].length]=a}function saveselectedtabcontentid(b,a){if(enabletabpersistence==1){setCookie(b,a)}}function getullistlinkbyId(c,d){var a=document.getElementById(c).getElementsByTagName("li");for(var b=0;b<a.length;b++){if(a[b].getElementsByTagName("a")[0].getAttribute("rel")==d){return a[b].getElementsByTagName("a")[0];break}}}function initializetabcontent(){for(var d=0;d<arguments.length;d++){if(enabletabpersistence==0&&getCookie(arguments[d])!=""){setCookie(arguments[d],"")}var g=getCookie(arguments[d]);var c=document.getElementById(arguments[d]);var e=c.getElementsByTagName("li");for(var b=0;b<e.length;b++){var f=e[b].getElementsByTagName("a")[0];if(f.getAttribute("rel")){savetabcontentids(arguments[d],f.getAttribute("rel"));f.onclick=function(){expandcontent(this);return false};if(e[b].className=="selected"&&g==""){expandcontent(f)}}}if(g!=""){var a=getullistlinkbyId(arguments[d],g);if(typeof a!="undefined"){expandcontent(a)}else{expandcontent(e[0].getElementsByTagName("a")[0])}}}}function getCookie(a){var b=new RegExp(a+"=[^;]+","i");if(document.cookie.match(b)){return document.cookie.match(b)[0].split("=")[1]}return""}function setCookie(a,b){document.cookie=a+"="+b}if(typeof document.attachEvent!="undefined"){window.attachEvent("onload",init);document.attachEvent("onmousemove",moveMouse);document.attachEvent("onclick",checkMove)}else{window.addEventListener("load",init,false);document.addEventListener("mousemove",moveMouse,false);document.addEventListener("click",checkMove,false)}var oDv=document.createElement("div");var dvHdr=document.createElement("div");var dvBdy=document.createElement("div");var windowlock,boxMove,fixposx,fixposy,lockX,lockY,fixx,fixy,ox,oy,boxLeft,boxRight,boxTop,boxBottom,evt,mouseX,mouseY,boxOpen,totalScrollTop,totalScrollLeft;boxOpen=false;ox=10;oy=10;lockX=0;lockY=0;function init(){oDv.appendChild(dvHdr);oDv.appendChild(dvBdy);oDv.style.position="absolute";oDv.style.visibility="hidden";document.body.appendChild(oDv)}function defHdrStyle(){dvHdr.innerHTML='<img  style="vertical-align:middle"  src="info.gif">&nbsp;&nbsp;'+dvHdr.innerHTML;dvHdr.style.fontWeight="bold";dvHdr.style.width="150px";dvHdr.style.fontFamily="arial";dvHdr.style.border="1px solid #A5CFE9";dvHdr.style.padding="3";dvHdr.style.fontSize="11";dvHdr.style.color="#4B7A98";dvHdr.style.background="#D5EBF9";dvHdr.style.filter="alpha(opacity=85)";dvHdr.style.opacity="0.85"}function defBdyStyle(){dvBdy.style.borderBottom="1px solid #A5CFE9";dvBdy.style.borderLeft="1px solid #A5CFE9";dvBdy.style.borderRight="1px solid #A5CFE9";dvBdy.style.width="150px";dvBdy.style.fontFamily="arial";dvBdy.style.fontSize="11";dvBdy.style.padding="3";dvBdy.style.color="#1B4966";dvBdy.style.background="#FFFFFF";dvBdy.style.filter="alpha(opacity=85)";dvBdy.style.opacity="0.85"}function checkElemBO(a){if(!a||typeof(a)!="string"){return false}if((a.indexOf("header")>-1)&&(a.indexOf("body")>-1)&&(a.indexOf("[")>-1)&&(a.indexOf("[")>-1)){return true}else{return false}}function scanBO(a){if(checkElemBO(a.title)){a.boHDR=getParam("header",a.title);a.boBDY=getParam("body",a.title);a.boCSSBDY=getParam("cssbody",a.title);a.boCSSHDR=getParam("cssheader",a.title);a.IEbugfix=(getParam("hideselects",a.title)=="on")?true:false;a.fixX=parseInt(getParam("fixedrelx",a.title));a.fixY=parseInt(getParam("fixedrely",a.title));a.absX=parseInt(getParam("fixedabsx",a.title));a.absY=parseInt(getParam("fixedabsy",a.title));a.offY=(getParam("offsety",a.title)!="")?parseInt(getParam("offsety",a.title)):10;a.offX=(getParam("offsetx",a.title)!="")?parseInt(getParam("offsetx",a.title)):10;a.fade=(getParam("fade",a.title)=="on")?true:false;a.fadespeed=(getParam("fadespeed",a.title)!="")?getParam("fadespeed",a.title):0.04;a.delay=(getParam("delay",a.title)!="")?parseInt(getParam("delay",a.title)):0;if(getParam("requireclick",a.title)=="on"){a.requireclick=true;document.all?a.attachEvent("onclick",showHideBox):a.addEventListener("click",showHideBox,false);document.all?a.attachEvent("onmouseover",hideBox):a.addEventListener("mouseover",hideBox,false)}else{if(getParam("doubleclickstop",a.title)!="off"){document.all?a.attachEvent("ondblclick",pauseBox):a.addEventListener("dblclick",pauseBox,false)}if(getParam("singleclickstop",a.title)=="on"){document.all?a.attachEvent("onclick",pauseBox):a.addEventListener("click",pauseBox,false)}}a.windowLock=getParam("windowlock",a.title).toLowerCase()=="off"?false:true;a.title="";a.hasbox=1}else{a.hasbox=2}}function getParam(e,d){var c=new RegExp("([^a-zA-Z]"+e+"|^"+e+")\\s*=\\s*\\[\\s*(((\\[\\[)|(\\]\\])|([^\\]\\[]))*)\\s*\\]");var b=c.exec(d);var a;if(b){return b[2].replace("[[","[").replace("]]","]")}else{return""}}var ah,ab;function applyStyles(){if(ab){oDv.removeChild(dvBdy)}if(ah){oDv.removeChild(dvHdr)}dvHdr=document.createElement("div");dvBdy=document.createElement("div");CBE.boCSSBDY?dvBdy.className=CBE.boCSSBDY:defBdyStyle();CBE.boCSSHDR?dvHdr.className=CBE.boCSSHDR:defHdrStyle();dvHdr.innerHTML=CBE.boHDR;dvBdy.innerHTML=CBE.boBDY;ah=false;ab=false;if(CBE.boHDR!=""){oDv.appendChild(dvHdr);ah=true}if(CBE.boBDY!=""){oDv.appendChild(dvBdy);ab=true}}var CSE,iterElem,LSE,CBE,LBE,totalScrollLeft,totalScrollTop,width,height;var ini=false;function SHW(){if(document.body&&(document.body.clientWidth!=0)){width=document.body.clientWidth;height=document.body.clientHeight}if(document.documentElement&&(document.documentElement.clientWidth!=0)&&(document.body.clientWidth+20>=document.documentElement.clientWidth)){width=document.documentElement.clientWidth;height=document.documentElement.clientHeight}return[width,height]}function pausecomp(c){var b=new Date();var a=null;do{a=new Date()}while(a-b<c)}var ID=null;function moveMouse(a){a?evt=a:evt=event;CSE=evt.target?evt.target:evt.srcElement;if(!CSE.hasbox){iElem=CSE;while((iElem.parentNode)&&(!iElem.hasbox)){scanBO(iElem);iElem=iElem.parentNode}}if((CSE!=LSE)&&(!isChild(CSE,dvHdr))&&(!isChild(CSE,dvBdy))){if(!CSE.boxItem){iterElem=CSE;while((iterElem.hasbox==2)&&(iterElem.parentNode)){iterElem=iterElem.parentNode}CSE.boxItem=iterElem}iterElem=CSE.boxItem;if(CSE.boxItem&&(CSE.boxItem.hasbox==1)){LBE=CBE;CBE=iterElem;if(CBE!=LBE){applyStyles();if(!CBE.requireclick){if(CBE.fade){if(ID!=null){clearTimeout(ID)}ID=setTimeout("fadeIn("+CBE.fadespeed+")",CBE.delay)}else{if(ID!=null){clearTimeout(ID)}COL=1;ID=setTimeout("oDv.style.visibility='visible';ID=null;",CBE.delay)}}if(CBE.IEbugfix){hideSelects()}fixposx=!isNaN(CBE.fixX)?Left(CBE)+CBE.fixX:CBE.absX;fixposy=!isNaN(CBE.fixY)?Top(CBE)+CBE.fixY:CBE.absY;lockX=0;lockY=0;boxMove=true;ox=CBE.offX?CBE.offX:10;oy=CBE.offY?CBE.offY:10}}else{if(!isChild(CSE,dvHdr)&&!isChild(CSE,dvBdy)&&(boxMove)){if((!isChild(CBE,CSE))||(CSE.tagName!="TABLE")){CBE=null;if(ID!=null){clearTimeout(ID)}fadeOut();showSelects()}}}LSE=CSE}else{if(((isChild(CSE,dvHdr)||isChild(CSE,dvBdy))&&(boxMove))){totalScrollLeft=0;totalScrollTop=0;iterElem=CSE;while(iterElem){if(!isNaN(parseInt(iterElem.scrollTop))){totalScrollTop+=parseInt(iterElem.scrollTop)}if(!isNaN(parseInt(iterElem.scrollLeft))){totalScrollLeft+=parseInt(iterElem.scrollLeft)}iterElem=iterElem.parentNode}if(CBE!=null){boxLeft=Left(CBE)-totalScrollLeft;boxRight=parseInt(Left(CBE)+CBE.offsetWidth)-totalScrollLeft;boxTop=Top(CBE)-totalScrollTop;boxBottom=parseInt(Top(CBE)+CBE.offsetHeight)-totalScrollTop;doCheck()}}}if(boxMove&&CBE){bodyScrollTop=document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;bodyScrollLet=document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;mouseX=evt.pageX?evt.pageX-bodyScrollLet:evt.clientX-document.body.clientLeft;mouseY=evt.pageY?evt.pageY-bodyScrollTop:evt.clientY-document.body.clientTop;if((CBE)&&(CBE.windowLock)){mouseY<-oy?lockY=-mouseY-oy:lockY=0;mouseX<-ox?lockX=-mouseX-ox:lockX=0;mouseY>(SHW()[1]-oDv.offsetHeight-oy)?lockY=-mouseY+SHW()[1]-oDv.offsetHeight-oy:lockY=lockY;mouseX>(SHW()[0]-dvBdy.offsetWidth-ox)?lockX=-mouseX-ox+SHW()[0]-dvBdy.offsetWidth:lockX=lockX}oDv.style.left=((fixposx)||(fixposx==0))?fixposx:bodyScrollLet+mouseX+ox+lockX+"px";oDv.style.top=((fixposy)||(fixposy==0))?fixposy:bodyScrollTop+mouseY+oy+lockY+"px"}}function pauseBox(a){a?evt=a:evt=event;boxMove=false;evt.cancelBubble=true}function showHideBox(a){oDv.style.visibility=(oDv.style.visibility!="visible")?"visible":"hidden"}function hideBox(a){oDv.style.visibility="hidden"}var COL=0;var stopfade=false;function fadeIn(a){ID=null;COL=0;oDv.style.visibility="visible";fadeIn2(a)}function fadeIn2(a){COL=COL+a;COL=(COL>1)?1:COL;oDv.style.filter="alpha(opacity="+parseInt(100*COL)+")";oDv.style.opacity=COL;if(COL<1){setTimeout("fadeIn2("+a+")",20)}}function fadeOut(){oDv.style.visibility="hidden"}function isChild(a,b){while(a){if(a==b){return true}a=a.parentNode}return false}var cSrc;function checkMove(a){a?evt=a:evt=event;cSrc=evt.target?evt.target:evt.srcElement;if((!boxMove)&&(!isChild(cSrc,oDv))){fadeOut();if(CBE&&CBE.IEbugfix){showSelects()}boxMove=true;CBE=null}}function showSelects(){var a=document.getElementsByTagName("select");for(i=0;i<a.length;i++){a[i].style.visibility="visible"}}function hideSelects(){var a=document.getElementsByTagName("select");for(i=0;i<a.length;i++){a[i].style.visibility="hidden"}}startList=function(){if(document.all&&document.getElementById){navRoot=document.getElementById("menu");for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over"};node.onmouseout=function(){this.className=this.className.replace(" over","")}}}}};window.onload=startList;startList2=function(){if(document.all&&document.getElementById){navRoot=document.getElementById("menu");for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over"};node.onmouseout=function(){this.className=this.className.replace(" over","")}}}}};window.onload=startList2;function showSendmess(b,a){if(document.getElementById(b).style.display=="none"){document.getElementById(b).style.display="block"}else{document.getElementById(b).style.display="none"}document.getElementById(a).style.display=""};