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); image229965037424039957 = new Image(); imagemouseover229965037424039957 = new Image(); image229965037424039957.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunflower-26-marty-koch/b1/Sunflower+26/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037424039957.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunflower-26-marty-koch/b1/Sunflower+26/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[0] = image229965037424039957; imagemouseoverarray2299650374[0] = imagemouseover229965037424039957; linkarray2299650374[0] = 'http://marty-koch.artistwebsites.com/featured/sunflower-26-marty-koch.html'; image229965037424039943 = new Image(); imagemouseover229965037424039943 = new Image(); image229965037424039943.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunflower-27-marty-koch/b1/Sunflower+27/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037424039943.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunflower-27-marty-koch/b1/Sunflower+27/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[1] = image229965037424039943; imagemouseoverarray2299650374[1] = imagemouseover229965037424039943; linkarray2299650374[1] = 'http://marty-koch.artistwebsites.com/featured/sunflower-27-marty-koch.html'; image229965037423497642 = new Image(); imagemouseover229965037423497642 = new Image(); image229965037423497642.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/red-star-marty-koch/b1/Red+Star/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423497642.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/red-star-marty-koch/b1/Red+Star/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[2] = image229965037423497642; imagemouseoverarray2299650374[2] = imagemouseover229965037423497642; linkarray2299650374[2] = 'http://marty-koch.artistwebsites.com/featured/red-star-marty-koch.html'; image229965037423497627 = new Image(); imagemouseover229965037423497627 = new Image(); image229965037423497627.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/petals-oblong-marty-koch/b1/Petals+Oblong/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423497627.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/petals-oblong-marty-koch/b1/Petals+Oblong/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[3] = image229965037423497627; imagemouseoverarray2299650374[3] = imagemouseover229965037423497627; linkarray2299650374[3] = 'http://marty-koch.artistwebsites.com/featured/petals-oblong-marty-koch.html'; image229965037423497605 = new Image(); imagemouseover229965037423497605 = new Image(); image229965037423497605.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/petals-8x10-vert-marty-koch/b1/Petals+8x10+Vert/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423497605.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/petals-8x10-vert-marty-koch/b1/Petals+8x10+Vert/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[4] = image229965037423497605; imagemouseoverarray2299650374[4] = imagemouseover229965037423497605; linkarray2299650374[4] = 'http://marty-koch.artistwebsites.com/featured/petals-8x10-vert-marty-koch.html'; image229965037423497512 = new Image(); imagemouseover229965037423497512 = new Image(); image229965037423497512.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mountain-supreme-marty-koch/b1/Mountain+Supreme/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423497512.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mountain-supreme-marty-koch/b1/Mountain+Supreme/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[5] = image229965037423497512; imagemouseoverarray2299650374[5] = imagemouseover229965037423497512; linkarray2299650374[5] = 'http://marty-koch.artistwebsites.com/featured/mountain-supreme-marty-koch.html'; image229965037423497479 = new Image(); imagemouseover229965037423497479 = new Image(); image229965037423497479.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/purple-parade-marty-koch/b1/Purple+Parade/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423497479.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/purple-parade-marty-koch/b1/Purple+Parade/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[6] = image229965037423497479; imagemouseoverarray2299650374[6] = imagemouseover229965037423497479; linkarray2299650374[6] = 'http://marty-koch.artistwebsites.com/featured/purple-parade-marty-koch.html'; image229965037423056874 = new Image(); imagemouseover229965037423056874 = new Image(); image229965037423056874.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/back-to-back-marty-koch/b1/Back+To+Back/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423056874.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/back-to-back-marty-koch/b1/Back+To+Back/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[7] = image229965037423056874; imagemouseoverarray2299650374[7] = imagemouseover229965037423056874; linkarray2299650374[7] = 'http://marty-koch.artistwebsites.com/featured/back-to-back-marty-koch.html'; image229965037423056806 = new Image(); imagemouseover229965037423056806 = new Image(); image229965037423056806.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/little-falls-atikokan-ontario-marty-koch/b1/Little+Falls+Atikokan+Ontario/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423056806.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/little-falls-atikokan-ontario-marty-koch/b1/Little+Falls+Atikokan+Ontario/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[8] = image229965037423056806; imagemouseoverarray2299650374[8] = imagemouseover229965037423056806; linkarray2299650374[8] = 'http://marty-koch.artistwebsites.com/featured/little-falls-atikokan-ontario-marty-koch.html'; image229965037423046948 = new Image(); imagemouseover229965037423046948 = new Image(); image229965037423046948.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunrise-at-mount-moran-marty-koch/b1/Sunrise+at+Mount+Moran/b2/Marty+Koch/b3/400px/b4/400px/b5/normal.jpg'; imagemouseover229965037423046948.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sunrise-at-mount-moran-marty-koch/b1/Sunrise+at+Mount+Moran/b2/Marty+Koch/b3/400px/b4/400px/b5/normalmouseover.jpg'; imagearray2299650374[9] = image229965037423046948; imagemouseoverarray2299650374[9] = imagemouseover229965037423046948; linkarray2299650374[9] = 'http://marty-koch.artistwebsites.com/featured/sunrise-at-mount-moran-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();