$('document').ready(function(){
        /*h2 = $('#cab-certification h2').eq(0);
        h2.addClass('title').prependTo('#cab-certification');
        h2.after('<hr/>');*/
	$('hr').wrap('<div class="hr">');
	$('#inscr-newsletter .text').each(function(){
		input = $(this);
        var valeur = $(input).val();
        $(input).focusout(function(){
            focusOutInput(this, valeur)
        });
        $(input).focus(function(){
            focusInput(this, valeur)
        });
	})
})

function log(a){/*
  try{
      console.log(a);
  }catch(er){
   try{
     window.opera.postError(a);
     }catch(er){
     //no console avaliable. put 
     //alert(a) here or write to a document node or just ignore
     }
  }*/

}

function focusInput(o,valeur){
    value = $(o).val();
    if(value == valeur)
        $(o).val('');     
}

function focusOutInput(o, valeur){
    value = $(o).val();
    if(value == '')
       $(o).val(valeur);       
}

