ublish() {
	    var blogId = document.getElementById('blog-id').value;
            sendReq('/x/profile/blog/'+blogId+'/unpublish');
        }
        function publish() {
	    var blogId = document.getElementById('blog-id').value;
            sendReq('/x/profile/blog/'+blogId+'/publish');
        }
        function update() {
	    var blogId = document.getElementById('blog-id').value;
            sendReq('/x/profile/blog/'+blogId+'/update');
        }
        function sendReq(url) {
	    var blogId = docume