if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { fSlideshowInterval = 10; fNumberOfImages = 5; fImages = new Array(fNumberOfImages); fLinks = new Array(fNumberOfImages); fImages[0] = "http://www.wgte.org/wgte/content/items/image/1523_200812011450.jpg"; fLinks[0] = "https://www.edu-core.org/external/wgte/join/index.asp?userid=3448"; fImages[1] = "http://www.wgte.org/wgte/content/items/image/1449_200812011313.jpg"; fLinks[1] = "http://www.wgte.org/wgte/listen/item.asp?item_id=23"; fImages[2] = "http://www.wgte.org/wgte/content/items/image/1534_200812011409.jpg"; fLinks[2] = "http://www.wgte.org/wgte/watch/item.asp?item_id=1395"; fImages[3] = "http://www.wgte.org/wgte/content/items/image/1535_200812011447.jpg"; fLinks[3] = "http://www.wgte.org/wgte/watch/item.asp?item_id=1532"; fImages[4] = "http://www.wgte.org/wgte/content/items/image/1536.jpg"; fLinks[4] = "http://www.wgte.org/wgte/watch/item.asp?item_id=1533"; /*function canfManipulateImages() { if (document.images) return true; else return false; } function loadfSlide(imageURL,imageLink) { if (fImageCapableBrowser) { document.feature.src = imageURL; document.feature.onclick=function(){window.location.href=imageLink;}; return false; } else { return true; } } function nextfSlide() { fCurrentImage = (fCurrentImage + 1) % fNumberOfImages; loadfSlide(fImages[fCurrentImage],fLinks[fCurrentImage]); } fImageCapableBrowser = canfManipulateImages();*/ fCurrentImage = Math.floor(Math.random()*fNumberOfImages); //setInterval("nextfSlide()",fSlideshowInterval * 1000); var strObject = ""; document.getElementById("features").innerHTML = strObject; } else { var strObject = ""; strObject += ""; strObject += ""; strObject += ""; strObject += ""; strObject += ""; strObject += ""; strObject += ""; strObject += ""; document.getElementById("features").innerHTML = strObject; }