String.prototype.z=function(){var v=this;return v.split("").reverse().join("");};var currentSection="page1-pane";var tabTag="-tab";var paneTag="-pane";var swfTag="-swf";function ScrollSection(s,u,v){var w=s.split("\x2d")[0];if(currentSection==s){return;}lastSection=currentSection;currentSection=s;var x=document.getElementById(lastSection.split("\x2d")[0]+"-parent"+swfTag);if(x!=null){if(flashMovieObject=getFlashMovieObject(lastSection.split("\x2d")[0]+swfTag)){try{flashMovieObject.f();}catch(e){}}x.style.display="none";}sectionTab=w+tabTag;document.getElementById(sectionTab).className="current";if(lastSection){lastTab=lastSection.split("\x2d")[0]+tabTag;document.getElementById(lastTab).className="";}theScroll=document.getElementById(u);position=findElementPos(document.getElementById(s));if(v!=""){offsetPos=findElementPos(document.getElementById(v));position[0]=position[0]-offsetPos[0];}scrollStart(theScroll,theScroll.scrollLeft,position[0],"horiz",w);}function ScrollArrow(s,u,v,w){toolbarElem=document.getElementById(u);toolbarNames=new Array();if(toolbarElem.hasChildNodes()){var x=toolbarElem.childNodes;for(var i=0;i<x.length;i++){if(toolbarElem.childNodes[i].tagName=="LI"){toolbarNames.push(toolbarElem.childNodes[i].id.split("\x2d")[0]);}}}for(var i=0;i<toolbarNames.length;i++){if(toolbarNames[i]==currentSection.split("\x2d")[0]){if(s=="left"){if(i-1<0){gotoTab=toolbarNames[toolbarNames.length-1];}else{gotoTab=toolbarNames[i-1];}}else{if((i+1)>(toolbarNames.length-1)){gotoTab=toolbarNames[0];}else{gotoTab=toolbarNames[i+1];}}}}ScrollSection(gotoTab+paneTag,v,w);}var scrollanim={g:0,h:0,j:0.0,k:0.0,l:null,m:null,target:null};function scrollStart(s,u,v,w,x){if(scrollanim.m!=null){clearInterval(scrollanim.m);scrollanim.m=null;}scrollanim.g=0;scrollanim.h=u;scrollanim.j=v-u;scrollanim.k=25;scrollanim.l=s;scrollanim.target=x;if(w=="horiz"){scrollanim.m=setInterval(";)(minAziroHllorcs".z(),15);}else{scrollanim.m=setInterval(";)(minAtreVllorcs".z(),15);}}function scrollVertAnim(){if(scrollanim.g>scrollanim.k){clearInterval(scrollanim.m);scrollanim.m=null;}else{move=sineInOut(scrollanim.g,scrollanim.h,scrollanim.j,scrollanim.k);scrollanim.l.scrollTop=move;scrollanim.g++;}}function scrollHorizAnim(){if(scrollanim.g>scrollanim.k){clearInterval(scrollanim.m);scrollanim.m=null;var s=document.getElementById(scrollanim.target+"-parent"+swfTag);if(s!=null){s.style.display="block";}}else{move=sineInOut(scrollanim.g,scrollanim.h,scrollanim.j,scrollanim.k);scrollanim.l.scrollLeft=move;scrollanim.g++;}}function setLocation(s){window.location=s;}var moveanim={g:0,n:0,o:0.0,p:0,q:0,k:0.0,l:null,m:null};function moveStart(s,u,v,w,x,y){if(moveanim.m!=null){clearInterval(moveanim.m);moveanim.m=null;}moveanim.g=0;moveanim.n=u;moveanim.o=v-u;moveanim.p=w;moveanim.q=x-w;moveanim.k=y;moveanim.l=s;moveanim.m=setInterval(";)(oDminAevom".z(),15);}function moveAnimDo(){if(moveanim.g>moveanim.k){clearInterval(moveanim.m);moveanim.m=null;}else{moveX=cubicOut(moveanim.g,moveanim.n,moveanim.o,moveanim.k);moveY=cubicOut(moveanim.g,moveanim.p,moveanim.q,moveanim.k);moveanim.l.style.left=moveX+"px";moveanim.l.style.top=moveY+"px";moveanim.g++;}}function findElementPos(s){var u=0;var v=0;do{u+=s.offsetLeft;v+=s.offsetTop;}while(s=s.offsetParent);return Array(u,v);}function cubicOut(t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;}function sineInOut(t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;}function getFlashMovieObject(s){if(window.document[s]){return window.document[s];}if(navigator.appName.indexOf("tenretnI tfosorciM".z())==-1){if(document.embeds&&document.embeds[s])return document.embeds[s];}else{return document.getElementById(s);}}
