var fadecounter1827226291 = 0; var cyclecounter1827226291 = 0; var imagecounter1827226291 = 0; var fadeinterval1827226291 = 6000; var t1827226291; var nextimagetoload1827226291 = new Image(); var nextmouseoverimagetoload1827226291 = new Image(); var mouseoverimage1827226291 = new Image(); var mouseoutimage1827226291 = new Image(); var mouseoverflag1827226291 = 0; var width1827226291 = 250; var height1827226291 = 250; var link1827226291; var imagearray1827226291 = new Array(10); var imagemouseoverarray1827226291 = new Array(10); var linkarray1827226291 = new Array(10); image182722629140854381 = new Image(); imagemouseover182722629140854381 = new Image(); image182722629140854381.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/cropped.jpg'; imagemouseover182722629140854381.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/croppedmouseover.jpg'; imagearray1827226291[0] = image182722629140854381; imagemouseoverarray1827226291[0] = imagemouseover182722629140854381; linkarray1827226291[0] = 'http://jeremy-hayden.artistwebsites.com/featured/sunrise-on-sandown-beach-isle-of-wight-jeremy-hayden.html'; image182722629140853405 = new Image(); imagemouseover182722629140853405 = new Image(); image182722629140853405.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/cropped.jpg'; imagemouseover182722629140853405.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/croppedmouseover.jpg'; imagearray1827226291[1] = image182722629140853405; imagemouseoverarray1827226291[1] = imagemouseover182722629140853405; linkarray1827226291[1] = 'http://jeremy-hayden.artistwebsites.com/featured/table-mountain-and-apartments-cape-town-jeremy-hayden.html'; image182722629140674446 = new Image(); imagemouseover182722629140674446 = new Image(); image182722629140674446.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/cropped.jpg'; imagemouseover182722629140674446.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/croppedmouseover.jpg'; imagearray1827226291[2] = image182722629140674446; imagemouseoverarray1827226291[2] = imagemouseover182722629140674446; linkarray1827226291[2] = 'http://jeremy-hayden.artistwebsites.com/featured/pretty-pink-and-yellow-rose-on-black-jeremy-hayden.html'; image182722629140287407 = new Image(); imagemouseover182722629140287407 = new Image(); image182722629140287407.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/cropped.jpg'; imagemouseover182722629140287407.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/croppedmouseover.jpg'; imagearray1827226291[3] = image182722629140287407; imagemouseoverarray1827226291[3] = imagemouseover182722629140287407; linkarray1827226291[3] = 'http://jeremy-hayden.artistwebsites.com/featured/sunrise-hillside-in-the-yorkshire-dales-jeremy-hayden.html'; image182722629140287387 = new Image(); imagemouseover182722629140287387 = new Image(); image182722629140287387.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/cropped.jpg'; imagemouseover182722629140287387.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/croppedmouseover.jpg'; imagearray1827226291[4] = image182722629140287387; imagemouseoverarray1827226291[4] = imagemouseover182722629140287387; linkarray1827226291[4] = 'http://jeremy-hayden.artistwebsites.com/featured/sedbergh-camp-sunrise-over-the-yorkshire-dales-jeremy-hayden.html'; image182722629139998507 = new Image(); imagemouseover182722629139998507 = new Image(); image182722629139998507.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/cropped.jpg'; imagemouseover182722629139998507.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/croppedmouseover.jpg'; imagearray1827226291[5] = image182722629139998507; imagemouseoverarray1827226291[5] = imagemouseover182722629139998507; linkarray1827226291[5] = 'http://jeremy-hayden.artistwebsites.com/featured/sand-sea-and-sun-patterns-on-the-beach-jeremy-hayden.html'; image182722629139997099 = new Image(); imagemouseover182722629139997099 = new Image(); image182722629139997099.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/cropped.jpg'; imagemouseover182722629139997099.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/croppedmouseover.jpg'; imagearray1827226291[6] = image182722629139997099; imagemouseoverarray1827226291[6] = imagemouseover182722629139997099; linkarray1827226291[6] = 'http://jeremy-hayden.artistwebsites.com/featured/breaking-wave-on-a-tenby-beach-jeremy-hayden.html'; image182722629139764956 = new Image(); imagemouseover182722629139764956 = new Image(); image182722629139764956.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/cropped.jpg'; imagemouseover182722629139764956.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/croppedmouseover.jpg'; imagearray1827226291[7] = image182722629139764956; imagemouseoverarray1827226291[7] = imagemouseover182722629139764956; linkarray1827226291[7] = 'http://jeremy-hayden.artistwebsites.com/featured/beach-at-akrotiri-on-santorini-island-jeremy-hayden.html'; image182722629139754639 = new Image(); imagemouseover182722629139754639 = new Image(); image182722629139754639.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/cropped.jpg'; imagemouseover182722629139754639.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/croppedmouseover.jpg'; imagearray1827226291[8] = image182722629139754639; imagemouseoverarray1827226291[8] = imagemouseover182722629139754639; linkarray1827226291[8] = 'http://jeremy-hayden.artistwebsites.com/featured/caldey-island-beach-panorama-jeremy-hayden.html'; image182722629139747949 = new Image(); imagemouseover182722629139747949 = new Image(); image182722629139747949.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/cropped.jpg'; imagemouseover182722629139747949.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/croppedmouseover.jpg'; imagearray1827226291[9] = image182722629139747949; imagemouseoverarray1827226291[9] = imagemouseover182722629139747949; linkarray1827226291[9] = 'http://jeremy-hayden.artistwebsites.com/featured/peaceful-evening-on-a-tenby-beach-jeremy-hayden.html'; function previousimage1827226291() { clearTimeout(t1827226291); imagecounter1827226291 = imagecounter1827226291 - 1; if(imagecounter1827226291 < 0) { imagecounter1827226291 = imagearray1827226291.length - 1; } var object = document.getElementById('faaslideshowimage[1827226291]'); if(mouseoverflag1827226291 == 0) { object.src = imagearray1827226291[imagecounter1827226291].src; } else { object.src = imagemouseoverarray1827226291[imagecounter1827226291].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate1827226291(); t1827226291 = setTimeout('fadeout1827226291()',fadeinterval1827226291); } function nextimage1827226291() { if(!document.getElementById('faaslideshowimage[1827226291]')) { clearTimeout(t1827226291); t1827226291 = setTimeout('nextimage1827226291()',500); return; } else { document.getElementById('faaslideshowimage[1827226291]').setAttribute('onMouseOver','javascript: mouseover1827226291();'); document.getElementById('faaslideshowimage[1827226291]').setAttribute('onMouseOut','javascript: mouseout1827226291();'); document.getElementById('faaslideshowimage[1827226291]').setAttribute('onClick','javascript: mouseclick1827226291(event);'); } clearTimeout(t1827226291); imagecounter1827226291 = imagecounter1827226291 + 1; if(imagecounter1827226291 > imagearray1827226291.length - 1) { imagecounter1827226291 = 0; } var object = document.getElementById('faaslideshowimage[1827226291]'); if(mouseoverflag1827226291 == 0) { object.src = imagearray1827226291[imagecounter1827226291].src; } else { object.src = imagemouseoverarray1827226291[imagecounter1827226291].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate1827226291(); t1827226291 = setTimeout('fadeout1827226291()',fadeinterval1827226291); } function nextfade1827226291() { clearTimeout(t1827226291); imagecounter1827226291 = imagecounter1827226291 + 1; if(imagecounter1827226291 > imagearray1827226291.length - 1) { imagecounter1827226291 = 0; } var object = document.getElementById('faaslideshowimage[1827226291]'); if(mouseoverflag1827226291 == 0) { object.src = imagearray1827226291[imagecounter1827226291].src; } else { object.src = imagemouseoverarray1827226291[imagecounter1827226291].src; } regularupdate1827226291(); t1827226291 = setTimeout("fadein1827226291()", 100); } function fadeout1827226291() { fadecounter1827226291 = 100; fadeoutprogress1827226291(); } function fadeoutprogress1827226291() { var object = document.getElementById('faaslideshowimage[1827226291]'); object.style.filter = "alpha(opacity = " + fadecounter1827226291*1 + ")"; object.style.opacity = fadecounter1827226291*0.01; fadecounter1827226291 -= 2; if (fadecounter1827226291 > 0) { t1827226291 = setTimeout("fadeoutprogress1827226291()", 10); } else { nextfade1827226291(); } } function fadein1827226291() { fadecounter1827226291 = 0; fadeinprogress1827226291(); } function fadeinprogress1827226291() { object = document.getElementById('faaslideshowimage[1827226291]'); object.style.filter = "alpha(opacity = " + fadecounter1827226291*1 + ")"; object.style.opacity = fadecounter1827226291*0.01; fadecounter1827226291 += 4; if (fadecounter1827226291 < 100) { t1827226291 = setTimeout("fadeinprogress1827226291()", 10); } else { t1827226291 = setTimeout("fadeout1827226291()",fadeinterval1827226291); } } function mouseover1827226291() { mouseoverflag1827226291 = 1; document.getElementById('faaslideshowimage[1827226291]').src = mouseoverimage1827226291.src; } function mouseout1827226291() { mouseoverflag1827226291 = 0; document.getElementById('faaslideshowimage[1827226291]').src = mouseoutimage1827226291.src; } function mouseclick1827226291(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[1827226291]'); 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[1827226291]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[1827226291]').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) { previousimage1827226291(); return; } if(pos_x > width1827226291 - 35) { nextimage1827226291(); return; } document.location = link1827226291; } function regularupdate1827226291() { mouseoutimage1827226291.src = imagearray1827226291[imagecounter1827226291].src; mouseoverimage1827226291.src =imagemouseoverarray1827226291[imagecounter1827226291].src; link1827226291 = linkarray1827226291[imagecounter1827226291]; if(document.getElementById('faaslideshowlink[1827226291]')) { document.getElementById('faaslideshowlink[1827226291]').href = linkarray1827226291[imagecounter1827226291]; } var localcounter = imagecounter1827226291 + 1; if(localcounter > imagearray1827226291.length - 1) { localcounter = 0; } nextimagetoload1827226291.src = imagearray1827226291[localcounter].src; nextmouseoverimagetoload1827226291.src = imagemouseoverarray1827226291[localcounter].src; } nextimage1827226291();