document.writeln("
Comments Loading...<\/div>"); document.writeln(" "); document.writeln(" var divc = document.getElementById(\'commentContainer\');"); //document.writeln(" document.getElementById(\"CommentOther\").innerHTML='Comment';"); document.writeln(" var url = document.URL;var param=\"\";"); document.writeln("if (url.indexOf(\"?\")>0)"); document.writeln("{"); document.writeln(" param = url.substring(url.indexOf(\"?\"));"); document.writeln(" if(param.indexOf(\"=\")>0){"); document.writeln(" param = param.substring(param.indexOf(\"=\")+1);"); document.writeln(" }"); document.writeln("}") document.writeln(" var handleSuccessc = function(oc){"); document.writeln(" if(oc.responseText !== undefined){"); document.writeln(" var comments = oc.responseText; var rc = comments.substr(0,comments.indexOf('<')); comments = comments.substr(comments.indexOf('<'),comments.length);"); document.writeln(" if(rc=='') rc=0;document.getElementById(\"CommentCount\").innerHTML=rc+' Total';"); document.writeln(" divc.innerHTML = comments;"); document.writeln(" }"); document.writeln(" }"); document.writeln(""); document.writeln(" var handleFailurec = function(oc){"); document.writeln(" if(oc.responseText !== undefined){"); document.writeln(" divc.innerHTML = \'[Comment on this title]\';"); document.writeln(" }"); document.writeln(" }"); document.writeln(""); document.writeln(" var callbackc ="); document.writeln(" {"); document.writeln(" success:handleSuccessc,"); document.writeln(" failure:handleFailurec,"); document.writeln(" argument: { id2:1049755 }"); document.