/**/
jQuery(document).ready(function($){
   $('.CybernewsletterWidget input[type=text]').each(function(){
        input = $(this);
        var valeur = $(input).val();
        $(input).focusout(function(){
            focusOutInput(this, valeur)
        });
        $(input).focus(function(){
            focusInput(this, valeur)
        });
    });
    
    $('#videoPlayer object').css('cursor','pointer').click(function(){
     window.location =    $('.videoPlayer').parent('a').attr('href');
    })
})


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 = jQuery(o).val();
    if(value == valeur)
        jQuery(o).val('');     
}

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