function getObject(b){var a;if(document.all){if(typeof b=="string"){return document.all(b)}else{return b.style}}if(document.getElementById){if(typeof b=="string"){return document.getElementById(b)}else{return b.style}}return null}function toCount(f,d,g,a){var c=getObject(f);var e=getObject(d);var b=a-c.value.length;if(b<=0){b=0;g='<span class="disable"> '+g+" </span>";c.value=c.value.substr(0,a)}e.innerHTML=g.replace("{CHAR}",b)}function checkComment(){name=document.getElementById("Name").value;subject=document.getElementById("subject").value;comment=document.getElementById("comment").value;if(comment==""){alert("Woops! Looks like you forgot a to include your comment.");return false}if(subject==""){alert("Woops! Please put in your subject.");return false}if(name==""){alert("Woops! How about a name?");return false}else{document.commentForm.submit()}};
