//Retaillage de la Fenêtre au Maximum
  window.moveTo(0,0);
  var e_Width;
  var e_Height;
  e_Width = screen.availWidth;//800;//1024;
  e_Height = screen.availHeight;//600;//728;
  if (document.getElementById || document.all)
    {
    window.resizeTo(e_Width, e_Height);
    }
  else if (document.layers)
    {
    if (window.outerHeight<e_Height || window.outerWidth<e_Width)
      {
      window.outerHeight = e_Height;
      window.outerWidth = e_Width;
      }
    }
//Fin Retaillage de la Fenêtre au Maximum

//Fonction de Trim
    String.prototype.trim = function() {			 //Fonction Trim
     var x=this;
     x=x.replace(/^\s*(.*)/, "$1");
     x=x.replace(/(.*?)\s*$/, "$1");
     return x;
    }
//Fin Fonction de Trim
//Fonction de Mailto avec Anti Spam
    function mail_to(sTitre)
    {
        if (sTitre=='')
        {
            return;
        }
        var CrLf = "%0D%0A";
        var sSujet = '';
        var sCorps = '';
        var sCompte = 'dl';
        var sDomaine = 'lcd-consultants.fr';
        switch (sTitre) {
			case "Identif":
                sSujet = 'Demande d\'Information à LCD Consultants';
                sCorps = 'Demande d\'Information à LCD Consultants' + CrLf + CrLf;
                sCorps +=  'Bonjour,' + CrLf + CrLf;
                sCorps +=  'Je sollicite un Accès à l\'Extranet de Déduplication, voici mes informations personelles  : ' + CrLf + CrLf;
                sCorps +=  'Société : ' + CrLf;
                sCorps +=  'Nom : ' + CrLf;
                sCorps +=  'Prénom : ' + CrLf;
                sCorps +=  'Adresse : ' + CrLf;
                sCorps +=  'Code Postal : ' + CrLf;
                sCorps +=  'Ville : ' + CrLf;
                sCorps +=  'N° de Téléphone : ' + CrLf;
                sCorps +=  CrLf + CrLf;
                sCorps +=  'Cordialement' + CrLf;
                sCorps +=  CrLf + CrLf;
                sCorps +=  'Ceci est un Email Automatique, envoyé du Site Extranet de Déduplication DATEM';
		        break;
			case "Contact":
                sSujet = 'Demande d\'Information à LCD Consultants';
                sCorps = 'Demande d\'Information à LCD Consultants' + CrLf + CrLf;
                sCorps +=  'Bonjour,' + CrLf + CrLf + CrLf + CrLf + CrLf + CrLf;
                sCorps +=  'Cordialement';
                sCorps +=  CrLf + CrLf;
                sCorps +=  'Ceci est un Email Automatique, envoyé du Site Internet www.LCD-Consultants.fr';
		        break;
		}
        //sCorps = sCorps.replace(/\BÃ©\B/,"é");
        //sCorps = sCorps.replace(/\Bé\B/,"e");
        location.replace('mailto:'+sCompte+'@'+sDomaine+'?subject='+sSujet+'&body='+sCorps);
    }
//Fin Fonction de Mailto avec Anti Spam

//Mets en Favoris le Site IE & Firefox
    function Mets_Favoris(s_Site) {
      if ( navigator.appName != 'Microsoft Internet Explorer' )
      { window.sidebar.addPanel("LCD Consultants",s_Site,""); }
      else { window.external.AddFavorite(s_Site,"LCD Consultants"); }
    }
//Fin Mets en Favoris le Site IE & Firefox

//Affiche ou Cache les Messages dans barre des Status
    function Msg_Affiche(s_MsgAAfficher) {
        window.status = s_MsgAAfficher ;
        //window.defaultStatus = s_MsgAAfficher ;
        return true;
    }
//Fin Affiche ou Cache les Messages dans barre des Status

//Temps de Chargement de la Page
  var then,now=new Date();
  var TempsEnSecondes;
  then=new Date();
  function FnTempsCharge(){
  	then=new Date();
  	document.getElementById("TempsCharge").value = 'Affichée en ' + ((then-now)/1000) + 's';
    //document.getElementById("TempsCharge").value = 'Affichée en ' + ((then-now)/1000) + 's';
  	return true;
  }
//Fin Temps de Chargement de la Page

