/* :::::::::::::::::::: Photo Gallery :::::::::::::::::::: */ // //@Open Gallery // function open_gallery(imgURL){ document.getElementById("popup_pic").src = imgURL; document.getElementById("photo").style.display = ""; for(i=0; i"); GalleryElements = document.getElementById(ID).getElementsByTagName("a"); GalleryLinks = new Array(); GalleryName = new Array(); GalleryWords = new Array(); for(i=0; i"; gTEXT = GalleryElements[i].innerHTML.replace(/STRONG/g,"strong").replace(/BR/g,"br"); GalleryName[i] = gTEXT.slice(gTEXT.indexOf("\">")+2); } } } function photo_next(){ for(i=0; i= GalleryLinks.length ) NextPhotoNum = 0; for(i=0; i<=10; i++){ setTimeout("document.getElementById('popup_pic').style.opacity='" + (10-i)/10 + "';", i*30); setTimeout("document.getElementById('popup_pic').style.filter='Alpha(opacity=" + (10-i)*10 + ")';", i*30); } setTimeout("document.getElementById('popup_pic').src='" + GalleryLinks[NextPhotoNum] + "';", 10*30); // setTimeout("document.getElementById('pic_name').innerHTML='" + GalleryName[NextPhotoNum] + "';", 10*30); document.getElementById('pic_name').innerHTML = GalleryName[NextPhotoNum]; for(i=0; i<=10; i++){ setTimeout("document.getElementById('popup_pic').style.opacity='" + (i/10) + "';", i*30 + 10*30); setTimeout("document.getElementById('popup_pic').style.filter='Alpha(opacity=" + (i*10) + ")';", i*30 + 10*30); } } function photo_prev(){ for(i=0; i