addTargetBlank = function(sCssSelector){
    $$(sCssSelector).invoke('observe', 'click', function(e){
        // check if the element as the href attribute 
        if(this.href){
            window.open(this.href); 
            Event.stop(e);    
        }    
    });
}
