(function(){var cQ="http://books.google.com/";var aI="en";var bV=true,bU=null,bT=false,bS=this,cT=function(l,i,s){var q=l.split("."),n=s||bS;!(q[0] in n)&&n.execScript&&n.execScript("var "+q[0]);for(var m;q.length&&(m=q.shift());){if(!q.length&&i!==undefined){n[m]=i;}else{n=n[m]?n[m]:(n[m]={});}}},cw=function(l,i){for(var q=l.split("."),n=i||bS,m;
m=q.shift();){if(n[m]){n=n[m];}else{return bU;}}return n;},bY=function(){},bQ=function(l){var i=typeof l;if(i=="object"){if(l){if(l instanceof Array||!(l instanceof Object)&&Object.prototype.toString.call(l)=="[object Array]"||typeof l.length=="number"&&typeof l.splice!="undefined"&&typeof l.propertyIsEnumerable!="undefined"&&!l.propertyIsEnumerable("splice")){return"array";
}if(!(l instanceof Object)&&(Object.prototype.toString.call(l)=="[object Function]"||typeof l.call!="undefined"&&typeof l.propertyIsEnumerable!="undefined"&&!l.propertyIsEnumerable("call"))){return"function";}}else{return"null";}}else{if(i=="function"&&typeof l.call=="undefined"){return"object";}}return i;
},bO=function(i){return bQ(i)=="array";},bN=function(l){var i=bQ(l);return i=="array"||i=="object"&&typeof l.length=="number";},bM=function(i){return typeof i=="string";},bB=function(i){return bQ(i)=="function";},bq=function(l){var i=bQ(l);return i=="object"||i=="array"||i=="function";},bK=function(i){if(i.hasOwnProperty&&i.hasOwnProperty(bL)){return i[bL];
}i[bL]||(i[bL]=++aZ);return i[bL];},bL="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),aZ=0,aN=function(l){var i=bQ(l);if(i=="object"||i=="array"){if(l.clone){return l.clone.call(l);}var n=i=="array"?[]:{};for(var m in l){n[m]=aN(l[m]);}return n;}return l;},bJ=function(l,i){var s=l.Ia;
if(arguments.length>2){var q=Array.prototype.slice.call(arguments,2);s&&q.unshift.apply(q,s);s=q;}i=l.Ka||i;l=l.Ja||l;var n,m=i||bS;n=s?function(){var t=Array.prototype.slice.call(arguments);t.unshift.apply(t,s);return l.apply(m,t);}:function(){return l.apply(m,arguments);};n.Ia=s;n.Ka=i;n.Ja=l;return n;
},bH=function(l){var i=Array.prototype.slice.call(arguments,1);i.unshift(l,bU);return bJ.apply(bU,i);},aA=Date.now||function(){return(new Date).getTime();},cC=function(l,i,m){cT(l,i,m);},cB=function(l,i){function m(){}m.prototype=i.prototype;l.ba=i.prototype;l.prototype=new m;};Function.prototype.partial=function(){var i=Array.prototype.slice.call(arguments);
i.unshift(this,bU);return bJ.apply(bU,i);};var an=function(l,i,q){if(l.indexOf){return l.indexOf(i,q);}if(Array.indexOf){return Array.indexOf(l,i,q);}for(var n=q==bU?0:q<0?Math.max(0,l.length+q):q,m=n;m<l.length;m++){if(m in l&&l[m]===i){return m;}}return -1;},r=function(l,i,s){if(l.forEach){l.forEach(i,s);
}else{if(Array.forEach){Array.forEach(l,i,s);}else{for(var q=l.length,n=bM(l)?l.split(""):l,m=0;m<q;m++){m in n&&i.call(s,n[m],m,l);}}}},b=function(l,i){var n=an(l,i),m;if(m=n!=-1){Array.prototype.splice.call(l,n,1).length==1;}return m;},c0=function(l){if(bO(l)){return l.concat();}else{for(var i=[],n=0,m=l.length;
n<m;n++){i[n]=l[n];}return i;}},cK=function(i){if(bO(i)){return i.concat();}return c0(i);},b4=function(l){for(var i=1;i<arguments.length;i++){var m=arguments[i];if(bN(m)){m=cK(m);l.push.apply(l,m);}else{l.push(m);}}};var bI=function(l,i){this.x=l!==undefined?l:0;this.y=i!==undefined?i:0;};bI.prototype.clone=function(){return new bI(this.x,this.y);
};var cA=function(l,i){this.width=l;this.height=i;};cA.prototype.clone=function(){return new cA(this.width,this.height);};cA.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this;};cA.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);
return this;};var bw=function(l,i,n){for(var m in l){i.call(n,l[m],m,l);}},bl=function(l){var i=[],n=0;for(var m in l){i[n++]=l[m];}return i;},a5=function(l){var i=[],n=0;for(var m in l){i[n++]=m;}return i;},aT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],aG=function(l){for(var i,q,n=1;
n<arguments.length;n++){q=arguments[n];for(i in q){l[i]=q[i];}for(var m=0;m<aT.length;m++){i=aT[m];if(Object.prototype.hasOwnProperty.call(q,i)){l[i]=q[i];}}}};var au=function(l){for(var i=1;i<arguments.length;i++){var m=String(arguments[i]).replace(/\$/g,"$$$$");l=l.replace(/\%s/,m);}return l;},ah=function(i){return i.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"");
},g=/^[a-zA-Z0-9\-_.!~*'()]*$/,c5=function(i){i=String(i);if(!g.test(i)){return encodeURIComponent(i);}return i;},al=function(l,i){if(i){return l.replace(cP,"&amp;").replace(be,"&lt;").replace(aX,"&gt;").replace(aL,"&quot;");}else{if(!ay.test(l)){return l;}if(l.indexOf("&")!=-1){l=l.replace(cP,"&amp;");
}if(l.indexOf("<")!=-1){l=l.replace(be,"&lt;");}if(l.indexOf(">")!=-1){l=l.replace(aX,"&gt;");}if(l.indexOf('"')!=-1){l=l.replace(aL,"&quot;");}return l;}},cP=/&/g,be=/</g,aX=/>/g,aL=/\"/g,ay=/[&<>\"]/,o=function(l,i){return l.indexOf(i)!=-1;},cY=function(B,A){for(var z=0,y=ah(String(B)).split("."),x=ah(String(A)).split("."),v=Math.max(y.length,x.length),u=0;
z==0&&u<v;u++){var t=y[u]||"",s=x[u]||"",m=new RegExp("(\\d*)(\\D*)","g"),q=new RegExp("(\\d*)(\\D*)","g");do{var l=m.exec(t)||["","",""],i=q.exec(s)||["","",""];if(l[0].length==0&&i[0].length==0){break;}var C=l[1].length==0?0:parseInt(l[1],10),n=i[1].length==0?0:parseInt(i[1],10);z=c9(C,n)||c9(l[2].length==0,i[2].length==0)||c9(l[2],i[2]);
}while(z==0);}return z;},c9=function(l,i){if(l<i){return -1;}else{if(l>i){return 1;}}return 0;};aA();var cz,cI,b2,bF,bu,bj,a3,aR,aE,ar,af=function(){return bS.navigator?bS.navigator.userAgent:bU;},e=function(){return bS.navigator;},c3=function(){bj=bu=bF=b2=cI=cz=bT;var l;if(l=af()){var i=e();cz=l.indexOf("Opera")==0;
cI=!cz&&l.indexOf("MSIE")!=-1;bF=(b2=!cz&&l.indexOf("WebKit")!=-1)&&l.indexOf("Mobile")!=-1;bj=(bu=!cz&&!b2&&i.product=="Gecko")&&i.vendor=="Camino";}};c3();var cN=cz,ci=cI,bR=bu,by=b2,bn=bF,a7=function(){var i=e();return i&&i.platform||"";},cF=a7(),cS=function(){a3=o(cF,"Mac");aR=o(cF,"Win");aE=o(cF,"Linux");
ar=!!e()&&o(e().appVersion||"","X11");};cS();var cu=a3,bX=ar,bA=function(){var l="",i;if(cN&&bS.opera){var n=bS.opera.version;l=typeof n=="function"?n():n;}else{if(bR){i=/rv\:([^\);]+)(\)|;)/;}else{if(ci){i=/MSIE\s+([^\);]+)(\)|;)/;}else{if(by){i=/WebKit\/(\S+)/;}}}if(i){var m=i.exec(af());l=m?m[1]:"";
}}return l;},bp=bA(),bf={},aY=function(i){return bf[i]||(bf[i]=cY(bp,i)>=0);};var az=function(l,i){bw(i,function(n,m){if(m=="style"){l.style.cssText=n;}else{if(m=="class"){l.className=n;}else{if(m=="for"){l.htmlFor=n;}else{if(m in aM){l.setAttribute(aM[m],n);}else{l[m]=n;}}}}});},aM={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},am=function(l){var i=l.document;
if(by&&!aY("500")&&!bn){if(typeof l.innerHeight=="undefined"){l=window;}var q=l.innerHeight,n=l.document.documentElement.scrollHeight;if(l==l.top){if(n<q){q-=15;}}return new cA(l.innerWidth,q);}var m=i.compatMode=="CSS1Compat"&&(!cN||cN&&aY("9.50"))?i.documentElement:i.body;return new cA(m.clientWidth,m.clientHeight);
},p=function(l){var i=!by&&l.compatMode=="CSS1Compat"?l.documentElement:l.body;return new bI(i.scrollLeft,i.scrollTop);},cZ=function(){return a(document,arguments);},a=function(v,u){var t=u[0],s=u[1];if(ci&&s&&(s.name||s.type)){var q=["<",t];s.name&&q.push(' name="',al(s.name),'"');if(s.type){q.push(' type="',al(s.type),'"');
s=aN(s);delete s.type;}q.push(">");t=q.join("");}var n=v.createElement(t);if(s){if(bM(s)){n.className=s;}else{az(n,s);}}if(u.length>2){function m(x){if(x){n.appendChild(bM(x)?v.createTextNode(x):x);}}for(var l=2;l<u.length;l++){var i=u[l];bN(i)&&!(bq(i)&&i.nodeType>0)?r(cJ(i)?c0(i):i,m):m(i);}}return n;
},cy=function(i){return document.createElement(i);},cx=function(l,i){l.appendChild(i);},b3=function(i){return i&&i.parentNode?i.parentNode.removeChild(i):bU;};by&&cY(bp,"521");var cJ=function(i){if(i&&typeof i.length=="number"){if(bq(i)){return typeof i.item=="function"||typeof i.item=="string";}else{if(bB(i)){return typeof i.item=="function";
}}}return bT;};if("StopIteration" in bS){var bG=bS.StopIteration;}else{bG=Error("StopIteration");}var bv=function(){};bv.prototype.next=function(){throw bG;};bv.prototype.__iterator__=function(){return this;};var bk=function(l){if(typeof l.r=="function"){return l.r();}if(bM(l)){return l.split("");}if(bN(l)){for(var i=[],n=l.length,m=0;
m<n;m++){i.push(l[m]);}return i;}return bl(l);},a4=function(l){if(typeof l.t=="function"){return l.t();}if(typeof l.r=="function"){return undefined;}if(bN(l)||bM(l)){for(var i=[],n=l.length,m=0;m<n;m++){i.push(m);}return i;}return a5(l);},aS=function(l,i,t){if(typeof l.forEach=="function"){l.forEach(i,t);
}else{if(bN(l)||bM(l)){r(l,i,t);}else{for(var s=a4(l),q=bk(l),n=q.length,m=0;m<n;m++){i.call(t,q[m],s&&s[m],l);}}}};var cv=function(l){this.m={};this.c=[];var i=arguments.length;if(i>1){if(i%2){throw Error("Uneven number of arguments");}for(var m=0;m<i;m+=2){this.set(arguments[m],arguments[m+1]);}}else{l&&this.pa(l);
}};cv.prototype.a=0;cv.prototype.S=0;cv.prototype.r=function(){this.J();for(var l=[],i=0;i<this.c.length;i++){var m=this.c[i];l.push(this.m[m]);}return l;};cv.prototype.t=function(){this.J();return this.c.concat();};cv.prototype.j=function(i){return ct(this.m,i);};cv.prototype.remove=function(i){if(ct(this.m,i)){delete this.m[i];
this.a--;this.S++;this.c.length>2*this.a&&this.J();return bV;}return bT;};cv.prototype.J=function(){if(this.a!=this.c.length){for(var l=0,i=0;l<this.c.length;){var n=this.c[l];if(ct(this.m,n)){this.c[i++]=n;}l++;}this.c.length=i;}if(this.a!=this.c.length){var m={};for(i=l=0;l<this.c.length;){n=this.c[l];
if(!ct(m,n)){this.c[i++]=n;m[n]=1;}l++;}this.c.length=i;}};cv.prototype.get=function(l,i){if(ct(this.m,l)){return this.m[l];}return i;};cv.prototype.set=function(l,i){if(!ct(this.m,l)){this.a++;this.c.push(l);this.S++;}this.m[l]=i;};cv.prototype.pa=function(l){var i,n;if(l instanceof cv){i=l.t();n=l.r();
}else{i=a5(l);n=bl(l);}for(var m=0;m<i.length;m++){this.set(i[m],n[m]);}};cv.prototype.clone=function(){return new cv(this);};cv.prototype.__iterator__=function(l){this.J();var i=0,t=this.c,s=this.m,q=this.S,n=this,m=new bv;m.next=function(){for(;1;){if(q!=n.S){throw Error("The map has changed since the iterator was created");
}if(i>=t.length){throw bG;}var u=t[i++];return l?u:s[u];}};return m;};var ct=function(l,i){return Object.prototype.hasOwnProperty.call(l,i);};var aF=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,at=function(i){return i.match(aF);};var cs=function(l,i){var m;
if(l instanceof cs){this.u(i==bU?l.g:i);this.Q(l.o);this.aa(l.I);this.N(l.s);this.P(l.n);this.O(l.C);this.$(l.h.clone());this.Z(l.A);}else{if(l&&(m=at(String(l)))){this.u(!!i);this.Q(m[1]||"",bV);this.aa(m[2]||"",bV);this.N(m[3]||"",bV);this.P(m[4]);this.O(m[5]||"",bV);this.Ea(m[6]||"",bV);this.Z(m[7]||"",bV);
}else{this.u(!!i);this.h=new cq(bU,this,this.g);}}};cs.prototype.o="";cs.prototype.I="";cs.prototype.s="";cs.prototype.n=bU;cs.prototype.C="";cs.prototype.A="";cs.prototype.xa=bT;cs.prototype.g=bT;cs.prototype.toString=function(){if(this.e){return this.e;}var l=[];this.o&&l.push(cp(this.o,ag),":");if(this.s){l.push("//");
this.I&&l.push(cp(this.I,ag),"@");l.push(f(this.s));this.n!=bU&&l.push(":",String(this.n));}this.C&&l.push(cp(this.C,c4));var i=String(this.h);i&&l.push("?",i);this.A&&l.push("#",cp(this.A,cO));return this.e=l.join("");};cs.prototype.clone=function(){return a9(this.o,this.I,this.s,this.n,this.C,this.h.clone(),this.A,this.g);
};cs.prototype.Q=function(l,i){this.k();delete this.e;if(this.o=i?l?decodeURIComponent(l):"":l){this.o=this.o.replace(/:$/,"");}return this;};cs.prototype.aa=function(l,i){this.k();delete this.e;this.I=i?l?decodeURIComponent(l):"":l;return this;};cs.prototype.N=function(l,i){this.k();delete this.e;this.s=i?l?decodeURIComponent(l):"":l;
return this;};cs.prototype.P=function(i){this.k();delete this.e;if(i){i=Number(i);if(isNaN(i)||i<0){throw Error("Bad port number "+i);}this.n=i;}else{this.n=bU;}return this;};cs.prototype.va=function(){return this.n!=bU;};cs.prototype.O=function(l,i){this.k();delete this.e;this.C=i?l?decodeURIComponent(l):"":l;
return this;};cs.prototype.$=function(l,i){this.k();delete this.e;if(l instanceof cq){this.h=l;this.h.R=this;this.h.u(this.g);}else{i||(l=cp(l,aV));this.h=new cq(l,this,this.g);}return this;};cs.prototype.Ea=function(l,i){return this.$(l,i);};cs.prototype.G=function(l,i){this.k();delete this.e;this.h.set(l,i);
return this;};cs.prototype.ma=function(l,i){this.k();delete this.e;bO(i)||(i=[String(i)]);this.h.Fa(l,i);return this;};cs.prototype.Z=function(l,i){this.k();delete this.e;this.A=i?l?decodeURIComponent(l):"":l;return this;};cs.prototype.k=function(){if(this.xa){throw Error("Tried to modify a read-only Uri");
}};cs.prototype.u=function(i){this.g=i;this.h&&this.h.u(i);};var a9=function(v,u,t,s,q,n,m,l){var i=new cs(bU,l);v&&i.Q(v);u&&i.aa(u);t&&i.N(t);s&&i.P(s);q&&i.O(q);n&&i.$(n);m&&i.Z(m);return i;},f=function(i){if(bM(i)){return encodeURIComponent(i);}return bU;},aJ=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,cp=function(l,i){var m=bU;
if(bM(l)){m=l;aJ.test(m)||(m=encodeURI(l));if(m.search(i)>=0){m=m.replace(i,aw);}}return m;},aw=function(l){var i=l.charCodeAt(0);return"%"+(i>>4&15).toString(16)+(i&15).toString(16);},ag=/[#\/\?@]/g,c4=/[\#\?]/g,aV=/[\#\?@]/g,cO=/#/g,cq=function(l,i,m){this.p=l||bU;this.R=i||bU;this.g=!!m;};cq.prototype.l=function(){if(!this.b){this.b=new cv;
if(this.p){for(var l=this.p.split("&"),i=0;i<l.length;i++){var q=l[i].indexOf("="),n=bU,m=bU;if(q>=0){n=l[i].substring(0,q);m=l[i].substring(q+1);}else{n=l[i];}n=decodeURIComponent(n.replace(/\+/g," "));n=this.q(n);this.add(n,m?decodeURIComponent(m.replace(/\+/g," ")):"");}}}};cq.prototype.b=bU;cq.prototype.a=bU;
cq.prototype.add=function(l,i){this.l();this.B();l=this.q(l);if(this.j(l)){var m=this.b.get(l);bO(m)?m.push(i):this.b.set(l,[m,i]);}else{this.b.set(l,i);}this.a++;return this;};cq.prototype.remove=function(l){this.l();l=this.q(l);if(this.b.j(l)){this.B();var i=this.b.get(l);if(bO(i)){this.a-=i.length;
}else{this.a--;}return this.b.remove(l);}return bT;};cq.prototype.j=function(i){this.l();i=this.q(i);return this.b.j(i);};cq.prototype.t=function(){this.l();for(var l=this.b.r(),i=this.b.t(),s=[],q=0;q<i.length;q++){var n=l[q];if(bO(n)){for(var m=0;m<n.length;m++){s.push(i[q]);}}else{s.push(i[q]);}}return s;
};cq.prototype.r=function(l){this.l();var i;if(l){var t=this.q(l);if(this.j(t)){var s=this.b.get(t);if(bO(s)){return s;}else{i=[];i.push(s);}}else{i=[];}}else{var q=this.b.r();i=[];for(var n=0;n<q.length;n++){var m=q[n];bO(m)?b4(i,m):i.push(m);}}return i;};cq.prototype.set=function(l,i){this.l();this.B();
l=this.q(l);if(this.j(l)){var m=this.b.get(l);if(bO(m)){this.a-=m.length;}else{this.a--;}}this.b.set(l,i);this.a++;return this;};cq.prototype.get=function(l,i){this.l();l=this.q(l);if(this.j(l)){var m=this.b.get(l);return bO(m)?m[0]:m;}else{return i;}};cq.prototype.Fa=function(l,i){this.l();this.B();
l=this.q(l);if(this.j(l)){var m=this.b.get(l);if(bO(m)){this.a-=m.length;}else{this.a--;}}if(i.length>0){this.b.set(l,i);this.a+=i.length;}};cq.prototype.toString=function(){if(this.p){return this.p;}if(!this.b){return"";}for(var l=[],i=0,u=this.b.t(),t=0;t<u.length;t++){var s=u[t],q=c5(s),n=this.b.get(s);
if(bO(n)){for(var m=0;m<n.length;m++){i>0&&l.push("&");l.push(q,"=",c5(n[m]));i++;}}else{i>0&&l.push("&");l.push(q,"=",c5(n));i++;}}return this.p=l.join("");};cq.prototype.B=function(){delete this.ea;delete this.p;this.R&&delete this.R.e;};cq.prototype.clone=function(){var i=new cq;if(this.ea){i.ea=this.ea;
}if(this.p){i.p=this.p;}if(this.b){i.b=this.b.clone();}return i;};cq.prototype.q=function(l){var i=String(l);if(this.g){i=i.toLowerCase();}return i;};cq.prototype.u=function(l){var i=l&&!this.g;if(i){this.l();this.B();aS(this.b,function(q,n){var m=n.toLowerCase();if(n!=m){this.remove(n);this.add(m,q);
}},this);}this.g=l;};var c7=function(l,i){l=new cs(l);var n="__GBS_Callback"+aj++;l.G("callback",n);var m=cZ("script",{src:l.toString(),type:"text/javascript"});bS[n]=bH(j,n,m,i);cx(document.body,m);},j=function(l,i,m){b3(i);m();},aj=0;var co=function(){};co.prototype.ga=bT;co.prototype.dispose=function(){if(!this.ga){this.ga=bV;
this.d();}};co.prototype.d=function(){};var cn=function(l,i){co.call(this);this.za=i;this.v=[];this.qa(l);};cB(cn,co);cn.prototype.U=bU;cn.prototype.V=bU;cn.prototype.F=function(i){this.U=i;};cn.prototype.la=function(i){this.V=i;};cn.prototype.f=function(){if(this.v.length){return this.v.pop();}return this.ca();
};cn.prototype.z=function(i){this.v.length<this.za?this.v.push(i):this.fa(i);};cn.prototype.qa=function(l){if(l>this.za){throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");}for(var i=0;i<l;i++){this.v.push(this.ca());}};cn.prototype.ca=function(){return this.U?this.U():{};};cn.prototype.fa=function(l){if(this.V){this.V(l);
}else{if(bB(l.dispose)){l.dispose();}else{for(var i in l){delete l[i];}}}};cn.prototype.d=function(){cn.ba.d.call(this);for(var i=this.v;i.length;){this.fa(i.pop());}delete this.v;};var cm=function(l,i){this.type=l;this.currentTarget=this.target=i;};cB(cm,co);cm.prototype.d=function(){delete this.type;
delete this.target;delete this.currentTarget;};cm.prototype.w=bT;cm.prototype.L=bV;var cl=function(l,i){l&&this.init(l,i);};cB(cl,cm);cl.prototype.type=bU;cl.prototype.target=bU;cl.prototype.relatedTarget=bU;cl.prototype.offsetX=0;cl.prototype.offsetY=0;cl.prototype.clientX=0;cl.prototype.clientY=0;cl.prototype.screenX=0;
cl.prototype.screenY=0;cl.prototype.button=0;cl.prototype.keyCode=0;cl.prototype.charCode=0;cl.prototype.ctrlKey=bT;cl.prototype.altKey=bT;cl.prototype.shiftKey=bT;cl.prototype.metaKey=bT;cl.prototype.ha=bU;cl.prototype.init=function(l,i){this.type=l.type;this.target=l.target||l.srcElement;this.currentTarget=i;
this.relatedTarget=l.relatedTarget?l.relatedTarget:this.type=="mouseover"?l.fromElement:this.type=="mouseout"?l.toElement:bU;this.offsetX=typeof l.layerX=="number"?l.layerX:l.offsetX;this.offsetY=typeof l.layerY=="number"?l.layerY:l.offsetY;this.clientX=typeof l.clientX=="number"?l.clientX:l.pageX;this.clientY=typeof l.clientY=="number"?l.clientY:l.pageY;
this.screenX=l.screenX||0;this.screenY=l.screenY||0;this.button=l.button;this.keyCode=l.keyCode||0;this.charCode=l.charCode||(this.type=="keypress"?l.keyCode:0);this.ctrlKey=l.ctrlKey;this.altKey=l.altKey;this.shiftKey=l.shiftKey;this.metaKey=l.metaKey;this.ha=l;delete this.L;delete this.w;};cl.prototype.d=function(){cl.ba.d.call(this);
this.ha=bU;};var ck=function(){},cW=0;ck.prototype.X=bU;ck.prototype.listener=bU;ck.prototype.proxy=bU;ck.prototype.src=bU;ck.prototype.type=bU;ck.prototype.capture=bU;ck.prototype.handler=bU;ck.prototype.key=0;ck.prototype.removed=bT;ck.prototype.T=bT;ck.prototype.init=function(l,i,s,q,n,m){if(bB(l)){this.X=bV;
}else{if(l&&l.handleEvent&&bB(l.handleEvent)){this.X=bT;}else{throw Error("Invalid listener argument");}}this.listener=l;this.proxy=i;this.src=s;this.type=q;this.capture=!!n;this.handler=m;this.T=bT;this.key=++cW;this.removed=bT;};ck.prototype.handleEvent=function(i){if(this.X){return this.listener.call(this.handler||this.src,i);
}return this.listener.handleEvent.call(this.listener,i);};var cj={},ch={},cf={},ce=new cn(0,600);ce.F(function(){return{a:0,i:0};});ce.la(function(i){i.a=0;});var cd=new cn(0,600);cd.F(function(){return[];});cd.la(function(i){i.length=0;delete i.K;delete i.ja;});var cG=new cn(0,600);cG.F(function(){var i=function(l){return b0.call(i.src,i.key,l);
};return i;});var bD=function(){return new ck;},bs=new cn(0,600);bs.F(bD);var bh=function(){return new cl;},a1=function(){var i=bU;if(ci){i=new cn(0,600);i.F(bh);}return i;},aP=a1(),aC="on",ap={},b9=function(A,z,y,x,v){if(z){if(bO(z)){for(var u=0;u<z.length;u++){b9(A,z[u],y,x,v);}return bU;}else{var t=!!x,s=ch;
z in s||(s[z]=ce.f());s=s[z];if(!(t in s)){s[t]=ce.f();s.a++;}s=s[t];var q=bK(A),m,n;s.i++;if(s[q]){m=s[q];for(u=0;u<m.length;u++){n=m[u];if(n.listener==y&&n.handler==v){if(n.removed){break;}return m[u].key;}}}else{m=s[q]=cd.f();s.a++;}var l=cG.f();l.src=A;n=bs.f();n.init(y,l,A,z,t,v);var i=n.key;l.key=i;
m.push(n);cj[i]=n;cf[q]||(cf[q]=cd.f());cf[q].push(n);if(A.addEventListener){if(A==bS||!A.da){A.addEventListener(z,l,t);}}else{A.attachEvent(ad(z),l);}return i;}}else{throw Error("Invalid event type");}},c=function(l,i,u,t,s){if(bO(i)){for(var q=0;q<i.length;q++){c(l,i[q],u,t,s);}return bU;}var n=b9(l,i,u,t,s),m=cj[n];
m.T=bV;return n;},c1=function(l,i,u,t,s){if(bO(i)){for(var q=0;q<i.length;q++){c1(l,i[q],u,t,s);}return bU;}var n=!!t,m=cL(l,i,n);if(!m){return bT;}for(q=0;q<m.length;q++){if(m[q].listener==u&&m[q].capture==n&&m[q].handler==s){return cg(m[q].key);}}return bT;},cg=function(v){if(!cj[v]){return bT;}var u=cj[v];
if(u.removed){return bT;}var t=u.src,s=u.type,q=u.proxy,n=u.capture;if(t.removeEventListener){if(t==bS||!t.da){t.removeEventListener(s,q,n);}}else{t.detachEvent&&t.detachEvent(ad(s),q);}var m=bK(t),l=ch[s][n][m];if(cf[m]){var i=cf[m];b(i,u);i.length==0&&delete cf[m];}u.removed=bV;l.ja=bV;bP(s,n,m,l);
delete cj[v];return bV;},bP=function(l,i,s,q){if(!q.K){if(q.ja){for(var n=0,m=0;n<q.length;n++){if(q[n].removed){bs.z(q[n]);}else{if(n!=m){q[m]=q[n];}m++;}}q.length=m;q.ja=bT;if(m==0){cd.z(q);delete ch[l][i][s];ch[l][i].a--;if(ch[l][i].a==0){ce.z(ch[l][i]);delete ch[l][i];ch[l].a--;}if(ch[l].a==0){ce.z(ch[l]);
delete ch[l];}}}}},bx=function(y,x,v){var u=0,t=y==bU,s=x==bU,q=v==bU;v=!!v;if(t){bw(cf,function(B){for(var A=B.length-1;A>=0;A--){var z=B[A];if((s||x==z.type)&&(q||v==z.capture)){cg(z.key);u++;}}});}else{var n=bK(y);if(cf[n]){for(var m=cf[n],i=m.length-1;i>=0;i--){var l=m[i];if((s||x==l.type)&&(q||v==l.capture)){cg(l.key);
u++;}}}}return u;},cL=function(l,i,q){var n=ch;if(i in n){n=n[i];if(q in n){n=n[q];var m=bK(l);if(n[m]){return n[m];}}}return bU;},ad=function(i){if(i in ap){return ap[i];}return ap[i]=aC+i;},b8=function(y,x,v,u,t){var s=1,q=bK(x);if(y[q]){y.i--;var n=y[q];if(n.K){n.K++;}else{n.K=1;}try{for(var m=n.length,i=0;
i<m;i++){var l=n[i];if(l&&!l.removed){s&=bm(l,t)!==bT;}}}finally{n.K--;bP(v,u,q,n);}}return Boolean(s);},bm=function(l,i){var m=l.handleEvent(i);l.T&&cg(l.key);return m;},a6=function(A,z){if(bM(z)){z=new cm(z,A);}else{if(z instanceof cm){z.target=z.target||A;}else{var y=z;z=new cm(z.type,A);aG(z,y);}}var x=1,v,u=z.type,t=ch;
if(!(u in t)){return bV;}t=t[u];var s=bV in t,q;if(s){v=[];for(var m=A;m;m=m.Y){v.push(m);}q=t[bV];q.i=q.a;for(var n=v.length-1;!z.w&&n>=0&&q.i;n--){z.currentTarget=v[n];x&=b8(q,v[n],z.type,bV,z)&&z.L!=bT;}}var l=bT in t;if(l){q=t[bT];q.i=q.a;if(s){for(n=0;!z.w&&n<v.length&&q.i;n++){z.currentTarget=v[n];
x&=b8(q,v[n],z.type,bT,z)&&z.L!=bT;}}else{for(var i=A;!z.w&&i&&q.i;i=i.Y){z.currentTarget=i;x&=b8(q,i,z.type,bT,z)&&z.L!=bT;}}}return Boolean(x);},b0=function(B,A){if(!cj[B]){return bV;}var z=cj[B],y=z.type,x=ch;if(!(y in x)){return bV;}x=x[y];var v,u;if(ci){var t=A||cw("window.event"),s=bV in x,m=bT in x;
if(s){if(t.keyCode<0||t.returnValue!=undefined){return bV;}cD(t);}var q=aP.f();q.init(t,this);v=bV;try{if(s){for(var l=cd.f(),i=q.currentTarget;i;i=i.parentNode){l.push(i);}u=x[bV];u.i=u.a;for(var C=l.length-1;!q.w&&C>=0&&u.i;C--){q.currentTarget=l[C];v&=b8(u,l[C],y,bV,q);}if(m){u=x[bT];u.i=u.a;for(C=0;
!q.w&&C<l.length&&u.i;C++){q.currentTarget=l[C];v&=b8(u,l[C],y,bT,q);}}}else{v=bm(z,q);}}finally{if(l){l.length=0;cd.z(l);}q.dispose();aP.z(q);}return v;}var n=new cl(A,this);try{v=bm(z,n);}finally{n.dispose();}return v;},cD=function(l){var i=bT;if(l.keyCode==0){try{l.keyCode=-1;return;}catch(m){i=bV;
}}if(i||l.returnValue==undefined){l.returnValue=bV;}};var cR,cr,bW,bz,bo,bd,aW=function(){bd=bo=bz=bW=cr=cR=bT;var i=af();if(i){if(i.indexOf("Firefox")!=-1){cR=bV;}else{if(i.indexOf("Camino")!=-1){cr=bV;}else{if(i.indexOf("iPhone")!=-1||i.indexOf("iPod")!=-1){bW=bV;}else{if(i.indexOf("Android")!=-1){bz=bV;
}else{if(i.indexOf("Chrome")!=-1){bo=bV;}else{if(i.indexOf("Safari")!=-1){bd=bV;}}}}}}}};aW();var b7=function(l,i,m){bM(i)?aK(l,m,i):bw(i,bH(aK,l));},aK=function(l,i,m){l.style[ax(m)]=i;},ak=function(l,i,s){var q,n,m=bR&&(cu||bX)&&aY("1.9");if(i instanceof bI){q=i.x;n=i.y;}else{q=i;n=s;}l.style.left=typeof q=="number"?(m?Math.round(q):q)+"px":q;
l.style.top=typeof n=="number"?(m?Math.round(n):n)+"px":n;},k=function(l,i,n){var m;if(i instanceof cA){m=i.height;i=i.width;}else{if(n==undefined){throw Error("missing height argument");}m=n;}l.style.width=typeof i=="number"?Math.round(i)+"px":i;l.style.height=typeof m=="number"?Math.round(m)+"px":m;
},c8={},ax=function(i){return c8[i]||(c8[i]=String(i).replace(/\-([a-z])/g,function(l,m){return m.toUpperCase();}));},cX=function(l,i){var m=l.style;if("opacity" in m){m.opacity=i;}else{if("MozOpacity" in m){m.MozOpacity=i;}else{if("filter" in m){m.filter=i===""?"":"alpha(opacity="+i*100+")";}}}};bR&&aY("1.9");
var cH=function(l,i){this.Na=i||"en";};cH.prototype.ia=function(){var i=cy("img");i.src=au("http://books.google.com/intl/%s/googlebooks/images/gbs_preview_button1.gif",this.Na);i.border=0;b7(i,"cursor","pointer");return i;};var b1=function(l,i,n){cH.call(this,l,n);var m=cy("a");m.href=i;cx(l,m);cx(m,this.ia());
};cB(b1,cH);var bE=function(l,i,m){cH.call(this,l,m);cx(l,this.ia());b7(l,"cursor","pointer");b9(l,"click",i);};cB(bE,cH);var bt=function(l,i){this.ra();var m=new google.books.DefaultViewer(this.oa,i);m.load(l);this.Ba();};bt.prototype.ra=function(){var l=document.getElementsByTagName("body")[0],i=cy("div");
cX(i,0.5);b7(i,{backgroundColor:"#333",position:"absolute",zIndex:200});this.Ha=i;var u=am(window),t=l.scrollWidth,s=Math.max(l.scrollHeight,u.height);k(i,t,s);ak(i,0,0);cx(l,i);this.M=cy("div");b7(this.M,{position:"absolute",zIndex:201});cx(l,this.M);this.H=cy("div");k(this.H,618,500);b7(this.H,{backgroundColor:"#333",position:"absolute",zIndex:202});
ak(this.H,3,3);cX(this.H,0.3);cx(this.M,this.H);this.D=cy("div");ak(this.D,0,0);b7(this.D,{position:"absolute",padding:"8px",border:"1px solid #2c4462",backgroundColor:"#b4cffe",zIndex:203});var q=cy("div");b7(q,{backgroundColor:"#d8e8fd",fontSize:"16px",fontFamily:"Arial, sans-serif",fontWeight:"bold",padding:"2px 2px 2px 5px"});
cx(this.D,q);var n=cy("img");n.src="http://books.google.com/googlebooks/images/dialog_close_x.gif";n.width=15;n.height=15;b7(n,{cursor:"pointer",position:"absolute",right:"11px",top:"11px"});c(n,"click",bJ(this.close,this));cx(q,n);var m=cy("div");m.innerHTML="&nbsp;";cx(q,m);this.oa=cy("div");cx(this.D,this.oa);
k(this.oa,600,456);cx(this.M,this.D);};bt.prototype.Ba=function(){var l=am(window),i=Math.max(0,(l.height-500)/2);i=Math.floor(i+p(document).y);var m=Math.max(0,(l.width-618)/2);m=Math.floor(m);ak(this.M,m,i);};bt.prototype.close=function(){r([this.D,this.Ha,this.H],b3);};var bi=function(l,i){this.R=new cs(l);
this.La=i?i:"callback";this.na=5000;},a2=0;bi.prototype.send=function(x,v,u,t){if(!document.documentElement.firstChild){u&&u(x);return bU;}var s=t||"_"+(a2++).toString(36)+aA().toString(36);bS._callbacks_||(bS._callbacks_={});var q=cy("script"),n=bU;if(this.na>0){var m=aQ(s,q,x,u);n=bS.setTimeout(m,this.na);
}var l=this.R.clone();aD(x,l);if(v){var i=aq(s,q,v,n);bS._callbacks_[s]=i;l.ma(this.La,"_callbacks_."+s);}az(q,{type:"text/javascript",id:s,charset:"UTF-8",src:l.toString()});cx(document.getElementsByTagName("head")[0],q);return{Oa:s,na:n};};var aQ=function(l,i,n,m){return function(){ae(l,i,bT);m&&m(n);
};},aq=function(l,i,n,m){return function(){bS.clearTimeout(m);ae(l,i,bV);n.apply(undefined,arguments);};},ae=function(l,i,m){bS.setTimeout(function(){b3(i);},0);if(bS._callbacks_[l]){if(m){delete bS._callbacks_[l];}else{bS._callbacks_[l]=bY;}}},aD=function(l,i){for(var m in l){if(!l.hasOwnProperty||l.hasOwnProperty(m)){i.ma(m,l[m]);
}}return i;};var b6=function(){};cB(b6,co);b6.prototype.da=bV;b6.prototype.Y=bU;b6.prototype.addEventListener=function(l,i,n,m){b9(this,l,i,n,m);};b6.prototype.removeEventListener=function(l,i,n,m){c1(this,l,i,n,m);};b6.prototype.dispatchEvent=function(i){return a6(this,i);};b6.prototype.d=function(){b6.ba.d.call(this);
bx(this);this.Y=bU;};var b5=function(i){b6.call(this);this.url=i;this.Ca=bU;this.ya=bV;};cB(b5,b6);b5.prototype.fetch=function(){if(this.ya){this.ya=bT;}else{throw {};}};b5.prototype.Da=function(i){this.Ca=i;};b5.prototype.f=function(){return this.Ca;};var cU=function(i){b5.call(this,i);this.Ma=new bi(i);
this.W=bV;};cB(cU,b5);cU.prototype.fetch=function(l,i){cU.ba.fetch.call(this,l,i);this.W=bT;this.Ma.send({},bJ(this.ua,this,l),bJ(this.ta,this,i));};cU.prototype.ua=function(l,i){if(!this.W){this.Da(i);this.dispatchEvent("success");l&&l(this.f());this.ka();}};cU.prototype.ta=function(i){if(!this.W){this.dispatchEvent("error");
i&&i();this.ka();}};cU.prototype.ka=function(){this.W=bV;};var c2=function(l,i,s,q){bO(l)||(l=[l]);this.wa=l;this.Ga=i;this.Aa=s;var n=new cs(d);n.G("bibkeys",l.join(","));n.G("hl",aI);n.G("source",q||"previewlib");var m=new cU(n);m.fetch(bJ(this.sa,this));},d=(cQ||"http://books.google.com/")+"books?jscmd=viewapi";
c2.prototype.sa=function(l){for(var i=0;i<this.wa.length;i++){var q=this.wa[i],n=l[q];if(n){var m=n.preview_url;if(m&&cM(n)){this.Ga&&this.Ga(m);return;}}}this.Aa&&this.Aa();};var cM=function(l){var i=l.preview,m=l.embeddable;m!==undefined||(m=bV);return(i=="full"||i=="partial")&&m;};var aH=function(l,i){var q=i||{},n=q.alternativeUrl,m=bH(a8,n);
aU(l,m,"GBS_insertPreviewButtonLink");};cC("GBS_insertPreviewButtonLink",aH);var ai=function(i){aU(i,av,"GBS_insertPreviewButtonPopup");};cC("GBS_insertPreviewButtonPopup",ai);var c6=function(l,i,m){aU(l,bH(h,i,m),"GBS_insertEmbeddedViewer");};cC("GBS_insertEmbeddedViewer",c6);var aU=function(l,i,q){var n=cV(),m=function(s){i(n,s);
};new c2(l,m,bU,q);},a8=function(l,i,n){var m=cE(l,n);new b1(i,m,bZ);},cE=function(l,i){if(l){return l;}var n=new cs(i);if(bC){var m=new cs(cQ);n.Q(m.o);n.N(m.s);n.P(m.n);n.O("/books/p/"+bC);}n.G("hl",bZ||"en");return n.toString();},av=function(l,i){var m=br.partial(i);new bE(l,m,bZ);},h=function(l,i,q,n){var m=cy("div");
cx(q,m);k(m,l,i);bg(function(){var s=new google.books.DefaultViewer(m,a0);s.load(n);});},bg=function(l){var i=bH(bg,l);if(bS.google&&bS.google.load){if(google.books){l();}else{var q={callback:i,language:bZ};if(cQ!==undefined&&cQ.indexOf("http://books")==-1){var n=new cs(cQ),m=n.s;if(n.va()){m+=":"+n.n;
}q.other_params="host="+m;}google.load("books","0",q);}}else{c7("http://www.google.com/jsapi",bH(bg,i));}},br=function(i){bg(function(){new bt(i,a0);});},bZ="en",aO=function(i){bZ=i;};cC("GBS_setLanguage",aO);var aB=function(i){a0=i;};cC("GBS_setViewerOptions",aB);var bC=bU,ao=function(i){bC=i;};cC("GBS_setCobrandName",ao);
var a0={},cV=function(){var i="__GBS_Button"+w++;document.write(au('<span id="%s"></span>',i));return bM(i)?document.getElementById(i):i;},w=0;b9(window,"unload",function(){bx();});})();