var menu=1; function montre(id) { var d = document.getElementById(id); for (var i = 1; i<=10; i++) { if (document.getElementById('smenu'+i)) { document.getElementById('smenu'+i).style.display='none'; } } if (d) { if(menu == id) { d.style.display='none'; menu=0; } else { d.style.display='block'; menu=id; } } } function calendrier() { var nom = prompt("Nom du personnage"); if(nom != null && nom != "") { window.open("http://eu.wowarmory.com/vault/character-calendar.xml?r=Ner\'zhul&cn="+nom+"&gn=DeliriuM+Via"); } else { } } function calendrier2() { var nom = prompt("Nom du personnage"); if(nom != null && nom != "") { window.open("http://eu.wowarmory.com/vault/character-calendar.xml?r=Ner\'zhul&cn="+nom+"&gn=DeliriuM+Via"); } else { window.history.back(); } } function calendrier3() { var nom = document.formu.nom.value; if(nom != null && nom != "") { window.open("http://eu.wowarmory.com/vault/character-calendar.xml?r=Ner\'zhul&cn="+nom+"&gn=DeliriuM+Via"); document.getElementById('smenu1').style.display='none'; menu = 0; return false; } else { document.getElementById('smenu1').style.display='none'; menu = 0; return false; } } function armu() { if(document.getElementById('smenu1')) { montre('smenu1'); } else { document.getElementById("logo-desc").innerHTML += ('
'); montre('smenu1'); } }