jQuery.noConflict();if(typeof K2=="undefined"){var K2={}}K2.debug=false;K2.ajaxGet=function(b,a){jQuery.ajax({url:K2.AjaxURL,data:b,dataType:"html",error:function(c){jQuery("#notices").show().append('<p class="alert">Error '+c.status+": "+c.statusText+"</p>")},success:function(){jQuery("#notices").hide().html()},complete:function(c){document.write=function(d){};if(a){a(c.responseText)}}})};function OnLoadUtils(){jQuery("#comment-personaldetails").hide();jQuery("#showinfo").show();jQuery("#hideinfo").hide()}function ShowUtils(){jQuery("#comment-personaldetails").slideDown();jQuery("#showinfo").hide();jQuery("#hideinfo").show()}function HideUtils(){jQuery("#comment-personaldetails").slideUp();jQuery("#showinfo").show();jQuery("#hideinfo").hide()}function smartPosition(a){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7){return}jQuery(window).scroll(function(){if((document.documentElement.scrollTop||document.body.scrollTop)>=jQuery(a).offset().top){jQuery("body").addClass("smartposition")}else{jQuery("body").removeClass("smartposition")}})}function dynamicColumns(){var a=jQuery(window).width();if(a>=(K2.layoutWidths[2]+20)){jQuery("body").removeClass("columns-one columns-two").addClass("columns-three")}else{if(a>=(K2.layoutWidths[1]+20)){jQuery("body").removeClass("columns-one columns-three").addClass("columns-two")}else{jQuery("body").removeClass("columns-two columns-three").addClass("columns-one")}}}function initOverLabels(){if(!document.getElementById){return}var d,c,b;d=document.getElementsByTagName("label");for(var a=0;a<d.length;a++){if(d[a].className=="overlabel"){c=d[a].htmlFor||d[a].getAttribute("for");if(!c||!(b=document.getElementById(c))){continue}d[a].className="overlabel-apply";if(b.value!==""){hideLabel(b.getAttribute("id"),true)}b.onfocus=function(){hideLabel(this.getAttribute("id"),true)};b.onblur=function(){if(this.value===""){hideLabel(this.getAttribute("id"),false)}};d[a].onclick=function(){var f,e;f=this.getAttribute("for");if(f&&(e=document.getElementById(f))){e.focus()}}}}}function hideLabel(c,b){var d;var e=document.getElementsByTagName("label");for(var a=0;a<e.length;a++){d=e[a].htmlFor||e[a].getAttribute("for");if(d==c){e[a].style.textIndent=(b)?"-1000px":"0px";return true}}};