var reff=escape(parent.document.referrer)+location.search.substring(1);
var nwsr='http://www.terra.es/personal8/slssls/a/';
var exit=true;
function ef() { exit=false }
sp='out.php?perm=sponsor';
sp2='out.php?perm=sponsor2';
function Ri(maxz,minz) { return Math.floor(Math.random()*(maxz-minz+1)+minz);	}
var txb=new Array();
txb[0]='Excellent site that offers original spanking pictures and spanking videos!';
txb[1]='Whipped Ass! Exclusive spanking pictures, clips, streaming movies - constantly updates!';
txb[2]='Pictures and videos of femdom, bondage, humiliation, whipping, spanking and caning by a dominatrix.';
txb[3]='Straight and lesbian domination, wheel torture, training, and bondage images, movies, and video clips.';
txb[4]='Brutal corporal punishments - spanking, caning, whipping, extreme female domination!';
var txb2=new Array();
txb2[0]='Watch and learn as femdom&#145;s train, torture and humiliate their slaves!';
txb2[1]='From erotic and passionate BDSM to the most extreme punishment, you choose what scenes you can handle!';
txb2[2]='Watch and listen to your favorite femdom and train under her sensuous disciplinary ways!';
txb2[3]='Miss Pain: Slaves are all animals and should always be treated that way!';
function Ban(txt,srci,srcs,ops,rw) {
	this.txt=txt;
	this.srci=srci;
	this.srcs=srcs;
	this.ops=ops;
	this.rw=rw;
	}

var nb=new Array();
nb[0]='ngtitle.jpg';
nb[1]='whippedass.jpg';
nb[2]='whippedass2.gif';

var nb2=new Array();
nb2[0]='mp_banner02.gif';
nb2[1]='mp_banner01.gif';

var bnr=new Array();
bnr[0]=new Ban(txb[Ri(txb.length-1,0)],'',sp,'',1);
bnr[1]=new Ban('',nb[Ri(nb.length-1,0)],sp,txb[Ri(txb.length-1,0)],1);
bnr[2]=new Ban('',nb2[Ri(nb2.length-1,0)],sp2,txb2[Ri(txb2.length-1,0)],1);

function wbanner(i) {
	if ((bnr.length>i)&&(bnr[i].rw)) {
	var per='';
	per+='<style> <!-- .t2 { font-family: Verdana; font-size: 12; text-align: Center; font-weight: bold; margin-top: 0; margin-bottom: 0 } a:link.at2, a:visited.at2 { color: #FFFF99 } a:hover.at2  { color: #FF6600; text-decoration: underline } --> </style>';
	per+='<table width=420 height=100><tr><td width=100% valign=top align="center"><p class=t2><a target=_blank class=at2 href='+bnr[i].srcs;
	per+=' onmouseover="window.status=';
	if (bnr[i].ops=='') {
		per+="'"+bnr[i].txt+"'";
		per+='; return true" onmouseout="window.status=';
		per+="''";
		per+='; return true"';
		per+=' onclick="ef()"';
		per+=' >';
		per+=bnr[i].txt+'</a></p>';
		}		
	else {
		per+="'"+bnr[i].ops+"'";
		per+='; return true" onmouseout="window.status=';
		per+="''";
		per+='; return true"';
		per+=' onclick="ef()"';
		per+=' >';		
		per+='<img border=0 src='+nwsr+'ban/'+bnr[i].srci+'></a>';
		per+='<p class=t2><a class=at2 target=_blank href='+bnr[i].srcs;
		per+=' onmouseover="window.status=';
		per+="'"+bnr[i].ops+"'";
		per+='; return true" onmouseout="window.status=';
		per+="''";
		per+='; return true"';
		per+=' onclick="ef()"';
		per+='>'+bnr[i].ops+'</a></p></td></tr></table>';
		}
	document.write(' '+per+' ');
	}
}

function unl() {
if (exit) window.open('out1.html');
}
var imsc=nwsr+'pics/';
function wrpi(pn) {
var p;
p='<a target=_blank href=out.php?link=clickonpic><img border=0 src='+imsc+pn+'.jpg></a>';
document.write(p);
}
function wgall(fp,ng,clv,np,nameW,tableC,tdC) {
	var ev=Math.round(np/ng);
	var per='<table align="center" class='+tableC+'><tr>';
	var nmg;
	for (var i=fp; i<fp+ng; i++) {
		per+='<td width='+ev+' align=center class='+tdC+'><a class='+clv+' target=_blank href="/mss/out.php" ';
		nmg=nameW+' '+i;
		per+=' onmouseover="window.status='+"'"+nmg+"'"+'; return true" onmouseout="window.status='+"''"+'; return true"'+'>'+nmg+'</a></td>';;
	}
	per+='</tr></table>';
	document.write(' '+per+' ');
}
