var divs=3; function an(index) { for(x=0; x