var fadecounter8557429476 = 0; var cyclecounter8557429476 = 0; var imagecounter8557429476 = 0; var fadeinterval8557429476 = 6000; var t8557429476; var nextimagetoload8557429476 = new Image(); var nextmouseoverimagetoload8557429476 = new Image(); var mouseoverimage8557429476 = new Image(); var mouseoutimage8557429476 = new Image(); var mouseoverflag8557429476 = 0; var width8557429476 = 400; var height8557429476 = 400; var link8557429476; var imagearray8557429476 = new Array(10); var imagemouseoverarray8557429476 = new Array(10); var linkarray8557429476 = new Array(10); image855742947618967830 = new Image(); imagemouseover855742947618967830 = new Image(); image855742947618967830.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/magical-garden-lora-mercado/b1/Magical+Garden/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947618967830.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/magical-garden-lora-mercado/b1/Magical+Garden/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[0] = image855742947618967830; imagemouseoverarray8557429476[0] = imagemouseover855742947618967830; linkarray8557429476[0] = 'https://fineartamerica.com/featured/magical-garden-lora-mercado.html'; image855742947614246281 = new Image(); imagemouseover855742947614246281 = new Image(); image855742947614246281.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/gazebo-in-the-woods-lora-mercado/b1/Gazebo+in+the+Woods/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614246281.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/gazebo-in-the-woods-lora-mercado/b1/Gazebo+in+the+Woods/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[1] = image855742947614246281; imagemouseoverarray8557429476[1] = imagemouseover855742947614246281; linkarray8557429476[1] = 'https://fineartamerica.com/featured/gazebo-in-the-woods-lora-mercado.html'; image855742947614246165 = new Image(); imagemouseover855742947614246165 = new Image(); image855742947614246165.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/little-shack-in-the-woods-lora-mercado/b1/Little+Shack+in+the+Woods/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614246165.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/little-shack-in-the-woods-lora-mercado/b1/Little+Shack+in+the+Woods/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[2] = image855742947614246165; imagemouseoverarray8557429476[2] = imagemouseover855742947614246165; linkarray8557429476[2] = 'https://fineartamerica.com/featured/little-shack-in-the-woods-lora-mercado.html'; image855742947614244910 = new Image(); imagemouseover855742947614244910 = new Image(); image855742947614244910.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/inside-the-crypt-lora-mercado/b1/Inside+the+Crypt/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614244910.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/inside-the-crypt-lora-mercado/b1/Inside+the+Crypt/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[3] = image855742947614244910; imagemouseoverarray8557429476[3] = imagemouseover855742947614244910; linkarray8557429476[3] = 'https://fineartamerica.com/featured/inside-the-crypt-lora-mercado.html'; image855742947614244833 = new Image(); imagemouseover855742947614244833 = new Image(); image855742947614244833.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/in-the-hands-of-jesus-lora-mercado/b1/In+the+Hands+of+Jesus/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614244833.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/in-the-hands-of-jesus-lora-mercado/b1/In+the+Hands+of+Jesus/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[4] = image855742947614244833; imagemouseoverarray8557429476[4] = imagemouseover855742947614244833; linkarray8557429476[4] = 'https://fineartamerica.com/featured/in-the-hands-of-jesus-lora-mercado.html'; image85574294764140724 = new Image(); imagemouseover85574294764140724 = new Image(); image85574294764140724.src = 'https://fineartamerica.com/images-slideshow/images-medium/sunset-pier-lora-mercado/b1/Sunset+Pier/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover85574294764140724.src = 'https://fineartamerica.com/images-slideshow/images-medium/sunset-pier-lora-mercado/b1/Sunset+Pier/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[5] = image85574294764140724; imagemouseoverarray8557429476[5] = imagemouseover85574294764140724; linkarray8557429476[5] = 'https://fineartamerica.com/featured/sunset-pier-lora-mercado.html'; image855742947614244824 = new Image(); imagemouseover855742947614244824 = new Image(); image855742947614244824.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/pain-of-jesus-lora-mercado/b1/Pain+of+Jesus/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614244824.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/pain-of-jesus-lora-mercado/b1/Pain+of+Jesus/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[6] = image855742947614244824; imagemouseoverarray8557429476[6] = imagemouseover855742947614244824; linkarray8557429476[6] = 'https://fineartamerica.com/featured/pain-of-jesus-lora-mercado.html'; image855742947614236931 = new Image(); imagemouseover855742947614236931 = new Image(); image855742947614236931.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/pristine-peacock-lora-mercado/b1/Pristine+Peacock/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614236931.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/pristine-peacock-lora-mercado/b1/Pristine+Peacock/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[7] = image855742947614236931; imagemouseoverarray8557429476[7] = imagemouseover855742947614236931; linkarray8557429476[7] = 'https://fineartamerica.com/featured/pristine-peacock-lora-mercado.html'; image855742947614246395 = new Image(); imagemouseover855742947614246395 = new Image(); image855742947614246395.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/will-you-marry-me-lora-mercado/b1/Will+You+Marry+Me/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover855742947614246395.src = 'https://fineartamerica.com/images-slideshow/images-medium-5/will-you-marry-me-lora-mercado/b1/Will+You+Marry+Me/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[8] = image855742947614246395; imagemouseoverarray8557429476[8] = imagemouseover855742947614246395; linkarray8557429476[8] = 'https://fineartamerica.com/featured/will-you-marry-me-lora-mercado.html'; image85574294764652821 = new Image(); imagemouseover85574294764652821 = new Image(); image85574294764652821.src = 'https://fineartamerica.com/images-slideshow/images-medium/1-road-to-nowhere-lora-mercado/b1/Road+to+Nowhere/b2/Lora+Mercado/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover85574294764652821.src = 'https://fineartamerica.com/images-slideshow/images-medium/1-road-to-nowhere-lora-mercado/b1/Road+to+Nowhere/b2/Lora+Mercado/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray8557429476[9] = image85574294764652821; imagemouseoverarray8557429476[9] = imagemouseover85574294764652821; linkarray8557429476[9] = 'https://fineartamerica.com/featured/1-road-to-nowhere-lora-mercado.html'; function previousimage8557429476() { clearTimeout(t8557429476); imagecounter8557429476 = imagecounter8557429476 - 1; if(imagecounter8557429476 < 0) { imagecounter8557429476 = imagearray8557429476.length - 1; } var object = document.getElementById('faaslideshowimage[8557429476]'); if(mouseoverflag8557429476 == 0) { object.src = imagearray8557429476[imagecounter8557429476].src; } else { object.src = imagemouseoverarray8557429476[imagecounter8557429476].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate8557429476(); t8557429476 = setTimeout('fadeout8557429476()',fadeinterval8557429476); } function nextimage8557429476() { if(!document.getElementById('faaslideshowimage[8557429476]')) { clearTimeout(t8557429476); t8557429476 = setTimeout('nextimage8557429476()',500); return; } else { document.getElementById('faaslideshowimage[8557429476]').setAttribute('onMouseOver','javascript: mouseover8557429476();'); document.getElementById('faaslideshowimage[8557429476]').setAttribute('onMouseOut','javascript: mouseout8557429476();'); document.getElementById('faaslideshowimage[8557429476]').setAttribute('onClick','javascript: mouseclick8557429476(event);'); } clearTimeout(t8557429476); imagecounter8557429476 = imagecounter8557429476 + 1; if(imagecounter8557429476 > imagearray8557429476.length - 1) { imagecounter8557429476 = 0; } var object = document.getElementById('faaslideshowimage[8557429476]'); if(mouseoverflag8557429476 == 0) { object.src = imagearray8557429476[imagecounter8557429476].src; } else { object.src = imagemouseoverarray8557429476[imagecounter8557429476].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate8557429476(); t8557429476 = setTimeout('fadeout8557429476()',fadeinterval8557429476); } function nextfade8557429476() { clearTimeout(t8557429476); imagecounter8557429476 = imagecounter8557429476 + 1; if(imagecounter8557429476 > imagearray8557429476.length - 1) { imagecounter8557429476 = 0; } var object = document.getElementById('faaslideshowimage[8557429476]'); if(mouseoverflag8557429476 == 0) { object.src = imagearray8557429476[imagecounter8557429476].src; } else { object.src = imagemouseoverarray8557429476[imagecounter8557429476].src; } regularupdate8557429476(); t8557429476 = setTimeout("fadein8557429476()", 100); } function fadeout8557429476() { fadecounter8557429476 = 100; fadeoutprogress8557429476(); } function fadeoutprogress8557429476() { var object = document.getElementById('faaslideshowimage[8557429476]'); object.style.filter = "alpha(opacity = " + fadecounter8557429476*1 + ")"; object.style.opacity = fadecounter8557429476*0.01; fadecounter8557429476 -= 2; if (fadecounter8557429476 > 0) { t8557429476 = setTimeout("fadeoutprogress8557429476()", 10); } else { nextfade8557429476(); } } function fadein8557429476() { fadecounter8557429476 = 0; fadeinprogress8557429476(); } function fadeinprogress8557429476() { object = document.getElementById('faaslideshowimage[8557429476]'); object.style.filter = "alpha(opacity = " + fadecounter8557429476*1 + ")"; object.style.opacity = fadecounter8557429476*0.01; fadecounter8557429476 += 4; if (fadecounter8557429476 < 100) { t8557429476 = setTimeout("fadeinprogress8557429476()", 10); } else { t8557429476 = setTimeout("fadeout8557429476()",fadeinterval8557429476); } } function mouseover8557429476() { mouseoverflag8557429476 = 1; document.getElementById('faaslideshowimage[8557429476]').src = mouseoverimage8557429476.src; } function mouseout8557429476() { mouseoverflag8557429476 = 0; document.getElementById('faaslideshowimage[8557429476]').src = mouseoutimage8557429476.src; } function mouseclick8557429476(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[8557429476]'); 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[8557429476]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[8557429476]').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) { previousimage8557429476(); return; } if(pos_x > width8557429476 - 35) { nextimage8557429476(); return; } document.location = link8557429476; } function regularupdate8557429476() { mouseoutimage8557429476.src = imagearray8557429476[imagecounter8557429476].src; mouseoverimage8557429476.src =imagemouseoverarray8557429476[imagecounter8557429476].src; link8557429476 = linkarray8557429476[imagecounter8557429476]; if(document.getElementById('faaslideshowlink[8557429476]')) { document.getElementById('faaslideshowlink[8557429476]').href = linkarray8557429476[imagecounter8557429476]; } var localcounter = imagecounter8557429476 + 1; if(localcounter > imagearray8557429476.length - 1) { localcounter = 0; } nextimagetoload8557429476.src = imagearray8557429476[localcounter].src; nextmouseoverimagetoload8557429476.src = imagemouseoverarray8557429476[localcounter].src; } nextimage8557429476();