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); image473057032722683718 = new Image(); imagemouseover473057032722683718 = new Image(); image473057032722683718.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/somniferous-nina-stavlund/b1/Somniferous/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722683718.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/somniferous-nina-stavlund/b1/Somniferous/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[0] = image473057032722683718; imagemouseoverarray4730570327[0] = imagemouseover473057032722683718; linkarray4730570327[0] = 'http://nina-stavlund.artistwebsites.com/featured/somniferous-nina-stavlund.html'; image473057032722569647 = new Image(); imagemouseover473057032722569647 = new Image(); image473057032722569647.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/hypnotic-nina-stavlund/b1/Hypnotic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722569647.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/hypnotic-nina-stavlund/b1/Hypnotic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[1] = image473057032722569647; imagemouseoverarray4730570327[1] = imagemouseover473057032722569647; linkarray4730570327[1] = 'http://nina-stavlund.artistwebsites.com/featured/hypnotic-nina-stavlund.html'; image473057032722683721 = new Image(); imagemouseover473057032722683721 = new Image(); image473057032722683721.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/soporose-nina-stavlund/b1/Soporose/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722683721.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/soporose-nina-stavlund/b1/Soporose/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[2] = image473057032722683721; imagemouseoverarray4730570327[2] = imagemouseover473057032722683721; linkarray4730570327[2] = 'http://nina-stavlund.artistwebsites.com/featured/soporose-nina-stavlund.html'; image473057032722687429 = new Image(); imagemouseover473057032722687429 = new Image(); image473057032722687429.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/soothing-nina-stavlund/b1/Soothing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687429.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/soothing-nina-stavlund/b1/Soothing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[3] = image473057032722687429; imagemouseoverarray4730570327[3] = imagemouseover473057032722687429; linkarray4730570327[3] = 'http://nina-stavlund.artistwebsites.com/featured/soothing-nina-stavlund.html'; image473057032722687383 = new Image(); imagemouseover473057032722687383 = new Image(); image473057032722687383.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/anodyne-nina-stavlund/b1/Anodyne/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687383.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/anodyne-nina-stavlund/b1/Anodyne/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[4] = image473057032722687383; imagemouseoverarray4730570327[4] = imagemouseover473057032722687383; linkarray4730570327[4] = 'http://nina-stavlund.artistwebsites.com/featured/anodyne-nina-stavlund.html'; image473057032722687401 = new Image(); imagemouseover473057032722687401 = new Image(); image473057032722687401.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/anesthetic-nina-stavlund/b1/Anesthetic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687401.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/anesthetic-nina-stavlund/b1/Anesthetic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[5] = image473057032722687401; imagemouseoverarray4730570327[5] = imagemouseover473057032722687401; linkarray4730570327[5] = 'http://nina-stavlund.artistwebsites.com/featured/anesthetic-nina-stavlund.html'; image473057032722687414 = new Image(); imagemouseover473057032722687414 = new Image(); image473057032722687414.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mesmerizing-nina-stavlund/b1/Mesmerizing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687414.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/mesmerizing-nina-stavlund/b1/Mesmerizing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[6] = image473057032722687414; imagemouseoverarray4730570327[6] = imagemouseover473057032722687414; linkarray4730570327[6] = 'http://nina-stavlund.artistwebsites.com/featured/mesmerizing-nina-stavlund.html'; image473057032722687363 = new Image(); imagemouseover473057032722687363 = new Image(); image473057032722687363.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/lenitive-nina-stavlund/b1/Lenitive/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687363.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/lenitive-nina-stavlund/b1/Lenitive/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[7] = image473057032722687363; imagemouseoverarray4730570327[7] = imagemouseover473057032722687363; linkarray4730570327[7] = 'http://nina-stavlund.artistwebsites.com/featured/lenitive-nina-stavlund.html'; image473057032722687472 = new Image(); imagemouseover473057032722687472 = new Image(); image473057032722687472.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/entrancing-nina-stavlund/b1/Entrancing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722687472.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/entrancing-nina-stavlund/b1/Entrancing/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[8] = image473057032722687472; imagemouseoverarray4730570327[8] = imagemouseover473057032722687472; linkarray4730570327[8] = 'http://nina-stavlund.artistwebsites.com/featured/entrancing-nina-stavlund.html'; image473057032722683961 = new Image(); imagemouseover473057032722683961 = new Image(); image473057032722683961.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/narcotic-nina-stavlund/b1/Narcotic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normal.jpg'; imagemouseover473057032722683961.src = 'https://fineartamerica.com/images-slideshow/images/artworkimages/medium/1/narcotic-nina-stavlund/b1/Narcotic/b2/Nina+Stavlund/b3/250px/b4/250px/b5/normalmouseover.jpg'; imagearray4730570327[9] = image473057032722683961; imagemouseoverarray4730570327[9] = imagemouseover473057032722683961; linkarray4730570327[9] = 'http://nina-stavlund.artistwebsites.com/featured/narcotic-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();