function OpenSiteWindow(theURL,nom)
{
	w=window.open(theURL,nom,"toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=600,height=600,status=no");
	MSIE=(navigator.appVersion.indexOf("MSIE")!=-1);
	VERS=parseInt(navigator.appVersion);
	if ((!MSIE) || (VERS >=5))
	w.focus();
}

        function mOvr(src, color)
        {
            if (!src.contains(event.fromElement))
            {
                src.style.cursor = 'hand';
                src.bgColor = color;
            }
        }

        function mOut(src, color)
        {
            if (!src.contains(event.toElement))
            {
                src.style.cursor = 'default';
                src.bgColor = color;
            }
        }

        function mClk(src)
        {
            if (event.srcElement.tagName=='TD')
                src.children.tags('A')[0].click();
        }

		function PopupWindow(url)
		{
			myWindow = window.open(url, "coordonnees", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=550,height=350")
		}
		function montrediv(e) {
	 		if (e.style.display == "none") {
     			e.style.display = "";
	  			} else {
     			e.style.display = "none";
  				}
		}
		function DisableCheckbox(form, question, valeur)
		{
			//var myindex=document.forms[0].menu.selectedIndex;
			if (question==8)
				{
				if (valeur=="Y") {
					//alert ("activation"+ question + valeur);
					this.formulaire.form_garage01.disabled = 0;
					this.formulaire.form_garage02.disabled = 0;
				}
				else{
					//alert ("desactivation"+ question + valeur);
					this.formulaire.form_garage01.disabled = 1;
					this.formulaire.form_garage02.disabled = 1;
				};
	 		}
			if (question==11)
				{
				if (valeur=="Y") {
					//alert ("activation"+ question + valeur);
					this.formulaire.form_transports01.disabled = 0;
					this.formulaire.form_transports02.disabled = 0;
					this.formulaire.form_transports03.disabled = 0;
				}
				else{
					//alert ("desactivation"+ question + valeur);
					this.formulaire.form_transports01.disabled = 1;
					this.formulaire.form_transports02.disabled = 1;
					this.formulaire.form_transports03.disabled = 1;
				};
	 		}
		}