/* Resize window */
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);


function pdv_go() {
	window.location.replace('http://tools.pornattitude.com/pdv_dynamic.php?id=' + id + '&skin=1&c=88&e=1&w=0&tracker=' + tracker + '&pop=1&syn=hetero&lg=fr');
}	function redir() { setTimeout('pdv_go()',5*1000) }

function go_in()	{
	mp 			= window.open(in_url,'mp','statutbar=no, width=' + screen.availWidth + ', height=' + screen.availHeight + ', left=0, top=0, menubar=yes, resize=yes, scrollbars=yes');
	if (mp && mp.focus) { mp.focus(); }

	setTimeout('pdv_go()',5*1000)
}

function home(syn) {
	window.location.replace(in_url);
}

//BLINK - IE does not understand the blink css
	var text_timer; var text_visible = 1; var text_tmp;
	function blink()	{ 
		if (text_visible){ text_tmp = document.email_form.email.value; document.email_form.email.value = ''; text_visible = false; } 
		else { document.email_form.email.value = text_tmp; text_visible = true; } 
	}
	function start_blink()	{
		if (document.email_form) { if (document.email_form.email.value=='votre em@il'){ text_timer = setInterval('blink()', 500); } } 
	}
	function stop_blink()	{ 
		if (text_timer){ clearInterval(text_timer); } 
	}
	function email_focus()	{ 
		stop_blink(); 
		e = document.email_form.email; 
		if (e.value == 'votre em@il') e.value = ''; 
	}
	function email_blur()	{ 
		e = document.email_form.email; 
		if (e.value == 'votre em@il' || e.value == ''){ e.value = 'votre em@il'; start_blink(); } 
	}

