<!--			


function popUp(src,name,w,h) {
    size=",width="+w+",height="+h
    browser=window.open(src, name,"scrollbars=yes,resizable=no,toolbar=no, titlebar=no,status=no,menubar=no,location=no,directories=no"+size)
  }
 
function popUpR(src,name,w,h) {
    size=",width="+w+",height="+h
    browser=window.open(src, name,"scrollbars=yes,resizable=yes,toolbar=no, titlebar=no,status=no,menubar=no,location=no,directories=no"+size)
}

function AjoutFavo() {
if ( navigator.appName != 'Microsoft Internet Explorer' )
{ window.sidebar.addPanel("Wanlease","http://www.wanlease.com",""); }
else { window.external.AddFavorite("http://www.wanlease.com","Wanlease"); } }
  
// -->

function visibilite(thingId)
{
var targetElement;
targetElement = document.getElementById(thingId) ;
if (targetElement.style.display == "none")
{
targetElement.style.display = "" ;
} else {
targetElement.style.display = "none" ;
}
}

function couleur(obj) {
     obj.style.backgroundColor = "#FFFFFF";
}

function ForcerCaseCochee(form)

{
if (form.iType2.checked)
{
  form.iType1.disabled=1
}

else
  form.iType1.disabled=0
  
if (form.iType1.checked)
{
  form.iType2.disabled=1
}

else
  form.iType2.disabled=0

}

function ForcerCaseCoche(form)

{
if (form.iType4.checked)
{
  form.iType3.disabled=1
}

else
  form.iType3.disabled=0
  
if (form.iType3.checked)
{
  form.iType4.disabled=1
}

else
  form.iType4.disabled=0

}

function validDatas() 
	{	
		  if (document.fContact.iNom.value == '') {
			alert('indiquez votre Nom');
			document.fContact.iNom.style.backgroundColor = "#E4D9E9";
			document.fContact.iNom.focus();
			return false;
			stop();
			}
			
			if (document.fContact.iPrenom.value == '') {
			alert('indiquez votre Prenom');
			document.fContact.iPrenom.style.backgroundColor = "#E4D9E9";
			document.fContact.iPrenom.focus();
			return false;
			stop();
			}
			
			if (document.fContact.iNumTel.value == '') {
			alert('indiquez votre Numeros de telephone');
			document.fContact.iNumTel.style.backgroundColor = "#E4D9E9";
			document.fContact.iNumTel.focus();
			return false;
			stop();
			}
			
			if(document.fContact.iEmail.value.indexOf('@') == -1) {
		    alert("Ce n'est pas une adresse electronique!");
			document.fContact.iEmail.style.backgroundColor = "#E4D9E9";
		    document.fContact.iEmail.focus();
		    return false;
		    stop();
			}
			
			if (document.fContact.iSociete.value == '') {
			alert('indiquez votre Societe');
			document.fContact.iSociete.style.backgroundColor = "#E4D9E9";
			document.fContact.iSociete.focus();
			return false;
			stop();
			}
			
			if (document.fContact.iSiren.value == '') {
			alert('indiquez votre numeros de Siren');
			document.fContact.iSiren.style.backgroundColor = "#E4D9E9";
			document.fContact.iSiren.focus();
			return false;
			stop();
			}
			
		  document.getElementById('fContact').submit();
	}
	
-->
