<!---------------------------------------------------------------------Current Issue Home Page Chunk---------------------------------------------------------------->
var p = 10;
var cnt = 0;
var s=0;
var t=0;
var h;
var arrlength = new Array();
arrlength[0] = 'images/september15-1.jpg';
arrlength[1] = 'images/september15-2.jpg';
arrlength[2] = 'images/september15-3.jpg';
arrlength[3] = 'images/september15-4.jpg';
arrlength[4] = 'images/september15-5.jpg';

arrlength[5] = 'images/september15-6.jpg';
arrlength[6] = 'images/september15-7.jpg';
arrlength[7] = 'images/september15-8.jpg';
arrlength[8] = 'images/september15-9.jpg';
arrlength[9] = 'images/september15-10.jpg';



var arrtext = new Array();
arrtext[0] = "Audi is sure hoping that the revolution created by the A4 is repeated with the launch of the new A6. Auto Bild India gives you a first view of the next gen A6.";
arrtext[1] = "Does the Corolla Altis diesel have what it takes to beat our current diesel D-segment champ, the Skoda Laura? Auto Bild India delivers its verdict.";
arrtext[2] = "With so much choice, deciding on what's best for you can be a tedious task. And the Nissan Micra has only added to the confusion. Auto Bild India decided to clear the air.";
arrtext[3] = "With the new A8, which one would find impressive even at standstill, Audi has outdone itself. Not only is it a technological marvel on wheels, it is also a near perfect combination of luxury and comfort and performance. We take it out for a spin.";
arrtext[4] = "The new Jetta looks distinctive. Auto Bild drives VW's entry-level premium sedan.";

arrtext[5] = "The Vento is Volkswagen's next step at going mass market. We drive the Polo based sedan.";
arrtext[6] = "India is slated to host its maiden Formula One race come 2011. Auto Bild India brings you the lowdown on the F1 race circuit coming up in Greater Noida, UP.";
arrtext[7] = "In the penultimate part of this series on the Yeti Trail drive around Europe, we traverse through northern Norway, reaching as far north as the Nordkapp, before travelling south through Finland and on to Estonia.";
arrtext[8] = "A seemingly perfect running car may not restart, leaving you stranded on the highway. Auto Bild India tells you the reasons for its sudden lack of co-operation.";
arrtext[9] = "Auto Bild India tells you the pros and cons of filling your car's tyres with nitrogen.";

var headtext = new Array();
headtext[0] = "A6 refreshed";
headtext[1] = "Diesel decree";
headtext[2] = "Spoilt by choice";
headtext[3] = "Wondercar from Audi";
headtext[4] = "Jetta's all grown up";

headtext[5] = "Going Public";
headtext[6] = "Chasing the F1 dream";
headtext[7] = "The Yeti Trail part IV";
headtext[8] = "Car dying on you?";
headtext[9] = "For your tyres only";



var numbertext = new Array();
numbertext[0] =  "1 of 10";
numbertext[1] =  "2 of 10";
numbertext[2] = "3 of 10";
numbertext[3] = "4 of 10";
numbertext[4] = "5 of 10";
numbertext[5] =  "6 of 10";
numbertext[6] =  "7 of 10";

numbertext[7] = "8 of 10";
numbertext[8] = "9 of 10";
numbertext[9] = "10 of 10";






var q = p*3;

function vshow(c)
{
if(c=='n')
  
 {
	 s=s%p;
 cnt=cnt+1;
 s=cnt;
 t=cnt*3;
s=s%p;
for(cnt=s; cnt<=s && cnt<p; cnt++)
 {
  document.getElementById("head1").innerHTML=headtext[cnt%p];
 document.getElementById("text1").innerHTML=arrtext[cnt%p];
  document.getElementById("numbertext").innerHTML=numbertext[cnt%p];
 document.i1.src=arrlength[cnt%p];
 t=t+3;
 t=t%q;
break;
}
 } 
  
 else 
{
s=s%p;
s=cnt-1;
if(s<0)
{
	if(s == -2)
		s=p-2;
	else
		s=p-1;
}
s=s%p;
 
   t=t-1;
   if(t<0)
   {t=q-1}
   t=t%q;
   
  for(cnt=s; cnt>=s && cnt<p; cnt--)
  {
     document.i1.src=arrlength[(cnt+p)%p];
   document.getElementById("head1").innerHTML=headtext[(cnt+p)%p];
 document.getElementById("text1").innerHTML=arrtext[(cnt+p)%p];
  document.getElementById("numbertext").innerHTML=numbertext[(cnt+p)%p];
  t=t-2;
  break;
 }
}
}

