jQuery.fn.extend({getoffset:function(a){var b=this[0]['offset'+a];if(a=='Top')b+=this[0].offsetHeight;while((this[0]=this[0].offsetParent)!=null){b+=this[0]['offset'+a];if(this[0].border&&this[0].border!=0)b++}return b-document.body['scroll'+a]},highlight:function(){$(this).animate({opacity:'toggle'},'normal',function(){$(this).animate({opacity:'toggle'},'normal')})},serializeform:function(){var a='({';$(this).find('input,select').each(function(){a+=(a!='({'?',':'');a+=(this.id!=''?(this.id):(this.name))+':"'+($(this).is("input[@type='checkbox']")?this.checked:this.value)+'"'});a+='})';return eval(a)},check:function(a){var a=a||'on';return this.each(function(){switch(a){case'on':this.checked=true;break;case'off':this.checked=false;break;case'toggle':this.checked=!this.checked;break}})}});(function($){$.getPointer=function(a){var x=a.pageX||(a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft))||0;var y=a.pageY||(a.clientY+(document.documentElement.scrollTop||document.body.scrollTop))||0;return{x:x,y:y}};$.parseQuery=function(a){var b=a.replace(/^[^\?]+\??/,'');var c=new Object();if(!b)return c;var d=b.split(/[;&]/);for(var i=0;i<d.length;i++){var e=d[i].split('=');if(!e||e.length!=2)continue;var f=unescape(e[0]);var g=unescape(e[1]);g=g.replace(/\+/g,' ');c[f]=g}return c}})(jQuery);try{console.log('')}catch(e){console={log:function(){}}}function setCookie(a,b,c,d){a.cookie=b+'='+escape(c)+'; path=/;'+((d==null)?'':('; expires='+d.toGMTString()))}function rdate(){var a=new Date();a.setTime(a.getTime()+(60*60*30*12*1000));return a}
