function make_Visible(obj, bol){
	if(bol){val="inline-block";}else{val="none";}
	if(document.getElementById(obj)){
		if(browserIsIE()){
			if(document.getElementById(obj).style.display){
				document.getElementById(obj).style.display = val;
			}
		}else{
			if(document.getElementById(obj).setAttribute){
				var att = document.getElementById(obj).getAttribute("style");
				att = att.replace(/display:\s?(none|inline\-block);?/,"");
				document.getElementById(obj).setAttribute("style","display:"+val+";"+att);
			}
		}
	}
}
function browserIsIE(){
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("msie") != -1){return true;}
	return false;
}

var _SECTEURS = {

	maincurrent: "particuliers",
	subcurrent: "auto",
	
	changeSecteur: function(m,s){
		make_Visible(this.subcurrent,false);
		make_Visible(this.maincurrent,false);
		make_Visible(m,true);
		make_Visible(s,true);
		this.maincurrent = m;
		this.subcurrent = s;
	}
}