// JavaScript Document if (document.getElementById("slideshow")) preloader(); window.addEventListener?window.addEventListener('load',so_init,false):window.attachEvent('onload',so_init); var d=document, imgs = new Array(), zInterval = null, current=0, pause=false; function so_init(){ if(!d.getElementById || !d.createElement)return; if (document.getElementById("slideshow")){ imgs = d.getElementById('slideshow').getElementsByTagName('img'); for(i=1;i.99) { obj.xOpacity = .99; return; } obj.style.opacity = obj.xOpacity; obj.style.MozOpacity = obj.xOpacity; obj.style.filter = 'alpha(opacity=' + (obj.xOpacity*100) + ')'; } } function preloader(){ var i=0; array = new Array(); array[i++]='/public/header/2.jpg'; array[i++]='/public/header/5.jpg'; array[i++]='/public/header/7.jpg'; for(x=0;xImage ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + ''; } }); }); } function init_gallery_single(names){ for(x=0;x