WIN = (navigator.appVersion.indexOf("Windows")!=-1);
MAC = (navigator.appVersion.indexOf("Machintosh")!=-1);
OTH = !WIN && !MAC;

OPERA = (navigator.userAgent.indexOf("Opera") != -1)
FIREFOX = (navigator.userAgent.indexOf("Firefox") != -1)
IE4 = (navigator.appName=='Microsoft Internet Explorer') && (parseFloat(navigator.appVersion)>=4) && !OPERA;
IE6 = IE4 && (navigator.appVersion.indexOf("MSIE 6") != -1) && WIN;
IE5 = (IE4 && (navigator.appVersion.indexOf("MSIE 5") != -1) && WIN) || IE6;
NS6 = (navigator.appName=='Netscape') && (parseFloat(navigator.appVersion)>=5);
NS4 = !NS6 && (navigator.appName=='Netscape') && (parseFloat(navigator.appVersion)>=4);
IE4 = IE4 && !IE5 && !IE6;
IE7 = (navigator.userAgent.indexOf("MSIE 7") >= 0);

<!--// Mise en favoris
function AjoutFavo(nom,url) {
	var title = nom;
	var page = url;

	if (IE5 || IE6 || IE7) {
		window.external.AddFavorite(page, title);
	} else if (NS6 && window.sidebar || FIREFOX) {
		window.sidebar.addPanel(title, page,""); 
	} else if (OPERA) {
		alert("Pour ajouter "+url+" \340 vos favoris, pressez <CTRL>+<MAJ>+D.");
	} else {
		alert("Pour ajouter "+url+" \340 vos favoris, pressez <CTRL>+D.");
	}
}
//-->

<!--// Page de demarrage

function pagedem(link, nom, url) {

	var page = url;

	if (IE5 || IE6 || IE7) {
		link.style.behavior='url(#default#homepage)';
		link.setHomePage(page);
	} 
	else if (NS6) {
		alert("Pour faire de "+nom+" votre page de d\351marrage : \n\n- Allez dans le menu [Outils]\n- Choisissez [Options...]\n- Cliquez sur l'ic\364ne [G\351n\351ral]\n- Saisissez '"+url+"' dans le champs [location]\n- Cliquez sur le bouton [OK]");

	}
	 else if (OPERA) {
		alert("Pour faire de "+nom+" votre page de d\351marrage : \n\n- Allez dans le menu [Outils]\n- Choisissez [Pr\351f\351rences...]\n- Cliquez sur l'ic\364ne [D\351marrage et arr\352t]\n- Choisissez l'option [D\351marrer avec la page d'accueil]\n- Saisissez en dessous '"+url+"' dans le champs\n- Cliquez sur le bouton [OK]");
	} 
	else if (FIREFOX) {
		alert("Pour faire de "+nom+" votre page de d\351marrage : \n\n- Allez dans le menu [Outils]\n- Choisissez [Options...]\n- Cliquez sur l'ic\364ne [G\351n\351ral]\n- Au niveau de [Page d'accueil]\n- Saisissez en dessous '"+url+"' dans le champs\n- Cliquez sur le bouton [OK]");
	}
	
	return true;
}


/* 
DEUX FONCTIONS POUR MODERNISER L AFFICHAGE DES ONGLETS DANS LE MENU DES SITES DE G EVENT BETA
	
	 fonction pour afficher et cacher les cadres associer aux onglets dans le menu de g_event_beta dans includes/top.inc.php
	*/
	 function visibilite_cadre_toggle(thingId) {
		var targetElement;
		targetElement = document.getElementById(thingId) ;
		
		// au choix slideDown ou fadeIn
		if (targetElement.style.display == "none") {
			$("div[id^=menu_]").fadeOut("normal"); // TOUS LES AUTRES CADRE SE CACHENT
			$("#"+thingId).slideDown("normal",function(){
					//$("#"+thingId).fadeIn("slow",function(){
					//	targetElement.style.display = "" ;
			});
			setTimeout(function(){$("#"+thingId).fadeOut("normal");},5000);
			// sinon si le cadre est visible et que l attribut alt = aff_cadre(pour pallier un bug qu faisait que le cadre remontait intempestivement)
		}else if( (targetElement.style.display == "") && ( $("#"+thingId).attr('alt') == "aff_cadre" )) {
		$("#"+thingId).slideUp("normal",function(){
				targetElement.style.display = "none" ;
				$("#"+thingId).attr({  alt: "" });
			 });	
		}
	}
	

	// pour pallier un bug. / Si la souris n as pas ete dans le cadre afficher alors il n a pas l attribut alt:aff_cadre : il ne remontera pas.
	function verif_aff_cadre(thingId) {
		$("#"+thingId).attr({  alt: "aff_cadre" });
	}
	
	function out_cadre_menu(thingId){

	}

	
	
/* DEUX FONCTIONS POUR METTRE EN PLACE LEQUIVALENT DE HTMLENTITIES EN JS */
	
	function get_html_translation_table(table, quote_style) {
	    // Returns the internal translation table used by htmlspecialchars and htmlentities  
	    // 
	    // version: 901.714
	    // discuss at: http://phpjs.org/functions/get_html_translation_table
	    // +   original by: Philip Peterson
	    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	    // +   bugfixed by: noname
	    // %          note: It has been decided that we're not going to add global
	    // %          note: dependencies to php.js. Meaning the constants are not
	    // %          note: real constants, but strings instead. integers are also supported if someone
	    // %          note: chooses to create the constants themselves.
	    // %          note: Table from http://www.the-art-of-web.com/html/character-codes/
	    // *     example 1: get_html_translation_table('HTML_SPECIALCHARS');
	    // *     returns 1: {'"': '&quot;', '&': '&amp;', '<': '&lt;', '>': '&gt;'}
	    
	    var entities = {}, histogram = {}, decimal = 0, symbol = '';
	    var constMappingTable = {}, constMappingQuoteStyle = {};
	    var useTable = {}, useQuoteStyle = {};
	    
	    useTable      = (table ? table.toUpperCase() : 'HTML_SPECIALCHARS');
	    useQuoteStyle = (quote_style ? quote_style.toUpperCase() : 'ENT_COMPAT');
	    
	    // Translate arguments
	    constMappingTable[0]      = 'HTML_SPECIALCHARS';
	    constMappingTable[1]      = 'HTML_ENTITIES';
	    constMappingQuoteStyle[0] = 'ENT_NOQUOTES';
	    constMappingQuoteStyle[2] = 'ENT_COMPAT';
	    constMappingQuoteStyle[3] = 'ENT_QUOTES';
	    
	    // Map numbers to strings for compatibilty with PHP constants
	    if (!isNaN(useTable)) {
	        useTable = constMappingTable[useTable];
	    }
	    if (!isNaN(useQuoteStyle)) {
	        useQuoteStyle = constMappingQuoteStyle[useQuoteStyle];
	    }
	    
	    if (useQuoteStyle != 'ENT_NOQUOTES') {
	        entities['34'] = '&quot;';
	    }

	    if (useQuoteStyle == 'ENT_QUOTES') {
	        entities['39'] = '&#039;';
	    }

	    if (useTable == 'HTML_SPECIALCHARS') {
	        // ascii decimals for better compatibility
	        entities['38'] = '&amp;';
	        entities['60'] = '&lt;';
	        entities['62'] = '&gt;';
	    } else if (useTable == 'HTML_ENTITIES') {
	        // ascii decimals for better compatibility
		    entities['38']  = '&amp;';
		    entities['60']  = '&lt;';
		    entities['62']  = '&gt;';
		    entities['160'] = '&nbsp;';
		    entities['161'] = '&iexcl;';
		    entities['162'] = '&cent;';
		    entities['163'] = '&pound;';
		    entities['164'] = '&curren;';
		    entities['165'] = '&yen;';
		    entities['166'] = '&brvbar;';
		    entities['167'] = '&sect;';
		    entities['168'] = '&uml;';
		    entities['169'] = '&copy;';
		    entities['170'] = '&ordf;';
		    entities['171'] = '&laquo;';
		    entities['172'] = '&not;';
		    entities['173'] = '&shy;';
		    entities['174'] = '&reg;';
		    entities['175'] = '&macr;';
		    entities['176'] = '&deg;';
		    entities['177'] = '&plusmn;';
		    entities['178'] = '&sup2;';
		    entities['179'] = '&sup3;';
		    entities['180'] = '&acute;';
		    entities['181'] = '&micro;';
		    entities['182'] = '&para;';
		    entities['183'] = '&middot;';
		    entities['184'] = '&cedil;';
		    entities['185'] = '&sup1;';
		    entities['186'] = '&ordm;';
		    entities['187'] = '&raquo;';
		    entities['188'] = '&frac14;';
		    entities['189'] = '&frac12;';
		    entities['190'] = '&frac34;';
		    entities['191'] = '&iquest;';
		    entities['192'] = '&Agrave;';
		    entities['193'] = '&Aacute;';
		    entities['194'] = '&Acirc;';
		    entities['195'] = '&Atilde;';
		    entities['196'] = '&Auml;';
		    entities['197'] = '&Aring;';
		    entities['198'] = '&AElig;';
		    entities['199'] = '&Ccedil;';
		    entities['200'] = '&Egrave;';
		    entities['201'] = '&Eacute;';
		    entities['202'] = '&Ecirc;';
		    entities['203'] = '&Euml;';
		    entities['204'] = '&Igrave;';
		    entities['205'] = '&Iacute;';
		    entities['206'] = '&Icirc;';
		    entities['207'] = '&Iuml;';
		    entities['208'] = '&ETH;';
		    entities['209'] = '&Ntilde;';
		    entities['210'] = '&Ograve;';
		    entities['211'] = '&Oacute;';
		    entities['212'] = '&Ocirc;';
		    entities['213'] = '&Otilde;';
		    entities['214'] = '&Ouml;';
		    entities['215'] = '&times;';
		    entities['216'] = '&Oslash;';
		    entities['217'] = '&Ugrave;';
		    entities['218'] = '&Uacute;';
		    entities['219'] = '&Ucirc;';
		    entities['220'] = '&Uuml;';
		    entities['221'] = '&Yacute;';
		    entities['222'] = '&THORN;';
		    entities['223'] = '&szlig;';
		    entities['224'] = '&agrave;';
		    entities['225'] = '&aacute;';
		    entities['226'] = '&acirc;';
		    entities['227'] = '&atilde;';
		    entities['228'] = '&auml;';
		    entities['229'] = '&aring;';
		    entities['230'] = '&aelig;';
		    entities['231'] = '&ccedil;';
		    entities['232'] = '&egrave;';
		    entities['233'] = '&eacute;';
		    entities['234'] = '&ecirc;';
		    entities['235'] = '&euml;';
		    entities['236'] = '&igrave;';
		    entities['237'] = '&iacute;';
		    entities['238'] = '&icirc;';
		    entities['239'] = '&iuml;';
		    entities['240'] = '&eth;';
		    entities['241'] = '&ntilde;';
		    entities['242'] = '&ograve;';
		    entities['243'] = '&oacute;';
		    entities['244'] = '&ocirc;';
		    entities['245'] = '&otilde;';
		    entities['246'] = '&ouml;';
		    entities['247'] = '&divide;';
		    entities['248'] = '&oslash;';
		    entities['249'] = '&ugrave;';
		    entities['250'] = '&uacute;';
		    entities['251'] = '&ucirc;';
		    entities['252'] = '&uuml;';
		    entities['253'] = '&yacute;';
		    entities['254'] = '&thorn;';
		    entities['255'] = '&yuml;';
	    } else {
	        throw Error("Table: "+useTable+' not supported');
	        return false;
	    }
	    
	    // ascii decimals to real symbols
	    for (decimal in entities) {
	        symbol = String.fromCharCode(decimal)
	        histogram[symbol] = entities[decimal];
	    }
	    
	    return histogram;
	}

	
	function htmlentities (string, quote_style) {
	    // Convert all applicable characters to HTML entities  
	    // 
	    // version: 812.3017
	    // discuss at: http://phpjs.org/functions/htmlentities
	    // +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	    // +   improved by: nobbler
	    // +    tweaked by: Jack
	    // +   bugfixed by: Onno Marsman
	    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	    // -    depends on: get_html_translation_table
	    // *     example 1: htmlentities('Kevin & van Zonneveld');
	    // *     returns 1: 'Kevin &amp; van Zonneveld'
	    var histogram = {}, symbol = '', tmp_str = '', entity = '';
	    tmp_str = string.toString();
	    
	    if (false === (histogram = get_html_translation_table('HTML_ENTITIES', quote_style))) {
	        return false;
	    }
	    
	    for (symbol in histogram) {
	        entity = histogram[symbol];
	        tmp_str = tmp_str.split(symbol).join(entity);
	    }
	    
	    return tmp_str;
	}

		/*
		running 
	  	htmlentities('Kevin & van Zonneveld');
		could return
		Could return
		'Kevin &amp; van Zonneveld'
		*/
	
	
// fin deux fonctions pour simuler le html entities
	
	

/* LES DEUX FONCTIONS PRECEDENTES REMPLACENT LES DEUX FOCNTIONS SUIVANTES !*/
	
function visibilite(thingId) {
	var targetElement;
	targetElement = document.getElementById(thingId) ;
	if (targetElement.style.display == "none") {
		
	targetElement.style.display = "" ;
	}
}
function cacheOnglet(thingId) {
	var targetElement;
	targetElement = document.getElementById(thingId) ;
	if (targetElement.style.display == "") {
	targetElement.style.display = "none" ;
	}
}
function goUrl(selection){
	window.location=selection.options[selection.selectedIndex].value;
}
function valideForm(formulaire, url) {
	if (document.forms["form_connexion"].type[0].checked) {
		document.forms["form_connexion"].method="get";
		document.forms["form_connexion"].action=url+"login.php";
	}
	else {
		document.forms["form_connexion"].login.value = document.forms["form_connexion"].mail.value;
		document.forms["form_connexion"].method="post";
		document.forms["form_connexion"].submit.name="Submit";
		document.forms["form_connexion"].action="http://www.mlg-consulting.com/mlgconsulting_mx/customers/login.php";
	}
	document.forms["form_connexion"].submit();
}



function linkT(id_partenaire,object_type_cked,id_event,page){
	window.open('http://www.mlg-consulting.com/manager_cc/marketing/lt.php?id_partenaire='+id_partenaire+'&object_type_cked='+object_type_cked+'&id_event='+id_event+'&page='+page,'Tracker'); 
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}

function pviiW3Cbg(obj, pviiColor) { //v1.1 by Project VII
	obj.style.backgroundColor=pviiColor
}

function chkall()	{ 
	var taille = document.forms['form1'].elements.length; 
	var element = null; 
	
	for(i=0; i < taille; i++)	{ 
    	element = document.forms['form1'].elements[i]; 
      	if(element.type == "checkbox")	{
        
			if(!element.checked)	{
        		element.checked = true; 
        	}
			else	{
        		element.checked = false; 
        	}
       	}
	}        
} 

//D'autres scripts sur http://www.toutjavascript.com
//Si vous utilisez ce script, merci de m'avertir !  < webmaster@toutjavascript.com >
	function Deplacer(l1,l2) {
		if (l1.options.selectedIndex>=0) {
			o=new Option(l1.options[l1.options.selectedIndex].text,l1.options[l1.options.selectedIndex].value);
			l2.options[l2.options.length]=o;
			l1.options[l1.options.selectedIndex]=null;
		}else{
			alert("Aucune activité sélectionnée");
		}
	}
	
	function setPointer(theRow, theRowNum, theAction, theDefaultColor, thePointerColor, theMarkColor)
{
    var theCells = null;

    // 1. Pointer and mark feature are disabled or the browser can't get the
    //    row -> exits
    if ((thePointerColor == '' && theMarkColor == '')
        || typeof(theRow.style) == 'undefined') {
        return false;
    }

    // 1.1 Sets the mouse pointer to pointer on mouseover and back to normal otherwise.
    if (theAction == "over" || theAction == "click") {
        theRow.style.cursor='pointer';
    } else {
        theRow.style.cursor='normal';
    }

    // 2. Gets the current row and exits if the browser can't get it
    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    // 3. Gets the current color...
    var rowCellsCnt  = theCells.length;
    var domDetect    = null;
    var currentColor = null;
    var newColor     = null;
    // 3.1 ... with DOM compatible browsers except Opera that does not return
    //         valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        domDetect    = true;
    }
    // 3.2 ... with other browsers
    else {
        currentColor = theCells[0].style.backgroundColor;
        domDetect    = false;
    } // end 3

    // 3.3 ... Opera changes colors set via HTML to rgb(r,g,b) format so fix it
    if (currentColor.indexOf("rgb") >= 0)
    {
        var rgbStr = currentColor.slice(currentColor.indexOf('(') + 1,
                                     currentColor.indexOf(')'));
        var rgbValues = rgbStr.split(",");
        currentColor = "#";
        var hexChars = "0123456789ABCDEF";
        for (var i = 0; i < 3; i++)
        {
            var v = rgbValues[i].valueOf();
            currentColor += hexChars.charAt(v/16) + hexChars.charAt(v%16);
        }
    }

    // 4. Defines the new color
    // 4.1 Current color is the default one
    if (currentColor == ''
        || currentColor.toLowerCase() == theDefaultColor.toLowerCase()) {
        if (theAction == 'over' && thePointerColor != '') {
            newColor              = thePointerColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
            // Garvin: deactivated onclick marking of the checkbox because it's also executed
            // when an action (like edit/delete) on a single item is performed. Then the checkbox
            // would get deactived, even though we need it activated. Maybe there is a way
            // to detect if the row was clicked, and not an item therein...
            // document.getElementById('id_rows_to_delete' + theRowNum).checked = true;
        }
    }
    // 4.1.2 Current color is the pointer one
    else if (currentColor.toLowerCase() == thePointerColor.toLowerCase()
             && (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])) {
        if (theAction == 'out') {
            newColor              = theDefaultColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
            // document.getElementById('id_rows_to_delete' + theRowNum).checked = true;
        }
    }
    // 4.1.3 Current color is the marker one
    else if (currentColor.toLowerCase() == theMarkColor.toLowerCase()) {
        if (theAction == 'click') {
            newColor              = (thePointerColor != '')
                                  ? thePointerColor
                                  : theDefaultColor;
            marked_row[theRowNum] = (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])
                                  ? true
                                  : null;
            // document.getElementById('id_rows_to_delete' + theRowNum).checked = false;
        }
    } // end 4

    // 5. Sets the new color...
    if (newColor) {
        var c = null;
        // 5.1 ... with DOM compatible browsers except Opera
        if (domDetect) {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].setAttribute('bgcolor', newColor, 0);
            } // end for
        }
        // 5.2 ... with other browsers
        else {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].style.backgroundColor = newColor;
            }
        }
    } // end 5

    return true;
} // end of the 'setPointer()' function

function setCheckboxColumn(theCheckbox){
    if (document.getElementById(theCheckbox)) {
        document.getElementById(theCheckbox).checked = (document.getElementById(theCheckbox).checked ? false : true);
        if (document.getElementById(theCheckbox + 'r')) {
            document.getElementById(theCheckbox + 'r').checked = document.getElementById(theCheckbox).checked;
        }
    } else {
        if (document.getElementById(theCheckbox + 'r')) {
            document.getElementById(theCheckbox + 'r').checked = (document.getElementById(theCheckbox +'r').checked ? false : true);
            if (document.getElementById(theCheckbox)) {
                document.getElementById(theCheckbox).checked = document.getElementById(theCheckbox + 'r').checked;
            }
        }
    }
}



function envoieRequete(url,id) 
{ 
 
 
  if(url =='NULL') {
  
  	document.getElementById(id).innerHTML =''; 
  }
  else {
  
  var xhr_object = null; 
    var position = id; 
     if(window.XMLHttpRequest) xhr_object = new XMLHttpRequest(); 
     else 
     if (window.ActiveXObject) xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
  
    // On ouvre la requete vers la page désirée 
    xhr_object.open("POST", url, true); 
    xhr_object.onreadystatechange = function(){ 
    if ( xhr_object.readyState == 4 ) 
    { 
        // j'affiche dans la DIV spécifiées le contenu retourné par le fichier 
        document.getElementById(position).innerHTML = xhr_object.responseText; 
        document.getElementById('loader').innerHTML = ''; 
    } 
	    if ( xhr_object.readyState == 2 ) 
    { 
        // j'affiche dans la DIV spécifiées le contenu retourné par le fichier 
        document.getElementById(position).innerHTML = '<div><img src="http://www.mlg-consulting.com/manager_cc/img/ajax-loader.gif" style="margin-top:100px;margin-left:100px;">chargement en cours, merci de patienter...</div>'; 
        document.getElementById('loader').innerHTML = '<font color="#ffffff" style="font-weight:bold; background-color:#CC0000">Chargement en cours<font>'; 
    } 

	
    } 
    // dans le cas du get 
    xhr_object.send(null); 
  }
} 

function pviiW3Cbg(obj, pviiColor) { //v1.1 by Project VII
	
	if(obj.style.backgroundColor!='#edffed'){
		obj.style.backgroundColor=pviiColor;
	}
	else {
	
		obj.style.backgroundColor='#edffed';
	}
}

function showHideDiv(divId) {
	if (document.getElementById(divId).style.display == 'block') {
		document.getElementById(divId).style.display = 'none';
	}
	else {
		document.getElementById(divId).style.display = 'block';
	}
}

<!-- START INFO BULLE -->
function GetId(id)
{
return document.getElementById(id);
}
var isVisible=false; // La variable i nous dit si la bulle est visible ou non
 
function move(e) {
  if(isVisible) {  // Si la bulle est visible, on calcul en temps reel sa position ideale
    if (navigator.appName!="Microsoft Internet Explorer") { // Si on est pas sous IE
		GetId("curseur").style.left=e.pageX + 5+"px";
		GetId("curseur").style.top=e.pageY + 10+"px";
    }
    else { // Modif proposÃ© par TeDeum, merci Ã  lui
		if(document.documentElement.clientWidth>0) {
			GetId("curseur").style.left=20+event.x+document.documentElement.scrollLeft+"px";
			GetId("curseur").style.top=10+event.y+document.documentElement.scrollTop+"px";
		} else {
			GetId("curseur").style.left=20+event.x+document.body.scrollLeft+"px";
			GetId("curseur").style.top=10+event.y+document.body.scrollTop+"px";
		}
    }
  }
}
 
function montre(text) {

	tbl='<table border="0" id="tbl_info_bulle" cellpadding="0" cellspacing="0" style="max-width:300px;">'
	+ '<tr>'
	+ '<td><img src="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r1_c1.png"></td>'
	+ '<td background="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r1_c2.png"></td>'
	+ '<td><img src="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r1_c3.png"></td>'
	+ '</tr>'
	+ '<tr>'
	+ '<td background="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r2_c1.png"></td>'
	+ '<td bgcolor="#ffffff" style="padding:10px" nowrap="nowrap">'+text+'</td>'
	+ '<td  background="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r2_c3.png"></td>'
	+ '</tr>'
	+ '<tr>'
	+ '<td><img src="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r3_c1.png"></td>'
	+ '<td background="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r3_c2.png"></td>'
	+ '<td><img src="http://www.mlg-consulting.com/manager_cc/docs/archives/cont_transp_r3_c3.png"></td>'
	+ '</tr>'
	+ '</table>' ;

	if(isVisible==false) {
	  GetId("curseur").style.visibility="visible"; // Si il est cacher (la verif n'est qu'une securitÃ©) on le rend visible.
	  GetId("curseur").innerHTML = tbl; // Cette fonction est a amÃ©liorer, il parait qu'elle n'est pas valide (mais elle marche)
	  isVisible=true;
  }
}


function cache() {
	if(isVisible==true) {
		GetId("curseur").style.visibility="hidden"; // Si la bulle etais visible on la cache
		isVisible=false;
	}
}
document.onmousemove=move; // des que la souris bouge, on appelle la fonction move pour mettre a jour la position de la bulle.
<!-- END INFO BULLE -->


function checkChamps(id,$chaine){

	var chaine=document.getElementById(id).value;
	var nc = chaine.replace($chaine, "");
	document.getElementById(id).value = nc;

}


