var fadecounter10298925487 = 0; var cyclecounter10298925487 = 0; var imagecounter10298925487 = 0; var fadeinterval10298925487 = 6000; var t10298925487; var nextimagetoload10298925487 = new Image(); var nextmouseoverimagetoload10298925487 = new Image(); var mouseoverimage10298925487 = new Image(); var mouseoutimage10298925487 = new Image(); var mouseoverflag10298925487 = 0; var width10298925487 = 300; var height10298925487 = 300; var link10298925487; var imagearray10298925487 = new Array(10); var imagemouseoverarray10298925487 = new Array(10); var linkarray10298925487 = new Array(10); image1029892548724903843 = new Image(); imagemouseover1029892548724903843 = new Image(); image1029892548724903843.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-dthcm0498-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+DTHCM0498/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724903843.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-dthcm0498-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+DTHCM0498/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[0] = image1029892548724903843; imagemouseoverarray10298925487[0] = imagemouseover1029892548724903843; linkarray10298925487[0] = 'https://gerry-gantt.pixels.com/featured/wat-lok-molee-king-mengrai-wihan-dthcm0498-gerry-gantt.html'; image1029892548724903834 = new Image(); imagemouseover1029892548724903834 = new Image(); image1029892548724903834.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-doorway-dthcm2556-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+Doorway+DTHCM2556/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724903834.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-doorway-dthcm2556-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+Doorway+DTHCM2556/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[1] = image1029892548724903834; imagemouseoverarray10298925487[1] = imagemouseover1029892548724903834; linkarray10298925487[1] = 'https://gerry-gantt.pixels.com/featured/wat-lok-molee-king-mengrai-wihan-doorway-dthcm2556-gerry-gantt.html'; image1029892548724903823 = new Image(); imagemouseover1029892548724903823 = new Image(); image1029892548724903823.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-king-mengrai-and-guards-dthcm2557-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+King+Mengrai+and+Guards+DTHCM2557/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724903823.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-king-mengrai-and-guards-dthcm2557-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+King+Mengrai+and+Guards+DTHCM2557/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[2] = image1029892548724903823; imagemouseoverarray10298925487[2] = imagemouseover1029892548724903823; linkarray10298925487[2] = 'https://gerry-gantt.pixels.com/featured/wat-lok-molee-king-mengrai-wihan-king-mengrai-and-guards-dthcm2557-gerry-gantt.html'; image1029892548724899164 = new Image(); imagemouseover1029892548724899164 = new Image(); image1029892548724899164.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-makara-guardians-dthcm2560-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+Makara+Guardians+DTHCM2560/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724899164.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-king-mengrai-wihan-makara-guardians-dthcm2560-gerry-gantt/b1/Wat+Lok+Molee+King+Mengrai+Wihan+Makara+Guardians+DTHCM2560/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[3] = image1029892548724899164; imagemouseoverarray10298925487[3] = imagemouseover1029892548724899164; linkarray10298925487[3] = 'https://gerry-gantt.pixels.com/featured/wat-lok-molee-king-mengrai-wihan-makara-guardians-dthcm2560-gerry-gantt.html'; image1029892548724899142 = new Image(); imagemouseover1029892548724899142 = new Image(); image1029892548724899142.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-brahma-shrine-dthcm2563-gerry-gantt/b1/Wat+Lok+Molee+Brahma+Shrine+DTHCM2563/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724899142.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-lok-molee-brahma-shrine-dthcm2563-gerry-gantt/b1/Wat+Lok+Molee+Brahma+Shrine+DTHCM2563/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[4] = image1029892548724899142; imagemouseoverarray10298925487[4] = imagemouseover1029892548724899142; linkarray10298925487[4] = 'https://gerry-gantt.pixels.com/featured/wat-lok-molee-brahma-shrine-dthcm2563-gerry-gantt.html'; image1029892548724880905 = new Image(); imagemouseover1029892548724880905 = new Image(); image1029892548724880905.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/rushes-and-cattails-7g-gerry-gantt/b1/Rushes+and+Cattails+7G/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724880905.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/rushes-and-cattails-7g-gerry-gantt/b1/Rushes+and+Cattails+7G/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[5] = image1029892548724880905; imagemouseoverarray10298925487[5] = imagemouseover1029892548724880905; linkarray10298925487[5] = 'https://gerry-gantt.pixels.com/featured/rushes-and-cattails-7g-gerry-gantt.html'; image1029892548724880885 = new Image(); imagemouseover1029892548724880885 = new Image(); image1029892548724880885.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df002-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF002/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724880885.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df002-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF002/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[6] = image1029892548724880885; imagemouseoverarray10298925487[6] = imagemouseover1029892548724880885; linkarray10298925487[6] = 'https://gerry-gantt.pixels.com/featured/fall-sweetgum-leaves-df002-gerry-gantt.html'; image1029892548724880856 = new Image(); imagemouseover1029892548724880856 = new Image(); image1029892548724880856.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df004-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF004/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724880856.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df004-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF004/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[7] = image1029892548724880856; imagemouseoverarray10298925487[7] = imagemouseover1029892548724880856; linkarray10298925487[7] = 'https://gerry-gantt.pixels.com/featured/fall-sweetgum-leaves-df004-gerry-gantt.html'; image1029892548724880795 = new Image(); imagemouseover1029892548724880795 = new Image(); image1029892548724880795.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df005-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF005/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724880795.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/fall-sweetgum-leaves-df005-gerry-gantt/b1/Fall+Sweetgum+Leaves+DF005/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[8] = image1029892548724880795; imagemouseoverarray10298925487[8] = imagemouseover1029892548724880795; linkarray10298925487[8] = 'https://gerry-gantt.pixels.com/featured/fall-sweetgum-leaves-df005-gerry-gantt.html'; image1029892548724875012 = new Image(); imagemouseover1029892548724875012 = new Image(); image1029892548724875012.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/sweetgum-leaves-df008-gerry-gantt/b1/Sweetgum+Leaves+DF008/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724875012.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/sweetgum-leaves-df008-gerry-gantt/b1/Sweetgum+Leaves+DF008/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[9] = image1029892548724875012; imagemouseoverarray10298925487[9] = imagemouseover1029892548724875012; linkarray10298925487[9] = 'https://gerry-gantt.pixels.com/featured/sweetgum-leaves-df008-gerry-gantt.html'; function previousimage10298925487() { clearTimeout(t10298925487); imagecounter10298925487 = imagecounter10298925487 - 1; if(imagecounter10298925487 < 0) { imagecounter10298925487 = imagearray10298925487.length - 1; } var object = document.getElementById('faaslideshowimage[10298925487]'); if(mouseoverflag10298925487 == 0) { object.src = imagearray10298925487[imagecounter10298925487].src; } else { object.src = imagemouseoverarray10298925487[imagecounter10298925487].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate10298925487(); t10298925487 = setTimeout('fadeout10298925487()',fadeinterval10298925487); } function nextimage10298925487() { if(!document.getElementById('faaslideshowimage[10298925487]')) { clearTimeout(t10298925487); t10298925487 = setTimeout('nextimage10298925487()',500); return; } else { document.getElementById('faaslideshowimage[10298925487]').setAttribute('onMouseOver','javascript: mouseover10298925487();'); document.getElementById('faaslideshowimage[10298925487]').setAttribute('onMouseOut','javascript: mouseout10298925487();'); document.getElementById('faaslideshowimage[10298925487]').setAttribute('onClick','javascript: mouseclick10298925487(event);'); } clearTimeout(t10298925487); imagecounter10298925487 = imagecounter10298925487 + 1; if(imagecounter10298925487 > imagearray10298925487.length - 1) { imagecounter10298925487 = 0; } var object = document.getElementById('faaslideshowimage[10298925487]'); if(mouseoverflag10298925487 == 0) { object.src = imagearray10298925487[imagecounter10298925487].src; } else { object.src = imagemouseoverarray10298925487[imagecounter10298925487].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate10298925487(); t10298925487 = setTimeout('fadeout10298925487()',fadeinterval10298925487); } function nextfade10298925487() { clearTimeout(t10298925487); imagecounter10298925487 = imagecounter10298925487 + 1; if(imagecounter10298925487 > imagearray10298925487.length - 1) { imagecounter10298925487 = 0; } var object = document.getElementById('faaslideshowimage[10298925487]'); if(mouseoverflag10298925487 == 0) { object.src = imagearray10298925487[imagecounter10298925487].src; } else { object.src = imagemouseoverarray10298925487[imagecounter10298925487].src; } regularupdate10298925487(); t10298925487 = setTimeout("fadein10298925487()", 100); } function fadeout10298925487() { fadecounter10298925487 = 100; fadeoutprogress10298925487(); } function fadeoutprogress10298925487() { var object = document.getElementById('faaslideshowimage[10298925487]'); object.style.filter = "alpha(opacity = " + fadecounter10298925487*1 + ")"; object.style.opacity = fadecounter10298925487*0.01; fadecounter10298925487 -= 2; if (fadecounter10298925487 > 0) { t10298925487 = setTimeout("fadeoutprogress10298925487()", 10); } else { nextfade10298925487(); } } function fadein10298925487() { fadecounter10298925487 = 0; fadeinprogress10298925487(); } function fadeinprogress10298925487() { object = document.getElementById('faaslideshowimage[10298925487]'); object.style.filter = "alpha(opacity = " + fadecounter10298925487*1 + ")"; object.style.opacity = fadecounter10298925487*0.01; fadecounter10298925487 += 4; if (fadecounter10298925487 < 100) { t10298925487 = setTimeout("fadeinprogress10298925487()", 10); } else { t10298925487 = setTimeout("fadeout10298925487()",fadeinterval10298925487); } } function mouseover10298925487() { mouseoverflag10298925487 = 1; document.getElementById('faaslideshowimage[10298925487]').src = mouseoverimage10298925487.src; } function mouseout10298925487() { mouseoverflag10298925487 = 0; document.getElementById('faaslideshowimage[10298925487]').src = mouseoutimage10298925487.src; } function mouseclick10298925487(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[10298925487]'); 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[10298925487]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[10298925487]').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) { previousimage10298925487(); return; } if(pos_x > width10298925487 - 35) { nextimage10298925487(); return; } document.location = link10298925487; } function regularupdate10298925487() { mouseoutimage10298925487.src = imagearray10298925487[imagecounter10298925487].src; mouseoverimage10298925487.src =imagemouseoverarray10298925487[imagecounter10298925487].src; link10298925487 = linkarray10298925487[imagecounter10298925487]; if(document.getElementById('faaslideshowlink[10298925487]')) { document.getElementById('faaslideshowlink[10298925487]').href = linkarray10298925487[imagecounter10298925487]; } var localcounter = imagecounter10298925487 + 1; if(localcounter > imagearray10298925487.length - 1) { localcounter = 0; } nextimagetoload10298925487.src = imagearray10298925487[localcounter].src; nextmouseoverimagetoload10298925487.src = imagemouseoverarray10298925487[localcounter].src; } nextimage10298925487();