document.write('<meta http-equiv="imagetoolbar" content="no" />');
document.write('<div id="PopQdsa" style="visibility:hidden;position:absolute; z-index:99;height:1; width:1px;top:0;left:0;">');
document.write('<a href="http://www.que-du-sexe-amateur.com" target="_blank"><img src="http://www.que-du-sexe-amateur.com/pub/' + de() + '.gif" border="0"></a>');
document.write('</div>');


var agt=navigator.userAgent.toLowerCase();
adTime2=120;

var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
var calunit=ns? "" : "px"
adCount2=0;

function de()
{
	decubique = Math.ceil(14 *  Math.random());
	return decubique;
}

function initAd2(){
	if(!ns && !ie && !w3) return;
	if(ie)		adDiv2=eval('document.all.PopQdsa.style');
	else if(ns)	adDiv2=eval('document.layers["PopQdsa"]');
	else if(w3)	adDiv2=eval('document.getElementById("PopQdsa").style');
	randAd2=Math.ceil(Math.random()*1);
        if (ie||w3)
        adDiv2.visibility="visible";
        else
        adDiv2.visibility ="show";
	if(randAd2==1) showAd2();
}

function showAd2(){
if(adCount2<adTime2*10){
adCount2+=1;
	if (agt.indexOf("opera")!=-1){
	documentWidth= window.innerWidth+window.pageXOffset-(155);
	documentHeight= window.innerHeight+window.pageYOffset-(118);
	}
	else if (ie){
	documentWidth  = (truebody().offsetWidth)+truebody().scrollLeft-(155);
	documentHeight = (truebody().offsetHeight)+truebody().scrollTop-(118);
	}
	else if (ns){ // Netscape 4
	documentWidth=window.innerWidth+window.pageXOffset-(155);
	documentHeight=window.innerHeight+window.pageYOffset-(118);
	}
	else if (w3){ // Netscape 6&7
	documentWidth=self.innerWidth+window.pageXOffset-(155);
	documentHeight=self.innerHeight+window.pageYOffset-(118);
	}
	adDiv2.left=documentWidth+calunit;
	adDiv2.top =documentHeight+calunit;
	setTimeout("showAd2()",100);
	}else closeAd2();
}
function closeAd2(){
if (ie||w3) {
adDiv2.display="none";
} else {
adDiv2.visibility ="hide";
}
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

initAd2();




