/* * Konfiguration / Configuration */ var pagearSmallImg = 'http://www.opensourcecms.com/include/pageear/files/../admin/upload/1dc2397e9d835c600708503393b2335e_s.jpg?757'; var pagearSmallSwf = 'http://www.opensourcecms.com/include/pageear/files/pageear_s_v2_5_p.swf'; var pagearBigImg = 'http://www.opensourcecms.com/include/pageear/files/../admin/upload/1dc2397e9d835c600708503393b2335e_b.jpg?641'; var pagearBigSwf = 'http://www.opensourcecms.com/include/pageear/files/pageear_b_v2_5_p.swf'; var speedSmall = 2; var mirror = 'true'; var pageearColor = 'ffffff'; var jumpTo = 'http://www.arvixe.com/linux_web_hosting?utm_campaign=OSCMS&utm_medium=banner&utm_source=opensourcecms.com' var openLink = 'new'; var openOnLoad = 'false'; var closeOnLoad = 0; var setDirection = 'rt'; var softFadeIn = '2'; var playSound = 'false'; var playOpenSound = 'false'; var playCloseSound = 'false'; var closeOnClick = 'false'; var closeOnClickText = 'Close'; var eventLogUrl = 'http://www.opensourcecms.com/include/pageear/files/'; var pageearId = '7'; var preview = ''; var videoBufferTime = '6'; var sKey = 'a749e38f556d5eb1dc13b9221d1f994f'; var range = '10'; var ptype = 1; //''; var shadowAlpha = '60'; var scrollText = ''; var scrollColor = 'ffffff'; var scrollSpeed = '0';; /* * Ab hier nichts mehr ändern / Do not change anything after this line */ // Flash check vars var reqMaV = 6; var reqMiV = 0; var reqR = 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'; // Flashvars - Params var flashvars = {}; flashvars.pagearSmallImg=escape(pagearSmallImg); flashvars.pagearBigImg=escape(pagearBigImg); flashvars.pageearColor=pageearColor; flashvars.jumpTo=escape(jumpTo); flashvars.openLink=escape(openLink); flashvars.mirror=escape(mirror); flashvars.copyright=escape(copyright); flashvars.speedSmall=escape(speedSmall); flashvars.openOnLoad=escape(openOnLoad); flashvars.closeOnLoad=escape(closeOnLoad); flashvars.setDirection=escape(setDirection); flashvars.softFadeIn=escape(softFadeIn); flashvars.playSound=escape(playSound); flashvars.playOpenSound=escape(playOpenSound); flashvars.playCloseSound=escape(playCloseSound); flashvars.closeOnClick=escape(closeOnClick); flashvars.closeOnClickText=escape(utf8encode(closeOnClickText)); flashvars.eventLogUrl=escape(eventLogUrl); flashvars.pageearId=escape(pageearId); flashvars.lcKey=escape(Math.random()); flashvars.sKey=escape(sKey); flashvars.bigWidth=escape(bigWidth); flashvars.thumbWidth=escape(thumbWidth); flashvars.videoBufferTime=escape(videoBufferTime); flashvars.preview=escape(preview); flashvars.range=escape(range); flashvars.ptype=escape(ptype); flashvars.shadowAlpha=escape(shadowAlpha); flashvars.scrollText=escape(scrollText); flashvars.scrollColor=escape(scrollColor); flashvars.scrollSpeed=escape(scrollSpeed); flashvars.syncSwfs= 'true'; flashvars.debug= 'false'; flashvars.host=escape(window.location.hostname); flashvars.license=escape('0fbbf59c40dc87655254e2ad24662a80'); flashvars.mail=escape('mark@opensourcecms.com'); function openPeel(){ debugOutput("JS function openPeel"); document.getElementById('bigDiv').style.top = '0px'; document.getElementById('bigDiv').style[xPos] = '0px'; document.getElementById('thumbDiv').style.top = '-1000px'; } function closePeel(){ debugOutput("JS function closePeel"); document.getElementById("thumbDiv").style.top = "0px"; document.getElementById("bigDiv").style.top = "-1000px"; } function writeObjects () { // Check direction if(setDirection == 'lt') { xPosBig = 'left:-'+(bigWidth-50)+'px'; xPos = 'left'; } else { xPosBig = 'right:0px'; xPos = 'right'; } // Check IE <7 fixedSupported = true; if (window.XMLHttpRequest == undefined && document.all) { fixedSupported = false; } var stPos = 'absolute'; if('0' == '1' && fixedSupported == true) { stPos = 'fixed'; } else if('0' == '1') { document.write(''); } // Write div layer for big swf debugOutput("JS write bigDiv"); document.write('
'); var useSwfobject = 1 if(useSwfobject == 1) { document.write('
'); var paramsBig = {}; paramsBig.quality = "high"; paramsBig.scale = "noscale"; paramsBig.salign = "tr"; paramsBig.wmode = "transparent"; paramsBig.bgcolor = "#ffffff"; paramsBig.allowscriptaccess = "always"; paramsBig.swliveconnect = "true"; var attributesBig = {}; attributesBig.name = "bigSwf"; attributesBig.align = "middle"; attributesBig.id = "bigSwf"; swfobject.embedSWF(pagearBigSwf, "bigDivObj", bigWidth+50, bigHeight+50, reqMaV+"."+reqMiV+"."+reqR, "expressInstall.swf", flashvars, paramsBig, attributesBig); } else { var fvars = ''; for (var k in flashvars) { fvars += k+'='+flashvars[k]+'&'; } // Check if flash exists/ version matched AC_FL_RunContent( "src", pagearBigSwf, "width", bigWidth+50, "height", bigHeight+50, "align", "middle", "id", "bigSwf", "quality", "high", "bgcolor", "#FFFFFF", "flashvars", fvars, "name", "bigSwf", "wmode", "transparent", "scale", "noscale", "salign", "tr", "allowScriptAccess","always", "type", "application/x-shockwave-flash", 'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab', "pluginspage", "http://www.adobe.com/go/getflashplayer" ); // Close div layer for big swf document.write(''); } // Write div layer for small swf debugOutput("JS write thumbDiv"); document.write('
'); if(useSwfobject == 1) { document.write('
'); var paramsSmall = {}; paramsSmall.quality = "high"; paramsSmall.scale = "noscale"; paramsSmall.salign = ""; paramsSmall.wmode = "transparent"; paramsSmall.bgcolor = "#ffffff"; paramsSmall.allowscriptaccess = "always"; var attributesSmall = {}; attributesSmall.name = "smallSwf"; attributesSmall.align = "middle"; attributesSmall.id = "smallSwf"; swfobject.embedSWF(pagearSmallSwf, "thumbDivObj", thumbWidth+50, thumbHeight+50, reqMaV+"."+reqMiV+"."+reqR, "expressInstall.swf", flashvars, paramsSmall, attributesSmall); } else { AC_FL_RunContent( "src", pagearSmallSwf, "width", thumbWidth+50, "height", thumbHeight+50, "align", "middle", "id", "smallSwf", "scale", "noscale", "quality", "high", "bgcolor", "#FFFFFF", "flashvars", fvars, "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" ); document.write(''); } setTimeout('document.getElementById("bigDiv").style.top = "-'+bigWidth+'px";',500); } function utf8encode(txt) { txt = txt.replace(/\r\n/g,"\n"); var utf8txt = ""; for(var i=0;i127) && (uc<2048)) { utf8txt += String.fromCharCode((uc>>6)|192); utf8txt += String.fromCharCode((uc&63)|128); } else { utf8txt += String.fromCharCode((uc>>12)|224); utf8txt += String.fromCharCode(((uc>>6)&63)|128); utf8txt += String.fromCharCode((uc&63)|128); } } return utf8txt; } /* Open on exit */ // Set some lines for debugging // **************************** function debugOutput(txt) { } // **************************** writeObjects();