self.focus();

if (!document.getElementById) {
 top.location.replace('http://www.bondagescape.com/upgrade/');
}

if (window != top)
	top.location.href = location.href;

function just1fix()
	{
		for (a in document.links)
		document.links [a].onfocus = document.links[a].blur;
	}
		if (document.all)
	{
		document.onmousedown = just1fix;
	}

var sotdcode
var date = new Date();
var today = date.getDay();

if (today == 0) { sotdcode = "<a href='http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=930799-0000&PA=1224178' target='_blank'><img src='../img/b/hardtied.jpg' class='nnerba'></a>"; }
if (today == 1) { sotdcode = "<a href='http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=930799-0001&PA=1446868' target='_blank'><img src='../img/b/infernalrestraints.jpg' class='nnerba'></a>"; }
if (today == 2) { sotdcode = "<a href='http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=927966-0005&PA=1515354' target='_blank'><img src='../img/b/thepainfiles.gif' class='nnerba'></a>"; }
if (today == 3) { sotdcode = "<a href='http://bondagebank.com/hit.php?s=1&p=2&w=100128&t=3&c=' target='_blank'><img src='../img/b/chantasbitches.jpg' class='nnerba'></a>"; }
if (today == 4) { sotdcode = "<a href='http://xxxcumcash.com/index.com?a=126&p=4&m=6&tr=sotd' target='_blank'><img src='../img/b/bondageorgasms.gif' class='nnerba'></a>"; }
if (today == 5) { sotdcode = "<a href='http://bondage.kshara.com/' target='_blank'><img src='../img/b/ksharabondage.gif' class='nnerba'></a>"; }
if (today == 6) { sotdcode = "<a href='http://xxxcumcash.com/index.com?a=126&p=3&m=3&tr=sotd' target='_blank'><img src='../img/b/societysm.gif' class='nnerba'></a>"; }

function WriteDate(Delta)
{
	date = new Date();
	date.setDate(date.getDate() - Delta);
	datestr=date.toUTCString();
	del=datestr.indexOf(date.getFullYear());
	dateok=datestr.substring(5,del+5)
	document.writeln(''+dateok+'');
}

function bookmarksite(title,url){
if (window.sidebar)
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
}
else if(document.all)
	window.external.AddFavorite(url, title);
}

