// JavaScript Document

// affichage des reponses
function showObj(obj){	
	
	if(obj.style.display == 'none') {
		obj.style.display = 'block';
	}else if (obj.style.display == 'block') {
		obj.style.display = 'none';
	}else {
		obj.style.display = 'block';
	}
}

// affichage des reponses
function showTem(obj,obj2){	
	
	if(obj.style.display == 'none') {
		obj.style.display = 'block';
		obj2.style.display = 'block';
	}else if (obj.style.display == 'block') {
		obj.style.display = 'none';
		obj2.style.display = 'none';
	}else {
		obj.style.display = 'block';
		obj2.style.display = 'block';
	}
}

function showChantier(obj,obj2){	
	
	if(obj.style.display == 'none') {
		obj.style.display = 'block';
		obj2.style.display = 'none';
	}else if (obj.style.display == 'block') {
		obj.style.display = 'none';
		obj2.style.display = 'block';
	}else {
		obj.style.display = 'none';
		obj2.style.display = 'block';
	}
}

function openZoom(theURL,winName, feature){
	newwindow = window.open(theURL,winName,feature);
	if (window.focus) {
		newwindow.focus();
	}
	return false;
}