(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/24611/kleptonaut_01-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3591?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/22690/wormskullchimp-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3464?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/18791/produkt2-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/2971?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/24455/racist_friend__shirt_weiss_01-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3579?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/15275/rot2-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/2624?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/18481/paint-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/2979?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/21488/raider-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3257?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/24064/fishy_business_1-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3564?ref=soundshifter;" + "http://www.a-better-tomorrow.com/abtimage/image/24217/spam_shirt_01-large.jpg;http://www.a-better-tomorrow.com/customer/show_product/3574?ref=soundshifter;" + "http://www.a-better-tomorrow.com/images/abt_logo.png;http://www.a-better-tomorrow.com" ,6);