(function(){ document.write('
'); })() var slideCache = new Array(); function RunSlideShowWithLinks(pictureID,linkID,imageLinks,displaySecs) { var separator = imageLinks.indexOf(";"); var nextImage = imageLinks.substring(0,separator); //if (slideCache[nextImage] && slideCache[nextImage].loaded) //{ fadeIn(0); var futureImages = imageLinks.substring(separator +1,imageLinks.length) + ';' + nextImage; separator = futureImages.indexOf(";"); var nextLink = futureImages.substring(0,separator); futureImages= futureImages.substring(separator +1,imageLinks.length) + ';' + nextLink; if (document.all) { document.getElementById(pictureID).style.filter="blendTrans(duration=2)"; document.getElementById(pictureID).filters.blendTrans.Apply(); } document.getElementById(pictureID).src = nextImage; document.getElementById(linkID).href = nextLink; if (document.all) { document.getElementById(pictureID).filters.blendTrans.Play(); } setTimeout("RunSlideShowWithLinks('"+pictureID+"','"+linkID+"','"+futureImages+"',"+displaySecs+")", displaySecs*1000); separator = futureImages.indexOf(";"); nextImage = futureImages.substring(0,separator); //} else { // setTimeout("RunSlideShowWithLinks('"+pictureID+"','"+linkID+"','"+imageLinks+"',"+displaySecs+")",250); //} if (slideCache[nextImage] == null) { slideCache[nextImage] = new Image; slideCache[nextImage].loaded = false; slideCache[nextImage].onload = function(){this.loaded=true}; slideCache[nextImage].src = nextImage; } } function fadeIn(opacity) { if (document.getElementById('pictureslideshow')) { if (opacity <= 99.99) { if (document.getElementById('pictureslideshow').style.MozOpacity!=null) { document.getElementById('pictureslideshow').style.MozOpacity = (opacity/100)-.001; } else if (document.getElementById('pictureslideshow').style.opacity!=null) { document.getElementById('pictureslideshow').style.opacity = (opacity/100)-.001; } else if (document.getElementById('pictureslideshow').style.filter!=null) { document.getElementById('pictureslideshow').style.filter = "alpha(opacity="+opacity+")"; } opacity += 10; window.setTimeout("fadeIn("+opacity+")", 90); } } } RunSlideShowWithLinks("pictureslideshow","slideshow", "http://www.a-better-tomorrow.com/abtimage/image/7119/ressred1-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/1511?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/7355/ABT-Sticker_Wall_01-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/1559?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/2845/rudebag-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/705?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/5685/Elvisrot_Navy_Girl-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/1308?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/4008/666-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/994?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/3693/reykjavik_summer-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/923?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/2878/13_1-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/715?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/7353/ovecome2-large.jpg;http://www.a-better-tomorrow.com/contributor/show_design/926?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/6823/wallsticker_dog_preview-large.jpg;http://www.a-better-tomorrow.com/contributor/show_design/880?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/abtimage/image/5353/WALL_RockyBeach01_350-large.jpg;http://www.a-better-tomorrow.com/contributor/show_design/641?ref=pixelmonster;" + "http://www.a-better-tomorrow.com/images/abt_logo.png;http://www.a-better-tomorrow.com" ,6);