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); image1029892548724359158 = new Image(); imagemouseover1029892548724359158 = new Image(); image1029892548724359158.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0316-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0316/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724359158.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0316-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0316/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[0] = image1029892548724359158; imagemouseoverarray10298925487[0] = imagemouseover1029892548724359158; linkarray10298925487[0] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0316-gerry-gantt.html'; image1029892548724359135 = new Image(); imagemouseover1029892548724359135 = new Image(); image1029892548724359135.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0319-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0319/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724359135.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0319-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0319/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[1] = image1029892548724359135; imagemouseoverarray10298925487[1] = imagemouseover1029892548724359135; linkarray10298925487[1] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0319-gerry-gantt.html'; image1029892548724359111 = new Image(); imagemouseover1029892548724359111 = new Image(); image1029892548724359111.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0320-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0320/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724359111.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0320-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0320/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[2] = image1029892548724359111; imagemouseoverarray10298925487[2] = imagemouseover1029892548724359111; linkarray10298925487[2] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0320-gerry-gantt.html'; image1029892548724353197 = new Image(); imagemouseover1029892548724353197 = new Image(); image1029892548724353197.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0323-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0323/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724353197.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0323-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0323/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[3] = image1029892548724353197; imagemouseoverarray10298925487[3] = imagemouseover1029892548724353197; linkarray10298925487[3] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0323-gerry-gantt.html'; image1029892548724353182 = new Image(); imagemouseover1029892548724353182 = new Image(); image1029892548724353182.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0324-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0324/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724353182.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0324-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0324/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[4] = image1029892548724353182; imagemouseoverarray10298925487[4] = imagemouseover1029892548724353182; linkarray10298925487[4] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0324-gerry-gantt.html'; image1029892548724353164 = new Image(); imagemouseover1029892548724353164 = new Image(); image1029892548724353164.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0325-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0325/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724353164.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/female-ruby-throated-hummingbird-dsb0325-gerry-gantt/b1/Female+Ruby-throated+Hummingbird+DSB0325/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[5] = image1029892548724353164; imagemouseoverarray10298925487[5] = imagemouseover1029892548724353164; linkarray10298925487[5] = 'https://gerry-gantt.pixels.com/featured/female-ruby-throated-hummingbird-dsb0325-gerry-gantt.html'; image1029892548724300767 = new Image(); imagemouseover1029892548724300767 = new Image(); image1029892548724300767.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/cardinal-flower-or-cardinal-lobelia-dfl0899-gerry-gantt/b1/Cardinal+Flower+or+Cardinal+Lobelia+DFL0899/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724300767.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/cardinal-flower-or-cardinal-lobelia-dfl0899-gerry-gantt/b1/Cardinal+Flower+or+Cardinal+Lobelia+DFL0899/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[6] = image1029892548724300767; imagemouseoverarray10298925487[6] = imagemouseover1029892548724300767; linkarray10298925487[6] = 'https://gerry-gantt.pixels.com/featured/cardinal-flower-or-cardinal-lobelia-dfl0899-gerry-gantt.html'; image1029892548724299540 = new Image(); imagemouseover1029892548724299540 = new Image(); image1029892548724299540.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-ubosot-dthla0123-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Ubosot+DTHLA0123/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724299540.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-ubosot-dthla0123-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Ubosot+DTHLA0123/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[7] = image1029892548724299540; imagemouseoverarray10298925487[7] = imagemouseover1029892548724299540; linkarray10298925487[7] = 'https://gerry-gantt.pixels.com/featured/wat-pa-chai-mongkhon-phra-ubosot-dthla0123-gerry-gantt.html'; image1029892548724299527 = new Image(); imagemouseover1029892548724299527 = new Image(); image1029892548724299527.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-ubosot-buddha-images-dthla0126-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Ubosot+Buddha+Images+DTHLA0126/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724299527.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-ubosot-buddha-images-dthla0126-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Ubosot+Buddha+Images+DTHLA0126/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[8] = image1029892548724299527; imagemouseoverarray10298925487[8] = imagemouseover1029892548724299527; linkarray10298925487[8] = 'https://gerry-gantt.pixels.com/featured/wat-pa-chai-mongkhon-phra-ubosot-buddha-images-dthla0126-gerry-gantt.html'; image1029892548724299512 = new Image(); imagemouseover1029892548724299512 = new Image(); image1029892548724299512.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-chedi-dthla0128-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Chedi+DTHLA0128/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normal.jpg'; imagemouseover1029892548724299512.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/wat-pa-chai-mongkhon-phra-chedi-dthla0128-gerry-gantt/b1/Wat+Pa+Chai+Mongkhon+Phra+Chedi+DTHLA0128/b2/Gerry+Gantt/b3/300px/b4/300px/b5/normalmouseover.jpg'; imagearray10298925487[9] = image1029892548724299512; imagemouseoverarray10298925487[9] = imagemouseover1029892548724299512; linkarray10298925487[9] = 'https://gerry-gantt.pixels.com/featured/wat-pa-chai-mongkhon-phra-chedi-dthla0128-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();