    var oa_window;
    var redactor_object;
$(document).ready(function(){
    
    $("li#DropMenu").hover(function(){
        $(this).find(".DropMenu").fadeIn(500);
        return false;
    }, function(){ 
        $(this).find(".DropMenu").fadeOut(500);
        return false;
    });
    
    $('.oAuth a').live('click',function(){
       var href = $(this).attr('href');
       var width  = 820;
       var height = 420;
       var left   = (screen.width  - width)/2;
       var top   = (screen.height - height)/2 -100;   

       oa_window = window.open(href, 'oa_window', "width="+width+",height="+height+",top="+top+",left="+left+"menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
       return false;
    });
    
    $(".NewsBody").click(function(){
    window.location=$(this).find("a").attr("href");
    return false;
    });
    
    $(".NewsBody").hover(function(){
    $(this).css("cursor", "pointer");
    $(this).addClass("NewsBody_hover") ;
    }, function() {
    $(this).removeClass("NewsBody_hover") ;
    return false;
    });
    
});

$(document).ready(function(){
    
    redactor_object = $('#redactor').redactor();
    
});
