$(document).ready(function() {
    // select the overlay element - and "make it an overlay"
    $("#announcements").overlay({
        // custom top position
        top: 50,

        expose: {

            // you might also consider a "transparent" color for the mask
            color: "#000000",

            // load mask a little faster
            loadSpeed: 500,

            // highly transparent
            opacity: 0.7
        },

        // disable this for modal dialog-type of overlays
        closeOnClick: false,
        
        // we want to use the programming API 
        api: true 

    // load it immediately after the construction
    }).load();
    
    $(".sidebar-box").corner();
    $("#announcements").corner();
});
