// JavaScript Document

<!--
if (document.images)
{
  pic1= new Image(); 
  pic1.src="images/ss1.jpg"; 

}
//-->



<!--

/*
Script by FPMC at http://jsarchive.8m.com
Submitted to JavaScript Kit (http://javascriptkit.com)
For this and 400+ free scripts, visit http://javascriptkit.com
*/

//set image paths
src = ["images/ss1.jpg", "images/ss2.jpg", "images/ss3.jpg", "images/ss4.jpg", "images/ss5.jpg", "images/ss6.jpg", "images/ss7.jpg", "images/ss8.jpg", "images/ss9.jpg", "images/ss10.jpg", "images/ss11.jpg"]


//set corresponding urls
url = ["", "", "", "", "", "", "", "", "", "", ""]

//set duration for each image
duration = 3;

//Please do not edit below
ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)
switchAd();
}
//-->
