/*eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('n.o.G=4(){8 d.5(/^\\s+/,\'\').5(/\\s+$/,\'\')};n.o.H=4(){8 d.5(/&/g,"&J;").5(/</g,"&K;").5(/>/g,"&L;").5(/"/g,"&M;")};4 N(b,c){$.O({P:"Q",p:"/q.r",R:"S=T&U="+b+"&V="+c,t:4(a){W(a){X"Y":$(\'#u\').f(\'<6>Z 10 11 12 d 13.</6>\');14;15:$(\'#u\').f(\'<6>16 17 18.</6>\');$(\'#19\').f(a)}}})}v 7=1a 1b();7[0]=\'w|k|9 h i w.\';7[1]=\'l|k|9 h i e-x y.\';7[2]=\'l|l|9 h a 1c e-x y.\';7[3]=\'j|k|9 h i j.\';$(1d).1e(4(){$("#j").z(1f,{1g:"#z"});v a={1h:\'#1i\',1j:4(){$("#m").f(\'<6>9 1k 1l I A i j...</6>\');$("#B").1m();1n(1o.1p(\'C\',7,\'1q\')){8 D}1r{$("#B").1s();$("#m").E();8 F}},t:4(){$("#1t").1u("1v",0.1w);$("#m").E()},p:\'/q.r\',1x:D};$(\'#C\').A(4(){$(d).1y(a);8 F})});',62,97,'||||function|replace|strong|rules|return|Please||||this||html||enter|your|comment|required|email|commentFormStatus|String|prototype|url|query|php||success|ratingBar|var|name|mail|address|charCounter|submit|formSubmit|commentForm|true|empty|false|trim|escape_html||amp|lt|gt|quot|submitRating|ajax|type|POST|data|do|rate|id|value|switch|case|voted|You|have|already|rated|post|break|default|Thanks|for|rating|ratingRes|new|Array|valid|document|ready|800|container|target|submitButton|beforeSubmit|wait|while|hide|if|yav|performCheck|inline|else|show|commentFields|fadeTo|slow|33|clearForm|ajaxSubmit'.split('|'),0,{}))*/

String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")};String.prototype.escape_html=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")};
function submitRating(a,c){$.ajax({type:"POST",url:"/query.php",data:"do=rate&id="+a+"&value="+c,success:function(b){switch(b){case "voted":$("#ratingBar").html("<strong>You have already rated this post.</strong>");break;default:$("#ratingBar").html("<strong>Thanks for rating.</strong>");$("#ratingRes").html(b)}}})}var rules=[];rules[0]="name|required|Please enter your name.";rules[1]="email|required|Please enter your e-mail address.";rules[2]="email|email|Please enter a valid e-mail address.";
rules[3]="comment|required|Please enter your comment.";
$(document).ready(function(){$("#comment").maxlength({maxCharacters:1E3,status:true,statusClass:"status",statusText:"char. left",notificationClass:"notification",slider:true});var a={target:"#submitButton",beforeSubmit:function(){$("#commentFormStatus").html("<strong>Please wait while I submit your comment...</strong>");$("#formSubmit").hide();if(yav.performCheck("commentForm",rules,
"inline"))return true;else{$("#formSubmit").show();$("#commentFormStatus").empty();return false}},success:function(){$("#commentFields").fadeTo("slow",0.33);$("#commentFormStatus").empty()},url:"/query.php",clearForm:true};$("#commentForm").submit(function(){$(this).ajaxSubmit(a);return false})});
