Event.observe(window, 'load', function() {
	
	$('logbox-listen').update('<b>myGlob</b> | Se connecter ');
	Event.observe('logbox-listen', 'click', function(){
		$('logbox').toggle();
		if($('logbox').visible()){
			$('logbox-listen').update('');
		} else {
			$('logbox-listen').update('<b>myGlob</b> | Se connecter ');
		}

		
	});

});

function ClearInput(value, id){ // This calls our function ClearInput, and the two variables we will need for it to function the original value and the id.
	var input = document.getElementById(id); // Gets the input field based on its id.

	if(value == input.value){ // If the default value is equal to the current value.
	input.value = ''; // Empty It.
	}else{ // Else the value is not equal to the current input field value.
	input.value = input.value; // Leave it the same.
	} // End Else.
	} // Close Function.
