function verify(_1,_2){if(_2==""){_2="Are you sure you want to delete this comment?";}if(confirm(_2)){document.location=_1;}return void (0);};jQuery(document).ready(function($){if(WPWallSettings.expand_box!="on"){$("#wall_post").css("display","none");}$("#wall_post_toggle").click(function(){$("#wall_post").slideToggle("fast");$("#wall_post #comment").focus();$("#wall_post #author").focus();});$("#wallform").ajaxForm({target:"#wallcomments",success:function(_4,_5){$("#wallresponse").html("<span class=\"wall-success\">"+"Thank you for your comment!"+"</span>");$("#submit_wall_post").attr("value","Submit");$("#wall_post").hide("fast");$("#wall_post #author").attr("value","");$("#wall_post #comment").attr("value","");$("#wall_post #wpwall_comment").attr("value","");},error:function(_6){if(_6.responseText.search(/<title>WordPress &rsaquo; Error<\/title>/)!=-1){var _7=_6.responseText.match(/<p>(.*)<\/p>/);$("#wallresponse").html("<span class=\"wall-error\">"+_7[1]+"</span>");}else{$("#wallresponse").html("<span class=\"wall-error\">An error occurred, please notify the administrator.</span>");}$("#submit_wall_post").attr("value","Submit");$("#wall_post #author").attr("value","");$("#wall_post #comment").attr("value","");},beforeSubmit:function(_8,_9,_a){$("#wallresponse").empty();for(var i=0;i<_8.length;i++){if(!_8[i].value){$("#wallresponse").html("<span class=\"wall-error\">"+"Please fill in the required fields."+"</span");return false;}}$("#submit_wall_post").attr("value","Please wait");}});$(".wallnav #img_left").click(function(){var _c=$("#wallcomments #page_left");var _d=$("#wallform");if(_d[0]){$("#wallcomments").load(_d[0].action+"?refresh="+_c[0].value);}});$(".wallnav #img_right").click(function(){var _e=$("#wallcomments #page_right");var _f=$("#wallform");if(_f[0]){$("#wallcomments").load(_f[0].action+"?refresh="+_e[0].value);}});refreshtime=parseInt(WPWallSettings.refreshtime);if(refreshtime){timeoutID=setInterval(refresh,(refreshtime<5000)?5000:refreshtime);}function refresh(){var _10=$("#wallform");var _11=$("#wallcomments #wallpage");if(_10[0]){$("#wallcomments").load(_10[0].action+"?refresh="+_11[0].value);}};});