var pagearSmallImg = 'http://www.photos-films.com/flm/aff/mini/224/Get-Him-to-the-Greek-1-22402.jpg'; var pagearSmallSwf = '/js/peel/pageear_s.swf'; var pagearBigImg = '/virtual_photo.php?pic=../img/flm/aff/orig/224/Get-Him-to-the-Greek-1-22402.jpg&width=500'; var pagearBigSwf = '/js/peel/pageear_b.swf'; var speedSmall = 4; var mirror = 'true'; var pageearColor = 'ffffff'; var jumpTo = '?module=flm_lst_detail&flm_id=22402' var openLink = 'self'; var openOnLoad = false; var closeOnLoad = false; var setDirection = 'rt'; var softFadeIn = 0; // Flash check vars var requiredMajorVersion = 6; var requiredMinorVersion = 0; var requiredRevision = 0; // Copyright var copyright = 'Webpicasso Media, www.webpicasso.de'; // Size small peel var thumbWidth = 100; var thumbHeight = 100; // Size big peel var bigWidth = 500; var bigHeight = 500; // Css style default x-position var xPos = 'right'; // GET - Params var queryParams = 'pagearSmallImg='+escape(pagearSmallImg); queryParams += '&pagearBigImg='+escape(pagearBigImg); queryParams += '&pageearColor='+pageearColor; queryParams += '&jumpTo='+escape(jumpTo); queryParams += '&openLink='+escape(openLink); queryParams += '&mirror='+escape(mirror); queryParams += '©right='+escape(copyright); queryParams += '&speedSmall='+escape(speedSmall); queryParams += '&openOnLoad='+escape(openOnLoad); queryParams += '&closeOnLoad='+escape(closeOnLoad); queryParams += '&setDirection='+escape(setDirection); queryParams += '&softFadeIn='+escape(softFadeIn); function openPeel(){ document.getElementById('bigDiv').style.top = '0px'; document.getElementById('bigDiv').style[xPos] = '0px'; document.getElementById('thumbDiv').style.top = '-1000px'; } function closePeel(){ document.getElementById("thumbDiv").style.top = "0px"; document.getElementById("bigDiv").style.top = "-1000px"; } function writePeelObjects () { // Get installed flashversion var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); // Check direction if(setDirection == 'lt') { xPosBig = 'left:-1000px'; xPos = 'left'; } else { xPosBig = 'right:1000px'; xPos = 'right'; } // Write div layer for big swf document.write('
'); // Check if flash exists/ version matched if (hasReqestedVersion) { AC_FL_RunContent( "src", pagearBigSwf+'?'+ queryParams, "width", bigWidth, "height", bigHeight, "align", "middle", "id", "bigSwf", "quality", "high", "bgcolor", "#FFFFFF", "name", "bigSwf", "wmode", "transparent", "allowScriptAccess","always", "type", "application/x-shockwave-flash", 'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab', "pluginspage", "http://www.adobe.com/go/getflashplayer" ); } else { // otherwise do nothing or write message ... document.write('no flash installed'); // non-flash content } // Close div layer for big swf document.write('
'); // Write div layer for small swf document.write('
'); // Check if flash exists/ version matched if (hasReqestedVersion) { AC_FL_RunContent( "src", pagearSmallSwf+'?'+ queryParams, "width", thumbWidth, "height", thumbHeight, "align", "middle", "id", "bigSwf", "quality", "high", "bgcolor", "#FFFFFF", "name", "bigSwf", "wmode", "transparent", "allowScriptAccess","always", "type", "application/x-shockwave-flash", 'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab', "pluginspage", "http://www.adobe.com/go/getflashplayer" ); } else { // otherwise do nothing or write message ... document.write('no flash installed'); // non-flash content } document.write('
'); setTimeout('document.getElementById("bigDiv").style.top = "-1000px";',100); }