<!--

/*
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 = ["./hobolada/Kuluc.JPG",       "./hobolada/Kuluc_khadra.JPG", "./hobolada/Hadrawi.JPG",
          "./hobolada/Hassan_Qays.JPG", "./hobolada/Qays2.JPG",        "./hobolada/Khadra2.JPG",
          "./hobolada/gaarriye.jpg",     "./hobolada/Xudayda.JPG",     "./hobolada/hnura.jpg",
          "./hobolada/Nimco.JPG",       "./hobolada/sjama.gif",        "./hobolada/sali.jpg",
          "./hobolada/mooge3.JPG"]


//set corresponding urls
url = ["http://www.farshaxan.com","http://www.farshaxan.com","http://www.farshaxan.com",
       "http://www.farshaxan.com","http://www.farshaxan.com","http://www.farshaxan.com",
       "http://www.farshaxan.com","http://www.farshaxan.com","http://www.farshaxan.com",
       "http://www.farshaxan.com","http://www.farshaxan.com","http://www.farshaxan.com",
       "http://www.farshaxan.com"]

//set duration for each image
duration = 2;

//no editing on this part
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();
}
//-->