var mod_pagespeed_C1nKnf7lTd = "function commentQuote(commentid,commenttext,commentarea){var quote='[quote comment=\"'+commentid+'\"]'+commenttext+'[/quote]\\n';var comment=document.getElementById(commentarea);addQuote(comment,quote);return false;}\nfunction postQuote(postid,commentarea,alertmsg){var posttext='';if(window.getSelection){posttext=window.getSelection();}\nelse if(document.getSelection){posttext=document.getSelection();}\nelse if(document.selection){posttext=document.selection.createRange().text;}\nelse{return true;}\nif(posttext==''){alert(alertmsg);return true;}else{var quote='[quote post=\"'+postid+'\"]'+posttext+'[/quote]\\n';var comment=document.getElementById(commentarea);addQuote(comment,quote);}\nreturn false;}\nfunction addQuote(comment,quote){if(document.selection){comment.focus();sel=document.selection.createRange();sel.text=quote;comment.focus();}\nelse if(comment.selectionStart||comment.selectionStart=='0'){var startPos=comment.selectionStart;var endPos=comment.selectionEnd;var cursorPos=endPos;var scrollTop=comment.scrollTop;if(startPos!=endPos){comment.value=comment.value.substring(0,startPos)\n+quote\n+comment.value.substring(endPos,comment.value.length);cursorPos=startPos+quote.length}\nelse{comment.value=comment.value.substring(0,startPos)\n+quote\n+comment.value.substring(endPos,comment.value.length);cursorPos=startPos+quote.length;}\ncomment.focus();comment.selectionStart=cursorPos;comment.selectionEnd=cursorPos;comment.scrollTop=scrollTop;}\nelse{comment.value+=quote;}}";
var mod_pagespeed_nryK4yN41b = "function K2Slider(handle,track,options){var self=this;this.handle=jQuery(handle);this.track=jQuery(track);this.options=options||{};this.value=this.options.value||0;this.maximum=this.options.maximum||1;this.minimum=this.options.minimum||0;this.trackLength=this.track.width();this.handleLength=this.handle.width();this.handle.css('position','absolute');this.active=false;this.dragging=false;this.setValue(this.value);this.handle.mousedown(function(event){self.active=true;var pointer=self.pointerX(event);var offset=self.track.offset();self.setValue(self.translateToValue(pointer-offset.left-(self.handleLength/2)));var offset=self.handle.offset();self.offsetX=(pointer-offset.left);});this.track.mousedown(function(event){var offset=self.track.offset();var pointer=self.pointerX(event);self.setValue(self.translateToValue(pointer-offset.left-(self.handleLength/2)));});jQuery(document).mouseup(function(event){if(self.active&&self.dragging){self.active=false;self.dragging=false;self.updateFinished(self);}self.active=false;self.dragging=false;});jQuery(document).mousemove(function(event){if(self.active){if(!self.dragging)self.dragging=true;self.draw(event);if(navigator.appVersion.indexOf('AppleWebKit')>0)window.scrollBy(0,0);}});this.initialized=true;};K2Slider.prototype.getNearestValue=function(value){if(value>this.maximum)return this.maximum;if(value<this.minimum)return this.minimum;return value;};K2Slider.prototype.setValue=function(value){this.value=this.getNearestValue(value);this.handle.css('left',this.translateToPx(this.value));if(!this.dragging||!this.event)this.updateFinished(this);};K2Slider.prototype.setValueBy=function(delta){this.setValue(this.value+delta);};K2Slider.prototype.translateToPx=function(value){return Math.round(((this.trackLength-this.handleLength)/(this.maximum-this.minimum))*(value-this.minimum))+\"px\";};K2Slider.prototype.translateToValue=function(offset){return Math.round(((offset/(this.trackLength-this.handleLength)*(this.maximum-this.minimum))+this.minimum));};K2Slider.prototype.draw=function(event){var pointer=this.pointerX(event);var offset=this.track.offset();pointer-=this.offsetX+offset.left;this.event=event;this.setValue(this.translateToValue(pointer));if(this.initialized&&this.options.onSlide)this.options.onSlide(this.value);};K2Slider.prototype.updateFinished=function(self){if(self.initialized&&self.options.onChange)self.options.onChange(self.value);self.event=null;};K2Slider.prototype.pointerX=function(event){return event.pageX||(event.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));};K2Slider.prototype.isLeftClick=function(event){return(((event.which)&&(event.which==1))||((event.button)&&(event.button==1)));};";

