You are on page 1of 8

(function(){var GBS_HOST = "http://books.google.

com/";var k,l=this;function m(a)


{return void 0!==a}function p(){}
function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"
array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);i
f("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a
.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerabl
e&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"u
ndefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propert
yIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}functi
on q(a){return"array"==aa(a)}function ba(a){var b=aa(a);return"array"==b||"objec
t"==b&&"number"==typeof a.length}function r(a){return"string"==typeof a}function
t(a){return"function"==aa(a)}function ca(a){var b=typeof a;return"object"==b&&n
ull!=a||"function"==b}Math.random();function da(a,b,c){return a.call.apply(a.bin
d,arguments)}
function ea(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.protot
ype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(a
rguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return functio
n(){return a.apply(b,arguments)}}function u(a,b,c){u=Function.prototype.bind&&-1
!=Function.prototype.bind.toString().indexOf("native code")?da:ea;return u.apply
(null,arguments)}
function fa(a,b){var c=Array.prototype.slice.call(arguments,1);return function()
{var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}var ha=Date.n
ow||function(){return+new Date};function v(a,b){var c=a.split("."),d=l;c[0]in d|
|!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.
length&&m(b)?d[e]=b:d[e]?d=d[e]:d=d[e]={}}
function w(a,b){function c(){}c.prototype=b.prototype;a.O=b.prototype;a.prototyp
e=new c;a.T=function(a,c,f){for(var g=Array(arguments.length-2),h=2;h<arguments.
length;h++)g[h-2]=arguments[h];return b.prototype[c].apply(a,g)}};function x(a){
if(Error.captureStackTrace)Error.captureStackTrace(this,x);else{var b=Error().st
ack;b&&(this.stack=b)}a&&(this.message=String(a))}w(x,Error);x.prototype.name="C
ustomError";function ia(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slic
e.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join
("%s")}var ja=String.prototype.trim?function(a){return a.trim()}:function(a){ret
urn a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
function ka(a){if(!la.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ma,"&amp
;"));-1!=a.indexOf("<")&&(a=a.replace(na,"&lt;"));-1!=a.indexOf(">")&&(a=a.repla
ce(oa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(pa,"&quot;"));-1!=a.indexOf("'")
&&(a=a.replace(qa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(ra,"&#0;"));retu
rn a}var ma=/&/g,na=/</g,oa=/>/g,pa=/"/g,qa=/'/g,ra=/\x00/g,la=/[\x00&<>"']/;fun
ction sa(a,b){return a<b?-1:a>b?1:0}Math.random();
function ta(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUp
perCase()})}function ua(a){var b=r(void 0)?"undefined".replace(/([-()\[\]{}+?*.$
\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegEx
p("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase
()})};var y=Array.prototype,va=y.indexOf?function(a,b,c){return y.indexOf.call(a
,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(r(a))return r
(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)retur
n c;return-1},wa=y.forEach?function(a,b,c){y.forEach.call(a,b,c)}:function(a,b,c
){for(var d=a.length,e=r(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)
},xa=y.some?function(a,b,c){return y.some.call(a,b,c)}:function(a,b,c){for(var d
=a.length,e=r(a)?a.split(""):
a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};function ya(a){re
turn y.concat.apply(y,arguments)}function za(a){var b=a.length;if(0<b){for(var c
=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};function Aa(a,b){for(var c in
a)b.call(void 0,a[c],c,a)}var Ba="constructor hasOwnProperty isPrototypeOf prop
ertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ca(a,b){fo
r(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(va
r f=0;f<Ba.length;f++)c=Ba[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d
[c])}}

function Da(a){var b=arguments.length;if(1==b&&q(arguments[0]))return Da.apply(n


ull,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};Da("area
base br col command embed hr img input keygen link meta param source track wbr"
.split(" "));function z(a,b){this.x=m(a)?a:0;this.y=m(b)?b:0}z.prototype.clone=f
unction(){return new z(this.x,this.y)};z.prototype.floor=function(){this.x=Math.
floor(this.x);this.y=Math.floor(this.y);return this};z.prototype.round=function(
){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function A(a,
b){this.width=a;this.height=b}A.prototype.clone=function(){return new A(this.wid
th,this.height)};A.prototype.floor=function(){this.width=Math.floor(this.width);
this.height=Math.floor(this.height);return this};A.prototype.round=function(){th
is.width=Math.round(this.width);this.height=Math.round(this.height);return this}
;var B;a:{var Ea=l.navigator;if(Ea){var Fa=Ea.userAgent;if(Fa){B=Fa;break a}}B="
"};function Ga(){return-1!=B.indexOf("Edge")||-1!=B.indexOf("Trident")||-1!=B.in
dexOf("MSIE")};function C(){return-1!=B.indexOf("Edge")};var Ha=-1!=B.indexOf("O
pera")||-1!=B.indexOf("OPR"),D=Ga(),E=-1!=B.indexOf("Gecko")&&!(-1!=B.toLowerCas
e().indexOf("webkit")&&!C())&&!(-1!=B.indexOf("Trident")||-1!=B.indexOf("MSIE"))
&&!C(),F=-1!=B.toLowerCase().indexOf("webkit")&&!C();function Ia(){var a=B;if(E)
return/rv\:([^\);]+)(\)|;)/.exec(a);if(D&&C())return/Edge\/([\d\.]+)/.exec(a);if
(D)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(F)return/WebKit\/(\S+)/.e
xec(a)}function Ja(){var a=l.document;return a?a.documentMode:void 0}
var Ka=function(){if(Ha&&l.opera){var a=l.opera.version;return t(a)?a():a}var a=
"",b=Ia();b&&(a=b?b[1]:"");return D&&!C()&&(b=Ja(),b>parseFloat(a))?String(b):a}
(),La={};
function G(a){var b;if(!(b=La[a])){b=0;for(var c=ja(String(Ka)).split("."),d=ja(
String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f
]||"",h=d[f]||"",n=RegExp("(\\d*)(\\D*)","g"),U=RegExp("(\\d*)(\\D*)","g");do{va
r V=n.exec(g)||["","",""],W=U.exec(h)||["","",""];if(0==V[0].length&&0==W[0].len
gth)break;b=sa(0==V[1].length?0:parseInt(V[1],10),0==W[1].length?0:parseInt(W[1]
,10))||sa(0==V[2].length,0==W[2].length)||sa(V[2],W[2])}while(0==b)}b=La[a]=0<=b
}return b}
var Ma=l.document,Na=Ja(),Oa=!Ma||!D||!Na&&C()?void 0:Na||("CSS1Compat"==Ma.comp
atMode?parseInt(Ka,10):5);var Pa=!D||D&&(C()||9<=Oa);!E&&!D||D&&D&&(C()||9<=Oa)|
|E&&G("1.9.1");D&&G("9");function Qa(a,b){Aa(b,function(b,d){"style"==d?a.style.
cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Ra?a.setAttribute(R
a[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(
d,b):a[d]=b})}var Ra={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspa
n:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role
:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"wid
th"};
function Sa(){var a=window.document,a="CSS1Compat"==a.compatMode?a.documentEleme
nt:a.body;return new A(a.clientWidth,a.clientHeight)}function Ta(){var a=documen
t,b=F||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement,a=
a.parentWindow||a.defaultView;return D&&G("10")&&a.pageYOffset!=b.scrollTop?new
z(b.scrollLeft,b.scrollTop):new z(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.s
crollTop)}
function Ua(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Pa&&g&&(g.name||
g.type)){f=["<",f];g.name&&f.push(' name="',ka(g.name),'"');if(g.type){f.push('
type="',ka(g.type),'"');var h={};Ca(h,g);delete h.type;g=h}f.push(">");f=f.join(
"")}f=e.createElement(f);g&&(r(g)?f.className=g:q(g)?f.className=g.join(" "):Qa(
f,g));2<d.length&&Va(e,f,d);return f}
function Va(a,b,c){function d(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}fo
r(var e=2;e<c.length;e++){var f=c[e];!ba(f)||ca(f)&&0<f.nodeType?d(f):wa(Wa(f)?z
a(f):f,d)}}function H(a){return document.createElement(a)}function Xa(a){return
a&&a.parentNode?a.parentNode.removeChild(a):null}function Wa(a){if(a&&"number"==
typeof a.length){if(ca(a))return"function"==typeof a.item||"string"==typeof a.it
em;if(t(a))return"function"==typeof a.item}return!1};function Ya(){}
function Za(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(q(b)
){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Za(a,d[f],c)
,e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanc
eof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasO

wnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),$a(d,c),c.push(":
"),Za(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":$a(b,c);
break;case "number":c.push(isFinite(b)&&
!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "function":break;d
efault:throw Error("Unknown type: "+typeof b);}}}var ab={'"':'\\"',"\\":"\\\\","
/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"
},bb=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\
xff]/g;function $a(a,b){b.push('"',a.replace(bb,function(a){var b=ab[a];b||(b="\
\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),ab[a]=b);return b}),'"')};fun
ction I(a,b,c){if(r(b))(b=cb(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var
e=b[d],f=cb(c,d);f&&(c.style[f]=e)}}var db={};function cb(a,b){var c=db[b];if(!c
){var d=ta(b),c=d;void 0===a.style[d]&&(d=(F?"Webkit":E?"Moz":D?"ms":Ha?"O":null
)+ua(d),void 0!==a.style[d]&&(c=d));db[b]=c}return c}function eb(a,b,c){var d;b
instanceof z?(d=b.x,b=b.y):(d=b,b=c);a.style.left=fb(d,!1);a.style.top=fb(b,!1)}
function gb(a,b,c){if(b instanceof A)c=b.height,b=b.width;else if(void 0==c)thro
w Error("missing height argument");a.style.width=fb(b,!0);a.style.height=fb(c,!0
)}function fb(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}fun
ction hb(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpac
ity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*b+")")};var ib="Sto
pIteration"in l?l.StopIteration:{message:"StopIteration",stack:""};function jb()
{}jb.prototype.next=function(){throw ib;};jb.prototype.R=function(){return this}
;function kb(a,b){this.b={};this.a=[];this.i=this.g=0;var c=arguments.length;if(
1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.
set(arguments[d],arguments[d+1])}else if(a){var e;if(a instanceof kb)e=a.D(),d=a
.B();else{var c=[],f=0;for(e in a)c[f++]=e;e=c;c=[];f=0;for(d in a)c[f++]=a[d];d
=c}for(c=0;c<e.length;c++)this.set(e[c],d[c])}}k=kb.prototype;k.B=function(){lb(
this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.b[this.a[b]]);return a};
k.D=function(){lb(this);return this.a.concat()};k.remove=function(a){return J(th
is.b,a)?(delete this.b[a],this.g--,this.i++,this.a.length>2*this.g&&lb(this),!0)
:!1};function lb(a){if(a.g!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a
[b];J(a.b,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.g!=a.a.length){for(var e={},c=b
=0;b<a.a.length;)d=a.a[b],J(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}}k.get=fu
nction(a,b){return J(this.b,a)?this.b[a]:b};
k.set=function(a,b){J(this.b,a)||(this.g++,this.a.push(a),this.i++);this.b[a]=b}
;k.forEach=function(a,b){for(var c=this.D(),d=0;d<c.length;d++){var e=c[d],f=thi
s.get(e);a.call(b,f,e,this)}};k.clone=function(){return new kb(this)};k.R=functi
on(a){lb(this);var b=0,c=this.i,d=this,e=new jb;e.next=function(){if(c!=d.i)thro
w Error("The map has changed since the iterator was created");if(b>=d.a.length)t
hrow ib;var e=d.a[b++];return a?e:d.b[e]};return e};
function J(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var mb=/^(?:([
^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?
(?:\?([^#]*))?(?:#(.*))?$/;function nb(a){if(ob){ob=!1;var b=l.location;if(b){va
r c=b.href;if(c&&(c=(c=nb(c)[3]||null)?decodeURI(c):c)&&c!=b.hostname)throw ob=!
0,Error();}}return a.match(mb)}var ob=F;
function pb(a,b){for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("
="),f=null,g=null;0<=e?(f=c[d].substring(0,e),g=c[d].substring(e+1)):f=c[d];b(f,
g?decodeURIComponent(g.replace(/\+/g," ")):"")}};function K(a,b){this.b=this.u=t
his.i="";this.s=null;this.j=this.o="";this.g=!1;var c;a instanceof K?(this.g=m(b
)?b:a.g,qb(this,a.i),this.u=a.u,this.b=a.b,rb(this,a.s),this.o=a.o,sb(this,a.a.c
lone()),this.j=a.j):a&&(c=nb(String(a)))?(this.g=!!b,qb(this,c[1]||"",!0),this.u
=L(c[2]||""),this.b=L(c[3]||"",!0),rb(this,c[4]),this.o=L(c[5]||"",!0),sb(this,c
[6]||"",!0),this.j=L(c[7]||"")):(this.g=!!b,this.a=new M(null,0,this.g))}
K.prototype.toString=function(){var a=[],b=this.i;b&&a.push(N(b,tb,!0),":");if(b
=this.b){a.push("//");var c=this.u;c&&a.push(N(c,tb,!0),"@");a.push(encodeURICom
ponent(String(b)).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));b=this.s;null!=b&&a.pus
h(":",String(b))}if(b=this.o)this.b&&"/"!=b.charAt(0)&&a.push("/"),a.push(N(b,"/
"==b.charAt(0)?ub:vb,!0));(b=this.a.toString())&&a.push("?",b);(b=this.j)&&a.pus
h("#",N(b,wb));return a.join("")};K.prototype.clone=function(){return new K(this
)};
function qb(a,b,c){a.i=c?L(b,!0):b;a.i&&(a.i=a.i.replace(/:$/,""))}function rb(a

,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.s=b}e


lse a.s=null}function sb(a,b,c){b instanceof M?(a.a=b,xb(a.a,a.g)):(c||(b=N(b,yb
)),a.a=new M(b,0,a.g))}function L(a,b){return a?b?decodeURI(a):decodeURIComponen
t(a):""}function N(a,b,c){return r(a)?(a=encodeURI(a).replace(b,zb),c&&(a=a.repl
ace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function zb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toStrin
g(16)}var tb=/[#\/\?@]/g,vb=/[\#\?:]/g,ub=/[\#\?]/g,yb=/[\#\?@]/g,wb=/#/g;functi
on M(a,b,c){this.g=this.a=null;this.b=a||null;this.i=!!c}function O(a){a.a||(a.a
=new kb,a.g=0,a.b&&pb(a.b,function(b,c){var d=decodeURIComponent(b.replace(/\+/g
," "));O(a);a.b=null;var d=P(a,d),e=a.a.get(d);e||a.a.set(d,e=[]);e.push(c);a.g+
+}))}k=M.prototype;
k.remove=function(a){O(this);a=P(this,a);return J(this.a.b,a)?(this.b=null,this.
g-=this.a.get(a).length,this.a.remove(a)):!1};function Ab(a,b){O(a);b=P(a,b);ret
urn J(a.a.b,b)}k.D=function(){O(this);for(var a=this.a.B(),b=this.a.D(),c=[],d=0
;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};k.B=fun
ction(a){O(this);var b=[];if(r(a))Ab(this,a)&&(b=ya(b,this.a.get(P(this,a))));el
se{a=this.a.B();for(var c=0;c<a.length;c++)b=ya(b,a[c])}return b};
k.set=function(a,b){O(this);this.b=null;a=P(this,a);Ab(this,a)&&(this.g-=this.a.
get(a).length);this.a.set(a,[b]);this.g++;return this};k.get=function(a,b){var c
=a?this.B(a):[];return 0<c.length?String(c[0]):b};function Bb(a,b,c){a.remove(b)
;0<c.length&&(a.b=null,a.a.set(P(a,b),za(c)),a.g+=c.length)}
k.toString=function(){if(this.b)return this.b;if(!this.a)return"";for(var a=[],b
=this.a.D(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=
this.B(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(Stri
ng(d[f])));a.push(g)}return this.b=a.join("&")};k.clone=function(){var a=new M;a
.b=this.b;this.a&&(a.a=this.a.clone(),a.g=this.g);return a};function P(a,b){var
c=String(b);a.i&&(c=c.toLowerCase());return c}
function xb(a,b){b&&!a.i&&(O(a),a.b=null,a.a.forEach(function(a,b){var e=b.toLow
erCase();b!=e&&(this.remove(b),Bb(this,e,a))},a));a.i=b};function Cb(a){Cb[" "](
a);return a}Cb[" "]=p;var Db=!D||D&&(C()||9<=Oa),Eb=D&&!G("9");!F||G("528");E&&G
("1.9b")||D&&G("8")||Ha&&G("9.5")||F&&G("528");E&&!G("8")||D&&G("9");function Fb
(){this.g=this.g;this.C=this.C}Fb.prototype.g=!1;function Q(a,b){this.type=a;thi
s.a=this.b=b}Q.prototype.g=function(){};function R(a,b){Q.call(this,a?a.type:"")
;this.a=this.b=null;this.clientY=this.clientX=0;this.i=this.state=null;a&&this.i
nit(a,b)}w(R,Q);R.prototype.init=function(a,b){this.type=a.type;this.b=a.target|
|a.srcElement;this.a=b;var c=a.relatedTarget;if(c&&E)try{Cb(c.nodeName)}catch(d)
{}this.clientX=void 0!==a.clientX?a.clientX:a.pageX;this.clientY=void 0!==a.clie
ntY?a.clientY:a.pageY;this.state=a.state;this.i=a;a.defaultPrevented&&this.g()};
R.prototype.g=function(){R.O.g.call(this);var a=this.i;if(a.preventDefault)a.pre
ventDefault();else if(a.returnValue=!1,Eb)try{if(a.ctrlKey||112<=a.keyCode&&123>
=a.keyCode)a.keyCode=-1}catch(b){}};var Gb="closure_listenable_"+(1E6*Math.rando
m()|0),Hb=0;function Ib(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;th
is.type=c;this.G=!!d;this.H=e;++Hb;this.removed=this.F=!1}function Jb(a){a.remov
ed=!0;a.listener=null;a.proxy=null;a.src=null;a.H=null};function Kb(a){this.src=
a;this.a={};this.b=0}function Lb(a,b,c,d,e,f){var g=b.toString();b=a.a[g];b||(b=
a.a[g]=[],a.b++);var h=Mb(b,c,e,f);-1<h?(a=b[h],d||(a.F=!1)):(a=new Ib(c,a.src,g
,!!e,f),a.F=d,b.push(a));return a}Kb.prototype.remove=function(a,b,c,d){a=a.toSt
ring();if(!(a in this.a))return!1;var e=this.a[a];b=Mb(e,b,c,d);return-1<b?(Jb(e
[b]),y.splice.call(e,b,1),0==e.length&&(delete this.a[a],this.b--),!0):!1};
function Nb(a,b){var c=b.type;if(c in a.a){var d=a.a[c],e=va(d,b),f;(f=0<=e)&&y.
splice.call(d,e,1);f&&(Jb(b),0==a.a[c].length&&(delete a.a[c],a.b--))}}function
Mb(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&
&f.G==!!c&&f.H==d)return e}return-1};var Ob="closure_lm_"+(1E6*Math.random()|0),
Pb={},Qb=0;function Rb(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)Rb(a,b[f],c
,d,e);else c=Sb(c),a&&a[Gb]?a.listen(b,c,d,e):Tb(a,b,c,!1,d,e)}function Tb(a,b,c
,d,e,f){if(!b)throw Error("Invalid event type");var g=!!e,h=Ub(a);h||(a[Ob]=h=ne
w Kb(a));c=Lb(h,b,c,d,e,f);c.proxy||(d=Vb(),c.proxy=d,d.src=a,d.listener=c,a.add
EventListener?a.addEventListener(b.toString(),d,g):a.attachEvent(Wb(b.toString()
),d),Qb++)}
function Vb(){var a=Xb,b=Db?function(c){return a.call(b.src,b.listener,c)}:funct

ion(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Yb(a,b,c,d


,e){if(q(b))for(var f=0;f<b.length;f++)Yb(a,b[f],c,d,e);else c=Sb(c),a&&a[Gb]?Lb
(a.A,String(b),c,!0,d,e):Tb(a,b,c,!0,d,e)}function Zb(a,b,c,d,e){if(q(b))for(var
f=0;f<b.length;f++)Zb(a,b[f],c,d,e);else(c=Sb(c),a&&a[Gb])?a.A.remove(String(b)
,c,d,e):a&&(a=Ub(a))&&(b=a.a[b.toString()],a=-1,b&&(a=Mb(b,c,!!d,e)),(c=-1<a?b[a
]:null)&&$b(c))}
function $b(a){if("number"!=typeof a&&a&&!a.removed){var b=a.src;if(b&&b[Gb])Nb(
b.A,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c
,d,a.G):b.detachEvent&&b.detachEvent(Wb(c),d);Qb--;(c=Ub(b))?(Nb(c,a),0==c.b&&(c
.src=null,b[Ob]=null)):Jb(a)}}}function Wb(a){return a in Pb?Pb[a]:Pb[a]="on"+a}
function ac(a,b,c,d){var e=!0;if(a=Ub(a))if(b=a.a[b.toString()])for(b=b.concat()
,a=0;a<b.length;a++){var f=b[a];f&&f.G==c&&!f.removed&&(f=bc(f,d),e=e&&!1!==f)}r
eturn e}
function bc(a,b){var c=a.listener,d=a.H||a.src;a.F&&$b(a);return c.call(d,b)}
function Xb(a,b){if(a.removed)return!0;if(!Db){var c;if(!(c=b))a:{c=["window","e
vent"];for(var d=l,e;e=c.shift();)if(null!=d[e])d=d[e];else{c=null;break a}c=d}e
=c;c=new R(e,this);d=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){a:{var f=!1;if
(0==e.keyCode)try{e.keyCode=-1;break a}catch(g){f=!0}if(f||void 0==e.returnValue
)e.returnValue=!0}e=[];for(f=c.a;f;f=f.parentNode)e.push(f);for(var f=a.type,h=e
.length-1;0<=h;h--){c.a=e[h];var n=ac(e[h],f,!0,c),d=d&&n}for(h=0;h<e.length;h++
)c.a=e[h],n=ac(e[h],f,
!1,c),d=d&&n}return d}return bc(a,new R(b,this))}function Ub(a){a=a[Ob];return a
instanceof Kb?a:null}var cc="__closure_events_fn_"+(1E9*Math.random()>>>0);func
tion Sb(a){if(t(a))return a;a[cc]||(a[cc]=function(b){return a.handleEvent(b)});
return a[cc]};function dc(a,b){this.a=b||"en"}function ec(a){var b=H("img");b.sr
c=ia("http://books.google.com/intl/%s/googlebooks/images/gbs_preview_button1.gif
",a.a);b.border=0;I(b,"cursor","pointer");return b}function fc(a,b,c){this.a=c||
"en";c=H("a");c.href=b;a.appendChild(c);a=ec(this);c.appendChild(a)}w(fc,dc);fun
ction gc(a,b,c){this.a=c||"en";c=ec(this);a.appendChild(c);I(a,"cursor","pointer
");Rb(a,"click",b)}w(gc,dc);function hc(a,b){var c=document.getElementsByTagName
("body")[0],d=H("div");hb(d,.5);I(d,{backgroundColor:"#333",position:"absolute",
zIndex:200});this.j=d;var e=c.scrollWidth,f=Math.max(c.scrollHeight,Sa().height)
;gb(d,e,f);eb(d,0,0);c.appendChild(d);this.g=H("div");I(this.g,{position:"absolu
te",zIndex:201});c.appendChild(this.g);this.b=H("div");gb(this.b,618,500);I(this
.b,{backgroundColor:"#333",position:"absolute",zIndex:202});eb(this.b,3,3);hb(th
is.b,.3);this.g.appendChild(this.b);this.a=H("div");
eb(this.a,0,0);I(this.a,{position:"absolute",padding:"8px",border:"1px solid #2c
4462",backgroundColor:"#b4cffe",zIndex:203});c=H("div");I(c,{backgroundColor:"#d
8e8fd",fontSize:"16px",fontFamily:"Arial, sans-serif",fontWeight:"bold",padding:
"2px 2px 2px 5px"});this.a.appendChild(c);d=H("img");d.src="http://books.google.
com/googlebooks/images/dialog_close_x.gif";d.width=15;d.height=15;I(d,{cursor:"p
ointer",position:"absolute",right:"11px",top:"11px"});Yb(d,"click",u(this.close,
this));c.appendChild(d);
d=H("div");d.innerHTML="&nbsp;";c.appendChild(d);this.i=H("div");this.a.appendCh
ild(this.i);gb(this.i,600,456);this.g.appendChild(this.a);b(this.i,a);d=Sa();c=M
ath.max(0,(d.height-500)/2);c=Math.floor(c+Ta().y);d=Math.max(0,(d.width-618)/2)
;d=Math.floor(d);eb(this.g,d,c)}hc.prototype.close=function(){wa([this.a,this.j,
this.b],Xa)};function ic(a,b,c){this.j=c;this.g=a;this.i=b;this.b=0;this.a=null}
ic.prototype.get=function(){var a;0<this.b?(this.b--,a=this.a,this.a=a.next,a.ne
xt=null):a=this.g();return a};function jc(a,b){a.i(b);a.b<a.j&&(a.b++,b.next=a.a
,a.a=b)};function kc(a){l.setTimeout(function(){throw a;},0)}var lc;
function mc(){var a=l.MessageChannel;"undefined"===typeof a&&"undefined"!==typeo
f window&&window.postMessage&&window.addEventListener&&-1==B.indexOf("Presto")&&
(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.sr
c="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;
a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.
location.protocol?"*":b.location.protocol+"//"+b.location.host,a=u(function(a){i
f(("*"==d||a.origin==
d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);t
his.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undef

ined"!==typeof a&&!Ga()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(m(


c.next)){c=c.next;var a=c.L;c.L=null;a()}};return function(a){d.next={L:a};d=d.n
ext;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatech
ange"in document.createElement("SCRIPT")?function(a){var b=document.createElemen
t("SCRIPT");b.onreadystatechange=
function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=nu
ll};document.documentElement.appendChild(b)}:function(a){l.setTimeout(a,0)}};fun
ction nc(){this.b=this.a=null}var pc=new ic(function(){return new oc},function(a
){a.reset()},100);nc.prototype.remove=function(){var a=null;this.a&&(a=this.a,th
is.a=this.a.next,this.a||(this.b=null),a.next=null);return a};function oc(){this
.next=this.b=this.a=null}oc.prototype.set=function(a,b){this.a=a;this.b=b;this.n
ext=null};oc.prototype.reset=function(){this.next=this.b=this.a=null};function q
c(a,b){rc||sc();tc||(rc(),tc=!0);var c=uc,d=pc.get();d.set(a,b);c.b?c.b.next=d:c
.a=d;c.b=d}var rc;function sc(){if(l.Promise&&l.Promise.resolve){var a=l.Promise
.resolve();rc=function(){a.then(vc)}}else rc=function(){var a=vc;!t(l.setImmedia
te)||l.Window&&l.Window.prototype&&l.Window.prototype.setImmediate==l.setImmedia
te?(lc||(lc=mc()),lc(a)):l.setImmediate(a)}}var tc=!1,uc=new nc;function vc(){fo
r(var a=null;a=uc.remove();){try{a.a.call(a.b)}catch(b){kc(b)}jc(pc,a)}tc=!1};fu
nction wc(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}fun
ction xc(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};func
tion S(a,b){this.a=0;this.s=void 0;this.i=this.b=this.g=null;this.j=this.o=!1;if
(a==yc)T(this,2,b);else try{var c=this;a.call(b,function(a){T(c,2,a)},function(a
){T(c,3,a)})}catch(d){T(this,3,d)}}function zc(){this.next=this.g=this.b=this.i=
this.a=null;this.j=!1}zc.prototype.reset=function(){this.g=this.b=this.i=this.a=
null;this.j=!1};var Ac=new ic(function(){return new zc},function(a){a.reset()},1
00);function Bc(a,b,c){var d=Ac.get();d.i=a;d.b=b;d.g=c;return d}function yc(){}
S.prototype.then=function(a,b,c){return Cc(this,t(a)?a:null,t(b)?b:null,c)};wc(S
);S.prototype.cancel=function(a){0==this.a&&qc(function(){var b=new Dc(a);Ec(thi
s,b)},this)};function Ec(a,b){if(0==a.a)if(a.g){var c=a.g;if(c.b){for(var d=0,e=
null,f=null,g=c.b;g&&(g.j||(d++,g.a==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(
0==c.a&&1==d?Ec(c,b):(f?(d=f,d.next==c.i&&(c.i=d),d.next=d.next.next):Fc(c),Gc(c
,e,3,b)))}a.g=null}else T(a,3,b)}
function Hc(a,b){a.b||2!=a.a&&3!=a.a||Ic(a);a.i?a.i.next=b:a.b=b;a.i=b}function
Cc(a,b,c,d){var e=Bc(null,null,null);e.a=new S(function(a,g){e.i=b?function(c){t
ry{var e=b.call(d,c);a(e)}catch(U){g(U)}}:a;e.b=c?function(b){try{var e=c.call(d
,b);!m(e)&&b instanceof Dc?g(b):a(e)}catch(U){g(U)}}:g});e.a.g=a;Hc(a,e);return
e.a}S.prototype.u=function(a){this.a=0;T(this,2,a)};S.prototype.v=function(a){th
is.a=0;T(this,3,a)};
function T(a,b,c){if(0==a.a){if(a==c)b=3,c=new TypeError("Promise cannot resolve
to itself");else{if(xc(c)){a.a=1;b=c;c=a.u;var d=a.v;b instanceof S?Hc(b,Bc(c||
p,d||null,a)):b.then(c,d,a);return}if(ca(c))try{if(d=c.then,t(d)){Jc(a,c,d);retu
rn}}catch(e){b=3,c=e}}a.s=c;a.a=b;a.g=null;Ic(a);3!=b||c instanceof Dc||Kc(a,c)}
}function Jc(a,b,c){function d(b){f||(f=!0,a.v(b))}function e(b){f||(f=!0,a.u(b)
)}a.a=1;var f=!1;try{c.call(b,e,d)}catch(g){d(g)}}function Ic(a){a.o||(a.o=!0,qc
(a.C,a))}
function Fc(a){var b=null;a.b&&(b=a.b,a.b=b.next,b.next=null);a.b||(a.i=null);re
turn b}S.prototype.C=function(){for(var a=null;a=Fc(this);)Gc(this,a,this.a,this
.s);this.o=!1};function Gc(a,b,c,d){if(3==c&&b.b&&!b.j)for(;a&&a.j;a=a.g)a.j=!1;
if(b.a)b.a.g=null,Lc(b,c,d);else try{b.j?b.i.call(b.g):Lc(b,c,d)}catch(e){Mc.cal
l(null,e)}jc(Ac,b)}function Lc(a,b,c){2==b?a.i.call(a.g,c):a.b&&a.b.call(a.g,c)}
function Kc(a,b){a.j=!0;qc(function(){a.j&&Mc.call(null,b)})}var Mc=kc;
function Dc(a){x.call(this,a)}w(Dc,x);Dc.prototype.name="cancel";/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
function X(a,b){this.j=[];this.K=a;this.J=b||null;this.i=this.a=!1;this.g=void 0
;this.v=this.P=this.s=!1;this.o=0;this.b=null;this.u=0}X.prototype.cancel=functi
on(a){if(this.a)this.g instanceof X&&this.g.cancel();else{if(this.b){var b=this.
b;delete this.b;a?b.cancel(a):(b.u--,0>=b.u&&b.cancel())}this.K?this.K.call(this

.J,this):this.v=!0;this.a||(a=new Nc,Oc(this),Pc(this,!1,a))}};X.prototype.C=fun
ction(a,b){this.s=!1;Pc(this,a,b)};function Pc(a,b,c){a.a=!0;a.g=c;a.i=!b;Qc(a)}
function Oc(a){if(a.a){if(!a.v)throw new Rc;a.v=!1}}X.prototype.callback=functio
n(a){Oc(this);Pc(this,!0,a)};function Sc(a,b,c,d){a.j.push([b,c,d]);a.a&&Qc(a)}X
.prototype.then=function(a,b,c){var d,e,f=new S(function(a,b){d=a;e=b});Sc(this,
d,function(a){a instanceof Nc?f.cancel():e(a)});return f.then(a,b,c)};wc(X);func
tion Tc(a){return xa(a.j,function(a){return t(a[1])})}
function Qc(a){if(a.o&&a.a&&Tc(a)){var b=a.o,c=Uc[b];c&&(l.clearTimeout(c.w),del
ete Uc[b]);a.o=0}a.b&&(a.b.u--,delete a.b);for(var b=a.g,d=c=!1;a.j.length&&!a.s
;){var e=a.j.shift(),f=e[0],g=e[1],e=e[2];if(f=a.i?g:f)try{var h=f.call(e||a.J,b
);m(h)&&(a.i=a.i&&(h==b||h instanceof Error),a.g=b=h);if(xc(b)||"function"===typ
eof l.Promise&&b instanceof l.Promise)d=!0,a.s=!0}catch(n){b=n,a.i=!0,Tc(a)||(c=
!0)}}a.g=b;d&&(h=u(a.C,a,!0),d=u(a.C,a,!1),b instanceof X?(Sc(b,h,d),b.P=!0):b.t
hen(h,d));c&&(b=new Vc(b),
Uc[b.w]=b,a.o=b.w)}function Rc(){x.call(this)}w(Rc,x);Rc.prototype.message="Defe
rred has already fired";Rc.prototype.name="AlreadyCalledError";function Nc(){x.c
all(this)}w(Nc,x);Nc.prototype.message="Deferred was canceled";Nc.prototype.name
="CanceledError";function Vc(a){this.w=l.setTimeout(u(this.b,this),0);this.a=a}V
c.prototype.b=function(){delete Uc[this.w];throw this.a;};var Uc={};function Wc(
a,b){var c=b||{},d=c.document||document,e=H("SCRIPT"),f={N:e,I:void 0},g=new X(X
c,f),h=null,n=null!=c.timeout?c.timeout:5E3;0<n&&(h=window.setTimeout(function()
{Yc(e,!0);var b=new Zc(1,"Timeout reached for loading script "+a);Oc(g);Pc(g,!1,
b)},n),f.I=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e
.readyState&&"complete"!=e.readyState||(Yc(e,c.S||!1,h),g.callback(null))};e.one
rror=function(){Yc(e,!0,h);var b=new Zc(0,"Error while loading script "+a);Oc(g)
;Pc(g,!1,
b)};Qa(e,{type:"text/javascript",charset:"UTF-8",src:a});$c(d).appendChild(e);re
turn g}function $c(a){var b=a.getElementsByTagName("HEAD");return b&&0!=b.length
?b[0]:a.documentElement}function Xc(){if(this&&this.N){var a=this.N;a&&"SCRIPT"=
=a.tagName&&Yc(a,!0,this.I)}}function Yc(a,b,c){null!=c&&l.clearTimeout(c);a.onl
oad=p;a.onerror=p;a.onreadystatechange=p;b&&window.setTimeout(function(){Xa(a)},
0)}function Zc(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);x.call(t
his,c)}w(Zc,x);function ad(a,b){this.b=new K(a);this.a=b?b:"callback";this.I=5E3
}var bd=0;
ad.prototype.send=function(a,b,c,d){a=a||null;d=d||"_"+(bd++).toString(36)+ha().
toString(36);l._callbacks_||(l._callbacks_={});var e=this.b.clone();if(a)for(var
f in a)if(!a.hasOwnProperty||a.hasOwnProperty(f)){var g=e,h=f,n=a[f];q(n)||(n=[
String(n)]);Bb(g.a,h,n)}b&&(l._callbacks_[d]=cd(d,b),b=this.a,f="_callbacks_."+d
,q(f)||(f=[String(f)]),Bb(e.a,b,f));b=Wc(e.toString(),{timeout:this.I,S:!0});Sc(
b,null,dd(d,a,c),void 0);return{w:d,M:b}};
ad.prototype.cancel=function(a){a&&(a.M&&a.M.cancel(),a.w&&ed(a.w,!1))};function
dd(a,b,c){return function(){ed(a,!1);c&&c(b)}}function cd(a,b){return function(
c){ed(a,!0);b.apply(void 0,arguments)}}function ed(a,b){l._callbacks_[a]&&(b?del
ete l._callbacks_[a]:l._callbacks_[a]=p)};function Y(){Fb.call(this);this.A=new
Kb(this);this.o=this}w(Y,Fb);Y.prototype[Gb]=!0;Y.prototype.addEventListener=fun
ction(a,b,c,d){Rb(this,a,b,c,d)};Y.prototype.removeEventListener=function(a,b,c,
d){Zb(this,a,b,c,d)};function fd(a,b){var c=a.o,d=b,e=d.type||d;if(r(d))d=new Q(
d,c);else if(d instanceof Q)d.b=d.b||c;else{var f=d,d=new Q(e,c);Ca(d,f)}c=d.a=c
;gd(c,e,!0,d);gd(c,e,!1,d)}Y.prototype.listen=function(a,b,c,d){return Lb(this.A
,String(a),b,!1,c,d)};
function gd(a,b,c,d){if(b=a.A.a[String(b)]){b=b.concat();for(var e=!0,f=0;f<b.le
ngth;++f){var g=b[f];if(g&&!g.removed&&g.G==c){var h=g.listener,n=g.H||g.src;g.F
&&Nb(a.A,g);e=!1!==h.call(n,d)&&e}}}};function hd(){Y.call(this);this.j=null;thi
s.i=!0}w(hd,Y);hd.prototype.b=function(){if(this.i)this.i=!1;else throw Error();
};function Z(a){hd.call(this);this.v=new ad(a);this.a=!0}w(Z,hd);Z.prototype.b=f
unction(a,b){Z.O.b.call(this,a,b);this.a=!1;this.v.send({},u(this.u,this,a),u(th
is.s,this,b))};Z.prototype.u=function(a,b){this.a||(this.j=b,fd(this,"success"),
a&&a(this.j),this.a=!0)};Z.prototype.s=function(a){this.a||(fd(this,"error"),a&&
a(),this.a=!0)};function id(a,b,c,d){q(a)||(a=[a]);this.a=a;this.g=b;this.b=c;b=
new K((GBS_HOST||"http://books.google.com/")+"books?jscmd=viewapi");b.a.set("bib

keys",a.join(","));b.a.set("hl","es");b.a.set("source",d||"previewlib");(new Z(b
)).b(u(this.i,this))}id.prototype.i=function(a){for(var b=0;b<this.a.length;b++)
{var c=a[this.a[b]];if(c){var d=c.preview_url,e;if(e=d)e=c.preview,c=c.embeddabl
e,m(c)||(c=!0),e=("full"==e||"partial"==e)&&c;if(e){this.g&&this.g(d);return}}}t
his.b&&this.b()};v("GBS_insertPreviewButtonLink",function(a,b){jd(a,fa(kd,(b||{}
).alternativeUrl),"GBS_insertPreviewButtonLink")});v("GBS_insertPreviewButtonPop
up",function(a){jd(a,ld,"GBS_insertPreviewButtonPopup")});v("GBS_insertEmbeddedV
iewer",function(a,b,c){jd(a,fa(md,b,c),"GBS_insertEmbeddedViewer")});function jd
(a,b,c){var d=nd();new id(a,function(a){b(d,a)},null,c)}
function kd(a,b,c){a||(a=new K(c),od&&(c=new K(GBS_HOST),qb(a,c.i),a.b=c.b,rb(a,
c.s),a.o="/books/p/"+od),a=a.toString().replace(/#.*/g,""),a=new K(a),a.a.set("h
l","es"),a=a.toString());new fc(b,a,pd)}function ld(a,b){new gc(a,fa(qd,b),pd)}f
unction md(a,b,c,d){var e=H("div");c.appendChild(e);gb(e,a,b);rd(e,d)}
function rd(a,b){var c=Ua("iframe",{frameBorder:"0",width:"100%",height:"100%"})
;a.appendChild(c);var d=new K(b);d.a.set("output","embed");if(sd){var e=[];Za(ne
w Ya,sd,e);d.j=encodeURIComponent(String(e.join("")))}c.src=d.toString()}functio
n qd(a){new hc(a,rd)}var pd="en";v("GBS_setLanguage",function(a){pd=a});v("GBS_s
etViewerOptions",function(a){sd=a});var od=null;v("GBS_setCobrandName",function(
a){od=a});var sd={};
function nd(){var a="__GBS_Button"+td++;document.write(ia('<span id="%s"></span>
',a));var b=document;return r(a)?b.getElementById(a):a}var td=0;
})();

You might also like