// jquery.jsonp 2.2.0 (c)2010 Julian Aubourg | MIT License
// http://code.google.com/p/jquery-jsonp/
(function(a){function C(){}function z(a){j=[a]}function c(b,c,d,a){try{a=b&&b.apply(c.context||c,d)}catch(e){a=false}return a}function i(a){return/\?/.test(a)?"&":"?"}var u="async",A="charset",l="",v="error",m="insertBefore",n="_jqjsp",d="on",f=d+"click",g=d+v,h=d+"load",e=d+"readystatechange",q="readyState",o="removeChild",r="<script>",s="success",t="timeout",y=window,b=a("head")[0]||document.documentElement,k={},B=0,j,p={callback:n,url:location.href},x=y.opera;function w(d){d=a.extend({},p,d);var O=d.complete,Q=d.dataFilter,N=d.callbackParameter,M=d.callback,T=d.cache,G=d.pageCache,R=d.charset,D=d.url,E=d.data,S=d.timeout,H,J=0,I=C,V,U,w,F,K;d.abort=function(){!J++&&I()};if(c(d.beforeSend,d,[d])===false||J)return d;D=D||l;E=E?typeof E=="string"?E:a.param(E,d.traditional):l;D+=E?i(D)+E:l;N&&(D+=i(D)+encodeURIComponent(N)+"=?");!T&&!G&&(D+=i(D)+"_"+ +new Date+"=");D=D.replace(/=\?(&|$)/,"="+M+"$1");function P(a){if(!J++){I();G&&(k[D]={s:[a]});Q&&(a=Q.apply(d,[a]));c(d.success,d,[a,s]);c(O,d,[d,s])}}function L(a){if(!J++){I();G&&a!=t&&(k[D]=a);c(d.error,d,[d,a]);c(O,d,[d,a])}}if(G&&(H=k[D]))H.s?P(H.s[0]):L(H);else{y[M]=z;w=a(r)[0];w.id=n+B++;if(R)w[A]=R;x&&x.version()<11.6?(F=a(r)[0]).text="document.getElementById('"+w.id+"')."+g+"()":w[u]=u;if(!(h in w)&&e in w){w.htmlFor=w.id;w.event=f}w[h]=w[g]=w[e]=function(a){if(!w[q]||/loaded|complete/.test(w[q])){try{w[f]&&w[f]()}catch(b){}a=j;j=0;a?P(a[0]):L(v)}};w.src=D;I=function(){K&&clearTimeout(K);w[e]=w[h]=w[g]=null;b[o](w);F&&b[o](F)};b[m](w,b.firstChild);F&&b[m](F,b.firstChild);K=S>0&&setTimeout(function(){L(t)},S)}return d}w.setup=function(b){a.extend(p,b)};a.jsonp=w})(x$);
