function Resizingintherain(windowLarg,windowHaut)
{
top.window.resizeTo(windowLarg,windowHaut);
}

// check if browser is IE6 (when IE) or not FF6 (when FF) 
if (($.browser.msie && $.browser.version.substr(0,1) == '6') 
    || ($.browser.mozilla && $.browser.version.substr(0,1) != '3'))
{ 
        $('#browserWarning').show(); 
} 

function affCache(idpr)
{
	var pr = document.getElementById(idpr);
 
	if (pr.style.display == "") {
		pr.style.display = "none";
	} else {
		pr.style.display = "";
	}
}

function changer_taille(sens,el,pas,unite){ // sens == "+" || "-";
  if(typeof el == "string") {
    el = document.getElementById(el);
  }
  pas = pas || 2;
  unite = unite || "em";
  if(sens == "+") {
    el.style.fontSize = (parseInt(el.style.fontSize,10)+pas)+unite;
  } else if(sens == "-") {
    el.style.fontSize = (parseInt(el.style.fontSize,10)-pas)+unite;
  }
}  

