var terms=new Array();terms[0]="Website design & realisatie"; terms[1]="Content Management (CMS)"; terms[2]="Webservices"; terms[3]="Google AdWords"; terms[4]="Google AdSense"; terms[5]="Microsoft.NET"; terms[6]="Zoekmachine optimalisatie"; terms[7]="Google Analytics"; terms[8]="Dedicated hosting"; terms[9]="Webapplicaties"; terms[10]="Online inschrijven"; terms[11]="Online product configuratoren"; terms[12]="Online boekingssystemen"; terms[13]="Online planningssystemen"; terms[14]="Google Maps"; terms[15]="Digitale nieuwsbrieven"; terms[16]="Backoffice integratie"; terms[17]="Webshops"; terms[18]="Online winkelen"; terms[19]="Online adviessystemen"; terms[20]="Microsoft Office"; terms[21]="Antispam en -virusdiensten"; terms[22]="Backoffice synchronisatie"; terms[23]="Communities"; terms[24]="Agile development"; terms[25]="Extreme Programming (XP)"; var current=new Array();current[0]=3; current[1]=1; current[2]=21; current[3]=5; var timeout; $(document).ready(function(){ timeout=setTimeout("updateTerm()",getTimeout()); }); function updateTerm(){ var divs=$(".term"); var rnd=Math.floor(Math.random()*divs.length); $(divs[rnd]).fadeOut("slow", function(){ $(divs[rnd]).html(getTerm(rnd)).fadeIn("slow"); }); timeout=setTimeout("updateTerm()",getTimeout()); } function getTerm(index){ var joined="{"+current.join("}{")+"}"; while(true){ var rnd=Math.floor(Math.random()*terms.length); if(joined.indexOf("{"+rnd+"}")==-1){ current.splice(index,1,rnd); return terms[rnd]; } } } function getTimeout(){ return 1000*(2+Math.floor(Math.random()*2)); }