rem: var result = blog.stories.evalNewStory(param, usr); if (result.error) throw(result.message); return result.id; 
add: try { var result = blog.stories.evalNewStory(param, usr); return result.id; } catch (e) { throw(e.toString()); } 
context: function newPost (blogid, username, password, content, publish) {   var usr = root.blogger.getUser(username, password);   var blog = root.blogger.getBlog(blogid.toString());   if (!blog)      throw("Couldn't find the blog " + blogid);   try {      blog.stories.checkAdd(usr, blog.members.getMembershipLevel(usr));   } catch (deny) {      throw("You don't have permission to post to this site");   }   var param = new Object();   param.http_remotehost = "metaweblogAPI";   param.content_title = content.title;   param.content_text  = content.description;   if (content.dateCreated)     param.createtime = content.dateCreated.format("yyyy-MM-dd HH:mm");   if (content.categories && content.categories.length>0)      param.topic = content.categories[0];   param.publish = publish;   param.addToFront = (content.flNotOnHomePage && param.topic) ? false : true;   param.discussions = content.discussions == 0 ? 0 : 1;   var result = blog.stories.evalNewStory(param, usr);   if (result.error)      throw(result.message);   return result.id;}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/45914c5c90a0f29395106e4dc0f9fe9fe88cac9e/metaWeblogAPI.js/buggy/code/MetaWeblogApi/metaWeblogAPI.js