var fadecounter18272222503 = 0; var cyclecounter18272222503 = 0; var imagecounter18272222503 = 0; var fadeinterval18272222503 = 6000; var t18272222503; var nextimagetoload18272222503 = new Image(); var nextmouseoverimagetoload18272222503 = new Image(); var mouseoverimage18272222503 = new Image(); var mouseoutimage18272222503 = new Image(); var mouseoverflag18272222503 = 0; var width18272222503 = 250; var height18272222503 = 250; var link18272222503; var imagearray18272222503 = new Array(10); var imagemouseoverarray18272222503 = new Array(10); var linkarray18272222503 = new Array(10); image1827222250340854381 = new Image(); imagemouseover1827222250340854381 = new Image(); image1827222250340854381.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sunrise-on-sandown-beach-isle-of-wight-jeremy-hayden/b1/Sunrise+on+Sandown+Beach+Isle+of+Wight/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250340854381.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sunrise-on-sandown-beach-isle-of-wight-jeremy-hayden/b1/Sunrise+on+Sandown+Beach+Isle+of+Wight/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[0] = image1827222250340854381; imagemouseoverarray18272222503[0] = imagemouseover1827222250340854381; linkarray18272222503[0] = 'http://jeremy-hayden.artistwebsites.com/featured/sunrise-on-sandown-beach-isle-of-wight-jeremy-hayden.html'; image1827222250340853405 = new Image(); imagemouseover1827222250340853405 = new Image(); image1827222250340853405.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/table-mountain-and-apartments-cape-town-jeremy-hayden/b1/Table+Mountain+and+Apartments+Cape+Town/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250340853405.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/table-mountain-and-apartments-cape-town-jeremy-hayden/b1/Table+Mountain+and+Apartments+Cape+Town/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[1] = image1827222250340853405; imagemouseoverarray18272222503[1] = imagemouseover1827222250340853405; linkarray18272222503[1] = 'http://jeremy-hayden.artistwebsites.com/featured/table-mountain-and-apartments-cape-town-jeremy-hayden.html'; image1827222250340674446 = new Image(); imagemouseover1827222250340674446 = new Image(); image1827222250340674446.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/pretty-pink-and-yellow-rose-on-black-jeremy-hayden/b1/Pretty+Pink+and+Yellow+Rose+on+Black/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250340674446.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/pretty-pink-and-yellow-rose-on-black-jeremy-hayden/b1/Pretty+Pink+and+Yellow+Rose+on+Black/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[2] = image1827222250340674446; imagemouseoverarray18272222503[2] = imagemouseover1827222250340674446; linkarray18272222503[2] = 'http://jeremy-hayden.artistwebsites.com/featured/pretty-pink-and-yellow-rose-on-black-jeremy-hayden.html'; image1827222250340287407 = new Image(); imagemouseover1827222250340287407 = new Image(); image1827222250340287407.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sunrise-hillside-in-the-yorkshire-dales-jeremy-hayden/b1/Sunrise+Hillside+in+the+Yorkshire+Dales/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250340287407.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sunrise-hillside-in-the-yorkshire-dales-jeremy-hayden/b1/Sunrise+Hillside+in+the+Yorkshire+Dales/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[3] = image1827222250340287407; imagemouseoverarray18272222503[3] = imagemouseover1827222250340287407; linkarray18272222503[3] = 'http://jeremy-hayden.artistwebsites.com/featured/sunrise-hillside-in-the-yorkshire-dales-jeremy-hayden.html'; image1827222250340287387 = new Image(); imagemouseover1827222250340287387 = new Image(); image1827222250340287387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sedbergh-camp-sunrise-over-the-yorkshire-dales-jeremy-hayden/b1/Sedbergh+Camp+Sunrise+over+the+Yorkshire+Dales/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250340287387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sedbergh-camp-sunrise-over-the-yorkshire-dales-jeremy-hayden/b1/Sedbergh+Camp+Sunrise+over+the+Yorkshire+Dales/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[4] = image1827222250340287387; imagemouseoverarray18272222503[4] = imagemouseover1827222250340287387; linkarray18272222503[4] = 'http://jeremy-hayden.artistwebsites.com/featured/sedbergh-camp-sunrise-over-the-yorkshire-dales-jeremy-hayden.html'; image1827222250339998507 = new Image(); imagemouseover1827222250339998507 = new Image(); image1827222250339998507.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sand-sea-and-sun-patterns-on-the-beach-jeremy-hayden/b1/Sand+Sea+and+Sun+Patterns+on+the+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250339998507.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sand-sea-and-sun-patterns-on-the-beach-jeremy-hayden/b1/Sand+Sea+and+Sun+Patterns+on+the+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[5] = image1827222250339998507; imagemouseoverarray18272222503[5] = imagemouseover1827222250339998507; linkarray18272222503[5] = 'http://jeremy-hayden.artistwebsites.com/featured/sand-sea-and-sun-patterns-on-the-beach-jeremy-hayden.html'; image1827222250339997099 = new Image(); imagemouseover1827222250339997099 = new Image(); image1827222250339997099.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/breaking-wave-on-a-tenby-beach-jeremy-hayden/b1/Breaking+Wave+on+a+Tenby+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250339997099.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/breaking-wave-on-a-tenby-beach-jeremy-hayden/b1/Breaking+Wave+on+a+Tenby+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[6] = image1827222250339997099; imagemouseoverarray18272222503[6] = imagemouseover1827222250339997099; linkarray18272222503[6] = 'http://jeremy-hayden.artistwebsites.com/featured/breaking-wave-on-a-tenby-beach-jeremy-hayden.html'; image1827222250339764956 = new Image(); imagemouseover1827222250339764956 = new Image(); image1827222250339764956.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/beach-at-akrotiri-on-santorini-island-jeremy-hayden/b1/Beach+at+Akrotiri+on+Santorini+Island/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250339764956.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/beach-at-akrotiri-on-santorini-island-jeremy-hayden/b1/Beach+at+Akrotiri+on+Santorini+Island/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[7] = image1827222250339764956; imagemouseoverarray18272222503[7] = imagemouseover1827222250339764956; linkarray18272222503[7] = 'http://jeremy-hayden.artistwebsites.com/featured/beach-at-akrotiri-on-santorini-island-jeremy-hayden.html'; image1827222250339754639 = new Image(); imagemouseover1827222250339754639 = new Image(); image1827222250339754639.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/caldey-island-beach-panorama-jeremy-hayden/b1/Caldey+Island+Beach+Panorama/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250339754639.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/caldey-island-beach-panorama-jeremy-hayden/b1/Caldey+Island+Beach+Panorama/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[8] = image1827222250339754639; imagemouseoverarray18272222503[8] = imagemouseover1827222250339754639; linkarray18272222503[8] = 'http://jeremy-hayden.artistwebsites.com/featured/caldey-island-beach-panorama-jeremy-hayden.html'; image1827222250339747949 = new Image(); imagemouseover1827222250339747949 = new Image(); image1827222250339747949.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/peaceful-evening-on-a-tenby-beach-jeremy-hayden/b1/Peaceful+Evening+on+a+Tenby+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover1827222250339747949.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/peaceful-evening-on-a-tenby-beach-jeremy-hayden/b1/Peaceful+Evening+on+a+Tenby+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray18272222503[9] = image1827222250339747949; imagemouseoverarray18272222503[9] = imagemouseover1827222250339747949; linkarray18272222503[9] = 'http://jeremy-hayden.artistwebsites.com/featured/peaceful-evening-on-a-tenby-beach-jeremy-hayden.html'; function previousimage18272222503() { clearTimeout(t18272222503); imagecounter18272222503 = imagecounter18272222503 - 1; if(imagecounter18272222503 < 0) { imagecounter18272222503 = imagearray18272222503.length - 1; } var object = document.getElementById('faaslideshowimage[18272222503]'); if(mouseoverflag18272222503 == 0) { object.src = imagearray18272222503[imagecounter18272222503].src; } else { object.src = imagemouseoverarray18272222503[imagecounter18272222503].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate18272222503(); t18272222503 = setTimeout('fadeout18272222503()',fadeinterval18272222503); } function nextimage18272222503() { if(!document.getElementById('faaslideshowimage[18272222503]')) { clearTimeout(t18272222503); t18272222503 = setTimeout('nextimage18272222503()',500); return; } else { document.getElementById('faaslideshowimage[18272222503]').setAttribute('onMouseOver','javascript: mouseover18272222503();'); document.getElementById('faaslideshowimage[18272222503]').setAttribute('onMouseOut','javascript: mouseout18272222503();'); document.getElementById('faaslideshowimage[18272222503]').setAttribute('onClick','javascript: mouseclick18272222503(event);'); } clearTimeout(t18272222503); imagecounter18272222503 = imagecounter18272222503 + 1; if(imagecounter18272222503 > imagearray18272222503.length - 1) { imagecounter18272222503 = 0; } var object = document.getElementById('faaslideshowimage[18272222503]'); if(mouseoverflag18272222503 == 0) { object.src = imagearray18272222503[imagecounter18272222503].src; } else { object.src = imagemouseoverarray18272222503[imagecounter18272222503].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate18272222503(); t18272222503 = setTimeout('fadeout18272222503()',fadeinterval18272222503); } function nextfade18272222503() { clearTimeout(t18272222503); imagecounter18272222503 = imagecounter18272222503 + 1; if(imagecounter18272222503 > imagearray18272222503.length - 1) { imagecounter18272222503 = 0; } var object = document.getElementById('faaslideshowimage[18272222503]'); if(mouseoverflag18272222503 == 0) { object.src = imagearray18272222503[imagecounter18272222503].src; } else { object.src = imagemouseoverarray18272222503[imagecounter18272222503].src; } regularupdate18272222503(); t18272222503 = setTimeout("fadein18272222503()", 100); } function fadeout18272222503() { fadecounter18272222503 = 100; fadeoutprogress18272222503(); } function fadeoutprogress18272222503() { var object = document.getElementById('faaslideshowimage[18272222503]'); object.style.filter = "alpha(opacity = " + fadecounter18272222503*1 + ")"; object.style.opacity = fadecounter18272222503*0.01; fadecounter18272222503 -= 2; if (fadecounter18272222503 > 0) { t18272222503 = setTimeout("fadeoutprogress18272222503()", 10); } else { nextfade18272222503(); } } function fadein18272222503() { fadecounter18272222503 = 0; fadeinprogress18272222503(); } function fadeinprogress18272222503() { object = document.getElementById('faaslideshowimage[18272222503]'); object.style.filter = "alpha(opacity = " + fadecounter18272222503*1 + ")"; object.style.opacity = fadecounter18272222503*0.01; fadecounter18272222503 += 4; if (fadecounter18272222503 < 100) { t18272222503 = setTimeout("fadeinprogress18272222503()", 10); } else { t18272222503 = setTimeout("fadeout18272222503()",fadeinterval18272222503); } } function mouseover18272222503() { mouseoverflag18272222503 = 1; document.getElementById('faaslideshowimage[18272222503]').src = mouseoverimage18272222503.src; } function mouseout18272222503() { mouseoverflag18272222503 = 0; document.getElementById('faaslideshowimage[18272222503]').src = mouseoutimage18272222503.src; } function mouseclick18272222503(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[18272222503]'); if (object.offsetParent) { do { currentleft += object.offsetLeft; currenttop += object.offsetTop; } while (object = object.offsetParent); } //alert(currentleft + ', ' + currenttop); //var pos_x = event.offsetX?(event.offsetX):event.pageX-document.getElementById('faaslideshowimage[18272222503]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[18272222503]').offsetTop; var pos_x = event.offsetX?(event.offsetX):event.pageX-currentleft; var pos_y = event.offsetY?(event.offsetY):event.pageY-currenttop; //alert(pos_x + ', ' + pos_y); if(pos_x < 35) { previousimage18272222503(); return; } if(pos_x > width18272222503 - 35) { nextimage18272222503(); return; } document.location = link18272222503; } function regularupdate18272222503() { mouseoutimage18272222503.src = imagearray18272222503[imagecounter18272222503].src; mouseoverimage18272222503.src =imagemouseoverarray18272222503[imagecounter18272222503].src; link18272222503 = linkarray18272222503[imagecounter18272222503]; if(document.getElementById('faaslideshowlink[18272222503]')) { document.getElementById('faaslideshowlink[18272222503]').href = linkarray18272222503[imagecounter18272222503]; } var localcounter = imagecounter18272222503 + 1; if(localcounter > imagearray18272222503.length - 1) { localcounter = 0; } nextimagetoload18272222503.src = imagearray18272222503[localcounter].src; nextmouseoverimagetoload18272222503.src = imagemouseoverarray18272222503[localcounter].src; } nextimage18272222503();