function disableForm(theform) {
  if (document.all || document.getElementById) {
    for (i = 0; i < theform.length; i++) {
      var tempobj = theform.elements[i];
      if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
tempobj.disabled = true;
      }
    }
  }

window.onload = function() {
	for(var i = 0, l = document.getElementsByTagName('input').length; i < l; i++) {
		if(document.getElementsByTagName('input').item(i).type == 'text') {
			document.getElementsByTagName('input').item(i).setAttribute('autocomplete', 'off');
		};
	};
};

function switchbtn(obj,onoff)
  {
var input=document.getElementById("app");

  if (onoff=="1")
    {
	input.style.display="block";
	input.style.position="relative";
	input.style.backgroundColor="#FFFFCC";
	input.style.left="20px";
//	input.style.top="2px";
	input.style.width="250px";
//	input.style.height="25px";

	//document.formulaire.sexe[0].checked="1";
    }
  else
    {
	input.style.display="none";
//	input.style.height="0px";

	//document.formulaire.sexe[1].checked="1";
    }
  }