Excerpt from product page




Spirituals Essence - Home









Name:


*




Email:


*














Last Updated ( Tuesday, 22 January 2008 )





Read more...




 

















































/********************************************************************************************
* PageEar advertising CornerAd by Webpicasso Media
* Leave copyright notice.
*
* @copyright www.webpicasso.de
* @author christian harz
*********************************************************************************************/
/*
* Konfiguration / Configuration
*/

// URL to small image
var pagearSmallImg = 'modules/pagepeel_banner/clickhere.jpg';
// URL to small pageear swf
var pagearSmallSwf = 'modules/pagepeel_banner/pageear_s.swf';

// URL to big image
var pagearBigImg = 'http://www.spiritualsessence.com/images/banners/affiliatesgoogleadwords.jpg';
// URL to big pageear swf
var pagearBigSwf = 'modules/pagepeel_banner/pageear_b.swf';

// Movement speed of small pageear 1-4 (2=Standard)
var speedSmall = 4;
// Mirror image ( true | false )
var mirror = 'true';

// Color of pagecorner if mirror is false
var pageearColor = 'FFFFFF';

// URL to open on pageear click
var jumpTo = 'http://www.spiritualsessence.com/index.php?option=com_banners&task=click&bid=6' ;

// Browser target (new) or self (self)
var openLink = 'self';

// Opens pageear automaticly (false:deactivated | 0.1 - X seconds to open)

var openOnLoad = 1;


// Second until pageear close after openOnLoad
var closeOnLoad = 5;

// Set direction of pageear in left or right top browser corner (lt: left | rt: right )
var setDirection = 'rt';

//add by remush
var autoopen = 'enable';
var behaviour = 'reload';

/*
* Do not change anything after this line
*/

// 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 += '&copyright='+escape(copyright);
queryParams += '&speedSmall='+escape(speedSmall);
queryParams += '&openOnLoad='+escape(openOnLoad);
queryParams += '&closeOnLoad='+escape(closeOnLoad);
queryParams += '&setDirection='+escape(setDirection);


var cookieEnabled=(navigator.cookieEnabled)? true : false ;


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('');

}



//added by REMUSH
//for Set cookies
function createCookie(name,value,hours) {
if (hours) {
var date = new Date();
date.setTime(date.getTime()+(hours*60*60));
var expires = "; expires="+date.toGMTString();
}
else expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
//end added by REMUSH





writeObjects();
if(autoopen == "enable"){
if(behaviour == "once"){
//if you choose behaviour once, you must enable cookies on your browser
cookie = readCookie("auto_open_pagepeel");
//if not IE4+ nor NS6+
if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled){
document.cookie="testcookie";
cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false ;
}
if (cookie != 1 && cookieEnabled ) {
openPeel();
createCookie("auto_open_pagepeel", "1");
}
}
else{
openPeel();
}


}












Designed by:










Joomla Templates






Web hosting provider












http://www.spiritualsessence.com, Powered by Joomla! and designed by SiteGround web hosting









Sites you may be interested in