//** Ancienne fonction javascript réalisée à la création du site **
//** Cette fonction doit etre conservée tant qu'elle est utilisée sur le site **
function OpenPopup(path){
	var fenPopup = window.open(path, 'newWin', 'resizable=no,scrollbars=no,status=0,width=300,height=300');
	//fenPopup.location = path;
	if (parseInt(navigator.appVersion) > 2) { // otherwise not supported
		fenPopup.focus();
	}
}



//** Nouvelle fonction openPopupSize(path, width, height) **
//** @author Aurélien Appéré
//** @param path URL relative du fichier à ouvrir dans la fenetre popup (image, fichier php, html, etc.)
//**        width largeur de la fenetre popup
//**        height hauteur de la fenetre popup
function openPopupSize(path, width, height){
	var fenPopup = window.open(path, 'newWin','resizable=no,scrollbars=no,status=0,width='+width+',height='+height+'');

	if (parseInt(navigator.appVersion) > 2) { // otherwise not supported
		fenPopup.focus();
	}
	
	return fenPopup;
}
	
