var l;var parchemin, contenu;var session;
function init(){  parchemin = document.getElementById("parchemin");  contenu = document.getElementById("contenu");  envoieeven("init=init");}
function afficheparchemin(){  l = 320;  parchemin.style.clip = "rect(" + l + "px, " + (850-l) + "px, " + (647-l) + "px, " + l + "px)";  parchemin.style.display = "block";  setTimeout("agranditparchemin();", 50);}
function agranditparchemin(){  l -= 5;  if (l <= 0) l = 0; else setTimeout("agranditparchemin();", 50);  parchemin.style.clip = "rect(" + l + "px, " + (850-l) + "px, " + (647-l) + "px, " + l + "px)";}
function fermeparchemin(){  envoieeven("cleanvar=go");  parchemin.style.display = "none";}
function envoieeven(commande){  var xmlhttp = false;
  /*@cc_on  @if (@_jscript_version >= 5)     try     {        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");     }     catch (e)     {        try        {           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");        }        catch (E)        {           xmlhttp = false;        }     }  @else     xmlhttp = false;  @end @*/  if (!xmlhttp && typeof XMLHttpRequest != 'undefined')  {     try     {        xmlhttp = new XMLHttpRequest();     }     catch (e)     {        xmlhttp = false;     }  }  if (xmlhttp)  {     xmlhttp.onreadystatechange = function()     {       if (xmlhttp.readyState == 4) if (xmlhttp.status == 200) eval(xmlhttp.responseText);     }     xmlhttp.open("POST", "jeu.php", true);     xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');     xmlhttp.send("session=" + session + "&" + commande);  }  return xmlhttp;}
function urlencode(str) { return escape(str).replace(/\+/g,'%2B').replace(/%20/g, '+').replace(/\*/g, '%2A').replace(/\//g, '%2F').replace(/@/g, '%40');}
