// javascript
// bibliothèque christian vicens
<!--Gestion popups
var infoShow;
function createInfoShow(urlInfo)
{
	infoShow = window.open('info.php' + urlInfo,'infoShow','scrollbars=yes,width=800,height=600,screenX=0,screenY=0,top=10,left=10');
}
function info(url)
{
	if(typeof(infoShow)!="undefined")
	{
		if(infoShow.closed!=true)
			infoShow.close();
	}
	var urlInfo  = '?info=' + url;
	createInfoShow(urlInfo);
}
function closeInfoShow()
{
	if(typeof(infoShow)!="undefined")
	{
		if(infoShow.closed!=true)
			infoShow.close();
	}
}
//-->

function JumpSelect(targ,adresse,selObj,restore){ 
  eval(targ+".location='"+adresse+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function JumpSelectArticle(targ,adresse,selObj,restore){ 
  eval(targ+".location='"+adresse+selObj.options[selObj.selectedIndex].value+"#goart'");
  if (restore) selObj.selectedIndex=0;
}
<!--Alerte suppression
function supp(texte,lien) {
	if (confirm(texte))
		window.location=lien;
}
//-->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!-- ajout favoris
function addFav() {
	if ((navigator.appName.search('Microsoft Internet Explorer') != -1)&&(navigator.userAgent.search('Opera') == -1))  { 
		url_site="http://www.christian-vicens.com/";
		titre_site = "! Christian Vicens Photographe !";
		document.write('<A HREF="#" onClick="window.external.AddFavorite(url_site,titre_site);return(false);">Ajouter ce site à vos favoris</A>')
	} 
	if ((navigator.appName.search('Microsoft Internet Explorer') != -1)&&(navigator.userAgent.search('Opera') != -1))  { 
		document.write('Ctrl+T pour ajouter à vos signets'); 
	} 
	if (navigator.appName == "Netscape")  { 
		document.write('Ctrl+D pour marquer cette page'); 
	} 
} 
//ajout favoris -->
