Slide 1
Slide 2
Slide 3
Slide 4
Slide 5

var Conclave=(function(){
var buArr =[],arlen;
return {
init:function(){
this.addCN();this.clickReg();
},
addCN:function(){
var buarr=[“holder_bu_awayL2″,”holder_bu_awayL1″,”holder_bu_center”,”holder_bu_awayR1″,”holder_bu_awayR2″];
for(var i=1;i<=buarr.length;++i){ $("#bu"+i).removeClass().addClass(buarr[i-1]+" holder_bu"); } }, clickReg:function(){ $(".holder_bu").each(function(){ buArr.push($(this).attr('class')) }); arlen=buArr.length; for(var i=0;impos?arlen-cpos+mpos:mpos-cpos;
while(tomove){
var t=buArr.shift();
buArr.push(t);
for(var i=1;i<=arlen;++i){ $("#bu"+i).removeClass().addClass(buArr[i-1]+" holder_bu"); } --tomove; } } }) }, auto:function(){ for(i=1;i<=1;++i){ $(".holder_bu").delay(4000).trigger('click',"bu"+i).delay(4000); console.log("called"); } } }; })(); $(document).ready(function(){ window['conclave']=Conclave; Conclave.init(); })