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); image182722629144885798 = new Image(); imagemouseover182722629144885798 = new Image(); image182722629144885798.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sailing-on-lake-geneva-at-plage-de-perroy-jeremy-hayden/b1/Sailing+on+Lake+Geneva+at+Plage+de+Perroy/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144885798.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/sailing-on-lake-geneva-at-plage-de-perroy-jeremy-hayden/b1/Sailing+on+Lake+Geneva+at+Plage+de+Perroy/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[0] = image182722629144885798; imagemouseoverarray1827226291[0] = imagemouseover182722629144885798; linkarray1827226291[0] = 'http://jeremy-hayden.artistwebsites.com/featured/sailing-on-lake-geneva-at-plage-de-perroy-jeremy-hayden.html'; image182722629144885738 = new Image(); imagemouseover182722629144885738 = new Image(); image182722629144885738.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/mediterranean-beach-sunrise-near-valras-plage-jeremy-hayden/b1/Mediterranean+Beach+Sunrise+near+Valras+Plage/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144885738.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/mediterranean-beach-sunrise-near-valras-plage-jeremy-hayden/b1/Mediterranean+Beach+Sunrise+near+Valras+Plage/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[1] = image182722629144885738; imagemouseoverarray1827226291[1] = imagemouseover182722629144885738; linkarray1827226291[1] = 'http://jeremy-hayden.artistwebsites.com/featured/mediterranean-beach-sunrise-near-valras-plage-jeremy-hayden.html'; image182722629144771318 = new Image(); imagemouseover182722629144771318 = new Image(); image182722629144771318.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/teignmouth-harbour-jeremy-hayden/b1/Teignmouth+Harbour/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144771318.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/teignmouth-harbour-jeremy-hayden/b1/Teignmouth+Harbour/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[2] = image182722629144771318; imagemouseoverarray1827226291[2] = imagemouseover182722629144771318; linkarray1827226291[2] = 'http://jeremy-hayden.artistwebsites.com/featured/teignmouth-harbour-jeremy-hayden.html'; image182722629144771315 = new Image(); imagemouseover182722629144771315 = new Image(); image182722629144771315.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/teignmouth-back-beach-from-shaldon-beach-jeremy-hayden/b1/Teignmouth+Back+Beach+from+Shaldon+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144771315.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/teignmouth-back-beach-from-shaldon-beach-jeremy-hayden/b1/Teignmouth+Back+Beach+from+Shaldon+Beach/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[3] = image182722629144771315; imagemouseoverarray1827226291[3] = imagemouseover182722629144771315; linkarray1827226291[3] = 'http://jeremy-hayden.artistwebsites.com/featured/teignmouth-back-beach-from-shaldon-beach-jeremy-hayden.html'; image182722629144673929 = new Image(); imagemouseover182722629144673929 = new Image(); image182722629144673929.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/clouds-in-the-sunset-in-france-jeremy-hayden/b1/Clouds+in+the+Sunset+in+France/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144673929.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/clouds-in-the-sunset-in-france-jeremy-hayden/b1/Clouds+in+the+Sunset+in+France/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[4] = image182722629144673929; imagemouseoverarray1827226291[4] = imagemouseover182722629144673929; linkarray1827226291[4] = 'http://jeremy-hayden.artistwebsites.com/featured/clouds-in-the-sunset-in-france-jeremy-hayden.html'; image182722629144673574 = new Image(); imagemouseover182722629144673574 = new Image(); image182722629144673574.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/wave-splash-jeremy-hayden/b1/Wave+Splash/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144673574.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/wave-splash-jeremy-hayden/b1/Wave+Splash/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[5] = image182722629144673574; imagemouseoverarray1827226291[5] = imagemouseover182722629144673574; linkarray1827226291[5] = 'http://jeremy-hayden.artistwebsites.com/featured/wave-splash-jeremy-hayden.html'; image182722629144443261 = new Image(); imagemouseover182722629144443261 = new Image(); image182722629144443261.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/a-pair-of-kudu-bulls-jeremy-hayden/b1/A+Pair+of+Kudu+Bulls/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144443261.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/a-pair-of-kudu-bulls-jeremy-hayden/b1/A+Pair+of+Kudu+Bulls/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[6] = image182722629144443261; imagemouseoverarray1827226291[6] = imagemouseover182722629144443261; linkarray1827226291[6] = 'http://jeremy-hayden.artistwebsites.com/featured/a-pair-of-kudu-bulls-jeremy-hayden.html'; image182722629144404650 = new Image(); imagemouseover182722629144404650 = new Image(); image182722629144404650.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/pretty-pink-sunset-jeremy-hayden/b1/Pretty+Pink+Sunset/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144404650.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/pretty-pink-sunset-jeremy-hayden/b1/Pretty+Pink+Sunset/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[7] = image182722629144404650; imagemouseoverarray1827226291[7] = imagemouseover182722629144404650; linkarray1827226291[7] = 'http://jeremy-hayden.artistwebsites.com/featured/pretty-pink-sunset-jeremy-hayden.html'; image182722629144398869 = new Image(); imagemouseover182722629144398869 = new Image(); image182722629144398869.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/red-seashells-in-the-sand-jeremy-hayden/b1/Red+Seashells+in+the+Sand/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144398869.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/red-seashells-in-the-sand-jeremy-hayden/b1/Red+Seashells+in+the+Sand/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[8] = image182722629144398869; imagemouseoverarray1827226291[8] = imagemouseover182722629144398869; linkarray1827226291[8] = 'http://jeremy-hayden.artistwebsites.com/featured/red-seashells-in-the-sand-jeremy-hayden.html'; image182722629144219387 = new Image(); imagemouseover182722629144219387 = new Image(); image182722629144219387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/english-summer-day-at-the-lake-jeremy-hayden/b1/English+Summer+Day+at+the+Lake/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/cropped.jpg'; imagemouseover182722629144219387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/3/english-summer-day-at-the-lake-jeremy-hayden/b1/English+Summer+Day+at+the+Lake/b2/Jeremy+Hayden/b3/250px/b4/250px/b5/croppedmouseover.jpg'; imagearray1827226291[9] = image182722629144219387; imagemouseoverarray1827226291[9] = imagemouseover182722629144219387; linkarray1827226291[9] = 'http://jeremy-hayden.artistwebsites.com/featured/english-summer-day-at-the-lake-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();