function bookMark_Page (urlSite, nomSite)
{

/* TRAITEMENT DES NAVIGATEURS */

// internet explorer windows
if(window.external)
{
window.external.AddFavorite(urlSite,nomSite)
}

// internet explorer mac
if (document.all && 
(navigator.userAgent.indexOf('Win') < 0))
{
alert ("COMMAND + B to bookmark " + nomSite + " !")
}

// netscape 6.x
if (window.sidebar)
{
window.sidebar.addPanel(nomSite,urlSite,"")
}

// netscape 4.x
if (document.layers)
{
 alert ("CTRL + D to bookmark " + nomSite + " !")
}

// opéra
if (navigator.userAgent.indexOf('Opera') != -1) 
{
alert ("Click Bookmarks | Add bookmark or  CTRL + T to bookmark " + nomSite + " !")
}

} 


    /* getElementByClass
    /**********************/

    var allHTMLTags = new Array();

function getElementByClass(theClass) 
{

    //Create Array of All HTML Tags
    var allHTMLTags=document.getElementsByTagName('*');

    //Loop through all tags using a for loop
    for (i=0; i<allHTMLTags.length; i++)
   {

    //Get all tags with the specified class name.
    if (allHTMLTags[i].className==theClass) 
        {

    	//Place any code you want to apply to all
    	//pages with the class specified.
   
    	return allHTMLTags[i].id;

    	}
    }
}
                      
          