﻿var nchk={},_gaq=[["_setAccount","UA-8190381-1"],["_trackPageview"],["_trackPageLoadTime"]];(function(a,b){function g(b,d){if(!a[b])return c.ajax({type:"GET",cache:!0,dataType:"script",url:d})}function h(b){b=c.extend({type:"GET",key:"shhh it's :] super secret",url:""},b),b.data&&typeof b.data!="string"&&(b.data=c.param(b.data)),b.url.indexOf(":")==-1&&(b.url.substr(0,1)=="/"?b.url=d.protocol+"//"+d.host+b.url:b.url=d.href.substr(0,d.href.lastIndexOf("/")+1)+b.url);var e=b.url.indexOf("?");return e>-1&&(b.data=(b.data.length>0?"&":"")+b.url.substr(e+1),b.url=b.url.substr(0,e)),b.data+=(b.data.length>0?"&":"")+"o_0="+a.b64_hmac_sha1(b.key,b.type.toUpperCase()+"&"+b.url+"?"+b.data).split("=").join("%3D").split("/").join("%2F").split("+").join("%2B"),b.cache=!1,b}"use strict";var c=a.jQuery,d=a.location,e=document.createElement("script"),f=document.getElementsByTagName("script")[0];e.type="text/javascript",e.async=!0,e.src=("https:"==d.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js",f.parentNode.insertBefore(e,f),c.fn.enter=function(a){c(this).keydown(function(b){if(b.keyCode!==10&&b.keyCode!==13)return;b.preventDefault(),a.call(this,b)})},c.o_0=function(a){var b=c.Deferred();return c.when(g("b64_hmac_sha1","http://oauth.googlecode.com/svn/code/javascript/sha1.js")).then(function(){c.ajax(h(a)).done(b.resolve)}),c.extend({success:function(){return this.then.apply(this,arguments)},complete:function(){return this.done.apply(this,arguments)},error:function(){return this.fail.apply(this,arguments)}},b.promise())}})(window)
