
function sh (id) { 

   whichpost = document.getElementById(id); 
   
   if (whichpost.className=="show") { 
      whichpost.className="hide"; 
   } 
   else { 
      if (whichpost.className=="hide") { 
      whichpost.className="show"; 
      } 
   } 
} 

    var hasChanged = 0;
    var hostName = 'blogspot.com';

function setCookie (name, value, expires) {
    document.cookie = name + '=' + escape(value) + '; expires=' + expires.toGMTString() + '; domain=' + hostName + '; path=/';
    }

function getCookie (name) {
    var key = name + '=';
    var c = document.cookie;
    var i = c.indexOf(key);
    if (i < 0) return '';
    var j = c.indexOf(';', i + key.length);
    if (j < 0) j = c.length;
    return unescape(c.substring(i + key.length, j));
    }

function rememberMe (f) {
    var now = new Date();
    now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
    setCookie('lauteur', f.anonName.value, now);
    setCookie('lesite', f.anonURL.value, now);
    }

function setFormValues (f) {
    f.anonName.value = getCookie("lauteur");
    f.anonURL.value = getCookie("lesite");
    }

function doLoaded () {
    if (!document.frmComment) return;
    setFormValues(document.frmComment);
    if (document.frmComment.anonName.value)
    document.frmComment.rememberInfo.checked = 1;
    }
    onload = doLoaded;
