function ow(x1,y1,file,nom) {
	var floater = null;
	var chaine = 'width='+x1+',height='+y1+',toolbars=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no';
	floater=window.open(file,nom,chaine);
	floater.focus();
	floater.moveTo(((screen.width / 2) - ((x1 / 2)+5)), ((screen.height / 2) - ((y1 / 2)+30)));
}

function owy(x1,y1,file,nom) {
	var floater = null;
	var chaine = 'width='+x1+',height='+y1+',toolbars=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes';
	floater=window.open(file,nom,chaine);
	floater.focus();
	
}

function derouler (id) {
/*	if (document.getElementById(id).style.display == 'none') {
		document.getElementById(id).style.display = 'block';
		titre.style.border = '1px solid #296D93';
	} else {
		document.getElementById(id).style.display = 'none';
		titre.style.border = 'none';
	}*/
//	document.getElementById ('cible' + id.toString()).innerHTML = document.getElementById ('res' + id.toString()).innerHTML;
	document.getElementById ('cible' + id.toString()).style.display = 'none';
	document.getElementById ('res' + id.toString()).style.display = 'block';
}

function chgImage (num, id) {
	document.getElementById('Lien' + id.toString ()).href = 'upload/img' + num.toString () + '_' + id.toString () + '.jpg';
	document.getElementById('Image' + id.toString ()).src = 'creeimg.php?image=upload/img' + num.toString () + '_' + id.toString () + '.jpg&sizw=176&sizh=115';
}