/*
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
NO comma at end
*/

//set image paths ... no comma at end
src = ["lit_slideshow/am_beloved.jpg", "lit_slideshow/apache_blessing.jpg", "lit_slideshow/article_1.jpg", "lit_slideshow/desiderata.jpg", "lit_slideshow/irish_blessing.jpg", "lit_slideshow/love_patient.jpg", "lit_slideshow/to_everything.jpg"]

//set corresponding urls ; no comma at very end

//set corresponding urls ; no comma at end
url = ["http://www.literarycalligraphy.com/biblical/iambeloveds.html", "http://www.literarycalligraphy.com/weddings/apache_blessing.html", "http://www.literarycalligraphy.com/americana/article_1.html", "http://www.literarycalligraphy.com/philosophy/desiderata.html", "http://www.literarycalligraphy.com/philosophy/irishblessing.html", "http://www.literarycalligraphy.com/biblical/lovepatient.html", "http://www.literarycalligraphy.com/biblical/ecclesiastes_3.html" ]

//set duration for each image
duration = 5;

//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();
}
