NewImg = new Array ( 
"http://www.bindaaspoll.com/images/img1.jpg",
"http://www.bindaaspoll.com/images/img40.jpg",
"http://www.bindaaspoll.com/images/img41.jpg",
"http://www.bindaaspoll.com/images/img33.jpg",
"http://www.bindaaspoll.com/images/img32.jpg",
"http://www.bindaaspoll.com/images/img2.jpg",
"http://www.bindaaspoll.com/images/img34.jpg",
"http://www.bindaaspoll.com/images/img25.jpg",
"http://www.bindaaspoll.com/images/img3.jpg",
"http://www.bindaaspoll.com/images/img37.jpg",
"http://www.bindaaspoll.com/images/img4.jpg",
"http://www.bindaaspoll.com/images/img38.jpg",
"http://www.bindaaspoll.com/images/img5.jpg", 
"http://www.bindaaspoll.com/images/img10.jpg",
"http://www.bindaaspoll.com/images/img11.jpg", 
"http://www.bindaaspoll.com/images/img12.jpg", 
"http://www.bindaaspoll.com/images/img14.jpg",
"http://www.bindaaspoll.com/images/img15.jpg",
"http://www.bindaaspoll.com/images/img18.jpg",
"http://www.bindaaspoll.com/images/img19.jpg",
"http://www.bindaaspoll.com/images/img24.jpg" 
); 
Url=new Array(
"http://www.bindaaspoll.com/jobs",
"http://www.bindaaspoll.com/friends/default.aspx",
"http://www.s2d6.com/x/?x=c&z=s&v=1036283",
"http://www.astrolife.com/product/index.php?code=R-VA-311&ptnr=k2hk4t",
"http://www.s2d6.com/x/?x=c&z=s&v=819105",
"http://www.bizcardreader.in/features_Colour%20Bizcard%20Reader%20820.html",
"http://www.astrolife.com/product/index.php?code=R-VA-005&ptnr=k2hk4t",
"http://www.s2d6.com/x/?x=c&z=s&v=917094",
"http://www.s2d6.com/x/?x=c&z=s&v=819105",
"http://www.bindaaspoll.com/shopping/index.htm",
"http://www.ecatalogindia.com",
"http://www.bindaaspoll.com/globalwarming/index.htm",
"http://www.s2d6.com/x/?x=c&z=s&v=762747",
"http://www.makaan.com/index.php?ptnr=bindas",
"http://www.s2d6.com/x/?x=c&z=s&v=754377",
"http://centrafest.in/Mobile%20Scanner.html",
"http://www.s2d6.com/x/?x=c&z=s&v=762770",
"http://www.shaadi.com/registration/user/index.php?a=1",
"http://www.s2d6.com/x/?x=c&z=s&v=754374",
"http://www.s2d6.com/x/?x=c&z=s&v=762745",
"http://www.s2d6.com/x/?x=c&z=s&v=910314"
);


var p = NewImg.length; 
var preLoad = new Array(); 
for (i = 0; i < p; i++) { 
preLoad[i] = new Image(); 
preLoad[i].src = NewImg[i]; 
} 
var ImgNum = 0; 
var ImgLength = NewImg.length - 1; 
//Time delay between Slides in milliseconds 
var delay = 15000; 
var t; 
var lock = false; 
var run; 

function chgImg(direction) { 
if (document.all) { 
document.images.SlideShow.style.filter="revealTrans(duration=3)"; 
document.images.SlideShow.style.filter="revealTrans(duration=3, transition=20)"; 
document.images.SlideShow.filters.revealTrans.Apply(); 
} 
if (document.all) { 
document.images.SlideShow.filters.revealTrans.Play(); 
} 
if (document.images) { 
ImgNum = ImgNum + direction; 
if (ImgNum > ImgLength) { 
ImgNum = 0; 
} 
if (ImgNum < 0) { 
ImgNum = ImgLength; 
} 
document.SlideShow.src = NewImg[ImgNum];
document.getElementById('the_link').href=Url[ImgNum];
} 
} 
function auto() { 
if (lock == true) { 
lock = false; 
window.clearInterval(run); 
} 
else if (lock == false) { 
lock = true; 
run = setInterval("chgImg(1)", delay); 
} 
} 
