/* Конфигурация */ // Путь к малой картинке и pageear_s.swf var pagearSmallImg = 'http://maarulal.ru/pageear/pageear_s.jpg'; var pagearSmallSwf = 'http://maarulal.ru/pageear/pageear_s.swf'; // Путь к большой картинке и pageear_b.swf var pagearBigImg = 'http://maarulal.ru/pageear/pageear_b.jpg'; var pagearBigSwf = 'http://maarulal.ru/pageear/pageear_b.swf'; // Скорость открытия 1-4 (2=стандарт) var speedSmall = 1; // Отражение картинки на отвороте уголка ( true -да | false -нет ) var mirror = 'true'; // Цвет отворота var pageearColor = 'ffffff'; //URL страницы перехода var jumpTo = 'http://maarulal.ru/mchat' // Страница (new - новая) , (self - та-же) var openLink = 'new'; // Автоматика открытия (false:отключено | 0.1 - X секунд до закрытия) var openOnLoad = false; // Время задержки закрытия, при значении 0.1 - X секунд до закрытия var closeOnLoad = 3; // Расположение уголка (lt: слева | rt: справа ) var setDirection = 'rt'; // Скорость закрытия (0-5: 0=off, 1=медленно, 5=быстро ) var softFadeIn = 3; // Hintergrundsound einmalig abspielen (false:deaktiviert | URL:Mp3 File z.b. www.domain.de/meinsound.mp3) // Plays background music once abspielen (false:deactivated | URL:Mp3 File e.g. www.domain.de/mysound.mp3) var playSound = 'false' // Spielt Sound beim цffnen (false:deaktiviert | URL:Mp3 File z.b. www.domain.de/meinsound.mp3) // Play sound on opening peel (false:deactivated | URL:Mp3 File e.g. www.domain.de/mysound.mp3) var playOpenSound = 'http://maarulal.ru/pageear/zooms2.mp3'; // Spielt Sound beim schlieЯen (false:deaktiviert | URL:Mp3 File z.b. www.domain.de/meinsound.mp3) // Play sound on closing peel (false:deactivated | URL:Mp3 File e.g. www.domain.de/mysound.mp3) var playCloseSound = 'false'; /* Далее ничего не изменять */ var requiredMajorVersion = 6; var requiredMinorVersion = 0; var requiredRevision = 0; var copyright = 'Webpicasso Media, www.webpicasso.de'; var thumbWidth = 80; var thumbHeight = 80; var bigWidth = 200; var bigHeight = 200; var xPos = 'right'; 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); queryParams += '&playSound='+escape(playSound); queryParams += '&playOpenSound='+escape(playOpenSound); queryParams += '&playCloseSound='+escape(playCloseSound); queryParams += '&closeOnClick='+escape(closeOnClick); 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 writeObjects () { // 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); }