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); image473057032721929935 = new Image(); imagemouseover473057032721929935 = new Image(); image473057032721929935.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/having-an-itch-nina-stavlund/b1/Having+an+Itch/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721929935.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/having-an-itch-nina-stavlund/b1/Having+an+Itch/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[0] = image473057032721929935; imagemouseoverarray4730570327[0] = imagemouseover473057032721929935; linkarray4730570327[0] = 'http://nina-stavlund.artistwebsites.com/featured/having-an-itch-nina-stavlund.html'; image473057032721890326 = new Image(); imagemouseover473057032721890326 = new Image(); image473057032721890326.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/forest-inukshuk-nina-stavlund/b1/Forest+Inukshuk/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721890326.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/forest-inukshuk-nina-stavlund/b1/Forest+Inukshuk/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[1] = image473057032721890326; imagemouseoverarray4730570327[1] = imagemouseover473057032721890326; linkarray4730570327[1] = 'http://nina-stavlund.artistwebsites.com/featured/forest-inukshuk-nina-stavlund.html'; image473057032721877958 = new Image(); imagemouseover473057032721877958 = new Image(); image473057032721877958.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sentient-nina-stavlund/b1/Sentient/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721877958.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/sentient-nina-stavlund/b1/Sentient/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[2] = image473057032721877958; imagemouseoverarray4730570327[2] = imagemouseover473057032721877958; linkarray4730570327[2] = 'http://nina-stavlund.artistwebsites.com/featured/sentient-nina-stavlund.html'; image473057032721868349 = new Image(); imagemouseover473057032721868349 = new Image(); image473057032721868349.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/classic-fall-nina-stavlund/b1/Classic+Fall/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721868349.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/classic-fall-nina-stavlund/b1/Classic+Fall/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[3] = image473057032721868349; imagemouseoverarray4730570327[3] = imagemouseover473057032721868349; linkarray4730570327[3] = 'http://nina-stavlund.artistwebsites.com/featured/classic-fall-nina-stavlund.html'; image473057032721862407 = new Image(); imagemouseover473057032721862407 = new Image(); image473057032721862407.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/visibility-zero-nina-stavlund/b1/Visibility+Zero/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721862407.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/visibility-zero-nina-stavlund/b1/Visibility+Zero/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[4] = image473057032721862407; imagemouseoverarray4730570327[4] = imagemouseover473057032721862407; linkarray4730570327[4] = 'http://nina-stavlund.artistwebsites.com/featured/visibility-zero-nina-stavlund.html'; image473057032721755057 = new Image(); imagemouseover473057032721755057 = new Image(); image473057032721755057.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/happy-fall-nina-stavlund/b1/Happy+Fall/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721755057.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/happy-fall-nina-stavlund/b1/Happy+Fall/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[5] = image473057032721755057; imagemouseoverarray4730570327[5] = imagemouseover473057032721755057; linkarray4730570327[5] = 'http://nina-stavlund.artistwebsites.com/featured/happy-fall-nina-stavlund.html'; image473057032721732226 = new Image(); imagemouseover473057032721732226 = new Image(); image473057032721732226.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/woolly-bear-nina-stavlund/b1/Woolly+Bear/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721732226.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/woolly-bear-nina-stavlund/b1/Woolly+Bear/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[6] = image473057032721732226; imagemouseoverarray4730570327[6] = imagemouseover473057032721732226; linkarray4730570327[6] = 'http://nina-stavlund.artistwebsites.com/featured/woolly-bear-nina-stavlund.html'; image473057032721726519 = new Image(); imagemouseover473057032721726519 = new Image(); image473057032721726519.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/prickly-beauty-nina-stavlund/b1/Prickly+Beauty/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721726519.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/prickly-beauty-nina-stavlund/b1/Prickly+Beauty/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[7] = image473057032721726519; imagemouseoverarray4730570327[7] = imagemouseover473057032721726519; linkarray4730570327[7] = 'http://nina-stavlund.artistwebsites.com/featured/prickly-beauty-nina-stavlund.html'; image473057032721714770 = new Image(); imagemouseover473057032721714770 = new Image(); image473057032721714770.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-change-of-season-nina-stavlund/b1/Change+of+Season/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721714770.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-change-of-season-nina-stavlund/b1/Change+of+Season/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[8] = image473057032721714770; imagemouseoverarray4730570327[8] = imagemouseover473057032721714770; linkarray4730570327[8] = 'http://nina-stavlund.artistwebsites.com/featured/2-change-of-season-nina-stavlund.html'; image473057032721601387 = new Image(); imagemouseover473057032721601387 = new Image(); image473057032721601387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/i-was-here-nina-stavlund/b1/I+was+here/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032721601387.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/i-was-here-nina-stavlund/b1/I+was+here/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[9] = image473057032721601387; imagemouseoverarray4730570327[9] = imagemouseover473057032721601387; linkarray4730570327[9] = 'http://nina-stavlund.artistwebsites.com/featured/i-was-here-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();