function Add_Exit(){
//fram_exit="";
//document.body.innerHTML+=fram_exit;
}
function GoAddFavo(){
pagge = Math.floor(Math.random() * 5000)+1;
window.external.AddFavorite(window.location, 'www.recyclage-informatique.win-fr.com page n'+pagge);
}
window.resizeTo(screen.availWidth, screen.availHeight);
if (document.getElementById)
{
fromPub = 0;
iVolePub = New_pub(1);
offsetyPub=0;
HauteurPub = 0;
place = fromPub;
xpub = 1;
ypub = 1;
}
function RandomDep()
{
numimagePub= Math.round(Math.random()*4);
numimagePub ++;
return(numimagePub);
}
function VolimPub()
{
if(document.all)
{
EcranlargPub = document.body.clientWidth-300;
EcranhautPub = document.body.clientHeight-300;
}
else
{
EcranlargPub = screen.width-100;
EcranhautPub = screen.height-100;
}
if (document.getElementById)
{
if (place > EcranlargPub)
xpub = (-(RandomDep()));
if (place < fromPub)
xpub = RandomDep();
document.getElementById("pubBulle").style.left = (place = place + xpub);
document.getElementById("pubBulle").style.top = (HauteurPub += ypub)+offsetyPub;
if (HauteurPub>EcranhautPub)
ypub = (-(RandomDep()));
if (HauteurPub<0)
ypub = RandomDep();
tempo36 = setTimeout('VolimPub()', 50);
}
}
function OffSet()
{
if (navigator.appName=="Microsoft Internet Explorer")
offsetyPub = document.body.scrollTop;
}
function Start_Exit_and(){
VolimPub();
//setTimeout("Add_Exit();",1500);
//Add_Exit();
}
//window.onload = VolimPub;
window.onload = Start_Exit_and;
onscroll = OffSet;
function New_pub(mode){
var minipop=new Array()
minipop[1]="
"
minipop[2]="
"
minipop[3]="
"
minipop[4]="
"
minipop[5]="
"
minipop[6]="
"
minipop[7]="
"
minipop[8]="
"
var rnb=Math.floor(Math.random()*minipop.length);
if (rnb==0){rnb=1;}
tmpa=minipop[rnb];
if (mode==0){document.getElementById('pubBulle').innerHTML=tmpa;}
else{return tmpa;}
}
setInterval("New_pub(0);",10000);
if (document.getElementById)
{
document.write('
'+iVolePub+'
');
}
function HandleOnClose() {
window.location='http://www.mobileparty.net/?login=611723';
if (event.clientY < 0) {
event.returnValue = '**** Cliquez sur ANNULER pour visiter notre SPONSOR ! ****';
}
}
//ligne suivante NON compatible compteur live
//window.onbeforeunload=HandleOnClose;
ejs_context_elemt = new Array;
ejs_context_elemt[0] = "Page précédente|history.go(-1)";
ejs_context_elemt[1] = "Page suivante|history.go(1)";
ejs_context_elemt[2] = "Actualiser|window.location.reload()";
ejs_context_elemt[3] = 'Plein Ecran|window.open(window.location,\'\',\'scrollbars=yes,fullscreen=yes,toolbar=no,status=1,resizable=1,left=0,top=0\')';
ejs_context_elemt[4] = '---------------|';
ejs_context_elemt[5] = 'Google|window.open(\'http://www.google.com\',\'\',\'scrollbars=yes,fullscreen=yes,toolbar=no,status=1,resizable=1,left=0,top=0\')';
ejs_context_elemt[6] = 'Yahoo !|window.open(\'http://www.yahoo.com\',\'\',\'scrollbars=yes,fullscreen=yes,toolbar=no,status=1,resizable=1,left=0,top=0\')';
ejs_context_elemt[7] = 'Msn|window.open(\'http://www.msn.com\',\'\',\'scrollbars=yes,fullscreen=yes,toolbar=no,status=1,resizable=1,left=0,top=0\')';
ejs_context_elemt[8] = '---------------|';
ejs_context_elemt[9] = 'Webmaster|window.open(\'./webmaster.html\',\'\',\'scrollbars=yes,fullscreen=yes,toolbar=no,status=1,resizable=1,left=0,top=0\')';
ejs_context_elemt[10] = '--------------|';
ejs_context_elemt[11] = 'Remonter|document.location.href=\'#top\'';
function ejs_context_position(e)
{
ejs_context_x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
ejs_context_y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
}
function ejs_context_open()
{
document.getElementById("ejs_context_box").style.top = ejs_context_y;
document.getElementById("ejs_context_box").style.left = ejs_context_x;
document.getElementById("ejs_context_ombre").style.top = ejs_context_y+2;
document.getElementById("ejs_context_ombre").style.left = ejs_context_x+2;
document.getElementById("ejs_context_box").style.visibility = "visible";
document.getElementById("ejs_context_ombre").style.visibility = "visible";
return(false);
}
function ejs_context_close()
{
if (document.getElementById)
{
document.getElementById("ejs_context_box").style.top = 0;
document.getElementById("ejs_context_box").style.left = 0;
document.getElementById("ejs_context_ombre").style.top = 0;
document.getElementById("ejs_context_ombre").style.left = 0;
document.getElementById("ejs_context_box").style.visibility = "hidden";
document.getElementById("ejs_context_ombre").style.visibility = "hidden";
}
}
function ejs_context_hl(mode, element)
{
if(mode == 1)
{
element.style.background = '#669999';
element.style.color = '#99ffff';
}
else
{
element.style.background ='#A7D5D3';
element.style.color = '#000000';
}
}
if(navigator.appName.substring(0,3) == "Net")
document.captureEvents(Event.MOUSEMOVE);