function checkCmt(no) {
var namecmt = eval('document.cmtpost_' + no + '.name.value.length');
var cmtcmt = eval('document.cmtpost_' + no + '.comment.value.length');
var passcmt = eval('document.cmtpost_' + no + '.password.value.length');
if (namecmt == 0) {
alert('Name is not entered');
return false;
} else if (passcmt == 0) {
alert('Password is not entered');
return false;
} else if (cmtcmt == 0) {
alert('Comment is not entered');
return false;
} else {
return true;
}
}
function cmtview(no) {
remoteURL = "https://www.bangboo.com/cms/blog/p/cmt_view.php?no=" + no;
cmtcont = document.getElementById("cmt" + no).innerHTML;
if ( cmtcont == "" ){
self.frames.cmtviewfrm.location.href = remoteURL;
}else{
if ( cmtcont.indexOf( "