var bGlobalDontShowAgain = false;
Ê
function GetRealBodyWidth()
{
ÊÊÊ // screen size
ÊÊÊ var screenWidth = screen.width;
ÊÊÊ var screenHeight = screen.height;
Ê
ÊÊÊ // body size
ÊÊÊ var scrollWidth = document.body.scrollWidth;
ÊÊÊ var scrollHeight = document.body.scrollHeight;
Ê
ÊÊÊ if(screenWidth < scrollWidth)
ÊÊÊ {
ÊÊÊÊÊÊÊ scrollWidth = screenWidth;
ÊÊÊ }
Ê
ÊÊÊ if(screenHeight < scrollHeight)
ÊÊÊ {
ÊÊÊÊÊÊÊ scrollHeight = screenHeight;
ÊÊÊ }
ÊÊÊ return scrollWidth;
}
Ê
Ê
function CommitTopSlide() {
ÊÊ ÊÊÊÊÊÊÊÊÊÊÊÊ if(EBStop)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ var d = document.getElementById('EBTopBanner');ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ Ê //Ê d.style.width= parseInt(GetRealBodyWidth());
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ d.style.left = 0+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ if(d.style.display=="none")d.style.display="block";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ if (d) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊ if (__top < 0) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ __top += 3;
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ d.style.top = __top+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ d.style.hieght=__top+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ setTimeout(CommitTopSlide, 25);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }Ê
}
Ê
Ê
function EBPreVanishTopSlide(bDontShowAgain)
{
ÊÊÊ if (bGlobalDontShowAgain == true){bDontShowAgain=true}
ÊÊÊ var iDays = bDontShowAgain ? DAYS_FOR_NEXT_APPEARANCE_DONT_SHOW_NOTIFICATION : DAYS_FOR_NEXT_APPEARANCE_CLOSE_BUTTON;ÊÊÊ
ÊÊÊ EBStop=true;
ÊÊÊ BannersControlHelper.SetCookie("TopSliderExposed","1",iDays);ÊÊ
ÊÊÊ EBVanishTopSlide();
}
Ê
Ê
function EBDownloadToolbar()
{
ÊÊÊ setTimeout(EBPreVanishTopSlide, 5000);
}
Ê
function DelayVanish()
{
ÊÊÊÊ var objCheckTopScrollDontShowAgain = document.getElementById("checkTopScrollDontShowAgain");
ÊÊÊÊ
ÊÊÊÊ if(objCheckTopScrollDontShowAgain != null)
ÊÊÊÊ {
ÊÊÊÊÊÊÊ bGlobalDontShowAgain = objCheckTopScrollDontShowAgain.checked;
ÊÊÊÊÊÊÊ if(bGlobalDontShowAgain)ÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊÊÊÊÊ setTimeout(EBPreVanishTopSlide, 5000)
ÊÊÊÊ }
}
Ê
function EBVanishTopSlide() {
ÊÊ ÊÊÊÊÊÊÊÊÊÊÊÊ if(EBStop)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ var d = document.getElementById('EBTopBanner');
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ Êd.style.left = 0+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ if(d.style.display=="none")d.style.display="block";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ if (d) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊ if (__top > -77) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ __top -= 10;
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ d.style.top = __top+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ d.style.hieght=__top+"px";
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊ setTimeout(EBVanishTopSlide, 10);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }ÊÊÊ
}
Ê
Ê
function GetAlphaFilter()
{
ÊÊÊ var ie = (document.all) ? 1 : 0;
ÊÊÊ
ÊÊÊ if(ie)
ÊÊÊÊ return "filter:alpha(opacity=" + __opacity+")";
ÊÊÊ else
ÊÊÊÊ return "-moz-opacity: " + __opacity/ 100 ;
}
Ê
Ê
Ê
//definitions - internals
var __topÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ = -66;
var EBStopÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ = true;
var DAYS_FOR_NEXT_APPEARANCE_CLOSE_BUTTON =7;
var DAYS_FOR_NEXT_APPEARANCE_DONT_SHOW_NOTIFICATION =365;
Ê
Ê
Ê
//Images
var __bgImage;
var __arrowImage;
var __textImage;ÊÊÊÊÊÊ
var __downloadBtn;ÊÊÊÊÊÊÊ
var __downloadBtnOver;
var __downloadBtnDown;
var __closeBtn;
var __closeBtnOver;
var __closeBtnDown;
var __dontShowCaption;
var __imagesPath;
Ê
Ê
function InitImagesDefinitions()
{
ÊÊÊ __imagesPathÊÊÊÊÊÊÊ = __baseURL +Ê 'Banners/TopSlider/';
ÊÊÊ __bgImageÊÊÊÊÊÊÊÊÊÊ = __imagesPath + "strip_" + __selectedColor + ".gif";
ÊÊÊ __arrowImageÊÊÊÊÊÊÊ = __imagesPath + "arrow_" + __selectedColor + ".gif";
ÊÊÊ __textImageÊÊÊÊÊÊÊÊ = __imagesPath + "text_" + __selectedColor + ".gif"; //"[put the path to the image here e.g. /images/myTextImage.gif]";
ÊÊÊ __downloadBtnÊÊÊÊÊÊ = __imagesPath + "dnld_" + __selectedColor + ".gif";
ÊÊÊ __downloadBtnOverÊÊ = __imagesPath + "dnld_" + __selectedColor + "_over.gif";
ÊÊÊ __downloadBtnDownÊÊ = __imagesPath + "dnld_" + __selectedColor + "_dn.gif";
ÊÊÊ __closeBtnÊÊÊÊÊÊÊÊÊ = __imagesPath + "close_" + __selectedColor + ".gif";
ÊÊÊ __closeBtnOverÊÊÊÊÊ = __imagesPath + "close_" + __selectedColor + "_over.gif";
ÊÊÊ __closeBtnDownÊÊÊÊÊ = __imagesPath + "close_" + __selectedColor + "_dn.gif";
ÊÊÊ __dontShowCaptionÊÊ = __imagesPath + "dont_show.gif";ÊÊ
}
Ê
Ê
Ê
function __TopSlide()
{
Ê
ÊÊÊ WriteToolbarAPIRequest();
ÊÊÊ InitImagesDefinitions();
ÊÊÊ WriteBannerHTML();
ÊÊÊÊÊÊÊ
ÊÊÊ //ExecuteFlyOver only after page loads and banner
ÊÊÊ //code is written to the document!!!
Ê
ÊÊÊ BannersControlHelper.AttachEvent(window,'onload',ExecuteTopSlide);ÊÊÊÊÊÊÊ
}
Ê
function ExecuteTopSlide()
{
ÊÊÊ if(ValidateShow())
ÊÊÊ {
ÊÊÊ ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ var d = document.getElementById('EBTopBanner');ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ d.style.width= parseInt(GetRealBodyWidth());
ÊÊÊÊÊÊÊ setTimeout(CommitTopSlide, 400);
ÊÊÊ }
}
Ê
Ê
Ê
function ValidateShow()
{
ÊÊÊ if (typeof __preview == "string")
ÊÊÊ ÊÊÊÊreturn true;
ÊÊÊÊÊÊ
ÊÊÊ //if the ctid var was defined, use the TPI to check if toolbar
ÊÊÊ //is already installed in order to disable the banner in such case.Ê
ÊÊÊ if (typeof __ctid =="string")
ÊÊÊ {
ÊÊÊ
ÊÊÊÊÊ var oToolbar = new TPI.Toolbar(__ctid);ÊÊÊÊÊÊ
ÊÊÊÊÊ var oReturn = oToolbar.IsVisible();ÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊÊÊ if (oReturn.returnValueÊÊ ==Ê true)//toolbar is installed and visible
ÊÊÊÊÊÊÊ return false
ÊÊÊ }ÊÊÊÊÊÊ
ÊÊÊÊÊÊÊ
ÊÊÊ //first validate period exposure
ÊÊÊ if (BannersControlHelper.ReadCookie("TopSliderExposed") == "1")
ÊÊÊÊÊÊÊ return false;
ÊÊÊÊÊÊÊ
ÊÊÊ //Validate cookies are enabled on the user's browser
ÊÊÊ BannersControlHelper.SetCookie("TopSliderTester","1",1);ÊÊÊ
ÊÊ
ÊÊÊ if(BannersControlHelper.ReadCookie("TopSliderTester") == "1")
ÊÊÊ {
ÊÊÊÊÊÊÊ //Cookies Enabled on user's browser
ÊÊÊÊÊÊÊ if (BannersControlHelper.ReadCookie("TopSliderExposed") == "1")
ÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊ return false;
ÊÊÊÊÊÊÊ }ÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊ return true;ÊÊÊÊÊÊÊÊÊÊÊÊ
ÊÊÊ }
ÊÊÊ else //Cookies disabled on user's browser
ÊÊÊ {
ÊÊÊÊÊÊÊ return false;
ÊÊÊ }
}
Ê
Ê
Ê
function WriteToolbarAPIRequest()
{
ÊÊÊ document.write("<script src=\"" + __baseURL + "/Api/ToolbarApi.js\"></script>");
}
Ê
Ê
function WriteBannerHTML()
{
ÊÊÊ document.write('<div class="" id="EBTopBanner" style="'+GetAlphaFilter()+';z-index:1000;padding:0px 0px 0px 0px;display:none;width:100%;position:absolute;top:0px;left:0px;height:66px;background-image:url(' + __bgImage + ');background-repeat: repeat;background-repeat: repeat-x;">');ÊÊÊ
ÊÊÊ document.write('<table class="" dir="ltr" height="100%" width="100%" cellpadding="0" cellspacing="0">');
ÊÊÊ document.write('<tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="width:25%">&nbsp;');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="width:50%">');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <table cellpadding="0" cellspacing="0">');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td ><img src="' + __arrowImage + '" />');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td width="18px">&nbsp;');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td align="top" style="vertical-align:top; padding-top:13px; text-align:right; color:green; font-family:Arial; font-weight:bold; font-size:13px; line-height:13px; width:620px;" > Seniorentreff.de Toolbar erhŠltlich.');
ÊÊÊ //document.write('ÊÊÊ <td align="top" style="vertical-align:top" ><img src="' + __textImage + '" align=topÊ />');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="width:31px">&nbsp;&nbsp;');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <tdÊ style="padding-top:14px;vertical-align:top"><a href="'+ __downloadUrl +'" ><img border="0" src="' + __downloadBtnÊ + '"ÊÊ onmouseover = "this.src=\'' + __downloadBtnOverÊÊ +'\'"Ê onmouseout = "this.src=\'' + __downloadBtnÊÊ +'\'" onmousedown = "this.src=\''+ __downloadBtnDownÊ +'\'"Ê onmousedown = "this.src=\''+ __downloadBtnDownÊ +'\'" onclick="EBDownloadToolbar()"Ê target="_blank" /></a>');
ÊÊÊ
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </table>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="vertical-align:top" width="25%">&nbsp;');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="vertical-align:top;text-align:right">');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <table cellpadding="0" cellspacing="0" style="width:100px;">');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td colspan="2" align="right" style="text-align:right;padding-top:2px;padding-right:4px">&nbsp;');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <img border="0" style="cursor:pointer;cursor:hand" src="' + __closeBtnÊ + '"ÊÊ onmouseover = "this.src=\'' + __closeBtnOverÊ +'\'"Ê onmouseout = "this.src=\'' + __closeBtnÊÊ +'\'" onmousedown = "this.src=\''+ __closeBtnDownÊ +'\'"Ê onmousedown = "this.src=\''+ __downloadBtnDownÊ +'\'" onclick="EBPreVanishTopSlide(false)"ÊÊÊ />');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td style="padding-top:1px;padding-right:4px; width:20px;">');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <input type="checkbox" class="" id="checkTopScrollDontShowAgain" onClick="DelayVanish()" />');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ <td width="40px" style="padding-right:4px; font-size:10px; color:white; font-family:Arial;" >');
ÊÊÊ //document.write('ÊÊÊ <img border="0" style="margin-top:1px" src="' + __dontShowCaptionÊ + '" >');
ÊÊ document.write(' Nicht mehr anzeigen');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>')
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </tr>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </table>');
ÊÊÊ document.write('ÊÊÊÊÊÊÊ </td>');
ÊÊÊ document.write('</tr>');
ÊÊÊ document.write('</table>');
ÊÊÊ document.write('</div>');
}
Ê
var BannersControlHelper =
{ÊÊÊÊ ÊÊÊÊÊÊÊÊ
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ IsIE : function()
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ return (window.navigator.userAgent.indexOf("MSIE") > 0);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ IsIE7 : function()
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ return (window.navigator.userAgent.indexOf("MSIE 7.0") > 0);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ IsIE6 : function()
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {ÊÊ
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ÊÊÊ var regexIE6 = /MSIE ([0-6])/;
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ return (regexIE6.test(window.navigator.userAgent));
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ AttachEvent : function(obj, eventName, delegate)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ ifÊ (typeof( obj.addEventListener ) != 'undefined' )
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ obj.addEventListener(BannersControlHelper.GetEventName(eventName),delegate,false);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ else {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ obj.attachEvent(eventName,delegate);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ DetachEvent : function(obj,eventName,delegate)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ if (obj.removeEventListener) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ obj.removeEventListener(eventName,delegate, true);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ else if (obj.detachEvent) {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ obj.detachEvent(eventName,delegate);
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ }
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ GetEventName : function (name)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ return (name.indexOf('on') == 0) ? name.substring(2,name.length) : name;
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ },
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ SetCookie:function (cookieName,cookieValue,nDays)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ {
ÊÊÊÊ var today = new Date();
ÊÊÊÊ var expire = new Date();
ÊÊÊÊ if (nDays==null || nDays==0) nDays=1;
ÊÊÊÊ expire.setTime(today.getTime() + 3600000*24*nDays);
ÊÊÊÊ document.cookie = cookieName+"="+escape(cookieValue)
ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊ + ";expires="+expire.toGMTString();
ÊÊÊ },
ÊÊÊ ReadCookie:function (cookieName)
ÊÊÊ {
ÊÊÊÊ var theCookie=""+document.cookie;
ÊÊÊÊ var ind=theCookie.indexOf(cookieName);
ÊÊÊÊ if (ind==-1 || cookieName=="") return "";
ÊÊÊÊ var ind1=theCookie.indexOf(';',ind);
ÊÊÊÊ if (ind1==-1) ind1=theCookie.length;
ÊÊÊÊ return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
ÊÊÊ }
}
Ê
Ê
var __ctid = ' CT2339514';
var __baseURL='http://www.conduit.com/';
var __downloadUrl= Ôhttp://Seniorentreffde.CommunityToolbars.comÕ;
var __selectedColor='orange';
var __opacity='90';
__TopSlide();
Ê