String.prototype.multiReplace=function(d){if(d==undefined){d=common_reserved_char_hash}var f=this,e;for(e in d){f=f.replace(new RegExp(e,"g"),d[e])}return f};String.prototype.singleSpacesOnly=function(){var b=this;b=b.replace(new RegExp("[ ]{2,}","g")," ");return b};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};var common_reserved_char_hash={"<":"&lt;",">":"&gt;","…":"&hellip;","“":"&ldquo;","”":"&rdquo;","‘":"&lsquo;","’":"&rsquo;","—":"&mdash;","–":"&mdash;",'"':"&quot;"};function hasValue(d){try{if(d==undefined||d==null||d==""||d=="null"){return false}else{return true}}catch(c){return true}}function expireCookie(b){$j.cookie(b,null,{path:"/"})}function bakeCookie(c,d){$j.cookie(c,d,{path:"/"})}function getCookieValue(c){var d=$j.cookie(c);if(!hasValue(d)){return""}else{return $j.cookie(c)}};