$(function() {
    $('a.target_blank').attr('target','_blank');
    $('.hovtive').hovtive({ flag:true });
})

// searchCleaner is used to remove the 'EK News - ' prefix from the
// titles of some (?!?) of google's search results
SearchHook=function() {
    this.onSearch=function() {
        $('a.gs-title').each(function() {
            var it=$(this);
            var title=it.text();
            if (title.substring(0,10)=='EK News - ') {
                it.text(title.substring(10));
            }
        })
    }
    this.onClear=function() {
        alert('onClear');
    }
}
window.searchHook=new SearchHook;

