var fadecounter2299650374 = 0; var cyclecounter2299650374 = 0; var imagecounter2299650374 = 0; var fadeinterval2299650374 = 6000; var t2299650374; var nextimagetoload2299650374 = new Image(); var nextmouseoverimagetoload2299650374 = new Image(); var mouseoverimage2299650374 = new Image(); var mouseoutimage2299650374 = new Image(); var mouseoverflag2299650374 = 0; var width2299650374 = 400; var height2299650374 = 400; var link2299650374; var imagearray2299650374 = new Array(10); var imagemouseoverarray2299650374 = new Array(10); var linkarray2299650374 = new Array(10); image229965037427005447 = new Image(); imagemouseover229965037427005447 = new Image(); image229965037427005447.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-5-marty-koch/b1/Arch+Fireworks+5/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037427005447.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-5-marty-koch/b1/Arch+Fireworks+5/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[0] = image229965037427005447; imagemouseoverarray2299650374[0] = imagemouseover229965037427005447; linkarray2299650374[0] = 'http://marty-koch.artistwebsites.com/featured/arch-fireworks-5-marty-koch.html'; image229965037427005433 = new Image(); imagemouseover229965037427005433 = new Image(); image229965037427005433.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-4-marty-koch/b1/Arch+Fireworks+4/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037427005433.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-4-marty-koch/b1/Arch+Fireworks+4/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[1] = image229965037427005433; imagemouseoverarray2299650374[1] = imagemouseover229965037427005433; linkarray2299650374[1] = 'http://marty-koch.artistwebsites.com/featured/arch-fireworks-4-marty-koch.html'; image229965037427005418 = new Image(); imagemouseover229965037427005418 = new Image(); image229965037427005418.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-3-marty-koch/b1/Arch+Fireworks+3/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037427005418.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-3-marty-koch/b1/Arch+Fireworks+3/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[2] = image229965037427005418; imagemouseoverarray2299650374[2] = imagemouseover229965037427005418; linkarray2299650374[2] = 'http://marty-koch.artistwebsites.com/featured/arch-fireworks-3-marty-koch.html'; image229965037427005397 = new Image(); imagemouseover229965037427005397 = new Image(); image229965037427005397.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-2-marty-koch/b1/Arch+Fireworks+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037427005397.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-2-marty-koch/b1/Arch+Fireworks+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[3] = image229965037427005397; imagemouseoverarray2299650374[3] = imagemouseover229965037427005397; linkarray2299650374[3] = 'http://marty-koch.artistwebsites.com/featured/arch-fireworks-2-marty-koch.html'; image229965037427005380 = new Image(); imagemouseover229965037427005380 = new Image(); image229965037427005380.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-1-marty-koch/b1/Arch+Fireworks+1/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037427005380.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/arch-fireworks-1-marty-koch/b1/Arch+Fireworks+1/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[4] = image229965037427005380; imagemouseoverarray2299650374[4] = imagemouseover229965037427005380; linkarray2299650374[4] = 'http://marty-koch.artistwebsites.com/featured/arch-fireworks-1-marty-koch.html'; image229965037426986094 = new Image(); imagemouseover229965037426986094 = new Image(); image229965037426986094.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/1-sunflower-2-marty-koch/b1/Sunflower+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037426986094.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/1-sunflower-2-marty-koch/b1/Sunflower+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[5] = image229965037426986094; imagemouseoverarray2299650374[5] = imagemouseover229965037426986094; linkarray2299650374[5] = 'http://marty-koch.artistwebsites.com/featured/1-sunflower-2-marty-koch.html'; image229965037426986090 = new Image(); imagemouseover229965037426986090 = new Image(); image229965037426986090.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/sunflower-1-marty-koch/b1/Sunflower+1/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037426986090.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/sunflower-1-marty-koch/b1/Sunflower+1/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[6] = image229965037426986090; imagemouseoverarray2299650374[6] = imagemouseover229965037426986090; linkarray2299650374[6] = 'http://marty-koch.artistwebsites.com/featured/sunflower-1-marty-koch.html'; image229965037426986085 = new Image(); imagemouseover229965037426986085 = new Image(); image229965037426986085.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-7-marty-koch/b1/Iris+7/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037426986085.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-7-marty-koch/b1/Iris+7/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[7] = image229965037426986085; imagemouseoverarray2299650374[7] = imagemouseover229965037426986085; linkarray2299650374[7] = 'http://marty-koch.artistwebsites.com/featured/iris-7-marty-koch.html'; image229965037426986079 = new Image(); imagemouseover229965037426986079 = new Image(); image229965037426986079.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-6-marty-koch/b1/Iris+6/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037426986079.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-6-marty-koch/b1/Iris+6/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[8] = image229965037426986079; imagemouseoverarray2299650374[8] = imagemouseover229965037426986079; linkarray2299650374[8] = 'http://marty-koch.artistwebsites.com/featured/iris-6-marty-koch.html'; image229965037426986064 = new Image(); imagemouseover229965037426986064 = new Image(); image229965037426986064.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-2-marty-koch/b1/Iris+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037426986064.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/2/iris-2-marty-koch/b1/Iris+2/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[9] = image229965037426986064; imagemouseoverarray2299650374[9] = imagemouseover229965037426986064; linkarray2299650374[9] = 'http://marty-koch.artistwebsites.com/featured/iris-2-marty-koch.html'; function previousimage2299650374() { clearTimeout(t2299650374); imagecounter2299650374 = imagecounter2299650374 - 1; if(imagecounter2299650374 < 0) { imagecounter2299650374 = imagearray2299650374.length - 1; } var object = document.getElementById('faaslideshowimage[2299650374]'); if(mouseoverflag2299650374 == 0) { object.src = imagearray2299650374[imagecounter2299650374].src; } else { object.src = imagemouseoverarray2299650374[imagecounter2299650374].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate2299650374(); t2299650374 = setTimeout('fadeout2299650374()',fadeinterval2299650374); } function nextimage2299650374() { if(!document.getElementById('faaslideshowimage[2299650374]')) { clearTimeout(t2299650374); t2299650374 = setTimeout('nextimage2299650374()',500); return; } else { document.getElementById('faaslideshowimage[2299650374]').setAttribute('onMouseOver','javascript: mouseover2299650374();'); document.getElementById('faaslideshowimage[2299650374]').setAttribute('onMouseOut','javascript: mouseout2299650374();'); document.getElementById('faaslideshowimage[2299650374]').setAttribute('onClick','javascript: mouseclick2299650374(event);'); } clearTimeout(t2299650374); imagecounter2299650374 = imagecounter2299650374 + 1; if(imagecounter2299650374 > imagearray2299650374.length - 1) { imagecounter2299650374 = 0; } var object = document.getElementById('faaslideshowimage[2299650374]'); if(mouseoverflag2299650374 == 0) { object.src = imagearray2299650374[imagecounter2299650374].src; } else { object.src = imagemouseoverarray2299650374[imagecounter2299650374].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate2299650374(); t2299650374 = setTimeout('fadeout2299650374()',fadeinterval2299650374); } function nextfade2299650374() { clearTimeout(t2299650374); imagecounter2299650374 = imagecounter2299650374 + 1; if(imagecounter2299650374 > imagearray2299650374.length - 1) { imagecounter2299650374 = 0; } var object = document.getElementById('faaslideshowimage[2299650374]'); if(mouseoverflag2299650374 == 0) { object.src = imagearray2299650374[imagecounter2299650374].src; } else { object.src = imagemouseoverarray2299650374[imagecounter2299650374].src; } regularupdate2299650374(); t2299650374 = setTimeout("fadein2299650374()", 100); } function fadeout2299650374() { fadecounter2299650374 = 100; fadeoutprogress2299650374(); } function fadeoutprogress2299650374() { var object = document.getElementById('faaslideshowimage[2299650374]'); object.style.filter = "alpha(opacity = " + fadecounter2299650374*1 + ")"; object.style.opacity = fadecounter2299650374*0.01; fadecounter2299650374 -= 2; if (fadecounter2299650374 > 0) { t2299650374 = setTimeout("fadeoutprogress2299650374()", 10); } else { nextfade2299650374(); } } function fadein2299650374() { fadecounter2299650374 = 0; fadeinprogress2299650374(); } function fadeinprogress2299650374() { object = document.getElementById('faaslideshowimage[2299650374]'); object.style.filter = "alpha(opacity = " + fadecounter2299650374*1 + ")"; object.style.opacity = fadecounter2299650374*0.01; fadecounter2299650374 += 4; if (fadecounter2299650374 < 100) { t2299650374 = setTimeout("fadeinprogress2299650374()", 10); } else { t2299650374 = setTimeout("fadeout2299650374()",fadeinterval2299650374); } } function mouseover2299650374() { mouseoverflag2299650374 = 1; document.getElementById('faaslideshowimage[2299650374]').src = mouseoverimage2299650374.src; } function mouseout2299650374() { mouseoverflag2299650374 = 0; document.getElementById('faaslideshowimage[2299650374]').src = mouseoutimage2299650374.src; } function mouseclick2299650374(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[2299650374]'); 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[2299650374]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[2299650374]').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) { previousimage2299650374(); return; } if(pos_x > width2299650374 - 35) { nextimage2299650374(); return; } document.location = link2299650374; } function regularupdate2299650374() { mouseoutimage2299650374.src = imagearray2299650374[imagecounter2299650374].src; mouseoverimage2299650374.src =imagemouseoverarray2299650374[imagecounter2299650374].src; link2299650374 = linkarray2299650374[imagecounter2299650374]; if(document.getElementById('faaslideshowlink[2299650374]')) { document.getElementById('faaslideshowlink[2299650374]').href = linkarray2299650374[imagecounter2299650374]; } var localcounter = imagecounter2299650374 + 1; if(localcounter > imagearray2299650374.length - 1) { localcounter = 0; } nextimagetoload2299650374.src = imagearray2299650374[localcounter].src; nextmouseoverimagetoload2299650374.src = imagemouseoverarray2299650374[localcounter].src; } nextimage2299650374();