function ValidateCommentForm(){var d;d=0;var c;c="Please correct the following:<ul>";if(document.getElementById("ctl00_Col1Content_objUCComments_textareaComment").value.length==""){document.getElementById("ctl00_Col1Content_objUCComments_textareaComment").className="highlightExpanding";d=1;c=c+"<li>Please enter your comment</li>"}else{document.getElementById("ctl00_Col1Content_objUCComments_textareaComment").className="textareaExpanding"}if(document.getElementById("ctl00_Col1Content_objUCComments_textboxCaptcha").value.length==""){document.getElementById("ctl00_Col1Content_objUCComments_textboxCaptcha").className="highlight";d=1;c=c+"<li>Please enter the code below</li>"}else{if(document.getElementById("ctl00_Col1Content_objUCComments_textboxCaptcha").value!=document.getElementById("ctl00_Col1Content_objUCComments_HiddenFieldCaptcha").value){document.getElementById("ctl00_Col1Content_objUCComments_textboxCaptcha").className="highlight";d=1;c=c+"<li>Please re-enter the code below correctly</li>"}else{document.getElementById("ctl00_Col1Content_objUCComments_textboxCaptcha").className="captchaText"}}if(d==1){document.getElementById("commentsErrorMessage").style.display="block";document.getElementById("commentsErrorMessage").innerHTML='<img src="/images/icon_error.png" /> '+c+"</ul>";return false}else{return true}}function ValidateReplyCommentForm(k){var g;g=0;var l;l="Please correct the following: <ul>";var i=k;var i=i.substr(0,k.length-29);var j=document.getElementById(i+"textareaReplyComment");var h=document.getElementById(i+"textboxCaptcha");if(j!=null&&j.value.length==""){j.className="highlightExpanding";g=1;l=l+"<li>Please enter your comment</li>"}else{j.className="textareaExpanding"}if(h.value.length==""){h.className="highlight";g=1;l=l+"<li>Please enter the code below</li>"}else{if(h.value!=document.getElementById("ctl00_Col1Content_objUCComments_HiddenFieldCaptcha").value){h.className="highlight";g=1;l=l+"<li>Please re-enter the code below correctly</li>"}else{h.className="captchaText"}}if(g==1){document.getElementById(i+"commentsReplyErrorMessage").style.display="block";document.getElementById(i+"commentsReplyErrorMessage").innerHTML='<img src="/images/icon_error.png" /> '+l+"</ul>";return false}else{return true}}function ValidateReplyCommentToReplyForm(k){var g;g=0;var l;l="Please correct the following: <ul>";var i=k;var i=i.substr(0,k.length-29);var j=document.getElementById(i+"textareaReplyComment");var h=document.getElementById(i+"textboxCaptcha");if(j!=null&&j.value.length==""){j.className="highlightExpanding";g=1;l=l+"<li>Please enter your comment</li>"}else{j.className="textareaReplyExpanding"}if(h.value.length==""){h.className="highlight";g=1;l=l+"<li>Please enter the code below</li>"}else{if(h.value!=document.getElementById("ctl00_Col1Content_objUCComments_HiddenFieldCaptcha").value){h.className="highlight";g=1;l=l+"<li>Please re-enter the code below correctly</li>"}else{h.className="captchaText"}}if(g==1){document.getElementById(i+"commentsReplyErrorMessage").style.display="block";document.getElementById(i+"commentsReplyErrorMessage").innerHTML='<img src="/images/icon_error.png" /> '+l+"</ul>";return false}else{return true}}function WordFilter(i){var j;var k;var i;var g;k="anal|ass|balls|bastard|beastiality|bitch|bondage|boobies|breast|bukkake|clitoris|cocaine|cock|condom|cunt|dick|dildo|ejaculation|enlargement|fisting|fuck|gangbang|heroin|hooters|hump|jizz|masturbate|meathole|meatpole|meatstick|nipple|panties|pecker|peepee|penis|pervert|prostitute|pubic|pussy|rape|scrotum|sex|shit|slit|slut|sodomy|sperm|testicle|titties|twat|vagina|vibrator|whore|wang";j=k.split("|");i=i.toLowerCase();g=i.split(" ");for(var h=0;h<j.length;h++){for(var l=0;l<g.length;l++){if(g[l]==j[h]){break}}}};