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); image473057032723275000 = new Image(); imagemouseover473057032723275000 = new Image(); image473057032723275000.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/black-beauty-nina-stavlund/b1/Black+Beauty/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723275000.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/black-beauty-nina-stavlund/b1/Black+Beauty/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[0] = image473057032723275000; imagemouseoverarray4730570327[0] = imagemouseover473057032723275000; linkarray4730570327[0] = 'http://nina-stavlund.artistwebsites.com/featured/black-beauty-nina-stavlund.html'; image473057032723242058 = new Image(); imagemouseover473057032723242058 = new Image(); image473057032723242058.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/winters-last-breath-nina-stavlund/b1/Winters+Last+Breath/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723242058.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/winters-last-breath-nina-stavlund/b1/Winters+Last+Breath/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[1] = image473057032723242058; imagemouseoverarray4730570327[1] = imagemouseover473057032723242058; linkarray4730570327[1] = 'http://nina-stavlund.artistwebsites.com/featured/winters-last-breath-nina-stavlund.html'; image473057032723170348 = new Image(); imagemouseover473057032723170348 = new Image(); image473057032723170348.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/winter-fluff-nina-stavlund/b1/Winter+Fluff/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723170348.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/winter-fluff-nina-stavlund/b1/Winter+Fluff/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[2] = image473057032723170348; imagemouseoverarray4730570327[2] = imagemouseover473057032723170348; linkarray4730570327[2] = 'http://nina-stavlund.artistwebsites.com/featured/winter-fluff-nina-stavlund.html'; image473057032723141791 = new Image(); imagemouseover473057032723141791 = new Image(); image473057032723141791.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/aeronaut-nina-stavlund/b1/Aeronaut/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723141791.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/aeronaut-nina-stavlund/b1/Aeronaut/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[3] = image473057032723141791; imagemouseoverarray4730570327[3] = imagemouseover473057032723141791; linkarray4730570327[3] = 'http://nina-stavlund.artistwebsites.com/featured/aeronaut-nina-stavlund.html'; image473057032723116887 = new Image(); imagemouseover473057032723116887 = new Image(); image473057032723116887.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-cardinal-red-nina-stavlund/b1/Cardinal+Red/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723116887.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-cardinal-red-nina-stavlund/b1/Cardinal+Red/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[4] = image473057032723116887; imagemouseoverarray4730570327[4] = imagemouseover473057032723116887; linkarray4730570327[4] = 'http://nina-stavlund.artistwebsites.com/featured/2-cardinal-red-nina-stavlund.html'; image473057032723089140 = new Image(); imagemouseover473057032723089140 = new Image(); image473057032723089140.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/visions-of-spring-nina-stavlund/b1/Visions+of+Spring/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723089140.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/visions-of-spring-nina-stavlund/b1/Visions+of+Spring/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[5] = image473057032723089140; imagemouseoverarray4730570327[5] = imagemouseover473057032723089140; linkarray4730570327[5] = 'http://nina-stavlund.artistwebsites.com/featured/visions-of-spring-nina-stavlund.html'; image473057032723044601 = new Image(); imagemouseover473057032723044601 = new Image(); image473057032723044601.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/wintertide-nina-stavlund/b1/Wintertide/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723044601.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/wintertide-nina-stavlund/b1/Wintertide/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[6] = image473057032723044601; imagemouseoverarray4730570327[6] = imagemouseover473057032723044601; linkarray4730570327[6] = 'http://nina-stavlund.artistwebsites.com/featured/wintertide-nina-stavlund.html'; image473057032723008950 = new Image(); imagemouseover473057032723008950 = new Image(); image473057032723008950.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-sweet-season-nina-stavlund/b1/Sweet+Season/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032723008950.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/1-sweet-season-nina-stavlund/b1/Sweet+Season/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[7] = image473057032723008950; imagemouseoverarray4730570327[7] = imagemouseover473057032723008950; linkarray4730570327[7] = 'http://nina-stavlund.artistwebsites.com/featured/1-sweet-season-nina-stavlund.html'; image473057032722969189 = new Image(); imagemouseover473057032722969189 = new Image(); image473057032722969189.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/face-to-face-nina-stavlund/b1/Face+to+Face/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722969189.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/face-to-face-nina-stavlund/b1/Face+to+Face/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[8] = image473057032722969189; imagemouseoverarray4730570327[8] = imagemouseover473057032722969189; linkarray4730570327[8] = 'http://nina-stavlund.artistwebsites.com/featured/face-to-face-nina-stavlund.html'; image473057032722953492 = new Image(); imagemouseover473057032722953492 = new Image(); image473057032722953492.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/2-spread-your-wings-nina-stavlund/b1/Spread+Your+Wings/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722953492.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/2-spread-your-wings-nina-stavlund/b1/Spread+Your+Wings/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[9] = image473057032722953492; imagemouseoverarray4730570327[9] = imagemouseover473057032722953492; linkarray4730570327[9] = 'http://nina-stavlund.artistwebsites.com/featured/3-spread-your-wings-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();