function customPageOnload(){
    getCurrentSurvey();
}

function getCurrentSurvey(){
    if (isUserPageOwner()) {
        new Ajax.Request("/users/" + readCookie("user_id") + "/owner_homepage_updater", {
            method: 'get'
        });
    }
}