var newWin = null;function closeWin(){	if (newWin != null){		if(!newWin.closed)			newWin.close();	}}function popUp(strURL,strType,strHeight,strWidth) {closeWin();var strOptions="";if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;if (strType=="fixed") strOptions="scrollbars,status,height="+strHeight+",width="+strWidth;if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;newWin = window.open(strURL, 'newWin', strOptions);newWin.focus();}// Pour appeler la fonction, il faut utiliser le code suivant : // <a href="ma_fenetre.htm" onclick="popUp(this.href,'console',400,200);return false;">Lien vers une nouvelle fentre</a>function out_of_csouffle(lien) {  	alert('Attention, vous sortez du site Capital Souffle !');	window.open(lien.href,'_blank', 'directories,location,menubar,copyhistory,resizable,scrollbars, status,toolbar'); 	return false;}