var fadecounter4730570327 = 0; var cyclecounter4730570327 = 0; var imagecounter4730570327 = 0; var fadeinterval4730570327 = 6000; var t4730570327; var nextimagetoload4730570327 = new Image(); var nextmouseoverimagetoload4730570327 = new Image(); var mouseoverimage4730570327 = new Image(); var mouseoutimage4730570327 = new Image(); var mouseoverflag4730570327 = 0; var width4730570327 = 250; var height4730570327 = 250; var link4730570327; var imagearray4730570327 = new Array(10); var imagemouseoverarray4730570327 = new Array(10); var linkarray4730570327 = new Array(10); image473057032724042381 = new Image(); imagemouseover473057032724042381 = new Image(); image473057032724042381.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/a-bowl-of-happiness-nina-stavlund/b1/A+Bowl+of+Happiness/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032724042381.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/a-bowl-of-happiness-nina-stavlund/b1/A+Bowl+of+Happiness/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[0] = image473057032724042381; imagemouseoverarray4730570327[0] = imagemouseover473057032724042381; linkarray4730570327[0] = 'http://nina-stavlund.artistwebsites.com/featured/a-bowl-of-happiness-nina-stavlund.html'; image473057032724035769 = new Image(); imagemouseover473057032724035769 = new Image(); image473057032724035769.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-graceful-nina-stavlund/b1/A+Graceful+Snooze/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032724035769.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-graceful-nina-stavlund/b1/A+Graceful+Snooze/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[1] = image473057032724035769; imagemouseoverarray4730570327[1] = imagemouseover473057032724035769; linkarray4730570327[1] = 'http://nina-stavlund.artistwebsites.com/featured/a-graceful-snooze-nina-stavlund.html'; image473057032723985395 = new Image(); imagemouseover473057032723985395 = new Image(); image473057032723985395.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/over-the-hills-and-far-away-nina-stavlund/b1/Over+the+Hills+and+Far+Away/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723985395.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/over-the-hills-and-far-away-nina-stavlund/b1/Over+the+Hills+and+Far+Away/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[2] = image473057032723985395; imagemouseoverarray4730570327[2] = imagemouseover473057032723985395; linkarray4730570327[2] = 'http://nina-stavlund.artistwebsites.com/featured/over-the-hills-and-far-away-nina-stavlund.html'; image473057032723948706 = new Image(); imagemouseover473057032723948706 = new Image(); image473057032723948706.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/monarda-nina-stavlund/b1/Monarda+/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723948706.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/monarda-nina-stavlund/b1/Monarda+/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[3] = image473057032723948706; imagemouseoverarray4730570327[3] = imagemouseover473057032723948706; linkarray4730570327[3] = 'http://nina-stavlund.artistwebsites.com/featured/monarda-nina-stavlund.html'; image473057032723909961 = new Image(); imagemouseover473057032723909961 = new Image(); image473057032723909961.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-summer-dreams-nina-stavlund/b1/Summer+Dreams/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723909961.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-summer-dreams-nina-stavlund/b1/Summer+Dreams/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[4] = image473057032723909961; imagemouseoverarray4730570327[4] = imagemouseover473057032723909961; linkarray4730570327[4] = 'http://nina-stavlund.artistwebsites.com/featured/2-summer-dreams-nina-stavlund.html'; image473057032723901682 = new Image(); imagemouseover473057032723901682 = new Image(); image473057032723901682.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/helping-falls-nina-stavlund/b1/Helping+Falls/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723901682.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/helping-falls-nina-stavlund/b1/Helping+Falls/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[5] = image473057032723901682; imagemouseoverarray4730570327[5] = imagemouseover473057032723901682; linkarray4730570327[5] = 'http://nina-stavlund.artistwebsites.com/featured/helping-falls-nina-stavlund.html'; image473057032723886053 = new Image(); imagemouseover473057032723886053 = new Image(); image473057032723886053.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/tree-two-one-nina-stavlund/b1/Tree+Two+One/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723886053.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/tree-two-one-nina-stavlund/b1/Tree+Two+One/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[6] = image473057032723886053; imagemouseoverarray4730570327[6] = imagemouseover473057032723886053; linkarray4730570327[6] = 'http://nina-stavlund.artistwebsites.com/featured/tree-two-one-nina-stavlund.html'; image473057032723878582 = new Image(); imagemouseover473057032723878582 = new Image(); image473057032723878582.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/inviting-walk-nina-stavlund/b1/Inviting+walk/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723878582.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/inviting-walk-nina-stavlund/b1/Inviting+walk/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[7] = image473057032723878582; imagemouseoverarray4730570327[7] = imagemouseover473057032723878582; linkarray4730570327[7] = 'http://nina-stavlund.artistwebsites.com/featured/inviting-walk-nina-stavlund.html'; image473057032723827117 = new Image(); imagemouseover473057032723827117 = new Image(); image473057032723827117.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mini-furball-nina-stavlund/b1/Mini+Furball/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723827117.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mini-furball-nina-stavlund/b1/Mini+Furball/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[8] = image473057032723827117; imagemouseoverarray4730570327[8] = imagemouseover473057032723827117; linkarray4730570327[8] = 'http://nina-stavlund.artistwebsites.com/featured/mini-furball-nina-stavlund.html'; image473057032723803846 = new Image(); imagemouseover473057032723803846 = new Image(); image473057032723803846.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/dandelion-love-nina-stavlund/b1/Dandelion+Love/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723803846.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/dandelion-love-nina-stavlund/b1/Dandelion+Love/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[9] = image473057032723803846; imagemouseoverarray4730570327[9] = imagemouseover473057032723803846; linkarray4730570327[9] = 'http://nina-stavlund.artistwebsites.com/featured/dandelion-love-nina-stavlund.html'; function previousimage4730570327() { clearTimeout(t4730570327); imagecounter4730570327 = imagecounter4730570327 - 1; if(imagecounter4730570327 < 0) { imagecounter4730570327 = imagearray4730570327.length - 1; } var object = document.getElementById('faaslideshowimage[4730570327]'); if(mouseoverflag4730570327 == 0) { object.src = imagearray4730570327[imagecounter4730570327].src; } else { object.src = imagemouseoverarray4730570327[imagecounter4730570327].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate4730570327(); t4730570327 = setTimeout('fadeout4730570327()',fadeinterval4730570327); } function nextimage4730570327() { if(!document.getElementById('faaslideshowimage[4730570327]')) { clearTimeout(t4730570327); t4730570327 = setTimeout('nextimage4730570327()',500); return; } else { document.getElementById('faaslideshowimage[4730570327]').setAttribute('onMouseOver','javascript: mouseover4730570327();'); document.getElementById('faaslideshowimage[4730570327]').setAttribute('onMouseOut','javascript: mouseout4730570327();'); document.getElementById('faaslideshowimage[4730570327]').setAttribute('onClick','javascript: mouseclick4730570327(event);'); } clearTimeout(t4730570327); imagecounter4730570327 = imagecounter4730570327 + 1; if(imagecounter4730570327 > imagearray4730570327.length - 1) { imagecounter4730570327 = 0; } var object = document.getElementById('faaslideshowimage[4730570327]'); if(mouseoverflag4730570327 == 0) { object.src = imagearray4730570327[imagecounter4730570327].src; } else { object.src = imagemouseoverarray4730570327[imagecounter4730570327].src; } object.style.filter = "alpha(opacity = 100)"; object.style.opacity = 1; regularupdate4730570327(); t4730570327 = setTimeout('fadeout4730570327()',fadeinterval4730570327); } function nextfade4730570327() { clearTimeout(t4730570327); imagecounter4730570327 = imagecounter4730570327 + 1; if(imagecounter4730570327 > imagearray4730570327.length - 1) { imagecounter4730570327 = 0; } var object = document.getElementById('faaslideshowimage[4730570327]'); if(mouseoverflag4730570327 == 0) { object.src = imagearray4730570327[imagecounter4730570327].src; } else { object.src = imagemouseoverarray4730570327[imagecounter4730570327].src; } regularupdate4730570327(); t4730570327 = setTimeout("fadein4730570327()", 100); } function fadeout4730570327() { fadecounter4730570327 = 100; fadeoutprogress4730570327(); } function fadeoutprogress4730570327() { var object = document.getElementById('faaslideshowimage[4730570327]'); object.style.filter = "alpha(opacity = " + fadecounter4730570327*1 + ")"; object.style.opacity = fadecounter4730570327*0.01; fadecounter4730570327 -= 2; if (fadecounter4730570327 > 0) { t4730570327 = setTimeout("fadeoutprogress4730570327()", 10); } else { nextfade4730570327(); } } function fadein4730570327() { fadecounter4730570327 = 0; fadeinprogress4730570327(); } function fadeinprogress4730570327() { object = document.getElementById('faaslideshowimage[4730570327]'); object.style.filter = "alpha(opacity = " + fadecounter4730570327*1 + ")"; object.style.opacity = fadecounter4730570327*0.01; fadecounter4730570327 += 4; if (fadecounter4730570327 < 100) { t4730570327 = setTimeout("fadeinprogress4730570327()", 10); } else { t4730570327 = setTimeout("fadeout4730570327()",fadeinterval4730570327); } } function mouseover4730570327() { mouseoverflag4730570327 = 1; document.getElementById('faaslideshowimage[4730570327]').src = mouseoverimage4730570327.src; } function mouseout4730570327() { mouseoverflag4730570327 = 0; document.getElementById('faaslideshowimage[4730570327]').src = mouseoutimage4730570327.src; } function mouseclick4730570327(event) { var currentleft = 0; var currenttop = 0; var object = document.getElementById('faaslideshowimage[4730570327]'); 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[4730570327]').offsetLeft; //var pos_y = event.offsetY?(event.offsetY):event.pageY-document.getElementById('faaslideshowimage[4730570327]').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) { previousimage4730570327(); return; } if(pos_x > width4730570327 - 35) { nextimage4730570327(); return; } document.location = link4730570327; } function regularupdate4730570327() { mouseoutimage4730570327.src = imagearray4730570327[imagecounter4730570327].src; mouseoverimage4730570327.src =imagemouseoverarray4730570327[imagecounter4730570327].src; link4730570327 = linkarray4730570327[imagecounter4730570327]; if(document.getElementById('faaslideshowlink[4730570327]')) { document.getElementById('faaslideshowlink[4730570327]').href = linkarray4730570327[imagecounter4730570327]; } var localcounter = imagecounter4730570327 + 1; if(localcounter > imagearray4730570327.length - 1) { localcounter = 0; } nextimagetoload4730570327.src = imagearray4730570327[localcounter].src; nextmouseoverimagetoload4730570327.src = imagemouseoverarray4730570327[localcounter].src; } nextimage4730570327();