//The following construct defines a function to be run as soon as the document DOM is ready
$(function() {
    if ($("#session-id").length > 0) {
        var sessionID = $("#session-id").val();
        target = "/cfp_proxy/sessionPop.cfm?confid=35&proposalid=" + sessionID + " table";
        //alert(sessionID);
        $("#session-wrapper").load(target, function(page){
            //Remove the "Close window" link
            $("#session-wrapper a[href^='javascript:']").remove();
            $("#session-wrapper *").css('margin', '0px');
            //Add a session page header image
            $("#session-wrapper img").eq(0).attr('src', '/uploads/logos/35_popup.jpg');
        });
    }
});

