    // <![CDATA[
    
        /**
         * M�thode de suppression des espaces, tabulations et saut de ligne.
         **/
        function trim (myString){
            myString = myString.replace(/^\s+/g,'').replace(/\s+$/g,'');
            myString = myString.replace(/^\r+/g,'').replace(/\r+$/g,'');
            myString = myString.replace(/^\n+/g,'').replace(/\n+$/g,'');
            myString = myString.replace(/^\t+/g,'').replace(/\t+$/g,'');
            return myString;
        }
        
        function clearLogin(){
            if(document.getElementById('login').value == 'Identifiant'){
                document.getElementById('login').value = '';
                document.getElementById('login').style.color = '#167F9E';
            } 
        }
        
        function clearPwd(){
            if(document.getElementById('password').value == 'Mot de passe'){
                document.getElementById('password').value = '';
                document.getElementById('password').style.color = '#167F9E';
            } 
        }
        
        function resetLogin(){
            if(trim(document.getElementById('login').value) == ''){
                document.getElementById('login').value = 'Identifiant';
                document.getElementById('login').style.color = '#167F9E';
            }
        }
        
        function resetPwd(){
            if(trim(document.getElementById('password').value) == ''){
                document.getElementById('password').value = 'Mot de passe';
                document.getElementById('password').style.color = '#167F9E';
            }
        }
    // ]]> 
    
