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

function getByID(id)
{
	if (document.all)
	{
		return document.all(id) ;
	}
	if(document.getElementById)
	{
		return document.getElementById(id) ;
	}
	alert(id+' not found') ;
}
function hide(id)
{
	var o = getByID(id) ;
	if (o)
	{
		if (document.all)
		{
			o.display = "none" ;
		}
		if(document.getElementById)
		{
			o.style.display = "none" ;
		}
	}
}

function show(id)
{
	var o = getByID(id) ;
	if (o)
	{
		if (document.all)
		{
			o.display = "visible" ;
		}
		if(document.getElementById)
		{
			o.style.display = "block" ;
		}
	}
}

function favoris() {
if ( navigator.appName == 'Microsoft Internet Explorer' ){ window.external.AddFavorite("http://www.formationsactives.com/","FormationsActives.com"); }
else  if (navigator.appName=='Netscape') {window.sidebar.addPanel("FormationsActives.com","http://www.formationsactives.com","");}
else if (navigator.appName=='Opera'){ alert('Vous utilisez Opéra. Pour ajouter à vos Favoris le site du FIGARO.fr faites la combinaison de touches [CLTR] + D'); }
else { alert('Pour ajouter à vos Favoris le site du FIGARO.fr faites la combinaison de touches [CMD] + D'); }
return 0;
}

/*function favoris() {
if ( navigator.appName != 'Microsoft Internet Explorer' )
{ window.sidebar.addPanel("FormationsActives.com","http://www.formationsactives.com",""); }
else 
else ( window.external ){ window.external.AddFavorite("http://www.formationsactives.com/","FormationsActives.com"); }
else { // Opera Hotlist
		alert('opéra');}


}
*/

/*function favoris() {

 title = "Webpage Title"; 
  // Blogger - Replace with <$BlogItemTitle$> 
  // MovableType - Replace with <$MTEntryTitle$>

 url = "Webpage URL";
  // Blogger - Replace with <$BlogItemPermalinkURL$> 
  // MovableType - Replace with <$MTEntryPermalink$>
  // WordPress - <?php bloginfo('url'); ?>

	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; }
 }
*/





	<!--
var BrowserDetect = {
	init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
			|| this.searchVersion(navigator.appVersion)
			|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
	searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
					return data[i].identity;
			}
			else if (dataProp)
				return data[i].identity;
		}
	},
	searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
	dataBrowser: [
		{
			string: navigator.vendor,
			subString: "Apple",
			identity: "Safari"
		},
		{
			prop: window.opera,
			identity: "Opera"
		},
		{
			string: navigator.vendor,
			subString: "iCab",
			identity: "iCab"
		},
		{
			string: navigator.vendor,
			subString: "KDE",
			identity: "Konqueror"
		},
		{
			string: navigator.userAgent,
			subString: "Firefox",
			identity: "Firefox"
		},
		{		// for newer Netscapes (6+)
			string: navigator.userAgent,
			subString: "Netscape",
			identity: "Netscape"
		},
		{
			string: navigator.userAgent,
			subString: "MSIE",
			identity: "Explorer",
			versionSearch: "MSIE"
		},
		{
			string: navigator.userAgent,
			subString: "Gecko",
			identity: "Mozilla",
			versionSearch: "rv"
		},
		{ 		// for older Netscapes (4-)
			string: navigator.userAgent,
			subString: "Mozilla",
			identity: "Netscape",
			versionSearch: "Mozilla"
		}
	],
	dataOS : [
		{
			string: navigator.platform,
			subString: "Win",
			identity: "Windows"
		},
		{
			string: navigator.platform,
			subString: "Mac",
			identity: "Mac"
		},
		{
			string: navigator.platform,
			subString: "Linux",
			identity: "Linux"
		}
	]

};
BrowserDetect.init();

// -->

function verif () {

switch(BrowserDetect.browser) {

case "Firefox":
alert ('Utilisateur de Firefox, glissez l\'icon à gauche de l\'adresse url dans la petite maison de démarrage' );
break;

case "Opera":
alert ('Utilisateur d\'Opéra, tapez [CLTR] F12 puis tapez l\'adresse                "http://www.formationsactives.com" dans le champs prévu à cet effet' );
break;

case "Safari":
alert ('Utilisateur de Safari, glissez l\'icon à gauche de l\'adresse url dans la petite maison de démarrage' );
break;

}

//if ( BrowserDetect.browser=="Firefox" && BrowserDetect.version=="1.5")
//alert("firefox 1.5");

}


/*
function popup(page,toolb,loca,dir,sta,munub,scroll,resize,width,height,x,y)
{

nw=open('','popup','toolbar='+toolb+',location='+loca+',directories='+dir+',status='+sta+',menubar='+munub+',scrollbars='+scroll+',resizable='+resize+',width='+width+',height='+height+',left=x,top=y')

nw=open(page,'popup','toolbar='+toolb+',location='+loca+',directories='+dir+',status='+sta+',menubar='+munub+',scrollbars='+scroll+',resizable='+resize+',width='+width+',height='+height+',left=x,top=y')

	nw.focus()
}*/



/*function cachessmenu(id){
	 var d = document.getElementById(id);
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('ul'+i)) {
            document.getElementById('ul'+i).style.display='none';
        }
    }
       
       document.getElementById(id).style.display='block';
			 
    }

function montre(id) {
    var d = document.getElementById(id);
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('smenu'+i)) {
            document.getElementById('smenu'+i).style.display='none';
				
        }
    }
    if (d) {
        d.style.display='block';
			 
    }
}

function cache(id) {
    var d = document.getElementById(id);
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('smenu'+i)) {
            document.getElementById('smenu'+i).style.display='none';
        }
    }
 
}

function etat(id){
	 var d = document.getElementById(id);
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('anav'+i)) {
            document.getElementById('anav'+i).style.backgroundPosition='0px 0px';
        }
    }
       
       document.getElementById(id).style.backgroundPosition='0px -29px';
			 
    }

function AlbiCache(id) {
	if(document.getElementById(id))
		document.getElementById(id).style.display='none';
}

function voirFiche(num,nbfich)
{
	if (num == '') num = '1';

	for (x = 1; x <= nbfich; x++)
	{
		nom = 'fiche' + x;
		hide(nom);
	}
	nom = 'fiche' + num;
        show(nom);
}

function AlbiDiapo(idx,nb) 
{
	if ( idx < 1 || idx > nb )
		idx=1;

	id = 'diapo' + idx;	

	for ( i = 1 ; i <= nb ; i++) 
	{
		id = 'diapo' + i;

		if ( i == idx)
		{
			show(id);
		}
		else
		{
			hide(id);
		}
	}
}
*/