function ajaxUpdater2(div,lien)
{var req=new Request.HTML({method:'get',url:lien,onFailure:function(){alert('Erreur, merci de nous contacter si le problème persiste à gestion@toufoot.com');},update:div}).send();}
function ajaxUpdaterform(div,lien)
{var req=new Request.HTML({method:'post',url:lien,update:div}).post($('id_form'));}
function ajaxUpdater2(div,url)
{new Ajax(url,{method:'get',update:div,onComplete:function(resp){div.removeClass('ajax2-loading')}}).request()}
function ajaxUpdaterform(div,url){new Ajax(url,{method:'post',update:div,data:$('id_form').toQueryString()}).request()}
setTimeout('div_message()',120000);function div_message()
{var mySlide=new Fx.Slide('slidetest',{mode:'horizontal'}).hide();$('toogleslide').addEvent('click',function(e){e=new Event(e);mySlide.toggle();e.stop();});}
function format_pseudo()
{var re=/\W+/ig;var pseudo=document.form_register.pseudo.value;var nouv=pseudo.replace(re,"");document.form_register.pseudo.value=nouv;}
function highindex(LinkObject){LinkObject.style.background='#83ca06';}
function lowindex(LinkObject){LinkObject.style.background='';}