function survol(x,y){
	if(x>0){
		document.getElementById("ssm"+x).style.display="block";
	}
			for(i=1;i<y+1;i++){
			if(i!=x){document.getElementById("ssm"+i).style.display="none";}
		}
}

function developp(x){
	
	if(document.getElementById(x).style.display=="block"){
		document.getElementById(x).style.display="none";
	}else{
		document.getElementById(x).style.display="block";
	}
	
}

function photo(x){
	var decor_photo="";
	decor_photo="<table width='100' border='0' cellpadding='0' cellspacing='0'>";
	decor_photo+="<tr><td colspan='2'><img src='../img/photo_a.gif' /></td><td rowspan='2'><img src='../img/photo_b.gif' /></td></tr>";
    decor_photo+="<tr><td rowspan='2' valign='bottom' style='vertical-align:bottom'><img src='../img/photo_c.gif' /></td><td><img src='"+x+"' class='photo' /></td></tr>";
	decor_photo+="<tr><td colspan='2' align='right'><img src='../img/photo_d.gif' /></td></tr></table>";
	document.write(decor_photo);	
}

function antispam(ext,domaine,nom){ //anti-spam
	return document.write('<a href=\"mailto:' + nom + '@' + domaine + '.'+ext+'\">'+nom+'@'+domaine+'.'+ext+'</a>');
}

function popup_adresse(page){
	window.open(page,"","directories=no,location=no,toolbar=no,width=600,height=520,status=no,scrollbars=no");	
}