/*
GW open Window 
si left et top = c centrage de la popu dans l'écran
si feature = '' alors resize = yes et dependant = yes 
*/
function openWindow(url, name, width, height, left, top, feature ) {
	if (isNaN(left)) {
		left = round((screen.availWidth-width)/2);
	}
	if (isNaN(top)) {
		top = round((screen.availHeight-height)/2);
	}
	if (feature.length <= 0 ) {
		feature = 'resizable=yes,dependent=yes';
	}
	window.open(url,name,feature+',width='+width+',height='+height+',left='+left+',top='+top+'');
}