
document.write('<style>');
document.write('    <!--');

document.write('#WBSZ_wrapper {');

document.write('	background-image: url(http://img.esecure-transaction.com/06/13/27/version2/bkd.gif);');

document.write('	position: absolute;');
document.write('	margin-top: 6px;');
document.write('	margin-right: auto;');
document.write('	margin-bottom: 0;');
document.write('	margin-left: auto;	height: 154px;');
document.write('	width: 344px;');
document.write('	font-size: 13px;');
document.write('	display: none;');
document.write('	}');

document.write('#WBSZ_photo {');
document.write('	position:absolute;');
document.write('	height: 120px;');
document.write('	width: 120px;');
document.write('	top: 27px;');
document.write('	left: 7px;');
document.write('	background-color: #000000;');
document.write('}');

document.write('#WBSZ_big_title {');
document.write('	position:absolute;');
document.write('	top: 5px;');
document.write('	left: 30px;');
document.write('	color: white;');
document.write('	font-weight: bold;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_lien0 {');
document.write('	color: white;');
document.write('	text-decoration: none;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_title {');
document.write('	color: #BD1B8C;');
document.write('	position:absolute;');
document.write('	top: 40px;');
document.write('	left: 145px;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_title a {');
document.write('	color: #BD1B8C;');
document.write('	text-decoration: none;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_title a;hover {');
document.write('	color: #BD1B8C;');
document.write('	text-decoration: underline;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_title a {');
document.write('	color: #BD1B8C;');
document.write('	text-decoration: none;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_title a:hover {');
document.write('	color: #BD1B8C;');
document.write('	text-decoration: underline;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_content {');
document.write('	color: #333366;');
document.write('	position:absolute;');
document.write('	left: 145px;');
document.write('	top: 70px;');
document.write('	text-decoration: none;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_content:hover {');
document.write('	color: #333366;');
document.write('	text-decoration: underline;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_button {');
document.write('	width: 171px;');
document.write('	height: 27px;');
document.write('	position: absolute;');
document.write('	bottom: 0px;');
document.write('	display: block;');
document.write('	line-height: 27px;');

document.write('	background-image: url(http://img.esecure-transaction.com/06/13/27/version2/bouton.png);');

document.write('	font-weight: bold;');
document.write('	color: black;');
document.write('	padding-left: 25px;');
document.write('	right: 10px;');
document.write('	bottom: 10px;');
document.write('	text-decoration: none;');
document.write('	text-align: center;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_button:hover {');
document.write('	background-position: 0% -27px;');
document.write('	font-size: 13px;');
document.write('}');

document.write('#WBSZ_spacer1 {');
document.write('	left: 7px;');
document.write('	top: 4px;');
document.write('	height: 18px;');
document.write('	width: 18px;');
document.write('	position: absolute;');
document.write('	border: none;');
document.write('}');

document.write('#WBSZ_spacer2 {');
document.write('	left: 289px;');
document.write('	top: 5px;');
document.write('	height: 15px;');
document.write('	width: 49px;');
document.write('	position: absolute;');
document.write('	border: none;');
document.write('}');

document.write('#WBSZ_lien_spacer1,#WBSZ_lien_spacer2 img {');
document.write('	border: none;');
document.write('}');

document.write('a img {');
document.write('	border: none;');
document.write('}');

document.write('-->');
document.write('</style>');

document.write('<div id="WBSZ_wrapper">');
document.write('	<a href="" id="WBSZ_lien_spacer1" target="_blank"><img src="http://img.esecure-transaction.com/06/13/27//spacer.gif" id="WBSZ_spacer1" border="0px"/></a>');
document.write('	<a href="" id="WBSZ_lien_spacer2" target="_blank"><img src="http://img.esecure-transaction.com/06/13/27//spacer.gif" id="WBSZ_spacer2" border="0px"/></a>');
document.write('	<div id="WBSZ_alert">');
document.write('		<div id="WBSZ_big_title"><a href="" id="WBSZ_lien0" target="_blank">pseudo est en ligne</a></div>');
document.write('		<div>');
document.write('			<a id="WBSZ_lien" href="" target="_blank">');
document.write('				<img  id="WBSZ_photo" src=""/>');
document.write('			</a>');
document.write('		</div>');
document.write('		<div><strong id="WBSZ_title"><a id="WBSZ_lien2" href="" target="_blank">age</a></strong></div>');
document.write('		<div><a href="" target="_blank" id="WBSZ_content">message</a></div>');
document.write('	</div>');
document.write('	<a id="WBSZ_button" href="" target="_blank">Accepter</a></div>');
document.write('</div>');


var windowDmNXClosed = false;
var ewW = 240;
var ewH = 110;
var ewTime = null;
var ewTime2 = null;
var t = null;



var loadsec = 4;
var unloadsec = 120;
var alea = 0;


var aleaload = 0;
var aleaunload = 0;

if(alea != 0) {
	aleaload = Math.round(((Math.random() * alea)));
	aleaunload = Math.round(((Math.random() * alea)));
} else {
	aleaload = 0;
	aleaunload = 0;
}

// positionning
var is_Netscape = navigator.appName.indexOf('Netscape')!= -1;
var is_Body = document.body;

var xmlhttp;
var response = null;
var refresh = false;

function default_response()
{
	
	text = "<member><pseudo>angeliline</pseudo><photo>13</photo><message>slt les gars ! je vous embrasse</message><age>angeliline - 23 ans</age></member>";
	
	
	if (window.ActiveXObject) {
		var doc=new ActiveXObject('Microsoft.XMLDOM');
		doc.async='false';
		doc.loadXML(text);
	} else {
		var parser=new DOMParser();
		var doc=parser.parseFromString(text,'text/xml');
	}
	refresh = true;
	response = doc.documentElement;
}

function loadXMLDoc(url)
{
	xmlhttp=null
	if (window.XMLHttpRequest) {
		xmlhttp=new XMLHttpRequest()
	} else if (window.ActiveXObject) {
		xmlhttp=new ActiveXObject('Microsoft.XMLHTTP')
	}
		
	if (xmlhttp!=null) {
		xmlhttp.onreadystatechange=state_Change;
		xmlhttp.open('GET',url,false);
		xmlhttp.send(null);
		
		if (window.ActiveXObject) {
			if(xmlhttp.responseXML.documentElement!=null){
				response = xmlhttp.responseXML.documentElement;
			}else{
				default_response();
			}
		}else{
			if(xmlhttp.responseXML!=null){
				response = xmlhttp.responseXML.documentElement;
			}else{
				default_response();
			}
		}
	} else {
		default_response();
	}
}

function state_Change()
{
	if (xmlhttp.readyState==4)
	{
		if (xmlhttp.status==200) {
			response = xmlhttp.responseXML.documentElement;
			return true;
		} else {
			default_response();
			return true;
		}
	}
}

function getWindowHeight()
{
	if( typeof window.innerHeight == 'number' ) {
		var winH = window.innerHeight;
		if( window.scrollMaxX > 0 ) {
			winH -= 17;
		}
		return winH;
	} else if (document.documentElement.clientHeight) {
		return document.documentElement.clientHeight;
	} else if(typeof document.body.clientHeight == 'number') {
		return document.body.clientHeight;
	}
}

function getWindowWidth()
{
	if(typeof window.innerWidth == 'number') {
		var winW = window.innerWidth;
		if( window.scrollMaxY > 0 ) {
			winW -= 17;
		}
		return winW;
	} else if (document.documentElement.clientWidth) {
		return document.documentElement.clientWidth;
	} else if(document.body && document.body.clientWidth) {
		return document.body.clientWidth;
	}
}

function getScrollLeft()
{
	var posLeft = false;
	if(is_Netscape) {
		posLeft = window.pageXOffset;
	} else if(document.documentElement && document.documentElement.scrollTop) {
		posLeft = document.documentElement.scrollLeft;
	} else if(is_Body) {
		posLeft = document.body.scrollLeft;
	}
	return typeof posLeft == 'number' ? posLeft : 0;
}

function getScrollTop()
{
	var posTop = false;
	if (window.innerHeight) {
		posTop = window.pageYOffset;
	} else if(document.documentElement && document.documentElement.scrollTop) {
		posTop = document.documentElement.scrollTop;
	} else if(is_Body) {
		posTop = document.body.scrollTop;
	}
	return typeof posTop == 'number' ? posTop : 0;
}

function addOnLoadEvent(func)
{
	if(typeof window.onload != 'function') {
		window.onload = func;
	} else {
		var oldOnload = window.onload;
		window.onload = function() {
			oldOnload();
			func();
		}
	}
}

function loadDmNXWindow()
{
	var windowDmNX = document.getElementById('WBSZ_alert');
	var pos = parseInt(windowDmNX.style.top);
	if(pos > 0) {
		windowDmNX.style.top = (pos - 5) + 'px';
		setTimeout('loadDmNXWindow()', 30);
	}
}

function closeDmNXWindow(test, forever)
{
	if(windowDmNXClosed == false && test == false) { 
		
		window.open( 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join', 'dial','width=500,height=710,scrollbars=no,resizable=no,status=no,toolbar=no,menubar=0,top=50,left=50'); 
		
	}
	document.getElementById('WBSZ_wrapper').style.display = 'none';
	windowDmNXClosed = true;
	clearTimeout(ewTime);
	if (forever) { clearTimeout(ewTime2); }
	if (refresh) { window.document.location.reload(); }
}

function positionDmNXWindow()
{
	divBG = document.getElementById('WBSZ_wrapper');	
	divBG.style.display = 'block';
	divBG.style.top = (getScrollTop() + getWindowHeight() - ewH - 55) + 'px';
	divBG.style.left = (getScrollLeft() + getWindowWidth() - ewW - 115) + 'px';
	ewTime = setTimeout('positionDmNXWindow()', 100);	
}

function getRandomInt(min, max) {
  return Math.floor(Math.random() * (max - min + 1) + min);
}

function loadDmNXWindowNow()
{			
	if(alea != 0) {
		aleaload = Math.round(((Math.random() * alea)));
		aleaunload = Math.round(((Math.random() * alea)));
	} else {
		aleaload = 0;
		aleaunload = 0;
	}
	d = new Date();
	
	
	loadXMLDoc('datas/data_dial_popup.php?c=1&time=' + d.getTime());
	
	divBG = document.getElementById('WBSZ_wrapper');
	divBG.style.display = '';
	divBG.style.top = getWindowHeight() + 'px';
	
	document.getElementById('WBSZ_big_title').childNodes[0].nodeValue = document.getElementById('WBSZ_lien0').childNodes[0].nodeValue;
	document.getElementById('WBSZ_lien0').childNodes[0].nodeValue = (response.getElementsByTagName('pseudo'))[0].firstChild.data + ' est en ligne';
	document.getElementById('WBSZ_title').childNodes[0].nodeValue = document.getElementById('WBSZ_lien2').childNodes[0].nodeValue;
	document.getElementById('WBSZ_content').childNodes[0].nodeValue = (response.getElementsByTagName('message'))[0].firstChild.data;
	document.getElementById('WBSZ_lien2').childNodes[0].nodeValue = (response.getElementsByTagName('age'))[0].firstChild.data;
	
	document.getElementById('WBSZ_photo').setAttribute('src', 'http://img.esecure-transaction.com/06/13/27/vignettes/'+(response.getElementsByTagName('photo'))[0].firstChild.data+'.jpg');
	document.getElementById('WBSZ_lien0').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_lien').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_lien2').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_content').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_lien_spacer1').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_lien_spacer2').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	document.getElementById('WBSZ_button').setAttribute('href', 'http://www.edenflirt.com/index.php?mrkgid=061327&comfrom=60405&lang=&pastille=1&action=join&vignette='+(response.getElementsByTagName('photo'))[0].firstChild.data)+'\'';
	
	
	document.getElementById('WBSZ_alert').style.top = ewH + 'px';	
	positionDmNXWindow();
	loadDmNXWindow();
	if(unloadsec > 0) {
		setTimeout('closeDmNXWindow();', (unloadsec + aleaunload) * 1000);
		ewTime2 = setTimeout('loadDmNXWindowNow();', ( (loadsec + aleaload) + (unloadsec + aleaunload) ) * 1000);
	}
}

addOnLoadEvent(function() {setTimeout('loadDmNXWindowNow()', (loadsec+aleaload) * 1000);});

