<!--

/*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 = ["wallpaper/thumbs/Pray4us-thmb.jpg","wallpaper/thumbs/ShirtFront2006-thmb.jpg","wallpaper/thumbs/Gero3-GreyBdr-thmb.jpg","wallpaper/thumbs/cmaWebLogo-thmb.jpg","wallpaper/thumbs/alyssa-JT5-Nagano-thmb.jpg","wallpaper/thumbs/cloudposter-thmb.jpg","wallpaper/thumbs/CMA-NewLogo-thmb.jpg","wallpaper/thumbs/stream-thmb.jpg","wallpaper/thumbs/JT5-desktop-thmb.jpg"]

//set corresponding urls

//
url = ["http://magnifythelord.org/cma/wallpaper/CMA_Posters9.html", "http://magnifythelord.org/cma/wallpaper/CMA_Posters5.html", "http://magnifythelord.org/cma/wallpaper/CMA_Posters8.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters6.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters3.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters1.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters7.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters2.html","http://magnifythelord.org/cma/wallpaper/CMA_Posters4.html"]


//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();

}

//-->