var x;
var y;
if(navigator.appName.substring(0,3) == "Net")
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = mouse_position;
function mouse_position(e)
{
x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
}
function aff_menu_si_connecte(menu)
{
var values = $H({ option: 1});
var params = values.toQueryString();
new Ajax.Request("http://www.ifetards.info/connection.php",{ method: 'get', parameters: params, onComplete: aff_menu_fetards });
}
function aff_menu_fetards(xhr)
{
if(xhr.responseText==1)
{aff_menu('fetards');}
else
{aff_menu('');}
}
function aff_liste_titre_img_perso(xhr)
{$('navig').innerHTML=xhr.responseText;}
function aff_img_perso(chem_photo)
{ $('imgpersoajout').innerHTML=""; }
function supprime_img_perso(num_perso)
{
var values = $H({ num: num_perso});
var params = values.toQueryString();
new Ajax.Request("http://www.ifetards.info/supprime_img_perso.php",{ method: 'get', parameters: params, onComplete: refrech_liste_titre_img_perso });
}
function refrech_liste_titre_img_perso(xhr)
{naviguer('feta1');}
function aff_liste_telechargement(xhr)
{$('navig').innerHTML=xhr.responseText;}
function changer_pass_fetard()
{
if($('ancien').value=="" || $('nouveau').value=="")
$('div_mess_mdp').innerHTML="Veuillez remplir tout les champs.";
else if($('nouveau').value=$('renouveau').value)
$('div_mess_mdp').innerHTML="Le nouveau mot de passe ne correspond pas.";
else
{
var values = $H({ passancien: $('ancien').value, passnouveau: $('nouveau').value});
var params = values.toQueryString();
new Ajax.Request("http://www.ifetards.info/opt_mdp_perso.php",{ method: 'get', parameters: params, onComplete: aff_res_change_mdp });
}
}
function aff_res_change_mdp(xhr)
{$('navig').innerHTML=xhr.responseText;}
var ajoutBr=0;
function aff_menu(menu)
{
html="
| ";
html+=" |
| ";
html+="Photo perso "; html+="Téléchargement "; html+="Mot de passe "; html+="Calendrier "; html+=" | ![]() |
| ";
html+="3D Worm "; html+="4x4 Rally "; html+="Alien "; html+="Arkanoid "; html+="Battle ships "; html+="Chase2000 "; html+="Connect 4 "; html+="Dragon Ball "; html+="Flash Man "; html+="Gyro Ball "; html+="Mario "; html+="Pacman "; html+="Pacman 2005 "; html+="Pingu "; html+="Snake "; html+="Sonic "; html+="Tetris "; html+="Twiddlestix "; html+="Wrax "; html+="X raye XiaoXiao"; html+=" 1"; html+=" 2"; html+=" 3"; html+=" 4"; html+=" | ![]() ![]() ![]() ![]() ";
html+=" |
| ";
html+=" Sélection fêtards "; html+=" Symix live "; html+=" | ![]() |
| ";
html+="XiaoXiao 1 "; html+="XiaoXiao 2 "; html+="XiaoXiao 3 "; html+="XiaoXiao 4 "; html+="XiaoXiao 5 "; html+="XiaoXiao city plaza "; html+="XiaoXiao heineken "; html+="XiaoXiao heineken2 "; html+="BTS Ig 2 "; html+=" | ";
html+=" |
| "; html+=" | ![]() |
| "; html+=" | ![]() |
"; break; case 'vid': if(option.substring(5)=="1") { html="