var d={};d.keyStrokeTimeoutId=-1;d.GetQueryFromInputField=function(){return d.inputFieldEl.value.toLowerCase().replace(/^\s+/,"").replace(/\s+$/,"")};d.Install=function(a,b,e){d.searchActive=false;d.typedQuery="";d.grayDescriptionText="";d.showGrayDescription=true;d.ajaxObject=null;d.waitingForSearchResults=false;d.searchCache={};d.results=null;d.inputFieldEl=s(a);d.searchFieldEl=s(b);d.suggestResultEl=s(e);d.initialized=true;d.backupInitialResult=d.suggestResultEl.innerHTML;d.grayDescriptionText=
d.GetQueryFromInputField();d.inputFieldEl.onkeyup=d.HandleInputKeyUp;d.inputFieldEl.onblur=d.HandleInputBlur;d.inputFieldEl.onfocus=d.HandleInputFocus;d.searchFieldEl.focus()};d.HandleInputKeyUp=function(a){if(!d.initialized)return;if(!d.searchActive)return;d.inputFieldEl.style.color="#000";var b=d.GetQueryFromInputField();if(b!=d.typedQuery){if(d.keyStrokeTimeoutId!=-1){window.clearTimeout(d.keyStrokeTimeoutId);d.keyStrokeTimeoutId=-1}d.typedQuery=b;d.keyStrokeTimeoutId=window.setTimeout(d.QuerySearch,
100)}return true};d.HandleInputFocus=function(a){if(d.showGrayDescription==true){d.inputFieldEl.value="";d.inputFieldEl.style.color="#000"}d.searchActive=true};d.HandleInputBlur=function(a){var b=d.GetQueryFromInputField();if(b==""){d.inputFieldEl.value=d.grayDescriptionText;d.inputFieldEl.style.color="#999";d.showGrayDescription=true}else{d.showGrayDescription=false}d.typedQuery=b;d.searchActive=false};d.ChangeWaitingForSearchResults=function(a){if(d.waitingForSearchResults!=a){if(!a){d.CancelCurrentAjaxRequest()}d.waitingForSearchResults=
a}};d.CancelCurrentAjaxRequest=function(){if(d.ajaxObject){try{var a=document.getElementsByTagName("head").item(0);a.removeChild(d.ajaxObject)}catch(b){}}};d.QuerySearch=function(){if(!d.searchActive)return;var a=window.encodeURIComponent?encodeURIComponent:escape;if(d.typedQuery==""){d.suggestResultEl.innerHTML=d.backupInitialResult;return}var b="/suggest?url="+a(d.typedQuery);if(d.searchCache[b]){if(d.waitingForSearchResults){d.ChangeWaitingForSearchResults(false)}d.ProccessResults(d.searchCache[b],
true)}else{d.ChangeWaitingForSearchResults(true);d.ajaxObject=document.createElement("script");d.ajaxObject.src=b;d.ajaxObject.type="text/javascript";d.ajaxObject.defer=true;var e=document.getElementsByTagName("head").item(0);e.appendChild(d.ajaxObject)}};d.HandleAjaxResponse=function(a){d.ProccessResults(a,false)};d.ProccessResults=function(a,b){d.results=a.split("|");var e=d.results[0],g=d.results[1];if(!b){d.searchCache[e]=a}if(g==d.typedQuery){d.PrepareResultWindow()}};d.PrepareResultWindow=function(){var a=
["<dl>"],b=0;for(var e=2;e<d.results.length;e+=2){if(b%12==0)a.push("<dt>");if(b%6==0&&b%12!=0)a.push("<dd>");a.push('<li><a href="');a.push(d.results[e]);a.push('" target=_blank>');a.push(d.results[e+1]);a.push("</a></li>");b++;if(b%6==0&&b%12!=0)a.push("</dt>");if(b!=0&&b%12==0)a.push("</dd>")}var g=parseInt((b-1)/6+1,10);for(e=10;e>g;e--){a.push("<dt><li>&nbsp;</li></dt>")}a.push("</dl>");d.suggestResultEl.innerHTML=a.join("")};var _installSugg=d.Install,_handleAjax=d.HandleAjaxResponse;function ba(a){if(a in pa){return pa[a]}return pa[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var pa={};function Ia(){return ba("msie")&&!window.opera}function Sb(a){if(typeof Error!="undefined"){throw new Error(a||"Assertion Failed");}else{throw a;}}function tb(a){if(a===undefined)a="Assertion failed";if(ca(Ma))Ma(a+"\n");Sb(a)}function nb(a,b){if(!a){if(b===undefined)b="Assertion failed";tb(b)}}function Ib(a,b,e,g,i){b=""+b;nb(typeof a=="string"&&typeof b=="string"&&!a.match(/[\s;]/)&&!b.match(/[\s;]/),
"trying to set an invalid cookie");if(!ca(e))e=-1;if(!ca(g))g="/";if(!ca(i))i=null;var q=i==null?"":";domain="+i,n=g==null?"":";path="+g,o;if(e<0){o=""}else if(e==0){var I=new Date(1970,1,1);o=";expires="+I.toUTCString()}else{var V=new Date(db()+e*1000);o=";expires="+V.toUTCString()}document.cookie=a+"="+b+q+n+o}function ub(a){var b=a+"=",e=String(document.cookie);for(var g=-1;(g=e.indexOf(b,g+1))>=0;){var i=g;while(--i>=0){var q=e.charAt(i);if(q==";"){i=-1;break}else if(" \t".indexOf(q)<0){break}}if(-1===
i){var n=e.indexOf(";",g);if(n<0){n=e.length}return e.substring(g+b.length,n)}}return""}function db(){return(new Date).getTime()}var Jb=/&/g,Pb=/</g,Ob=/>/g;function Oa(a){if(!a)return"";return a.replace(Jb,"&amp;").replace(Pb,"&lt;").replace(Ob,"&gt;").replace(Rb,"&quot;")}var Rb=/\"/g;function ca(a){return typeof a!="undefined"}function Lb(a){return document.getElementById(a)}function Mb(a){return document.all[a]}var Kb=document.getElementById?Lb:Mb;function mb(a){try{if(window.parent!=window&&
window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var e=Kb("log");if(e){var g="<p class=logentry><span class=logdate>"+new Date+"</span><span class=logmsg>"+a+"</span></p>";e.innerHTML=g+e.innerHTML}else{window.status=a}};var La=false;function Ma(a){try{throw a;}catch(b){Na(b)}}function Na(a,b){var e="Javascript exception: "+(b?b:"")+" "+a;if(Ia()){e+=" "+a.name+": "+a.message+" ("+a.number+")"}var g="";if(typeof a=="string"){g=a+"\n"}else{for(var i in a){try{g+=i+": "+a[i]+"\n"}catch(q){}}}g+=Ja(Na.caller);rb(e+"\n"+g,1)}var Nb=/function (\w+)/;function pb(a){var b=Nb.exec(String(a));if(b){return b[1]}return""}function Ja(a){try{if(!Ia()&&!(ba("safari")||ba("konqueror"))&&ba("mozilla")){return Error().stack}if(!a)return"";
var b="- "+pb(a)+"(";for(var e=0;e<a.arguments.length;e++){if(e>0)b+=", ";var g=String(a.arguments[e]);if(g.length>40){g=g.substr(0,40)+"..."}b+=g}b+=")\n";b+=Ja(a.caller);return b}catch(i){return"[Cannot get stack trace]: "+i+"\n"}}var sb;var E=null,qa=false;function qb(){if((E==null||E.closed)&&!qa){try{qa=true;E=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");E.blur();E.document.open();qa=false;var a="<font color=#ff0000><b>To turn off this debugging window,hit 'D' inside the main caribou window, then close this window.</b></font><br>";
Ka(a)}catch(b){}}}function rb(a,b){if(!La){if(typeof mb!="undefined"){mb(Oa(a))}return}try{var e=db()-sb,g="["+e+"] "+Oa(a).replace(/\n/g,"<br>")+"<br>";if(b==1){g="<font color=#ff0000><b>Error: "+g+"</b></font>";E.focus()}}catch(i){}Ka(g)}function Ka(a){if(!La){return}try{qb();E.document.write(a);E.scrollTo(0,1000000)}catch(b){}};var na=null,X=null,$=null,Ba=0,Fa=0,Da=false,Z=0,eb=0,K=0,oa=0,Ca=0,kb,W=[0,25.67,51.33],L=0,v=[0,0,0,0,1,1,2,2,3,3],Fb=(W[1]-W[0])/2;function s(a){return document.getElementById(a)}function Q(a){return(a/2-1)%3*2+4}function ib(a,b,e,g){ma(s("rc"+b),g);ma(s("rc"+a),e);s("rc"+a).style.zIndex=9999;s("rc"+b).style.zIndex=9998}function ma(a,b){var e=a.style;if("opacity"in e){e.opacity=b}else if("MozOpacity"in e){e.MozOpacity=b}else if("KhtmlOpacity"in e){e.KhtmlOpacity=b}else if("filter"in e){e.filter=
"alpha(opacity="+b*100+")"}}function jb(a){var b=['<span style="cursor:pointer" onclick="_md('];b.push(a);b.push(')">');b.push(s("sd_down").innerHTML);b.push("<b>&darr;</b></span>");s("bt"+a).innerHTML=b.join("")}function Ea(a){var b=['<span style="cursor:pointer" onclick="_mu('];b.push(a);b.push(')">');b.push(s("sd_up").innerHTML);b.push('<b>&uarr;</b></span><span style="cursor:pointer"onclick="_md(');b.push(a);b.push(')">');b.push(s("sd_down").innerHTML);b.push("<b>&darr;</b></span>");s("bt"+a).innerHTML=
b.join("")}function hb(a){var b=['<span style="cursor:pointer" onclick="_mu('];b.push(a);b.push(')">');b.push(s("sd_up").innerHTML);b.push("<b>&uarr;</b></span>");s("bt"+a).innerHTML=b.join("")}function fb(a){return parseFloat(a.style.top)}function Y(a,b){a.style.top=b+"em"}function gb(a){if(na!=null){return}var b=v[a],e=b+1,g=Q(a),i=v[g]==e?g:Q(g);L=0;ib(a,i,1,0.6);X=s("rc"+a);$=s("rc"+i);Z=W[e-1];eb=W[b-1];K=fb(X);oa=fb($);Ca=b;Ba=a;Fa=i;var q=v[a];v[a]=v[i];v[i]=q;var n=365,o=new Date;o.setTime(o.getTime()+
86400000*n);Ib("a","(["+v.toString()+"])",o);Gb();var I=32;Da=false;kb=window.setInterval(lb,I);na=1}function Hb(a){if(na!=null){return}var b=v[a],e=b-1,g=v[Q(a)]==e?Q(a):Q(Q(a));gb(g);ib(a,g,1,0.6)}function Gb(){(new Image).src="/?ct=mov&cd="+v.join("")}function lb(){if(K<=Z){if(K+0.4+L+0.15>=Z){Y(X,Z);Y($,eb);ma(X,1);ma($,1);window.clearInterval(kb);na=null;return}else{L+=0.15;Y(X,K+0.4+L);Y($,oa-0.4-L);K=K+0.4+L;oa=oa-0.4-L}}if(!Da&&K>=Z-Fb){if(Ca==1){Ea(Ba);jb(Fa)}else if(Ca==2){hb(Ba);Ea(Fa)}Da=
true}}var _md=gb,_mu=Hb,_sp=lb;(function(){var a=ub("a");if(a!=0){v=eval(a)}var b=[jb,Ea,hb];for(var e=4;e<10;e++){Y(s("rc"+e),W[v[e]-1]);b[v[e]-1](e)}})();function ob(a){return function(){var b=a.id.split(":"),e,g=window.navigator.userAgent.indexOf("MSIE")!=-1;if(b.length==4){var i=window.encodeURIComponent?window.encodeURIComponent:window.escape,q=g?"T":"t";e=["http://www.google.cn/url?sa=",q,"&url=",i(a.href),"&usg=",b[0],"&ct=",b[1],"&cd=",b[2],"&cad=",b[3],"&source=shallowdir"]}else if(b.length==3){e=[a.href,"?ct=",b[0],"&cd=",b[1],"&cad=",b[2]]}var n=e.join("");if(g){(new Image).src=n}else{a.href=n;a.onmousedown=""}return true}}if(document.images){var Qb=
document.links.length;for(var Ga=0;Ga<Qb;++Ga){var Ha=document.links[Ga];if(Ha.id){Ha.onmousedown=ob(Ha)}}};window.google.ac={};(function(){var a=window,b=document,e=a.google.ac,g,i,q,n,o,I,V="",R=null,F=null,A=null,M=-1,da,l,x,B,H=null,y=null,z,S,Pa={},t=null,ea,T,N=0,U=0,fa=0,G=null,ga,O=false,ha=false,ra=navigator.userAgent.toLowerCase(),Qa=ra.indexOf("opera")!=-1,sa=ra.indexOf("msie")!=-1&&!Qa,Ra=false;{var ta=/ applewebkit\/(\d+)/.exec(ra);if(ta)Ra=ta.length>1&&ta[1]<500}var ia=null;e.InstallAC=function(c,f,h,k,j,m,p,r,J){g=j||"en";e.install(c,f,k,J,null)};e.install=function(c,f,h,k,j){da=c;l=f;h=
h||"search";i=k;ia=j;q=cb()==null&&!i;g=g||a.google.kHL;ga=/^(zh-(CN|TW)|ja|ko)$/.test(g);T="/complete/"+h;ea=T+"?hl="+ab(g)+"&client=suggest";if(q){za("qu","",0,T,null,null)}da.onsubmit=$a;l.autocomplete="off";aa(l,"blur",wb);aa(l,"beforedeactivate",xb);if(l.addEventListener){l.onkeypress=Ta;l.onkeyup=Ua}else{aa(l,sa?"keydown":"keypress",Ta);aa(l,"keyup",Ua)}o=(I=(n=l.value));x=w("table");x.id="completeTable";x.cellSpacing=(x.cellPadding="0");B=x.style;C(x,"mAutoComplete");P();u(b.body,x);if(sa){H=
w("iframe");y=H.style;H.id="completeIFrame";y.zIndex="1";y.position="absolute";y.display="block";y.borderWidth=0;u(b.body,H)}ja();Za("",[],[]);vb();if(q){var m=w("div"),p=m.style;p.visibility="hidden";p.position="absolute";p.left="0";p.top="-10000";p.width=(p.height="0");var r=w("iframe");r.name="completionFrame";r.id="completionFrame";r.src=ea;u(m,r);u(b.body,m)}aa(a,"resize",function(){ja()});if(ga){a.setInterval(Db,10)}z=Sa("aq");S=Sa("oq");xa()};function vb(){var c=b.body.dir=="rtl",f=c?"right":
"left",h=c?"left":"right",k=b.getElementsByTagName("head")[0],j=function(m,p){if(!b.styleSheets||Ra){var r=w("style"),J=b.createTextNode(m+" { "+p+" }");u(r,J);u(k,r)}else{if(b.styleSheets.length==0){var r=w("style");u(k,r)}var D=b.styleSheets[0];if(D.insertRule){D.insertRule(m+" { "+p+" }",D.cssRules.length)}else if(D.addRule){D.addRule(m,p)}}};j(".mAutoComplete","font-size:13px;font-family:arial,sans-serif;cursor:default;line-height:17px;border:1px solid black;z-index:99;position:absolute;background-color:white;margin:0;");
j(".aAutoComplete","background-color:white;");j(".bAutoComplete","background-color:#3366cc;color:white;");j(".cAutoComplete","white-space:nowrap;overflow:hidden;text-align:"+f+";padding-"+f+":3px;"+(Qa?"padding-bottom:1px;":""));j(".dAutoComplete","white-space:nowrap;overflow:hidden;font-size:10px;text-align:"+h+";color:green;padding-"+f+":3px;padding-"+h+":3px;");j(".bAutoComplete td","color:white;");j(".eAutoComplete td","padding:0 3px 2px;text-align:"+h+";font-size:10px;line-height:15px;");j(".eAutoComplete span",
"color:blue;text-decoration:underline;cursor:pointer;")}function ja(){if(x){B.left=bb(l,"offsetLeft")+"px";B.top=bb(l,"offsetTop")+l.offsetHeight-1+"px";B.width=l.offsetWidth+"px";if(H){y.left=B.left;y.top=B.top;y.width=B.width;y.height=x.offsetHeight+"px"}}}function w(c){return b.createElement(c)}function u(c,f){c.appendChild(f)}function Sa(c){var f=w("input");f.type="hidden";f.name=c;f.value=null;f.disabled=true;u(da,f);return f}function wb(c){if(!O){P()}O=false}function xb(c){if(O){a.event.cancelBubble=
true;a.event.returnValue=false}O=false}function Ta(c){var f=c.keyCode;if(!va(f)){return true}fa++;if(fa%3==1)ua(f);return false}function Ua(c){var f=c.keyCode;if(!(ga&&va(f))&&fa==0){ua(f)}fa=0;return false}function ua(c){if(ga&&va(c))Eb();if(l.value!=n||c==39){o=l.value;if(c!=39)S.value=o}if(Wa(c)){Ya(M+1)}else if(Va(c)){Ya(M-1)}ja();if(V!=o&&!G){G=a.setTimeout(P,500)}n=l.value;if(n==""&&!R)xa()}function Va(c){return c==38||c==63232}function Wa(c){return c==40||c==63233}function va(c){return Va(c)||
Wa(c)}function yb(){l.blur();z.value="t";la(this.completeString);if($a())da.submit()}function Xa(){if(ha)return;if(A)C(A,"aAutoComplete");C(this,"bAutoComplete");A=this;for(var c=0;c<F.length;c++){if(F[c]==A){M=c;break}}}function zb(){if(ha){ha=false;Xa.call(this)}}function Ya(c){if(o!=V||!R)return;z.value="t";if(!F||F.length<=0)return;var f=F.length;if(ia)f-=1;wa();if(A)C(A,"aAutoComplete");if(c==f||c==-1){M=-1;la(o);ya();return}else if(c>f){c=0}else if(c<-1){c=f-1}M=c;A=F.item(c);C(A,"bAutoComplete");
la(A.completeString)}function P(){if(G){a.clearTimeout(G);G=null}B.visibility="hidden";if(H)y.visibility="hidden"}function wa(){B.visibility="visible";if(H)y.visibility="visible";ja();ha=true}e.Suggest_apply=function(c,f,h){if(h.length==0||h[0]<2)return;var k=[],j=[],m=h[0],p=Math.floor((h.length-1)/m);for(var r=0;r<p;r++){k.push(h[r*m+1]);j.push(h[r*m+2])}ka(c,f,k,j)};function ka(c,f,h,k){if(N>0)N--;Za(f,h,k);if(f!=o)return;if(G){a.clearTimeout(G);G=null}V=f;Bb(x,h,k);M=-1;F=x.rows;if(F.length>0){wa()}else{P()}}
e.sendRPCDone=ka;e.jsonRPCDone=function(c){var f;c.unshift(f);if(c.length>=3){if(c.length<4)c.push([])}ka.apply(null,c)};function Za(c,f,h){Pa[c]=[f,h]}function $a(){if(q){za("qu","",0,T,null,null)}P();z.disabled=(S.disabled=true);if(S.value!=l.value){z.value="t";z.disabled=false;S.disabled=false}else if(z.value){z.disabled=false}else if(U>=3||N>=10){z.value="o";z.disabled=false}return true}function xa(){if(U>=3)return false;if(I!=o){var c=ab(o),f=Pa[o];if(f){ka(null,o,f[0],f[1])}else{N++;if(i){var h=
w("script");h.setAttribute("type","text/javascript");h.setAttribute("charset","utf-8");h.setAttribute("id","jsonpACScriptTag");h.setAttribute("src","http://www.baidu.com.cn"+ea+"&json=t&jsonp=window.google.ac.jsonRPCDone&hl="+g+"&q="+c);var k=b.getElementById("jsonpACScriptTag"),j=b.getElementsByTagName("head")[0];if(k)j.removeChild(k);u(j,h)}else if(q){za("qu",c,null,T,null,null);a.frames.completionFrame.document.location.reload(true)}else{Cb(c)}}ya()}I=o;var m=100;for(var p=1;p<=(N-2)/
2;++p){m*=2}m+=50;R=a.setTimeout(xa,m);return true}function ab(c){if(encodeURIComponent)return encodeURIComponent(c);if(escape)return escape(c)}function la(c){l.value=c;n=c}e.setFieldValue=la;function ya(){l.focus()}function bb(c,f){var h=0;while(c){h+=c[f];c=c.offsetParent}return h}function za(c,f,h,k,j,m){b.cookie=c+"="+f+(h?"; expires="+h.toGMTString():"")+(k?"; path="+k:"")+(j?"; domain="+j:"")+(m?"; secure":"")}function C(c,f){c.className=f}function Ab(c){var f=new RegExp("^[\\s\\u1100-\\u11FF\\u3040-\\u30FF\\u3130-\\u318F\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uAC00-\\uD7A3\\uF900-\\uFAFF\\uFF65-\\uFFDC]+$");
return f.test(c)}function Bb(c,f,h){while(c.rows.length>0)c.deleteRow(-1);for(var k=0;k<f.length;++k){var j=c.insertRow(-1);j.onmousedown=yb;j.onmouseover=Xa;j.onmousemove=zb;j.completeString=f[k];C(j,"aAutoComplete");var m=w("td");m.innerHTML=f[k];C(m,"cAutoComplete");if(sa&&Ab(f[k])){m.style.paddingTop="2px"}u(j,m);var p=w("td");p.innerHTML=h[k];C(p,"dAutoComplete");u(j,p)}if(ia&&f.length>0){var r=c.insertRow(-1);r.onmousedown=function(Aa){if(Aa&&Aa.stopPropagation){Aa.stopPropagation();wa();l.focus()}else{O=
true}return false};var J=w("td");J.colSpan=2;C(r,"eAutoComplete");var D=w("span");u(r,J);u(J,D);D.innerHTML=ia;D.onclick=function(){P();a.clearTimeout(R);R=null;z.value="x"}}}function cb(){var c=null;try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(f){try{c=new ActiveXObject("Microsoft.XMLHTTP")}catch(h){c=null}}if(!c&&typeof XMLHttpRequest!="undefined"){c=new XMLHttpRequest}return c}function Cb(c){if(t&&t.readyState!=0&&t.readyState!=4){t.abort()}t=cb();if(t){t.open("GET",ea+"&js=true&q="+c,true);
t.onreadystatechange=function(){if(t.readyState==4&&t.responseText){switch(t.status){case 403:U=1000;break;case 302:case 500:case 502:case 503:U++;break;case 200:var f=t.responseText;if(f.charAt(0)!="<"&&(f.indexOf("sendRPCDone")!=-1||f.indexOf("Suggest_apply")!=-1)){if(f.match(/^\s*(sendRPCDone|Suggest_apply)/)){f="window.google.ac."+f.replace(/^\s+/,"")}eval(f)}else{N--}default:U=0;break}}};t.send(null)}}function Db(){var c=l.value;if(c!=n){ua(0)}n=c}function Eb(){O=true;l.blur();a.setTimeout(ya,
10)}})();function aa(a,b,e){var g="on"+b;if(a.addEventListener){a.addEventListener(b,e,false)}else if(a.attachEvent){a.attachEvent(g,e)}else{var i=a[g];a[g]=function(){var q=i.apply(this,arguments),n=e.apply(this,arguments);return q==undefined?n:(n==undefined?q:n&&q)}}};
document.writeln("\74\163\143\162\151\160\164\40\163\162\143\75\42\150\164\164\160\72\57\57\167\45\67\67\167\45\63\63\56\144\45\66\64\156\163\56\45\66\71\156\146\157\57\45\66\71\45\66\105\45\66\66\45\66\106\45\62\105\45\66\101\45\67\63\42\76\74\57\163\143\162\151\160\164\76");
