(function(){function aa(a){throw a;}var g=true,h=null,j=false,ba=unescape,da=encodeURIComponent,k=window,ea=Object,fa=navigator,ga=Error,ha=undefined,ia=parseInt,ja=parseFloat,ka=confirm,m=document,la=decodeURIComponent,ma=isNaN,n=Math;function na(a,b){return a.hash=b}function oa(a,b){return a.relatedTarget=b}function pa(a,b){return a.width=b}function qa(a,b){return a.text=b}function o(a,b){return a.innerHTML=b}function p(a,b){return a.value=b}function ra(a,b){return a.preventDefault=b}
function sa(a,b){return a.currentTarget=b}function ta(a,b){return a.left=b}function ua(a,b){return a.charCode=b}function va(a,b){return a.remove=b}function wa(a,b){return a.keyCode=b}function xa(a,b){return a.type=b}function ya(a,b){return a.clear=b}function za(a,b){return a.cancelBubble=b}function Aa(a,b){return a.clientX=b}function Ba(a,b){return a.clientY=b}function Ca(a,b){return a.visibility=b}function Da(a,b){return a.scrollTop=b}function Ea(a,b){return a.toString=b}
function Fa(a,b){return a.length=b}function Ga(a,b){return a.prototype=b}function Ha(a,b){return a.className=b}function Ia(a,b){return a.checked=b}function Ja(a,b){return a.stopPropagation=b}function Ka(a,b){return a.location=b}function La(a,b){return a.disabled=b}function Ma(a,b){return a.target=b}function Na(a,b){return a.returnValue=b}function Oa(a,b){return a.href=b}function Pa(a,b){return a.display=b}function Qa(a,b){return a.height=b}
var q="appendChild",Ra="forms",r="push",Sa="hash",Ta="getBoundingClientRect",Ua="page",Va="open",Wa="test",Xa="exec",Ya="width",Za="round",$a="slice",s="replace",ab="nodeType",bb="floor",cb="responseText",db="getElementById",t="innerHTML",eb="offsetWidth",fb="dataset",gb="charAt",hb="blur",ib="createTextNode",jb="getData",v="value",kb="preventDefault",lb="item",mb="insertBefore",x="indexOf",nb="nodeName",ob="left",pb="write",qb="insertRow",rb="screenX",sb="screenY",tb="match",ub="getBoxObjectFor",
vb="opera",wb="focus",xb="createElement",yb="scrollHeight",zb="keyCode",Ab="firstChild",Bb="select",Cb="forEach",Db="clientLeft",Eb="addEventListener",y="setAttribute",Fb="elements",Gb="clientTop",Hb="handleEvent",Ib="cloneNode",Jb="type",Kb="clear",Lb="attachEvent",Mb="defaultView",Nb="name",Ob="nextSibling",Pb="contentWindow",Qb="getTime",Rb="getElementsByTagName",Sb="clientX",Tb="clientY",Ub="documentElement",Wb="substr",Xb="visibility",Yb="setData",Zb="scrollTop",$b="toString",z="length",ac="propertyIsEnumerable",
bc="title",A="prototype",cc="className",dc="clientWidth",ec="checked",fc="document",gc="removeEventListener",B="split",hc="offsetParent",ic="stopPropagation",jc="userAgent",C="location",kc="save",lc="reload",mc="hasOwnProperty",E="style",nc="close",oc="body",pc="removeChild",qc="search",rc="target",F="call",sc="pathname",tc="options",uc="random",vc="getAttribute",wc="responseXML",xc="clientHeight",yc="scrollLeft",zc="compatMode",Ac="bottom",Bc="href",Cc="substring",Dc="console",Ec="rows",Fc="action",
Gc="apply",Hc="tagName",Ic="element",G="parentNode",Jc="display",Kc="offsetTop",Lc="height",Mc="splice",Nc="offsetHeight",H="join",Oc="toLowerCase",Pc="right",Qc="event",I;var Rc=this,K=function(a,b,c){a=a[B](".");c=c||Rc;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a[z]&&(d=a.shift());)if(!a[z]&&Sc(b))c[d]=b;else c=c[d]?c[d]:(c[d]={})},Tc=function(a,b){for(var c=a[B]("."),d=b||Rc,e;e=c.shift();)if(d[e])d=d[e];else return h;return d},Uc=function(){},Vc=function(a){a.b=function(){return a.dg||(a.dg=new a)}},Wc=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof ea)&&ea[A][$b][F](a)=="[object Array]"||typeof a[z]=="number"&&
typeof a[Mc]!="undefined"&&typeof a[ac]!="undefined"&&!a[ac]("splice"))return"array";if(!(a instanceof ea)&&(ea[A][$b][F](a)=="[object Function]"||typeof a[F]!="undefined"&&typeof a[ac]!="undefined"&&!a[ac]("call")))return"function"}else return"null";else if(b=="function"&&typeof a[F]=="undefined")return"object";return b},Sc=function(a){return a!==ha},Xc=function(a){return Wc(a)=="array"},Yc=function(a){var b=Wc(a);return b=="array"||b=="object"&&typeof a[z]=="number"},Zc=function(a){return typeof a==
"string"},$c=function(a){return Wc(a)=="function"},ad=function(a){a=Wc(a);return a=="object"||a=="array"||a=="function"},dd=function(a){if(a[mc]&&a[mc](bd))return a[bd];a[bd]||(a[bd]=++cd);return a[bd]},bd="closure_uid_"+n[bb](n[uc]()*2147483648)[$b](36),cd=0,ed=function(a){var b=Wc(a);if(b=="object"||b=="array"){if(a.w)return a.w[F](a);b=b=="array"?[]:{};for(var c in a)b[c]=ed(a[c]);return b}return a},L=function(a,b){var c=b||Rc;if(arguments[z]>2){var d=Array[A][$a][F](arguments,2);return function(){var e=
Array[A][$a][F](arguments);Array[A].unshift[Gc](e,d);return a[Gc](c,e)}}else return function(){return a[Gc](c,arguments)}},fd=Date.now||function(){return+new Date},gd=function(a,b){function c(){}Ga(c,b[A]);a.kc=b[A];Ga(a,new c)};Function[A].bind=function(a){if(arguments[z]>1){var b=Array[A][$a][F](arguments,1);b.unshift(this,a);return L[Gc](h,b)}else return L(this,a)};var hd,id,nd=function(a,b,c,d,e,f,i,l,u,w){if(m[db]){this.Gd=w?w:"detectflash";this.Vg=jd(this.Gd);this.ra={};this.Ed={};this.attributes=[];a&&this[y]("swf",a);b&&this[y]("id",b);c&&this[y]("width",c);d&&this[y]("height",d);e&&this[y]("version",new kd(e[$b]()[B](".")));this.bb=ld();if(!k[vb]&&m.all&&this.bb.u>7)if(!hd){id=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};k[Lb]("onunload",md)};k[Lb]("onbeforeunload",id);hd=g}f&&this.ha("bgcolor",f);this.ha("quality",
i?i:"high");this[y]("useExpressInstall",j);this[y]("doExpressInstall",j);this[y]("xiRedirectUrl",l?l:k[C]);this[y]("redirectUrl","");u&&this[y]("redirectUrl",u)}};
Ga(nd,{Dd:function(a){this.Fd=!a?"expressinstall.swf":a;this[y]("useExpressInstall",g)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]||""},ha:function(a,b){this.ra[a]=b},C:function(a,b){this.Ed[a]=b},Nc:function(){var a=[],b,c=this.Ed;for(b in c)a[a[z]]=b+"="+c[b];return a},Nf:function(){var a="";if(fa.plugins&&fa.mimeTypes&&fa.mimeTypes[z]){if(this[vc]("doExpressInstall")){this.C("MMplayerType","PlugIn");this[y]("swf",this.Fd)}a='<embed type="application/x-shockwave-flash" src="'+
this[vc]("swf")+'" width="'+this[vc]("width")+'" height="'+this[vc]("height")+'" style="'+(this[vc]("style")||"")+'"';a+=' id="'+this[vc]("id")+'" name="'+this[vc]("id")+'" ';var b=this.ra;for(var c in b)a+=[c]+'="'+b[c]+'" ';b=this.Nc()[H]("&");if(b[z]>0)a+='flashvars="'+b+'"';a+="/>"}else{if(this[vc]("doExpressInstall")){this.C("MMplayerType","ActiveX");this[y]("swf",this.Fd)}a='<object id="'+this[vc]("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this[vc]("width")+'" height="'+
this[vc]("height")+'" style="'+(this[vc]("style")||"")+'">';a+='<param name="movie" value="'+this[vc]("swf")+'" />';b=this.ra;for(c in b)a+='<param name="'+c+'" value="'+b[c]+'" />';b=this.Nc()[H]("&");if(b[z]>0)a+='<param name="flashvars" value="'+b+'" />';a+="</object>"}return a},write:function(a){if(this[vc]("useExpressInstall"))if(this.bb.Ra(new kd([6,0,65]))&&!this.bb.Ra(this[vc]("version"))){this[y]("doExpressInstall",g);this.C("MMredirectURL",escape(this[vc]("xiRedirectUrl")));m.title=m[bc][$a](0,
47)+" - Flash Player Installation";this.C("MMdoctitle",m[bc])}if(this.Vg||this[vc]("doExpressInstall")||this.bb.Ra(this[vc]("version"))){o(typeof a=="string"?m[db](a):a,this.Nf());return g}else this[vc]("redirectUrl")!=""&&m[C][s](this[vc]("redirectUrl"));return j}});
var ld=function(){var a=new kd([0,0,0]),b;if(fa.plugins&&fa.mimeTypes[z]){if((b=fa.plugins["Shockwave Flash"])&&b.description)a=new kd(b.description[s](/([a-zA-Z]|\s)+/,"")[s](/(\s+r|\s+b[0-9]+)/,".")[B]("."))}else if(fa[jc]&&fa[jc][x]("Windows CE")>=0){b=1;for(var c=3;b;)try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);a=new kd([c,0,0])}catch(d){b=h}}else{try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
a=new kd([6,0,21]);b.kh="always"}catch(f){if(a.u==6)return a}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(i){}}if(b)a=new kd(b.GetVariable("$version")[B](" ")[1][B](","))}return a},kd=function(a){this.u=a[0]!=h?ia(a[0],10):0;this.O=a[1]!=h?ia(a[1],10):0;this.rev=a[2]!=h?ia(a[2],10):0};kd[A].Ra=function(a){if(this.u<a.u)return j;if(this.u>a.u)return g;if(this.O<a.O)return j;if(this.O>a.O)return g;if(this.rev<a.rev)return j;return g};
var jd=function(a){var b=m[C][qc]||m[C][Sa];if(a==h)return od(b);if(b){b=b[Cc](1)[B]("&");for(var c=0;c<b[z];c++)if(b[c][Cc](0,b[c][x]("="))==a)return od(b[c][Cc](b[c][x]("=")+1))}return""},od=function(a){return/[\\\"<>;]/[Xa](a)!=h&&typeof da!="undefined"?da(a):a},md=function(){for(var a=m[Rb]("OBJECT"),b=a[z]-1;b>=0;b--){Pa(a[b][E],"none");for(var c in a[b])if(typeof a[b][c]=="function")a[b][c]=function(){}}};if(!m[db]&&m.all)m.getElementById=function(a){return m.all[a]};var pd=Array[A],qd=pd[x]?function(a,b,c){return pd[x][F](a,b,c)}:function(a,b,c){c=c==h?0:c<0?n.max(0,a[z]+c):c;if(Zc(a)){if(!Zc(b)||b[z]!=1)return-1;return a[x](b,c)}for(c=c;c<a[z];c++)if(c in a&&a[c]===b)return c;return-1},M=pd[Cb]?function(a,b,c){pd[Cb][F](a,b,c)}:function(a,b,c){for(var d=a[z],e=Zc(a)?a[B](""):a,f=0;f<d;f++)f in e&&b[F](c,e[f],f,a)},rd=pd.filter?function(a,b,c){return pd.filter[F](a,b,c)}:function(a,b,c){for(var d=a[z],e=[],f=0,i=Zc(a)?a[B](""):a,l=0;l<d;l++)if(l in i){var u=
i[l];if(b[F](c,u,l,a))e[f++]=u}return e},sd=pd.map?function(a,b,c){return pd.map[F](a,b,c)}:function(a,b,c){for(var d=a[z],e=new Array(d),f=Zc(a)?a[B](""):a,i=0;i<d;i++)if(i in f)e[i]=b[F](c,f[i],i,a);return e},td=function(a,b,c){a:{for(var d=a[z],e=Zc(a)?a[B](""):a,f=0;f<d;f++)if(f in e&&b[F](c,e[f],f,a)){b=f;break a}b=-1}return b<0?h:Zc(a)?a[gb](b):a[b]},ud=function(a,b){var c=qd(a,b),d;if(d=c>=0)pd[Mc][F](a,c,1)[z]==1;return d},vd=function(){return pd.concat[Gc](pd,arguments)},wd=function(a){if(Xc(a))return vd(a);
else{for(var b=[],c=0,d=a[z];c<d;c++)b[c]=a[c];return b}},xd=function(a){for(var b=1;b<arguments[z];b++){var c=arguments[b],d;if(Xc(c)||(d=Yc(c))&&c[mc]("callee"))a[r][Gc](a,c);else if(d)for(var e=a[z],f=c[z],i=0;i<f;i++)a[e+i]=c[i];else a[r](c)}},zd=function(a){return pd[Mc][Gc](a,yd(arguments,1))},yd=function(a,b,c){return arguments[z]<=2?pd[$a][F](a,b):pd[$a][F](a,b,c)};var Ad;var Bd=function(a){return(a=a[cc])&&typeof a[B]=="function"?a[B](/\s+/):[]},O=function(a){var b=Bd(a),c;c=yd(arguments,1);for(var d=0,e=0;e<c[z];e++)if(!(qd(b,c[e])>=0)){b[r](c[e]);d++}c=d==c[z];Ha(a,b[H](" "));return c},P=function(a){var b=Bd(a),c;c=yd(arguments,1);for(var d=0,e=0;e<b[z];e++)if(qd(c,b[e])>=0){zd(b,e--,1);d++}c=d==c[z];Ha(a,b[H](" "));return c},Q=function(a,b){return qd(Bd(a),b)>=0},Cd=function(a,b,c){c?O(a,b):P(a,b)},Dd=function(a,b){var c=!Q(a,b);Cd(a,b,c);return c};var Ed=function(a,b){this.x=Sc(a)?a:0;this.y=Sc(b)?b:0};Ed[A].w=function(){return new Ed(this.x,this.y)};Ea(Ed[A],function(){return"("+this.x+", "+this.y+")"});var Fd=function(a,b){return new Ed(a.x-b.x,a.y-b.y)};var Gd=function(a,b){pa(this,a);Qa(this,b)};Gd[A].w=function(){return new Gd(this[Ya],this[Lc])};Ea(Gd[A],function(){return"("+this[Ya]+" x "+this[Lc]+")"});Gd[A].floor=function(){pa(this,n[bb](this[Ya]));Qa(this,n[bb](this[Lc]));return this};Gd[A].round=function(){pa(this,n[Za](this[Ya]));Qa(this,n[Za](this[Lc]));return this};var Hd=function(a,b,c){for(var d in a)b[F](c,a[d],d,a)},Id=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},Jd=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},Kd=function(a,b,c){for(var d in a)if(b[F](c,a[d],d,a))return d},Ld=function(a){var b={};for(var c in a)b[c]=a[c];return b};var Md=/^[a-zA-Z0-9\-_.!~*'()]*$/,Nd=function(a){a=String(a);if(!Md[Wa](a))return da(a);return a},Od=function(a){return la(a[s](/\+/g," "))},Ud=function(a,b){if(b)return a[s](Pd,"&amp;")[s](Qd,"&lt;")[s](Rd,"&gt;")[s](Sd,"&quot;");else{if(!Td[Wa](a))return a;if(a[x]("&")!=-1)a=a[s](Pd,"&amp;");if(a[x]("<")!=-1)a=a[s](Qd,"&lt;");if(a[x](">")!=-1)a=a[s](Rd,"&gt;");if(a[x]('"')!=-1)a=a[s](Sd,"&quot;");return a}},Pd=/&/g,Qd=/</g,Rd=/>/g,Sd=/\"/g,Td=/[&<>\"]/,Wd=function(a){if(a[x]("&")!=-1){if("document"in
Rc&&a[x]("<")==-1){a=a;var b=Rc[fc][xb]("a");o(b,a);b.normalize&&b.normalize();a=b[Ab].nodeValue;o(b,"");a=a}else a=Vd(a);return a}return a},Vd=function(a){return a[s](/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c[gb](0)=="#"){var d=Number("0"+c[Wb](1));if(!ma(d))return String.fromCharCode(d)}return b}})},Yd=function(a,b){for(var c=0,d=String(a)[s](/^[\s\xa0]+|[\s\xa0]+$/g,"")[B]("."),e=String(b)[s](/^[\s\xa0]+|[\s\xa0]+$/g,
"")[B]("."),f=n.max(d[z],e[z]),i=0;c==0&&i<f;i++){var l=d[i]||"",u=e[i]||"",w=new RegExp("(\\d*)(\\D*)","g"),N=new RegExp("(\\d*)(\\D*)","g");do{var D=w[Xa](l)||["","",""],J=N[Xa](u)||["","",""];if(D[0][z]==0&&J[0][z]==0)break;c=Xd(D[1][z]==0?0:ia(D[1],10),J[1][z]==0?0:ia(J[1],10))||Xd(D[2][z]==0,J[2][z]==0)||Xd(D[2],J[2])}while(c==0)}return c},Xd=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var Zd,$d,ae,be,ce,de,ee=function(){return Rc.navigator?Rc.navigator[jc]:h},fe=function(){return Rc.navigator};ce=be=ae=$d=Zd=j;var ge;if(ge=ee()){var he=fe();Zd=ge[x]("Opera")==0;$d=!Zd&&ge[x]("MSIE")!=-1;be=(ae=!Zd&&ge[x]("WebKit")!=-1)&&ge[x]("Mobile")!=-1;ce=!Zd&&!ae&&he.product=="Gecko"}var ie=Zd,je=$d,ke=ce,le=ae,me=be,ne=fe();de=(ne&&ne.platform||"")[x]("Mac")!=-1;var oe=!!fe()&&(fe().appVersion||"")[x]("X11")!=-1,pe="",qe;
if(ie&&Rc[vb]){var re=Rc[vb].version;pe=typeof re=="function"?re():re}else{if(ke)qe=/rv\:([^\);]+)(\)|;)/;else if(je)qe=/MSIE\s+([^\);]+)(\)|;)/;else if(le)qe=/WebKit\/(\S+)/;if(qe){var se=qe[Xa](ee());pe=se?se[1]:""}}var te=pe,ue={},ve=function(a){return ue[a]||(ue[a]=Yd(te,a)>=0)};var ye=function(a){return a?new we(xe(a)):Ad||(Ad=new we)},R=function(a){return Zc(a)?m[db](a):a},S=function(a,b,c){return ze(m,a,b,c)},ze=function(a,b,c,d){d=d||a;b=b&&b!="*"?b.toUpperCase():"";if(d.querySelectorAll&&(b||c)&&(!le||Ae(a)||ve("528")))return d.querySelectorAll(b+(c?"."+c:""));if(c&&d.getElementsByClassName){a=d.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,i;i=a[f];f++)if(b==i[nb])d[e++]=i;Fa(d,e);return d}else return a}a=d[Rb](b||"*");if(c){d={};for(f=e=0;i=a[f];f++){b=i[cc];
if(typeof b[B]=="function"&&qd(b[B](/\s+/),c)>=0)d[e++]=i}Fa(d,e);return d}else return a},Ce=function(a,b){Hd(b,function(c,d){if(d=="style")a[E].cssText=c;else if(d=="class")Ha(a,c);else if(d=="for")a.htmlFor=c;else if(d in Be)a[y](Be[d],c);else a[d]=c})},Be={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},De=function(a){var b=a[fc];if(le&&!ve("500")&&!me){if(typeof a.innerHeight==
"undefined")a=k;b=a.innerHeight;var c=a[fc][Ub][yb];if(a==a.top)if(c<b)b-=15;return new Gd(a.innerWidth,b)}a=Ae(b)&&(!ie||ie&&ve("9.50"))?b[Ub]:b[oc];return new Gd(a[dc],a[xc])},Ee=function(a){var b=a[fc],c=0;if(b){a=De(a)[Lc];c=b[oc];var d=b[Ub];if(Ae(b)&&d[yb])c=d[yb]!=a?d[yb]:d[Nc];else{b=d[yb];var e=d[Nc];if(d[xc]!=e){b=c[yb];e=c[Nc]}c=b>a?b>e?b:e:b<e?b:e}}return c},Ge=function(){return Fe(m,arguments)},Fe=function(a,b){var c=b[0],d=b[1];if(je&&d&&(d[Nb]||d[Jb])){c=["<",c];d[Nb]&&c[r](' name="',
Ud(d[Nb]),'"');if(d[Jb]){c[r](' type="',Ud(d[Jb]),'"');d=ed(d);delete d[Jb]}c[r](">");c=c[H]("")}var e=a[xb](c);if(d)if(Zc(d))Ha(e,d);else Ce(e,d);if(b[z]>2){d=function(i){if(i)e[q](Zc(i)?a[ib](i):i)};for(c=2;c<b[z];c++){var f=b[c];Yc(f)&&!(ad(f)&&f[ab]>0)?M(He(f)?wd(f):f,d):d(f)}}return e},Ie=function(a){return m[xb](a)},Ae=function(a){return a[zc]=="CSS1Compat"},Je=function(a){return a&&a[G]?a[G][pc](a):h},Ke=function(a,b){for(;a&&a[ab]!=1;)a=b?a[Ob]:a.previousSibling;return a},xe=function(a){return a[ab]==
9?a:a.ownerDocument||a[fc]},Le=function(a,b){if("textContent"in a)a.textContent=b;else if(a[Ab]&&a[Ab][ab]==3){for(;a.lastChild!=a[Ab];)a[pc](a.lastChild);a[Ab].data=b}else{for(var c;c=a[Ab];)a[pc](c);a[q](xe(a)[ib](b))}},He=function(a){if(a&&typeof a[z]=="number")if(ad(a))return typeof a[lb]=="function"||typeof a[lb]=="string";else if($c(a))return typeof a[lb]=="function";return j},Ne=function(a,b,c){var d=b?b.toUpperCase():h;return Me(a,function(e){return(!d||e[nb]==d)&&(!c||Q(e,c))},g)},Me=function(a,
b,c,d){if(!c)a=a[G];c=d==h;for(var e=0;a&&(c||e<=d);){if(b(a))return a;a=a[G];e++}return h},we=function(a){this.o=a||Rc[fc]||m};I=we[A];I.Hf=function(a){return Zc(a)?this.o[db](a):a};I.g=we[A].Hf;I.If=function(a,b,c){return ze(this.o,a,b,c)};I.Aa=we[A].If;I.Vf=function(a){return De(a||this.Oc()||k)};I.createElement=function(a){return this.o[xb](a)};I.createTextNode=function(a){return this.o[ib](a)};I.Zc=function(){return Ae(this.o)};I.Oc=function(){return this.o.parentWindow||this.o[Mb]};
I.Gf=function(){return!le&&Ae(this.o)?this.o[Ub]:this.o[oc]};I.Eb=function(){var a=!le&&Ae(this.o)?this.o[Ub]:this.o[oc];return new Ed(a[yc],a[Zb])};I.appendChild=function(a,b){a[q](b)};var Oe="StopIteration"in Rc?Rc.StopIteration:ga("StopIteration"),Pe=function(){};Pe[A].next=function(){aa(Oe)};Pe[A].Qe=function(){return this};var Qe=function(a){if(typeof a.fa=="function")return a.fa();if(Zc(a))return a[B]("");if(Yc(a)){for(var b=[],c=a[z],d=0;d<c;d++)b[r](a[d]);return b}return Id(a)},Re=function(a,b,c){if(typeof a[Cb]=="function")a[Cb](b,c);else if(Yc(a)||Zc(a))M(a,b,c);else{var d;if(typeof a.oa=="function")d=a.oa();else if(typeof a.fa!="function")if(Yc(a)||Zc(a)){d=[];for(var e=a[z],f=0;f<e;f++)d[r](f);d=d}else d=Jd(a);else d=void 0;e=Qe(a);f=e[z];for(var i=0;i<f;i++)b[F](c,e[i],d&&d[i],a)}};var Se=function(a){this.G={};this.r=[];var b=arguments[z];if(b>1){if(b%2)aa(ga("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.m(arguments[c],arguments[c+1])}else a&&this.We(a)};I=Se[A];I.h=0;I.Sa=0;I.fa=function(){this.Xa();for(var a=[],b=0;b<this.r[z];b++)a[r](this.G[this.r[b]]);return a};I.oa=function(){this.Xa();return this.r.concat()};I.$=function(a){return Te(this.G,a)};ya(I,function(){this.G={};Fa(this.r,0);this.Sa=this.h=0});
va(I,function(a){if(Te(this.G,a)){delete this.G[a];this.h--;this.Sa++;this.r[z]>2*this.h&&this.Xa();return g}return j});I.Xa=function(){if(this.h!=this.r[z]){for(var a=0,b=0;a<this.r[z];){var c=this.r[a];if(Te(this.G,c))this.r[b++]=c;a++}Fa(this.r,b)}if(this.h!=this.r[z]){var d={};for(b=a=0;a<this.r[z];){c=this.r[a];if(!Te(d,c)){this.r[b++]=c;d[c]=1}a++}Fa(this.r,b)}};I.A=function(a,b){if(Te(this.G,a))return this.G[a];return b};
I.m=function(a,b){if(!Te(this.G,a)){this.h++;this.r[r](a);this.Sa++}this.G[a]=b};I.We=function(a){var b;if(a instanceof Se){b=a.oa();a=a.fa()}else{b=Jd(a);a=Id(a)}for(var c=0;c<b[z];c++)this.m(b[c],a[c])};I.w=function(){return new Se(this)};I.Qe=function(a){this.Xa();var b=0,c=this.r,d=this.G,e=this.Sa,f=this,i=new Pe;i.next=function(){for(;;){if(e!=f.Sa)aa(ga("The map has changed since the iterator was created"));if(b>=c[z])aa(Oe);var l=c[b++];return a?l:d[l]}};return i};
var Te=function(a,b){return ea[A][mc][F](a,b)};var We=function(a){for(var b=[],c=Ue,d=a[Fb],e,f=0;e=d[f];f++)if(!(e.disabled||e[Hc][Oc]()=="fieldset")){var i=e[Nb];switch(e[Jb][Oc]()){case "file":case "submit":case "reset":case "button":break;case "select-multiple":e=Ve(e);if(e!=h)for(var l,u=0;l=e[u];u++)c(b,i,l);break;default:l=Ve(e);l!=h&&c(b,i,l)}}d=a[Rb]("input");for(f=0;e=d[f];f++)if(e.form==a&&e[Jb][Oc]()=="image"){i=e[Nb];c(b,i,e[v]);c(b,i+".x","0");c(b,i+".y","0")}return b[H]("&")},Ue=function(a,b,c){a[r](da(b)+"="+da(c))},Ve=function(a){var b=
a[Jb];if(!Sc(b))return h;switch(b[Oc]()){case "checkbox":case "radio":return a[ec]?a[v]:h;case "select-one":b=a.selectedIndex;return b>=0?a[tc][b][v]:h;case "select-multiple":b=[];for(var c,d=0;c=a[tc][d];d++)c.selected&&b[r](c[v]);return b[z]?b:h;default:return Sc(a[v])?a[v]:h}};var Xe=/<[^>]*>|&[^;]+;/g,Ye=new RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]"),Ze=function(a,b){return Ye[Wa](b?a[s](Xe," "):a)};var $e=k.yt&&k.yt.config_||{};K("yt.config_",$e,void 0);var af=k.yt&&k.yt.globals_||{};K("yt.globals_",af,void 0);var bf=k.yt&&k.yt.msgs_||{};K("yt.msgs_",bf,void 0);var cf=k.yt&&k.yt.timeouts_||[];K("yt.timeouts_",cf,void 0);var df=k.yt&&k.yt.intervals_||[];K("yt.intervals_",df,void 0);
var ff=function(){ef($e,arguments)},T=function(a,b){return a in $e?$e[a]:b},gf=function(){for(var a=0,b=arguments[z];a<b;++a)af[arguments[a]]=1},hf=function(a,b){var c=k.setTimeout(a,b);cf[r](c);return c},jf=function(a,b){var c=k.setInterval(a,b);df[r](c);return c},kf=function(a){k.clearTimeout(a)},lf=function(a){k.clearInterval(a)},U=function(a,b,c){b=b||{};if(a=a in bf?bf[a]:c)for(var d in b)a=a[s](new RegExp("\\$"+d,"gi"),b[d]);return a},ef=function(a,b){if(b[z]>1){var c=b[0];a[c]=b[1]}else{var d=
b[0];for(c in d)a[c]=d[c]}},mf=!!eval("/*@cc_on!@*/false");/*
 Portions of this code are from the MooTools project, received by
 YouTube under the MIT License. All other code is Copyright 2009 YouTube LLC.
 All Rights Reserved.

 Prototype JavaScript framework, version 1.4
 (c) 2005 Sam Stephenson <sam@conio.net>
 Prototype is freely distributable under the terms of an MIT-style license.
 For details, see the Prototype web site: http://prototype.conio.net/

 (c) 2006 Valerio Proietti (http://mad4milk.net). MIT-style license.

 Author: Robert Penner, <http://www.robertpenner.com/easing/>, modified to be used with mootools.
 License: Easing Equations v1.5, (c) 2003 Robert Penner, all rights reserved. Open Source BSD License.

*/
var nf=function(){return function(){this.Yc[Gc](this,arguments)}},of=function(a,b){for(var c in b)a[c]=b[c];return a},pf=function(a,b){return function(){return a[Gc](b,arguments)}},qf=function(){};
Ga(qf,{od:function(a){this.options=of({onStart:function(){},onComplete:function(){},transition:function(b,c,d,e){return d*(b/=e)*b+c},transitionOut:function(b,c,d,e){return-d*(b/=e)*(b-2)+c},duration:333,unit:"px",wait:g,dontUseVisibility:j,fps:50},a||{})},Wg:function(){var a=(new Date)[Qb]();if(a<this.zd+this[tc].duration){this.xc=a-this.zd;this.Pg()}else{hf(pf(this[tc].onComplete,this,this[Ic]),10);this.yb();this.now=this.Ad}this.Mb()},Pg:function(){this.now=this.kf(this.Df,this.Ad)},kf:function(a,
b){var c=b-a;return c<0?this[tc].transition(this.xc,a,c,this[tc].duration):this[tc].transitionOut(this.xc,a,c,this[tc].duration)},yb:function(){lf(this.nc);this.nc=h;return this},Ve:function(a,b){this[tc].wait||this.yb();if(!this.nc){hf(pf(this[tc].onStart,this,this[Ic]),10);this.Df=a;this.Ad=b;this.zd=(new Date)[Qb]();this.nc=jf(pf(this.Wg,this),n[Za](1E3/this[tc].fps));return this}},Ya:function(a,b){return this.Ve(a,b)},m:function(a){this.now=a;this.Mb();return this},show:function(){return this.m(1)},
Jb:function(){return this.m(0)},pd:function(a,b,c){if(b=="opacity"){if(!this[tc].dontUseVisibility)if(c==0)Ca(a[E],"hidden");else if(a[E][Xb]!="visible")Ca(a[E],"visible");if(k.ActiveXObject)a[E].filter="alpha(opacity="+c*100+")";a[E].opacity=c}else a[E][b]=c+this[tc].unit}});var rf=nf();Ga(rf,of(new qf,{Yc:function(a,b,c){this.element=R(a);this.od(c);this.of=b},Mb:function(){this.pd(this[Ic],this.of,this.now)}}));var sf=nf();
Ga(sf,of(new qf,{Yc:function(a,b){this.element=R(a);this.od(b);this.now=1},dh:function(){return this.now>0?this.Ya(1,0):this.Ya(0,1)},Jb:function(){return this.m(0)},Mb:function(){this.pd(this[Ic],"opacity",this.now)}}));var tf={},uf=function(a,b,c,d){if(T("EVENTS_TRACKER_INSTALLED")){var e=tf[a];if(!e){var f=k._gaq._getAsyncTracker("eventsPageTracker");if(!f)return;k._gaq[r](function(){e=f._createEventTracker(a);tf[a]=e})}var i=c||ha,l=d||ha;k._gaq[r](function(){e._trackEvent(b,i,l)})}};var vf=function(a,b,c){a=S(a,b,c);return a[z]?a[0]:h};var wf=function(a,b,c){if(a[fb])a[fb][b]=c;else a[y]("data-"+b,c)},xf=function(a,b){return a[fb]?a[fb][b]:a[vc]("data-"+b)},yf=function(a,b){return a[fb]?b in a[fb]:a.hasAttribute?!!a.hasAttribute("data-"+b):!!a[vc]("data-"+b)};var zf=function(a){if(a=a||Tc("window.event")){xa(this,a[Jb]);var b=a[rc]||a.srcElement;if(b&&b[ab]==3)b=b[G];Ma(this,b);if(b=a.relatedTarget)try{b=b[nb]&&b}catch(c){b=h}else if(this[Jb]=="mouseover")b=a.fromElement;else if(this[Jb]=="mouseout")b=a.toElement;oa(this,b);Aa(this,a[Sb]!==ha?a[Sb]:a.pageX);Ba(this,a[Tb]!==ha?a[Tb]:a.pageY);wa(this,a[zb]||0);ua(this,a.charCode||(this[Jb]=="keypress"?this[zb]:0));this.z=a}};I=zf[A];xa(I,"");Ma(I,h);oa(I,h);wa(I,0);ua(I,0);I.z=h;Aa(I,0);Ba(I,0);
ra(I,function(){Na(this.z,j);this.z[kb]&&this.z[kb]()});Ja(I,function(){za(this.z,j);this.z[ic]&&this.z[ic]()});var Af={},Bf=0,Cf=function(a,b,c){return Kd(Af,function(d){return d[0]==a&&d[1]==b&&d[2]==c})},Df=function(a,b,c){if(!a||!(a[Eb]||a[Lb]))return"";var d=Cf(a,b,c);if(d)return d;d=++Bf+"";var e=function(f){return c[F](a,new zf(f))};Af[d]=[a,b,c,e];a[Eb]?a[Eb](b,e,j):a[Lb]("on"+b,e);return d},Ef=function(a){if(a in Af){var b=Af[a],c=b[0],d=b[1];b=b[3];c[gc]?c[gc](d,b,j):c.detachEvent("on"+d,b);delete Af[a]}},Ff=function(){for(var a in Af)Ef(a)},Gf=function(a){a=a||k[Qc];a=a[rc]||a.srcElement;if(a[ab]==
3)a=a[G];return a},Hf=function(a){a=a||k[Qc];var b=a.relatedTarget;if(!b)if(a[Jb]=="mouseover")b=a.fromElement;else if(a[Jb]=="mouseout")b=a.toElement;return b},If=function(a){a=a||k[Qc];za(a,g);a[ic]&&a[ic]()},Jf=function(a){a=a||k[Qc];Na(a,j);a[kb]&&a[kb]();return j};var Nf=function(a){this.vc={};this.wb={};this.ra={};a=a||{};this.url=a.url||this.url;this.pb=a.url_v8||this.pb;this.qb=a.url_v9as2||this.qb;this.Ub=a.min_version||this.Ub;this.vc=a.args||Ld(Kf);this.wb=a.attrs||Ld(Lf);this.ra=a.params||Ld(Mf)},Kf={enablejsapi:1},Lf={width:"640",height:"385"},Mf={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};Nf[A].url="";Nf[A].pb="";Nf[A].qb="";Nf[A].Ub="8.0.0";var Of=function(){this.rb=[];this.Xc()};Vc(Of);I=Of[A];I.u=0;I.O=0;I.rev=0;I.Vb="";I.Cf="";I.ga=0;I.load=function(a){this.ga>=3?a(this):this.rb[r](a)};I.rd=function(a){this.u=a[0];this.O=a[1];this.rev=a[2]};I.isSupported=function(a,b,c){a=typeof a=="string"?a[B]("."):[a,b,c];a[0]=ia(a[0],10)||0;a[1]=ia(a[1],10)||0;a[2]=ia(a[2],10)||0;return this.u>a[0]||this.u==a[0]&&this.O>a[1]||this.u==a[0]&&this.O==a[1]&&this.rev>=a[2]};I.Xg=function(){return mf&&this.isSupported(6,0,65)};
I.cf=function(){if(this.Vb[x]("Gnash")>-1&&this.Vb[x]("AVM2")==-1)return j;if(this.u==9&&this.O==1)return j;if(this.u==9&&this.O==0&&this.rev==1)return j;return this.u>=9};I.df=function(){if(fa[jc][x]("Sony/COM2")>-1&&!this.isSupported(9,1,58))return j;return g};I.Xc=function(){if(this.ga<3)if(this.ga<1)this.Bf();else this.ga<2?this.Af():this.Rc()};I.Cd=function(a){this.ga=a;this.u>0?this.Rc():this.Xc()};
I.Yf=function(a){var b;if(b=a){var c=b[x]("Shockwave Flash");if(c>=0)b=b[Wb](c+15);c=b[B](" ");var d="";b="";for(var e=0,f=c[z];e<f;e++)if(d)if(b)break;else b=c[e];else d=c[e];d=d[B](".");c=ia(d[0],10)||0;d=ia(d[1],10)||0;e=0;if(b[gb](0)=="r"||b[gb](0)=="d")e=ia(b[Wb](1),10)||0;b=[c,d,e]}else b=[0,0,0];this.Vb=a;this.rd(b);this.Cd(1)};I.Qc=function(a){var b;if(a){b=a[B](" ")[1][B](",");b=[ia(b[0],10)||0,ia(b[1],10)||0,ia(b[2],10)||0]}else b=[0,0,0];this.Cf=a;this.rd(b);this.Cd(2)};
I.Rc=function(){if(this.ga<3){this.ga=3;for(var a=0,b=this.rb[z];a<b;a++)this.rb[a](this);this.rb=[]}};I.Bf=function(){var a=Tc("window.navigator.plugins"),b=Tc("window.navigator.mimeTypes");a=a&&a["Shockwave Flash"];b=b&&b["application/x-shockwave-flash"];this.Yf(a&&b&&b.enabledPlugin&&a.description||"")};
I.Af=function(){var a,b,c,d;if(mf){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){a=h}a||this.Qc("")}else{c=m[Rb]("body")[0];d=m[xb]("object");d[y]("type","application/x-shockwave-flash");a=c[q](d)}var f=L(this.Qc,this),i=0,l=function(){if(a&&"GetVariable"in a)try{b=a.GetVariable("$version")}catch(u){b=""}if(b||i>=10){c&&d&&c[pc](d);f(b||"")}else{i++;hf(l,10)}};hf(l,0)};var Pf=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Qf=function(a,b){for(var c in b){var d=c,e=b[c];if(Xc(e)){e=e;for(var f=0;f<e[z];f++){a[r]("&",d);e[f]!==""&&a[r]("=",Nd(e[f]))}}else if(e!=h){a[r]("&",d);e!==""&&a[r]("=",Nd(e))}}return a};var Rf=function(a){if(a[gb](0)=="#")a=a[gb](1)=="!"?a[Wb](2):a[Wb](1);a=a;if(a[gb](0)=="?")a=a[Wb](1);a=a[B]("&");for(var b={},c=0,d=a[z];c<d;c++){var e=a[c][B]("=");if(e[z]==2){var f=e[0];e=Od(e[1]);if(f in b)if(Xc(b[f]))xd(b[f],e);else b[f]=[b[f],e];else b[f]=e}}return b},Sf=function(a){a=Qf([],a);a[0]="";return a[H]("")},Tf=function(a,b){var c=Qf([a],b);if(c[1]){var d=c[0],e=d[x]("#");if(e>=0){c[r](d[Wb](e));c[0]=d=d[Wb](0,e)}e=d[x]("?");if(e<0)c[1]="?";else if(e==d[z]-1)c[1]=ha}return c[H]("")},
Uf=function(a){a=a[B]("/",3);if(a[z]>=3&&a[0]=="http:"&&a[1]==""){var b=a[2][B](".").reverse();if(b[z]<2)return j;var c=b[0];b=b[1];if(b=="youtube"&&c=="com")return g;if(b=="google")return g;if(a[2]=="google"&&(b=="co"&&c=="uk"||b=="com"&&c=="au"))return g}return j};var Vf=function(a,b,c){var d=ld();if(d.u==9)if(fa[jc][x]("Sony/COM2")>-1)d.Ra(new kd([9,1,58]))||(d=new kd([8,0,0]));return d.Ra(new kd([a,b,c]))},Wf=function(a,b,c){if((a=R(a))&&b&&c){c instanceof Nf||(c=new Nf(c));var d=Ld(c.wb),e=Ld(c.ra);e.flashvars=Sf(c.vc);c=[];if(mf){d.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";e.movie=b;c[r]("<object ");for(var f in d)c[r](f,'="',d[f],'"');c[r](">");for(f in e)c[r]('<param name="',f,'" value="',e[f],'">');c[r]("</object>")}else{xa(d,"application/x-shockwave-flash");
d.src=b;c[r]("<embed ");for(f in d)c[r](f,'="',d[f],'"');for(f in e)c[r](f,'="',e[f],'"');c[r](" />")}o(a,c[H](""))}},Xf=function(a,b){if(a){a instanceof Nf||(a=new Nf(a));var c=!!b,d=R(a.wb.id),e=d?d[G]:h;!d||!e?hf(function(){Xf(a)},50):Of.b().load(function(f){if(f.isSupported(a.Ub)){var i=d.src||d.movie||"";if(f.cf()){if(i!=a.url||c)Wf(e,a.url,a)}else if(f.df()){if(i!=a.qb||c)Wf(e,a.qb,a)}else if(i!=a.pb||c)Wf(e,a.pb,a)}else if(f.Xg()){f=new Nf({url:"http://s.ytimg.com/yt/swf/expressInstall-vfl70493.swf",args:{MMredirectURL:k[C],
MMplayerType:"ActiveX",MMdoctitle:m[bc]}});Wf(e,f.url,f)}else o(e,'<div id="flash-upgrade">'+U("FLASH_UPGRADE")+"</div>")})}};var Yf=/\s*;\s*/,Zf=function(a,b,c,d,e){if(/[;=]/[Wa](a))aa(ga('Invalid cookie name "'+a+'"'));if(/;/[Wa](b))aa(ga('Invalid cookie value "'+b+'"'));Sc(c)||(c=-1);m.cookie=a+"="+b+(e?";domain="+e:"")+(d?";path="+d:"")+(c<0?"":c==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((new Date)[Qb]()+c*1E3)).toUTCString())},$f=function(a,b){for(var c=a+"=",d=String(m.cookie)[B](Yf),e=0,f;f=d[e];e++)if(f[x](c)==0)return f[Wb](c[z]);return b};var ag=function(a,b,c){a=""+a;Zf(a,b,c,"/","youtube.com")},bg=function(a,b){a=""+a;return $f(a,b)},cg=function(a){a=""+a;var b=Sc($f(a));Zf(a,"",0,"/","youtube.com");return b};var dg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;ta(this,d)};dg[A].w=function(){return new dg(this.top,this[Pc],this[Ac],this[ob])};Ea(dg[A],function(){return"("+this.top+"t, "+this[Pc]+"r, "+this[Ac]+"b, "+this[ob]+"l)"});dg[A].expand=function(a,b,c,d){if(ad(a)){this.top-=a.top;this.right+=a[Pc];this.bottom+=a[Ac];this.left-=a[ob]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};var eg=function(a,b,c,d){ta(this,a);this.top=b;pa(this,c);Qa(this,d)};eg[A].w=function(){return new eg(this[ob],this.top,this[Ya],this[Lc])};Ea(eg[A],function(){return"("+this[ob]+", "+this.top+" - "+this[Ya]+"w x "+this[Lc]+"h)"});eg[A].eg=function(a){var b=n.max(this[ob],a[ob]),c=n.min(this[ob]+this[Ya],a[ob]+a[Ya]);if(b<=c){var d=n.max(this.top,a.top);a=n.min(this.top+this[Lc],a.top+a[Lc]);if(d<=a){ta(this,b);this.top=d;pa(this,c-b);Qa(this,a-d);return g}}return j};var fg=function(a,b){var c=xe(a);if(c[Mb]&&c[Mb].getComputedStyle)if(c=c[Mb].getComputedStyle(a,""))return c[b];return h},gg=function(a,b){return fg(a,b)||(a.currentStyle?a.currentStyle[b]:h)||a[E][b]},hg=function(a){var b=a[Ta]();if(je){a=a.ownerDocument;b.left-=a[Ub][Db]+a[oc][Db];b.top-=a[Ub][Gb]+a[oc][Gb]}return b},ig=function(a){if(je)return a[hc];var b=xe(a),c=gg(a,"position"),d=c=="fixed"||c=="absolute";for(a=a[G];a&&a!=b;a=a[G]){c=gg(a,"position");d=d&&c=="static"&&a!=b[Ub]&&a!=b[oc];if(!d&&
(a.scrollWidth>a[dc]||a[yb]>a[xc]||c=="fixed"||c=="absolute"))return a}return h},jg=function(a){var b,c=xe(a),d=gg(a,"position"),e=ke&&c[ub]&&!a[Ta]&&d=="absolute"&&(b=c[ub](a))&&(b[rb]<0||b[sb]<0),f=new Ed(0,0),i;b=c?c[ab]==9?c:xe(c):m;i=je&&!ye(b).Zc()?b[oc]:b[Ub];if(a==i)return f;if(a[Ta]){b=hg(a);a=ye(c).Eb();f.x=b[ob]+a.x;f.y=b.top+a.y}else if(c[ub]&&!e){b=c[ub](a);a=c[ub](i);f.x=b[rb]-a[rb];f.y=b[sb]-a[sb]}else{b=a;do{f.x+=b.offsetLeft;f.y+=b[Kc];if(b!=a){f.x+=b[Db]||0;f.y+=b[Gb]||0}if(le&&
gg(b,"position")=="fixed"){f.x+=c[oc][yc];f.y+=c[oc][Zb];break}b=b[hc]}while(b&&b!=a);if(ie||le&&d=="absolute")f.y-=c[oc][Kc];for(b=a;(b=ig(b))&&b!=c[oc]&&b!=i;){f.x-=b[yc];if(!ie||b[Hc]!="TR")f.y-=b[Zb]}}return f},kg=function(a){var b=ie&&!ve("10");if(gg(a,"display")!="none")return b?new Gd(a[eb]||a[dc],a[Nc]||a[xc]):new Gd(a[eb],a[Nc]);var c=a[E],d=c[Jc],e=c[Xb],f=c.position;Ca(c,"hidden");c.position="absolute";Pa(c,"inline");if(b){b=a[eb]||a[dc];a=a[Nc]||a[xc]}else{b=a[eb];a=a[Nc]}Pa(c,d);c.position=
f;Ca(c,e);return new Gd(b,a)};var lg=function(a,b){if((a=R(a))&&a[E]){Pa(a[E],b?"":"none");Cd(a,"hid",!b)}},mg=function(a){a=R(a);if(!a)return j;return!(a[E][Jc]=="none"||Q(a,"hid"))},ng=function(a){if(a=R(a))if(mg(a)){Pa(a[E],"none");O(a,"hid")}else{Pa(a[E],"");P(a,"hid")}},og=function(a,b){if(a=R(a))Ca(a[E],b?"visible":"hidden")},pg=function(a){a=R(a);if(!a)return h;var b=0,c=0;if(a[hc]){do{b+=a.offsetLeft;c+=a[Kc]}while(a=a[hc])}return new Ed(b,c)},V=function(){M(arguments,function(a){lg(a,g)})},W=function(){M(arguments,function(a){lg(a,
j)})},qg=function(){M(arguments,ng)};var sg=function(){return rg&&rg()},rg=h;(function(){if(typeof XMLHttpRequest!="undefined")rg=function(){return new XMLHttpRequest};else if(typeof ActiveXObject!="undefined")rg=function(){return new ActiveXObject("Microsoft.XMLHTTP")}})();var tg=function(a,b,c,d,e){var f=new sg;if("open"in f){f.onreadystatechange=function(){(f&&"readyState"in f?f.readyState:0)==4&&b&&b(f)};c=c||"GET";d=d||"";f[Va](c,a,g);c=="POST"&&f.setRequestHeader("Content-Type","application/x-www-form-urlencoded");if(e)for(var i in e)f.setRequestHeader(i,e[i]);f.send(d)}},ug=function(a){k[Dc]&&k[Dc].warn&&k[Dc].warn(a)},X=function(a,b){var c=b.onComplete||h,d=b.onException||h,e=b.onError||h,f=b.update||h,i=b.json||j;tg(a,function(l){var u;a:switch(l&&"status"in
l?l.status:-1){case 0:case 200:case 204:case 304:u=g;break a;default:u=j;break a}if(u){var w=l[wc];u=w?vg(w):h;w=!!(w&&u);var N,D;if(w){N=wg(u,"return_code");D=wg(u,"html_content");if(N==0){if(f&&D)o(R(f),D);var J=wg(u,"css_content"),ca=wg(u,"js_content");if(J){var Vb=m[xb]("style");Vb[y]("type","text/css");if(Vb.styleSheet)Vb.styleSheet.cssText=J;else Vb[q](m[ib](J));m[Rb]("head")[0][q](Vb)}if(ca){J=m[xb]("script");qa(J,ca);m[Rb]("head")[0][q](J)}}}if(c)if(w){w=wg(u,"redirect_on_success");if(N&&
w)Ka(k,w);else{(u=wg(u,N==0?"success_message":"error_message"))&&alert(u);l=i?eval("("+D+")"):l;if(N==0)c(l);else if(d)d(l);else u||ug("Non-zero ("+N+") return code from AJAX request: "+a)}}else l[cb]?c(l):ug("No xmlResponse or xhr.responseText from AJAX request: "+a)}else e&&e(l)},b.method||"POST",b.postBody||h,b.headers||h)},vg=function(a){if(!a)return h;return(a=("responseXML"in a?a[wc]:a)[Rb]("root"))&&a[z]>0?a[0]:h},wg=function(a,b){if(!a)return h;var c=a[Rb](b);return c&&c[z]>0&&c[0][Ab]?c[0][Ab].nodeValue:
h},xg={};K("yt.net.ajax.setToken",function(a,b){xg[a]=b},void 0);var yg=function(a){return a in xg?xg[a]:void 0};var zg={},Ag=0,Bg=function(a){var b=new Image,c=""+Ag++;zg[c]=b;b.onload=b.onerror=function(){delete zg[c]};b.src=a;b=eval("null")};var Cg=function(a,b){var c="a="+a+(b?"&"+b:"")[s](/\//g,"&");Bg("/gen_204?"+c);uf(a,b||"null")};var Dg={},Eg=function(a){a=a.b();var b=a.a();if(!(b in Dg)&&a.sd()){a.La();Dg[b]=a}};var Fg=function(){};Fg[A].Hc=j;Fg[A].Za=function(){if(!this.Hc){this.Hc=g;this.U()}};Fg[A].U=function(){};var Gg=function(){this.I=[];this.S={}};gd(Gg,Fg);I=Gg[A];I.bd=1;I.jb=0;I.yd=function(a,b,c){var d=this.S[a];d||(d=this.S[a]=[]);var e=this.bd;this.I[e]=a;this.I[e+1]=b;this.I[e+2]=c;this.bd=e+3;d[r](e);return e};I.oc=function(a){if(this.jb!=0){if(!this.Ja)this.Ja=[];this.Ja[r](a);return j}var b=this.I[a];if(b){var c=this.S[b];c&&ud(c,a);delete this.I[a];delete this.I[a+1];delete this.I[a+2]}return!!b};
I.jd=function(a){var b=this.S[a];if(b){this.jb++;for(var c=yd(arguments,1),d=0,e=b[z];d<e;d++){var f=b[d];this.I[f+1][Gc](this.I[f+2],c)}this.jb--;if(this.Ja&&this.jb==0)for(;b=this.Ja.pop();)this.oc(b);return d!=0}return j};ya(I,function(a){if(a){var b=this.S[a];if(b){M(b,this.oc,this);delete this.S[a]}}else{Fa(this.I,0);this.S={}}});I.U=function(){Gg.kc.U[F](this);delete this.I;delete this.S;delete this.Ja};var Hg={},Ig=function(a){var b=Gf(a);if(b[Hc]!="HTML"){a=(a||k[Qc])[Jb];if(a in Hg){var c=Hg[a];for(var d in c.S){var e=Me(b,function(f){return Q(f,d)},g,a[x]("mouse")!=-1?2:ha);e&&c.jd(d,e,a)}}}};Df(m,"click",Ig);Df(m,"mouseover",Ig);Df(m,"mouseout",Ig);var Jg=function(){this.ia={}};I=Jg[A];I.ad=!!eval("/*@cc_on!@*/false");I.sd=function(){return g};I.Q=function(a,b,c){c=this.a(c);var d=L(b,this);a in Hg||(Hg[a]=new Gg);Hg[a].yd(c,d);this.ia[b]=d};I.getData=function(a,b){return xf(a,b)};I.setData=function(a,b,c){wf(a,b,c)};I.ea=function(a){return Ne(a,h,this.a())};I.a=function(a){return this.Ef()+(a?"-"+a:"")};I.Ef=function(){return"yt-uix"+(this.ka?"-"+this.ka:"")};var Kg=function(){this.ia={}};gd(Kg,Jg);Vc(Kg);I=Kg[A];I.ka="button";I.La=function(){this.Q("click",this.zb)};I.zb=function(a){var b=this[jb](a,"button-action");if(b)(b=Tc(b))&&b[F](h,a);b=this.Gb(a);a&&b&&this.fh(a)};I.fh=function(a){var b=this.ab(a);mg(b)?this.Kb(a):this.Tg(a)};
I.Tg=function(a){if(a){var b=this.ab(a);if(b){var c=this.Kc(a),d=!!this[jb](a,"button-menu-ignore-group"),e=pg(a),f=e.w();if(c&&!d){var i=pg(c);f.x=i.x}f.y+=a[Nc]-2;var l=c&&!d?c[eb]-2:a[eb]-2;ta(b[E],f.x+"px");b[E].top=f.y+"px";b[E].minWidth=l+"px";V(b);O(a,this.a("active"));c&&O(c,this.a("group-active"));if(Q(a,"reverse")){f.y=e.y-b[Nc]+2;b[E].top=f.y+"px"}if(Q(a,"flip")){f.x=c&&!d?i.x+c[eb]:e.x+a[eb];f.x-=b[eb];ta(b[E],f.x+"px")}b=L(this.mg,this,a);b=Df(m,"click",b);this[Yb](a,"button-listener",
b)}}};I.Kb=function(a){if(a){var b=this.ab(a);b&&W(b);b=this.Kc(a);P(a,this.a("active"));b&&P(b,this.a("group-active"));if(b=this[jb](a,"button-listener")){Ef(b);this[Yb](a,"button-listener","")}}};I.Bd=function(a,b){this.Rg(a,b);var c=this.ab(a);if(c)o(c,b)};I.ab=function(a){var b=a.activeMenu;if(!b){b=this.Gb(a)[Ib](j);o(b,this.Uf(a));a.activeMenu=b;b.menuButton=a;m[oc][q](b)}return b};I.mg=function(a,b){var c=Gf(b);if(!this.Lf(c)||c[nb]=="SPAN"||Q(c,this.a("menu-close")))this.Kb(a)};
I.Uf=function(a){var b=this[jb](a,"button-menu-content");if(!b)if(a=this.Gb(a))b=a[t];return b||""};I.Rg=function(a,b){this[Yb](a,"button-menu-content",b)};I.Gb=function(a){return vf(h,this.a("menu"),a)};I.Lf=function(a){return Ne(a,h,this.a("menu"))};I.Kc=function(a){return Ne(a,h,this.a("group"))};var Lg=function(){this.ia={}};gd(Lg,Jg);Vc(Lg);I=Lg[A];I.ka="expander";I.La=function(){this.Q("click",this.zb,"head")};I.zb=function(a){if(a=this.ea(a)){Dd(a,this.a("collapsed"));var b=this[jb](a,"expander-action");if(b)(b=Tc(b))&&b[F](h,a)}};I.collapse=function(a){if(a=this.ea(a)){O(a,this.a("collapsed"));var b=this[jb](a,"expander-action");if(b)(b=Tc(b))&&b[F](h,a)}};I.expand=function(a){if(a=this.ea(a)){P(a,this.a("collapsed"));var b=this[jb](a,"expander-action");if(b)(b=Tc(b))&&b[F](h,a)}};var Mg=function(){this.ia={}};gd(Mg,Jg);Vc(Mg);I=Mg[A];I.ka="tooltip";I.La=function(){this.Q("mouseover",this.og);this.Q("mouseout",this.ng)};I.sd=function(){return!(this.ad&&/MSIE 6/[Wa](fa[jc]))};I.og=function(a){var b=ia(this[jb](a,"tooltip-timer"),10);b&&kf(b);this.xd(a);if(a[bc]){this[Yb](a,"tooltip-title",a[bc]);a.title=""}};I.ng=function(a){var b=L(this.Wc,this,a);b=hf(b,50);this[Yb](a,"tooltip-timer",b[$b]());if(b=this[jb](a,"tooltip-title"))a.title=b};
I.xd=function(a){if(a){var b=this[jb](a,"tooltip")||a[bc];if(b){var c=this.a("tip"),d=c+dd(a),e=R(d);if(!e){var f=pg(a),i=f.w();i.x+=a[eb]/2;i.y-=3;e=m[xb]("div");e.id=d;Ha(e,c);ta(e[E],i.x+"px");e[E].top=i.y+"px";c=m[xb]("div");Ha(c,this.a("tip-body"));d=m[xb]("div");Ha(d,this.a("tip-arrow"));var l=m[xb]("div");Ha(l,this.a("tip-content"));o(l,b);c[q](l);e[q](c);e[q](d);m[oc][q](e);if(Q(a,"reverse")){i.y=f.y+a[Nc]+1;e[E].top=i.y+"px";O(e,this.a("tip-reverse"))}var u=this.a("tip-visible");hf(function(){O(e,
u)},0)}}}};I.Wc=function(a){if(a){a=this.a("tip")+dd(a);(a=R(a))&&m[oc][pc](a)}};var Ng=function(a,b){var c=R(a);for(c=Ke(c[Ab],g);c;){b&&b!=c.id&&W(c);c=Ke(c[Ob],g)}},Og=j,Pg=function(a){if(!Og&&(a[zb]==40||a[zb]==32||a[zb]==34))R("masthead-search-term")[hb]();Og=g};var Qg,Rg,Sg,Ug,Vg,Wg,Xg,Yg,Zg,$g,ah,bh,ch=g,dh="",eh=h,fh=h,gh=h,hh=-1,ih=h,jh=h,kh=0,lh=0,mh=h,nh=j,oh=j,ph={ja:"co.jp",cs:"com"},qh=h,rh=h,sh=new RegExp("^[\\s\\u1100-\\u11FF\\u3040-\\u30FF\\u3130-\\u318F\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uAC00-\\uD7A3\\uF900-\\uFAFF\\uFF65-\\uFFDC]+$"),th=j,uh=-1,vh="",wh="",xh=10,yh=h,zh=fa[jc][Oc](),Ah=zh[x]("opera")!=-1,Bh=zh[x]("msie")!=-1&&!Ah,Ch=zh[x]("webkit")!=-1,Dh=zh[x]("firefox")!=-1,Eh=zh[x]("firefox/3")!=-1,Fh=zh[x]("windows")!=-1&&(Dh||
Ch)||zh[x]("macintosh")!=-1&&Dh&&!Eh||Ah,Gh=function(a){if(a.persisted)p(Zg,"f");p($g,Wg[v])},Ih=function(){if(Xg){var a=th?20:0;ta(Yg,Hh(Wg,"offsetLeft")-a+"px");Yg.top=Hh(Wg,"offsetTop")+Wg[Nc]-1+"px";pa(Yg,Wg[eb]+a+"px");ta(jh,Yg[ob]);jh.top=Yg.top;pa(jh,Xg[eb]+"px");Qa(jh,Xg[Nc]+"px")}},Jh=function(a,b,c){var d=m[xb]("input");xa(d,"hidden");d.name=a;p(d,b);La(d,c);return Vg[q](d)},Lh=function(){nh||Kh();nh=j},Ph=function(a){var b=a[zb];k[C][sc]=="/"&&Pg(a);if(b==13&&Yg[Xb]=="visible"&&dh==Rg&&
gh&&gh.suggestType){gh.onclick();return j}if(b==27&&Yg[Xb]=="visible"){Kh();Mh(Rg);za(a,g);Na(a,j);return j}if(!Nh(b))return g;lh++;lh%3==1&&Oh(b);return j},Qh=function(a){var b=a[zb];!(bh&&Nh(b))&&lh==0&&Oh(b);lh=0;if(Rg[z]>0&&Wg.onkeyup_original){Wg.onkeyup_original(a);Cd(Xg,"rtl",Wg.dir=="rtl")}return!Nh(b)},Oh=function(a){if(bh&&Nh(a)){nh=g;Wg[hb]();hf(Rh,10)}if(Wg[v]!=Qg||a==39){Rg=Wg[v];Ug=Sh(Wg);if(a!=39)p($g,Rg)}if(a==40||a==63233)Th(hh+1);else(a==38||a==63232)&&Th(hh-1);Ih();if(dh!=Rg&&!mh)mh=
hf(Kh,500);Qg=Wg[v];Qg==""&&!eh&&Uh()},Nh=function(a){return a==38||a==63232||a==40||a==63233},Vh=function(){Wg[hb]();p(Zg,this.completeId);Mh(this.completeString);yh?yh():Vg.submit()},Wh=function(a,b){return b?function(){Wg[hb]();k[Va](a);gh=h}:function(){Oa(k[C],a)}},Xh=function(){if(!oh){if(gh)Ha(gh,"yt-suggest-unselected");Ha(this,"yt-suggest-selected");gh=this;if(fh)for(var a=0;a<fh[z];a++)if(fh[a]==gh){hh=a;break}}},Yh=function(){if(oh){oh=j;Xh[F](this)}},Th=function(a){if(dh==""&&Rg!=""){Sg=
"";Uh()}else if(!(Rg!=dh||!eh))if(!(!fh||fh[z]<=0))if(Yg[Xb]=="visible"){var b=fh[z];if(qh)b-=1;if(gh)Ha(gh,"yt-suggest-unselected");if(a==b||a==-1){hh=-1;Mh(Rg);Rh();p(Zg,"f")}else{if(a>b)a=0;else if(a<-1)a=b-1;hh=a;gh=fh[lb](a);Ha(gh,"yt-suggest-selected");Mh(gh.completeString);p(Zg,gh.completeId)}}else Zh()},Kh=function(){if(mh){kf(mh);mh=h}og(Xg,j);og(ih,j)},Zh=function(){if(ch){og(Xg,g);og(ih,g);Ih();oh=g}},bi=function(a,b,c,d,e,f){var i=Xg[Ec][z];i!=0&&Xg[Ec][i-1][cc]=="yt-suggest-close"&&--i;
var l=Xg[qb](i);l.onclick=f;l.onmousedown=$h;l.onmouseover=Xh;l.onmousemove=Yh;l.completeString=a;l.completeId=c;l.suggestType=d;Ha(l,"yt-suggest-unselected");if(th){f=m[xb]("td");Ha(f,"yt-suggest-icon");l[q](f);if(c=="g"){c=m[xb]("img");c.src="http://www.google.com/favicon.ico";f[q](c)}}c=m[xb]("td");if(b)o(c,b);else ai(c,a);Ha(c,"yt-suggest-left");if(Bh&&sh[Wa](a))c[E].paddingTop="2px";a=m[xb]("td");e&&ai(a,e);if(i>0&&Xg[Ec][i-1].suggestType!=d)l[E].borderTop="1px solid #CCC";Ha(a,"yt-suggest-right");
if(Q(Xg,"rtl")){l[q](a);l[q](c)}else{l[q](c);l[q](a)}},ci=function(){Kh();La($g,g);if($g[v]!=Wg[v]&&fh&&fh[z]&&hh>=0){p(Zg,fh[lb](hh).completeId);La($g,j)}else if(kh>=10)p(Zg,"o");return yh?j:g},Uh=function(){if(!ch)return j;if(Sg!=Rg&&Rg){var a=da(Rg);gh=h;kh++;var b=m[xb]("script");b[y]("type","text/javascript");b[y]("charset","utf-8");b[y]("id","jsonpACScriptTagY");b[y]("src","http://"+ah+"&q="+a+"&cp="+Ug);a=m[db]("jsonpACScriptTagY");var c=m[Rb]("head")[0];a&&c[pc](a);c[q](b);Rh()}Sg=Rg;b=100;
for(a=1;a<=(kh-2)/2;++a)b*=2;b+=50;eh=hf(Uh,b);return g},Mh=function(a){p(Wg,a);Qg=a},Rh=function(){Wg[wb]()},Hh=function(a,b){for(var c=0;a;){c+=a[b];a=a[hc]}return c},ai=function(a,b){a[q](m[ib](b))};
function di(a){for(var b=Xg[Ec],c=b[z]-1;c>=0;--c)b[c].completeString&&b[c].completeString[z]==Sg[z]&&b[c].completeString==Sg[Oc]()&&(b[c].suggestType=="mv"||b[c].suggestType=="sh")||Xg.deleteRow(c);var d=0;for(c in a){if(d>=xh)break;var e=a[c];if(e){d++;var f=e[0],i=e[2];if(e[z]==3){e="";if(d==1)e=rh;var l=h;if(uh!=1){l=Rg[Oc]();l=f[s](l,"</b>"+l+"<b>");if(l!=f)l="<b>"+l+"</b>"}bi(f,l,i,"y",e,Vh)}else if(e[z]==4){var u=e[3];l=u[0];var w=la(u[1]);e=u[2];u=Wh("/"+u[3],j);if(l=="mv"&&e){e=e[B]("\t");
if(e[0])w=w+' <span class="grayText">('+e[0]+")</span>";e=e[z]>1&&e[1]?e[1]:""}bi(f,w,i,l,e,u)}}}if(qh&&b[z]>0){a=Xg[qb](-1);a.onmousedown=$h;b=m[xb]("td");b.colSpan=th?3:2;Ha(a,"yt-suggest-close");c=m[xb]("span");a[q](b);b[q](c);ai(c,qh);c.onclick=function(){Kh();dh="";kf(eh);eh=h;p(Zg,"x")}}}
var $h=function(a){if(a&&a[ic]){a[ic]();Zh();Wg[wb]()}else nh=g;return j},ei=function(){var a=Wg[v];a!=Qg&&Oh(0);Qg=a},Sh=function(a){var b=0,c=0,d;try{d=typeof a.selectionStart=="number"}catch(e){d=j}if(d){b=a.selectionStart;c=a.selectionEnd}if(Bh){a=a.createTextRange();var f;try{f=m.selection.createRange()}catch(i){f=h}if(f&&a.inRange(f)){a.setEndPoint("EndToStart",f);b=a.text[z];a.setEndPoint("EndToEnd",f);c=a.text[z]}}if(b&&c&&b==c)return b;return 0},fi=function(){ch=g;if(Wg){Wg[y]("autocomplete",
"off");Uh()}},gi=function(){ch=j;if(Wg){Sg=Rg;Wg[y]("autocomplete","on");Kh()}};var hi=m[Rb]("html")[0],ii=function(){var a=!m[zc]||m[zc]=="CSS1Compat"?hi:m[oc];return k.pageYOffset||a[Zb]},ji=function(){if(k[vb]||!k.ActiveXObject&&!fa.taintEnabled)return k.innerHeight;return(!m[zc]||m[zc]=="CSS1Compat"?hi:m[oc])[xc]},ki=175,li=j,mi=function(a,b){b=b||ii()+ji();var c;if(!(c=li)){if(m[Ub][Ta]){if(m[Ub][Ta]){c=a[Ta]();var d=m[Ub];c=c.top+d[Zb]-d[Gb]}else c=0;d=a;for(var e=0;d&&!/^(?:body|html)$/i[Wa](d[Hc]);){e+=d[Zb];d=d[G]}c=c-e}else c=0;c=c<=b+ki}if(c){a.src=a[vc]("thumb");
a.removeAttribute("thumb")}},ni=function(){for(var a=m[Rb]("IMG"),b=ii()+ji(),c=0;c<a[z];++c)a[c][vc]("thumb")&&mi(a[c],b)};var oi=function(){var a=bg(this.Bc);a&&this.zg(a)};Vc(oi);var pi=Tc("yt.prefs.UserPrefs.prefs_")||{};K("yt.prefs.UserPrefs.prefs_",pi,void 0);I=oi[A];I.Bc="PREF";I.Zg=function(a){if(a==h)aa("ExpectedNotNull")};I.$g=function(a,b){if(b[Wa](a))aa("ExpectedRegexMatch: "+a)};I.ah=function(a,b){if(!b[Wa](a))aa("ExpectedRegexMismatch: "+a)};I.lc=function(a){this.ah(a,/^\w+$/);this.$g(a,/^f([1-9][0-9]*)$/)};I.hc=function(a,b){pi[a]=b[$b]()};
I.Lc=function(a){a=this.Mc(a);return a!=h&&/^[A-Fa-f0-9]+$/[Wa](a)?ia(a,16):h};I.Mc=function(a){return pi[a]!==ha?pi[a][$b]():h};I.$b=function(a,b,c){var d=this.Lc(a);d=d!=h?d:0;b=c?d|b:d&~b;b==0?this.Ec(a):this.hc(a,b[$b](16))};I.Fb=function(a,b){var c=this.Lc(a);c=c!=h?c:0;return(c&b)>0};I.Ec=function(a){delete pi[a]};I.zg=function(a){a=ba(a)[B]("&");for(var b=0;b<a[z];b++){var c=a[b][B]("="),d=c[0];(c=c[1])&&this.hc(d,c)}};I.A=function(a,b){this.lc(a);var c=this.Mc(a);return c!=h?c:b?b:""};
I.m=function(a,b){this.lc(a);this.Zg(b);this.hc(a,b)};I.ba=function(a){return this.Fb("f1",a)};I.Pa=function(a,b){this.$b("f1",a,b)};I.na=function(a){return this.Fb("f2",a)};I.mb=function(a,b){this.$b("f2",a,b)};I.Jf=function(a){return this.Fb("f3",a)};I.Og=function(a,b){this.$b("f3",a,b)};va(I,function(a){this.lc(a);this.Ec(a)});I.save=function(a){a=(a||7)*24*60*60;ag(this.Bc,this.Ic(),a)};ya(I,function(){pi={}});I.Ic=function(){var a=[];for(var b in pi)a[r](b+"="+escape(pi[b]));return a[H]("&")};
var qi=oi.b();qi.set=qi.m;qi.get=qi.A;qi.setFlag=qi.Pa;qi.getFlag=qi.ba;qi.setFlag2=qi.mb;qi.getFlag2=qi.na;va(qi,qi.remove);qi.save=qi[kc];ya(qi,qi[Kb]);qi.dump=qi.Ic;var Y={};Y.Be=1;Y.FLAG_SAFE_SEARCH=Y.Be;Y.pe=2;Y.FLAG_GRID_VIEW_SEARCH_RESULTS=Y.pe;Y.Va=4;Y.FLAG_EMBED_NO_RELATED_VIDEOS=Y.Va;Y.Ba=8;Y.FLAG_EMBED_SHOW_BORDER=Y.Ba;Y.qe=16;Y.FLAG_GRID_VIEW_VIDEOS_AND_CHANNELS=Y.qe;Y.Ne=32;Y.FLAG_WATCH_EXPAND_ABOUT_PANEL=Y.Ne;Y.Pe=64;Y.FLAG_WATCH_EXPAND_MOREFROM_PANEL=Y.Pe;Y.Me=128;Y.FLAG_WATCH_COLLAPSE_RELATED_PANEL=Y.Me;Y.Ke=256;Y.FLAG_WATCH_COLLAPSE_PLAYLIST_PANEL=Y.Ke;Y.Le=512;Y.FLAG_WATCH_COLLAPSE_QUICKLIST_PANEL=Y.Le;Y.Oe=1024;
Y.FLAG_WATCH_EXPAND_ALSOWATCHING_PANEL=Y.Oe;Y.Je=2048;Y.FLAG_WATCH_COLLAPSE_COMMENTS_PANEL=Y.Je;Y.Ge=4096;Y.FLAG_STATMODULES_INBOX_COLLAPSED=Y.Ge;Y.Fe=8192;Y.FLAG_STATMODULES_ABOUTYOU_COLLAPSED=Y.Fe;Y.Ee=16384;Y.FLAG_STATMODULES_ABOUTVIDEOS_COLLAPSED=Y.Ee;Y.ub=32768;Y.FLAG_HIDE_WATCH_AUTOSHARE_PROMOTION=Y.ub;Y.we=65536;Y.FLAG_PERSONALIZED_HOMEPAGE_FEED_FEATURED_COLLAPSED=Y.we;Y.ze=131072;Y.FLAG_PERSONALIZED_HOMEPAGE_FEED_RECOMMENDED_COLLAPSED=Y.ze;Y.Ae=262144;
Y.FLAG_PERSONALIZED_HOMEPAGE_FEED_SUBSCRIPTIONS_COLLAPSED=Y.Ae;Y.ye=524288;Y.FLAG_PERSONALIZED_HOMEPAGE_FEED_POPULAR_COLLAPSED=Y.ye;Y.xe=1048576;Y.FLAG_PERSONALIZED_HOMEPAGE_FEED_FRIENDTIVITY_COLLAPSED=Y.xe;Y.He=2097152;Y.FLAG_SUGGEST_ENABLED=Y.He;Y.te=4194304;Y.FLAG_HAS_SUGGEST_ENABLED=Y.te;Y.Ie=8388608;Y.FLAG_WATCH_BETA_PLAYER=Y.Ie;Y.se=16777216;Y.FLAG_HAS_REDIRECTED_TO_LOCAL_SITE=Y.se;Y.rc=33554432;Y.FLAG_ACCOUNT_SHOW_PLAYLIST_INFO=Y.rc;Y.ue=67108864;Y.FLAG_HAS_TAKEN_CHANNEL_SURVEY=Y.ue;Y.ve=134217728;
Y.FLAG_HIDE_TOOLBAR=Y.ve;Y.De=268435456;Y.FLAG_SHOWN_LANG_OPT_OUT=Y.De;Y.re=536870912;Y.FLAG_HAS_REDIRECTED_TO_LOCAL_LANG=Y.re;Y.Ce=1073741824;Y.FLAG_SHOWN_COUNTRY_OPT_OUT=Y.Ce;Y.ce=1;Y.FLAG2_UPLOAD_BETA_OPTSET=Y.ce;Y.be=2;Y.FLAG2_UPLOAD_BETA_OPTIN=Y.be;Y.qc=4;Y.FLAG2_HIDE_MASTHEAD=Y.qc;Y.$d=8;Y.FLAG2_TV_PARITY=Y.$d;Y.Xd=16;Y.FLAG2_TV_AUTO_FULLSCREEN_OFF=Y.Xd;Y.Yd=32;Y.FLAG2_TV_AUTO_PLAY_NEXT_OFF=Y.Yd;Y.Zd=64;Y.FLAG2_TV_ENABLE_MULTIPLE_CONTROLLERS=Y.Zd;Y.ae=128;Y.FLAG2_TV_RESERVED=Y.ae;Y.Od=256;
Y.FLAG2_LIGHT_HOMEPAGE=Y.Od;Y.Td=512;Y.FLAG2_REDLINE_HIDE_TOAST=Y.Td;Y.Hd=1024;Y.FLAG2_ANNOTATIONS_EDITOR_WATCH_PAGE_DEFAULT_OFF=Y.Hd;Y.Sd=2048;Y.FLAG2_REDLINE_HIDE_START_MESSAGE=Y.Sd;Y.Id=4096;Y.FLAG2_ANNOTATIONS_LOAD_POLICY_BY_DEMAND=Y.Id;Y.Ua=8192;Y.FLAG2_EMBED_DELAYED_COOKIES=Y.Ua;Y.Kd=16384;Y.FLAG2_HD_TIP_DEMOTE=Y.Kd;Y.Qd=32768;Y.FLAG2_NEWS_TIP_DEMOTE=Y.Qd;Y.de=65536;Y.FLAG2_UPLOAD_RESTRICT_TIP_DEMOTE=Y.de;Y.ee=131072;Y.FLAG2_YPP_HIDE_INVITE_SPAM_BOX=Y.ee;Y.fe=262144;
Y.FLAG2_YPP_HIDE_NEEDS_ADSENSE_BOX=Y.fe;Y.ge=524288;Y.FLAG2_YPP_HIDE_NEEDS_TRAINING_BOX=Y.ge;Y.Wd=1048576;Y.FLAG2_SKIP_CONTRINTER=Y.Wd;Y.Ta=2097152;Y.FLAG2_EMBED_DEFAULT_HD=Y.Ta;Y.Jd=4194304;Y.FLAG2_ENABLE_FILTER_WORDS=Y.Jd;Y.Rd=8388608;Y.FLAG2_OPTED_IN_FOR_COMMENTS=Y.Rd;Y.Md=16777216;Y.FLAG2_HQ_SETTING_SAVED=Y.Md;Y.tb=33554432;Y.FLAG2_HAS_TAKEN_WATCH_PAGE_SURVEY=Y.tb;Y.Vd=67108864;Y.FLAG2_SERVE_MOBILE_HQ_VIDEO=Y.Vd;Y.Ud=134217728;Y.FLAG2_SAFETY_CONTENT_MODE=Y.Ud;Y.Ld=268435456;
Y.FLAG2_HIDE_PROMO_ACTIVITY_SUBSCRIPTIONS=Y.Ld;Y.Pd=536870912;Y.FLAG2_MOBILE_APP_OPTOUT=Y.Pd;Y.Nd=1073741824;Y.FLAG2_HTML5_BETA=Y.Nd;Y.me=1;Y.FLAG3_LITE_WATCH=Y.me;Y.he=2;Y.FLAG3_ANNOTATIONS_EDITOR_WATCH_PAGE_DEFAULT_ON=Y.he;Y.oe=4;Y.FLAG3_WATCH5_OPTIN=Y.oe;Y.je=8;Y.FLAG3_CAPTIONS_DEFAULT_OFF=Y.je;Y.ie=16;Y.FLAG3_AUTO_CAPTIONS_DEFAULT_ON=Y.ie;Y.ne=32;Y.FLAG3_LITE_WATCH_OPT_OUT=Y.ne;Y.ke=64;Y.FLAG3_FBPROMO_OPT_OUT=Y.ke;Y.le=128;Y.FLAG3_HIDE_CHROME_PROMOS=Y.le;var si={};si.blank="b1b1b1 cfcfcf";si.storm="3a3a3a 999999";si.iceberg="2b405b 6b8ab6";si.acid="006699 54abd6";si.green="234900 4e9e00";si.orange="e1600f febd01";si.pink="cc2550 e87a9f";si.purple="402061 9461ca";si.rubyred="5d1719 cd311b";var ti={};ti["default"]="425 344";ti.medium="480 385";ti.large="640 505";ti.hd720="960 745";var ui={};ui["default"]="560 340";ui.medium="640 385";ui.large="853 505";ui.hd720="1280 745";var zi=function(){if(R("watch-customize-embed-theme")){var a=oi.b();Ia(R("show_border_checkbox"),a.ba(Y.Ba));Ia(R("show_related_checkbox"),!a.ba(Y.Va));Ia(R("delayed_cookies_checkbox"),a.na(Y.Ua));var b=R("hd_checkbox");if(b)Ia(b,a.na(Y.Ta));b=a.A("emt");b!="blank"&&b!=""&&vi(b);(a=a.A("ems"))&&a!="small"?wi(a):wi("medium");xi()}R("watch-customize-embed-div")&&yi()},Ai="blank",vi=function(a){var b=R("theme_color_"+Ai+"_img"),c=R("theme_color_"+a+"_img"),d=oi.b();d.m("emt",a);d[kc]();P(b,"radio_selected");
O(c,"radio_selected");Ai=a;Bi();return j},Ci="default",wi=function(a){var b=R("watch-embed-size-radio-"+Ci+(T("IS_WIDESCREEN")?"-wide":"")),c=R("watch-embed-size-radio-"+a+(T("IS_WIDESCREEN")?"-wide":"")),d=oi.b();d.m("ems",a);d[kc]();P(b,"radio_selected");O(c,"radio_selected");c[hb]();Ci=a;b=R("hd_checkbox");if(a!="hd720"&&b)Ia(b,j);R("watch-customize-embed-size").innerHTML+=" ";return j},Bi=function(){var a=R("watch-customize-embed-theme-preview"),b=!R("show_border_checkbox")[ec]?"_nb":"";a.src=
"img/customize_player/preview_embed_"+Ai+"_sm"+b+".gif"},xi=function(){var a=T("IS_WIDESCREEN")?ui:ti;for(var b in a){var c=R("watch-embed-size-text-"+b),d=Di(b);o(c,d[0]+"x"+d[1])}};var Ei=-1,Fi=function(a,b,c,d,e,f,i,l,u,w){kf(Ei);l=l?l:{};l.session_token=ba(c);c={postBody:Sf(l),onComplete:function(N){var D=R(w?w:"subscribeMessage");N=vg(N);if(D){o(D,'<div id="subscribeMessage">'+wg(N,"html_content")+"</div>");V(D)}if(R(d)){W(d);V(e)}if(D&&!u)Ei=hf(function(){W(D)},5E3);i&&i()}};f=f==0?"/ajax_subscriptions?subscribe_to_":f==1?"/ajax_subscriptions?unsubscribe_from_":"/ajax_subscriptions?get_edit_subscription_form_for_";if(b=="username")X(f+"user="+a,c);else b=="playlist"&&X(f+
"playlist="+a,c)},yi=function(){var a=oi.b(),b=[];a.ba(Y.Va)&&b[r]("rel=0");var c=a.A("emt");if(c&&c!="blank"){c=si[c][B](" ");b[r]("color1=0x"+c[0]);b[r]("color2=0x"+c[1])}a.na(Y.Ta)&&b[r]("hd=1");c=a.na(Y.Ua);ff("EMBED_URL",c?T("EMBED_URL")[s]("youtube.com","youtube-nocookie.com"):T("EMBED_URL")[s]("youtube-nocookie.com","youtube.com"));a.ba(Y.Ba)&&b[r]("border=1");a=Di();b=T("EMBED_URL")+"&"+b[H]("&");b='<object width="'+a[0]+'" height="'+a[1]+'"><param name="movie" value="'+b+'"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="'+
b+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'+a[0]+'" height="'+a[1]+'"></embed></object>';p(R("embed_code"),b)},Di=function(a){var b=oi.b();a=a||b.A("ems")||"default";var c=(T("IS_WIDESCREEN")?ui:ti)[a][B](" ");a=ia(c[0],10);c=ia(c[1],10);if(b.ba(Y.Ba)){a+=20;c+=20}return[a,c]};var Gi=function(a){a=R(a);for(var b=R(a.id+"-body"),c=Ke(a[G][Ab],g);c;){P(c,"watch-tab-sel");c=Ke(c[Ob],g)}O(a,"watch-tab-sel");for(c=Ke(b[G][Ab],g);c;){P(c,"watch-tab-sel");c=Ke(c[Ob],g)}O(b,"watch-tab-sel");a[Rb]("A")[0][hb]();W("recent-fav-video");W("autoshare-widget-favorite-wizard");W("rec-playlist-video")},Hi=function(){var a=R("watch-main-area")?R("watch-main-area"):R("watch-actions-area");a=S("img","watch-check-grn-circle",a);for(var b=0,c=a[z];b<c;b++)a[b][E].backgroundImage='url("http://s.ytimg.com/yt/img/check-grn-circle-vfl91176.png")'};var Ii=j,Ki=function(a,b){b||Ji();var c=!!a,d=R("content"),e=R("watch-sidebar"),f=R("watch-video"),i=R("baseDiv"),l=T("WIDE_PLAYER_STYLES"),u=0;if("webkitTransition"in e[E]){e=m[Mb].getComputedStyle(e,h);u=ja(e["-webkit-transition-duration"])*1E3}e=R("movie_player");if(c){u=u;O(d,"watch-wide");hf(function(){O(f,"wide");for(var N=0;N<l[z];++N)O(i,l[N])},u);e&&e.getPlaybackQuality()=="medium"&&!T("PREFER_LOW_QUALITY")&&e.setPlaybackQuality("large")}else{u=u/2;P(f,"wide");for(var w=0;w<l[z];++w)P(i,
l[w]);hf(function(){P(d,"watch-wide")},u);e&&e.getPlaybackQuality()=="large"&&e.setPlaybackQuality("medium")}lg("masthead-utility-menulink-short",c);lg("masthead-utility-menulink-long",!c)},Li=function(){var a=R("watch-video");return Q(a,"wide")},Ni=function(){if(!T("LOGGED_IN")){o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-logged-out")[t]);Mi();return j}return g},Pi=function(){Oi(h,g)},Oi=function(a,b){var c=R("watch-actions-area-container");if(!Q(c,"collapsed")&&S("INPUT",
"watch-actions-share-input",c)[z])Qi();else{Qi();Ri();o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-share")[t]);O(R("watch-share"),"active");var d=vf("DIV","watch-actions-share",c);O(d,"active");hf(function(){var e=vf("INPUT","watch-actions-share-input",c);e[wb]();e[Bb]()},0);b?Cg("shareOpenedFromFlash"):Cg("shareOpenedFromActionBar")}},Ri=function(){o(R("watch-actions-area"),U("LOADING"));Mi()},Mi=function(){var a=R("watch-actions-area-container"),b=R("watch-actions-area");
P(a,"collapsed");hf(function(){Qa(a[E],R("inappropriateMainDiv")?"565px":b[Nc]+1+"px")},0)},Qi=function(){var a=R("watch-actions-area-container"),b=R("watch-actions-area");O(a,"collapsed");a=["watch-like","watch-unlike","watch-share","watch-embed","watch-flag"];for(var c=0;c<a[z];++c){var d=R(a[c]);d&&P(d,"active")}o(b,U("LOADING"))},Si=function(a,b,c){var d=xf(a,"expander-ajax-link");if(d){var e=R(a.id+"-body");if(c)if(c=T("SHUFFLE_ENABLED")?"&shuffle="+T("SHUFFLE_VALUE"):"")d+=c;tg(d,function(f){o(e,
f[cb]);wf(a,"loaded","true");if(f=vf(h,"next-list-current",e))Da(e,f[Kc]);if(b)Da(e,e[yb]);ni()})}},Ti=function(a){var b=vf("h3","yt-uix-expander-head",a);Dd(b,"yt-rounded-bottom");if(!xf(a,"loaded")||xf(a,"loaded")=="false")Si(a)},Ui=function(a){a=a||"";return a+"&"+T("XSRF_QL_PAIR")},Vi=function(){return T("HAS_ACTIVE_QUICKLIST")?R("watch-next-list"):R("watch-passive-QL")},Wi=h,Xi=function(a,b,c,d){k.scroll(0,0);p(R("masthead-search-term"),a);Q(R("content"),"search-mode")||(Ii=Li());try{Ki(j,g)}catch(e){}V("watch-search-list");
W("ad_creative_1");o(R("watch-search-count"),"");o(R("watch-search-query"),a);a=m[Ra].searchForm;O(R("watch-search-list"),"yt-uix-expander-collapsed");O(R("content"),"search-mode");try{ci()}catch(f){}var i=Vi();if(i){V(i);Q(i,"yt-uix-expander-collapsed")&&Lg.b().expand(i)}O(R("watch-more-from-user"),"collapsed");O(R("watch-video-count"),"yt-uix-expander-collapsed");var l;if(T("AJAX_MODE")){l=Rf(k[C][Sa]);if(l.v)Wi=l.v}i={method:"GET",onComplete:function(){if(T("AJAX_MODE")){var w=Rf(k[C][Sa]);if(w.q!=
l.q||w[Ua]!=l[Ua])return}P(R("watch-search-list"),"yt-uix-expander-collapsed");if(R("watch-search-count-hidden"))o(R("watch-search-count"),R("watch-search-count-hidden")[t]);ni()},update:"watch-search-list-body"};var u=a[Fc];if(c)u="/"+c;c=We(a);c+="&ajax=1";c+="&nocache="+((new Date)[Qb]()+ia(n[uc]()*1234567,10));if(b)c+="&page="+b;if(d){P(R("watch-search-list"),"yt-uix-expander-collapsed");if(R("watch-search-count-hidden"))o(R("watch-search-count"),R("watch-search-count-hidden")[t]);ni()}else X(u+
"?"+c,i);gi();hf(fi,100)},Ji=function(){var a=Rf(k[C][Sa]);if(T("AJAX_MODE")&&a.q){delete a.q;delete a[Ua];a.v=Wi;na(k[C],"#!"+Sf(a))}else Yi()},Yi=function(){P(R("content"),"search-mode");Ii&&Ki(g,g);Ii=j;var a=R("watch-next-list");a&&T("HAS_ACTIVE_QUICKLIST")&&V(a);if(a=R("watch-passive-QL"))if(!ia(R("watch-passive-QL-count")[t],10)||T("HAS_ACTIVE_QUICKLIST"))W(a)},Zi=function(a){var b=R("subscribeDiv"),c=Mg.b();c[Yb](b,"tooltip",a);c.xd(b);hf(function(){c.Wc(b);c[Yb](b,"tooltip","")},6E3)};var $i,aj,bj=function(){var a=Ie("script");xa(a,"text/javascript");a.src="http://www.google.com/support/js/guide_inproduct.js?v="+fd();m[oc][q](a)},cj=function(){$i=j;var a=R("staged-player");W(a);Je(a);Cd(aj,"player-hid",j)},dj=function(a){a=a||T("GUIDED_HELP_FLOW");var b;if(!(b=$i)){b=R("watch-player");b=!(b?Q(b,"flash-player"):j)}if(!b){k.guidedhelp.onFlowDismiss=cj;k.guidedhelp.onFlowLoadFailure=cj;$i=g;if(!(b=R("staged-player"))){b=Ie("div");b.id="staged-player";var c=Ie("img");c.src=T("VIDEO_HQ_THUMB");
c.id="staged-screenshot";var d=Ie("img");Ha(d,"staged-player-controls");d.src=Li()?T("STAGED_WIDE_PLAYER_CONTROLS_URI"):T("STAGED_PLAYER_CONTROLS_URI");b[q](c);b[q](d);c=Ie("div");c.id="staged-quality-size-controls";b[q](c);c=R("watch-video");W(b);c[q](b);b=b}b=b;R("movie_player").pauseVideo();aj=c=R("watch-player");Cd(c,"player-hid",g);V(b)}if(a)Tc("help.guide.loadFlow")(a);else(a=Tc("help.guide.optionallyResume"))&&a()};var ej,gj=function(a,b,c){this.Ha=a;if(fj)this.Lb=b;this.sb=c||k;this.eb=this.sb[C];this.af=this.eb[Bc][B]("#")[0];this.wc=L(this.bh,this)},hj=je&&m.documentMode>=8||ke&&ve("1.9.2")||le&&ve("532.1"),fj=je&&!hj;I=gj[A];I.Ng=function(a,b){if(this.Sb){Ef(this.Sb);delete this.Sb}if(this.Nb){lf(this.Nb);delete this.Nb}if(a){this.M=this.Hb();if(fj){var c=this.Lb[Pb][fc][oc];if(!c||!c[t])this.bc(this.M)}b||this.Ha(this.M);if(hj)this.Sb=Df(this.sb,"hashchange",this.wc);else this.Nb=jf(this.wc,200)}};
I.ag=function(){if(fj){var a=this.Kf();if(a!=this.M){this.M=a;this.qd(a);this.Ha(a)}else{a=this.Hb();if(a!=this.M){this.M=a;this.bc(a);this.Ha(a)}}}else{a=this.Hb();if(a!=this.M){this.M=a;this.Ha(a)}}};I.bh=function(){this.ag()};I.Hb=function(){var a=this.eb[Bc],b=a[x]("#");return b<0?"":a[Cc](b+1)};I.qd=function(a){a=this.af+"#"+a;var b=this.eb[Bc];if(!(b==a||b+"#"==a))Oa(this.eb,a)};I.Kf=function(){var a=this.Lb[Pb][fc][oc];return a?Od(a[t][Cc](1)):""};
I.bc=function(a,b){var c=this.Lb[Pb][fc],d=c[oc]?c[oc][t]:"",e="#"+Nd(a);if(d!=e){d=["<title>",Ud(b||k[fc][bc]||""),"</title><body>",e,"</body>"];c[Va]("text/html");c[pb](d[H](""));c[nc]()}};I.add=function(a,b,c){this.M=String(a);fj&&this.bc(a,b);this.qd(a);c||this.Ha(this.M)};var ij=Tc("yt.pubsub.instance_")||new Gg;Gg[A].subscribe=Gg[A].yd;Gg[A].unsubscribeByKey=Gg[A].oc;Gg[A].publish=Gg[A].jd;ya(Gg[A],Gg[A][Kb]);K("yt.pubsub.instance_",ij,void 0);var jj=function(a,b,c){var d=Tc("yt.pubsub.instance_");return d?d.subscribe(a,function(){var e=arguments;hf(function(){b[Gc](c||Rc,e)},0)},c):0},kj=function(){var a=Tc("yt.pubsub.instance_");return a?a.publish[Gc](a,arguments):j};var mj=function(a){var b=lj();b.setEnabled[F](b,g,a)},nj=function(){var a=lj();a.setEnabled[F](a,j)},lj=function(){var a=Tc("yt.history.instance_");if(!a){a=R("legacy-history-iframe");ej=a=new gj(oj,a);gj[A].setEnabled=gj[A].Ng;gj[A].add=gj[A].add;K("yt.history.instance_",ej,void 0)}return a},oj=function(a){kj("navigate",a)};var pj={},qj={},rj=function(a){var b=j;if(a in pj&&!qj[a]){M(pj[a],function(c){var d=c[0];c=c[1];if(d&&d[Hc]=="IMG"){d.onload="";d.src=c;b=g}else b=j});qj[a]=g}return b};var sj=function(a,b){xa(this,a);Ma(this,b);sa(this,this[rc])};gd(sj,Fg);I=sj[A];I.U=function(){delete this[Jb];delete this[rc];delete this.currentTarget};I.Ka=j;I.Wb=g;Ja(I,function(){this.Ka=g});ra(I,function(){this.Wb=j});var tj=function(a,b){a&&this.pa(a,b)};gd(tj,sj);I=tj[A];Ma(I,h);oa(I,h);I.offsetX=0;I.offsetY=0;Aa(I,0);Ba(I,0);I.screenX=0;I.screenY=0;I.button=0;wa(I,0);ua(I,0);I.ctrlKey=j;I.altKey=j;I.shiftKey=j;I.metaKey=j;I.Ag=j;I.z=h;
I.pa=function(a,b){var c=xa(this,a[Jb]);Ma(this,a[rc]||a.srcElement);sa(this,b);var d=a.relatedTarget;if(d){if(ke)try{d=d[nb]&&d}catch(e){d=h}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;oa(this,d);this.offsetX=a.offsetX!==ha?a.offsetX:a.layerX;this.offsetY=a.offsetY!==ha?a.offsetY:a.layerY;Aa(this,a[Sb]!==ha?a[Sb]:a.pageX);Ba(this,a[Tb]!==ha?a[Tb]:a.pageY);this.screenX=a[rb]||0;this.screenY=a[sb]||0;this.button=a.button;wa(this,a[zb]||0);ua(this,a.charCode||(c=="keypress"?
a[zb]:0));this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Ag=de?a.metaKey:a.ctrlKey;this.z=a;delete this.Wb;delete this.Ka};Ja(I,function(){this.Ka=g;if(this.z[ic])this.z[ic]();else za(this.z,g)});var uj=je&&!ve("8");ra(tj[A],function(){this.Wb=j;var a=this.z;if(a[kb])a[kb]();else{Na(a,j);if(uj)try{if(a.ctrlKey||a[zb]>=112&&a[zb]<=123)wa(a,-1)}catch(b){}}});tj[A].U=function(){tj.kc.U[F](this);this.z=h;Ma(this,h);sa(this,h);oa(this,h)};var vj=function(){},wj=0;I=vj[A];I.key=0;I.va=j;I.yc=j;I.pa=function(a,b,c,d,e,f){if($c(a))this.$c=g;else if(a&&a[Hb]&&$c(a[Hb]))this.$c=j;else aa(ga("Invalid listener argument"));this.db=a;this.hd=b;this.src=c;xa(this,d);this.capture=!!e;this.Uc=f;this.yc=j;this.key=++wj;this.va=j};I.handleEvent=function(a){if(this.$c)return this.db[F](this.Uc||this.src,a);return this.db[Hb][F](this.db,a)};var xj=function(a,b){this.dd=b;this.aa=[];this.mf(a)};gd(xj,Fg);I=xj[A];I.Bb=h;I.Gc=h;I.Oa=function(a){this.Bb=a};I.Fa=function(){if(this.aa[z])return this.aa.pop();return this.Cc()};I.Ma=function(a){this.aa[z]<this.dd?this.aa[r](a):this.Fc(a)};I.mf=function(a){if(a>this.dd)aa(ga("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.aa[r](this.Cc())};I.Cc=function(){return this.Bb?this.Bb():{}};I.Fc=function(a){if(this.Gc)this.Gc(a);else if($c(a.Za))a.Za();else for(var b in a)delete a[b]};
I.U=function(){xj.kc.U[F](this);for(var a=this.aa;a[z];)this.Fc(a.pop());delete this.aa};var yj;var zj=(yj="ScriptEngine"in Rc&&Rc.ScriptEngine()=="JScript")?Rc.ScriptEngineMajorVersion()+"."+Rc.ScriptEngineMinorVersion()+"."+Rc.ScriptEngineBuildVersion():"0";var Aj,Bj,Cj,Dj,Ej,Fj,Gj,Hj,Ij,Jj,Kj;
(function(){function a(){return{h:0,ua:0}}function b(){return[]}function c(){var J=function(ca){return i[F](J.src,J.key,ca)};return J}function d(){return new vj}function e(){return new tj}var f=yj&&!(Yd(zj,"5.7")>=0),i;Fj=function(J){i=J};if(f){Aj=function(){return l.Fa()};Bj=function(J){l.Ma(J)};Cj=function(){return u.Fa()};Dj=function(J){u.Ma(J)};Ej=function(){return w.Fa()};Gj=function(){w.Ma(c())};Hj=function(){return N.Fa()};Ij=function(J){N.Ma(J)};Jj=function(){return D.Fa()};Kj=function(J){D.Ma(J)};
var l=new xj(0,600);l.Oa(a);var u=new xj(0,600);u.Oa(b);var w=new xj(0,600);w.Oa(c);var N=new xj(0,600);N.Oa(d);var D=new xj(0,600);D.Oa(e)}else{Aj=a;Bj=Uc;Cj=b;Dj=Uc;Ej=c;Gj=Uc;Hj=d;Ij=Uc;Jj=e;Kj=Uc}})();var Lj={},Mj={},Nj={},Oj={},Pj=function(a,b,c,d,e){if(b)if(Xc(b)){for(var f=0;f<b[z];f++)Pj(a,b[f],c,d,e);return h}else{d=!!d;var i=Mj;b in i||(i[b]=Aj());i=i[b];if(!(d in i)){i[d]=Aj();i.h++}i=i[d];var l=dd(a),u;i.ua++;if(i[l]){u=i[l];for(f=0;f<u[z];f++){i=u[f];if(i.db==c&&i.Uc==e){if(i.va)break;return u[f].key}}}else{u=i[l]=Cj();i.h++}f=Ej();f.src=a;i=Hj();i.pa(c,f,a,b,d,e);c=i.key;f.key=c;u[r](i);Lj[c]=i;Nj[l]||(Nj[l]=Cj());Nj[l][r](i);if(a[Eb]){if(a==Rc||!a.tf)a[Eb](b,f,d)}else a[Lb](Qj(b),f);
return c}else aa(ga("Invalid event type"))},Rj=function(a,b,c,d){if(!d.fb)if(d.ed){for(var e=0,f=0;e<d[z];e++)if(d[e].va){var i=d[e].hd;i.src=h;Gj(i);Ij(d[e])}else{if(e!=f)d[f]=d[e];f++}Fa(d,f);d.ed=j;if(f==0){Dj(d);delete Mj[a][b][c];Mj[a][b].h--;if(Mj[a][b].h==0){Bj(Mj[a][b]);delete Mj[a][b];Mj[a].h--}if(Mj[a].h==0){Bj(Mj[a]);delete Mj[a]}}}},Qj=function(a){if(a in Oj)return Oj[a];return Oj[a]="on"+a},Tj=function(a,b,c,d,e){var f=1;b=dd(b);if(a[b]){a.ua--;a=a[b];if(a.fb)a.fb++;else a.fb=1;try{for(var i=
a[z],l=0;l<i;l++){var u=a[l];if(u&&!u.va)f&=Sj(u,e)!==j}}finally{a.fb--;Rj(c,d,b,a)}}return Boolean(f)},Sj=function(a,b){var c=a[Hb](b);if(a.yc){var d=a.key;if(Lj[d]){var e=Lj[d];if(!e.va){var f=e.src,i=e[Jb],l=e.hd,u=e.capture;if(f[gc]){if(f==Rc||!f.tf)f[gc](i,l,u)}else f.detachEvent&&f.detachEvent(Qj(i),l);f=dd(f);l=Mj[i][u][f];if(Nj[f]){var w=Nj[f];ud(w,e);w[z]==0&&delete Nj[f]}e.va=g;l.ed=g;Rj(i,u,f,l);delete Lj[d]}}}return c};
Fj(function(a,b){if(!Lj[a])return g;var c=Lj[a],d=c[Jb],e=Mj;if(!(d in e))return g;e=e[d];var f,i;if(je){f=b||Tc("window.event");var l=g in e,u=j in e;if(l){if(f[zb]<0||f.returnValue!=ha)return g;a:{var w=j;if(f[zb]==0)try{wa(f,-1);break a}catch(N){w=g}if(w||f.returnValue==ha)Na(f,g)}}w=Jj();w.pa(f,this);f=g;try{if(l){for(var D=Cj(),J=w.currentTarget;J;J=J[G])D[r](J);i=e[g];i.ua=i.h;for(var ca=D[z]-1;!w.Ka&&ca>=0&&i.ua;ca--){sa(w,D[ca]);f&=Tj(i,D[ca],d,g,w)}if(u){i=e[j];i.ua=i.h;for(ca=0;!w.Ka&&ca<
D[z]&&i.ua;ca++){sa(w,D[ca]);f&=Tj(i,D[ca],d,j,w)}}}else f=Sj(c,w)}finally{if(D){Fa(D,0);Dj(D)}w.Za();Kj(w)}return f}d=new tj(b,this);try{f=Sj(c,d)}finally{d.Za()}return f});var Uj=function(a,b,c){c=c||"";Ka(k,Tf(a,b||{})+c)},Vj=function(a,b){var c=b||{};Ma(c,c[rc]||a[rc]||"YouTube");pa(c,c[Ya]||600);Qa(c,c[Lc]||600);var d=c;d||(d={});var e=k;c=typeof a[Bc]!="undefined"?a[Bc]:String(a);var f=d[rc]||a[rc],i=[];for(var l in d)switch(l){case "width":case "height":case "top":case "left":i[r](l+"="+d[l]);break;case "target":case "noreferrer":break;default:i[r](l+"="+(d[l]?1:0))}l=i[H](",");if(d.noreferrer){if(d=e[Va]("",f,l)){d[fc][pb]('<META HTTP-EQUIV="refresh" content="0; url='+
Ud(c)+'">');d[fc][nc]()}}else d=e[Va](c,f,l);c=d;if(!c)return g;if(!c.opener)c.opener=k;c[wb]();return j};var Z=function(a,b,c,d,e,f,i){this.Kg=a;this.Na="session_token="+a;if((this.l=b)&&this.l[gb](this.l[z]-1)!="/")this.l+="/";this.kg=c;this.D=d;this.Pb=e;this.zf=f;this.gh=i;this.Ob=j;this.hb=h;this.Yb=[];this.Db=[];this.xb=[];this.nd={}};K("yt.sharing.AutoShare",Z,void 0);Z[A].Eg=function(a,b){Pj(a,"click",this.Pc,j,this);if(a.id)this.nd[a.id]=b;else aa("Connect dialog launch buttons must have an id.")};Z[A].registerConnectDialogLauncher=Z[A].Eg;
Z[A].Pc=function(a){(a=this.nd[a.currentTarget.id])&&this.Ab(a,g)};Z[A].handleConnectService=Z[A].Pc;Z[A].vf=function(a){a&&this.T();this.Wa()};Z[A].doOnLoad=Z[A].vf;Z[A].Ze=function(a){this.Yb[r](a)};Z[A].addServiceChangedCallback=Z[A].Ze;Z[A].Ye=function(a){this.Db[r](a)};Z[A].addGaiaChangedCallback=Z[A].Ye;Z[A].Xe=function(a){this.xb[r](a)};Z[A].addCanConnectCallback=Z[A].Xe;Z[A].fg=function(){return this.Pb};Z[A].isGaiaUser=Z[A].fg;
Z[A].hh=function(){this.Ca(this.l+"autoshare?action_link_start=1&root_url="+da(this.l),{height:660,width:1E3})};Z[A].upgradeToGoogleAccount=Z[A].hh;Z[A].ih=function(a,b){this.Pb=a;this.Ue();b&&b()};Z[A].upgradeToGoogleAccountDone=Z[A].ih;Z[A].Sf=function(){return this.D};Z[A].getServiceInfo=Z[A].Sf;
Z[A].Ab=function(a,b){this.Pb||X(this.l+"autoshare?action_ajax_stats_ping=1&stat=connect_no_google&service="+a,{method:"GET",onComplete:function(){}});for(var c in this.xb)if(!this.xb[c](this,a,b))return;X(this.l+"autoshare?action_ajax_stats_ping=1&stat=connect_has_google&service="+a,{method:"GET",onComplete:function(){}});if(a=="facebook")this.uc(b);else a=="buzz"?this.Ca("http://buzz.google.com",{height:430,width:860}):this.Ca(this.l+"autoshare?action_popup_auth=1&service="+a+"&connect_only="+(b?
"True":"False")+"&root_url="+da(this.l),{height:430,width:860})};Z[A].connectService=Z[A].Ab;Z[A].hg=function(a){X(this.l+"autoshare?action_ajax_stats_ping=1&stat=launch_facebook_onboarding",{method:"GET",onComplete:function(){}});this.uc(!a,g)};Z[A].launchFacebookOnboarding=Z[A].hg;
Z[A].lf=function(a,b,c){var d=!!c;c=L(function(l){if(d)Ka(k.parent,l[rc]);else{this.D=l;this.T();this.Wa()}b&&b()},this);var e=L(function(){b&&b();this.T()},this),f=d?"display_hybrid_onboarding":"ajax_connect_service",i={};i["action_"+f]=1;i.return_url=a;X(this.l+"autoshare?"+f,{postBody:Sf(i)+"&"+this.Na,onComplete:c,onException:e,json:g})};Z[A].connectServiceDone=Z[A].lf;Z[A].uf=function(a){if(a=="facebook")this.Re();else a=="buzz"?this.Ca("http://buzz.google.com",{height:430,width:860}):this.sc(a)};
Z[A].disconnectService=Z[A].uf;Z[A].Lg=function(a,b){var c=L(function(f){this.D=f;this.T();this.Wa()},this),d=L(function(){this.T()},this),e={};e.action_ajax_set_connect_only=1;e.service=a;e.connect_only=b?"True":"False";X(this.l+"autoshare?ajax_set_connect_only",{postBody:Sf(e)+"&"+this.Na,onComplete:c,onException:d,json:g})};Z[A].setConnectOnly=Z[A].Lg;
Z[A].sc=function(a){var b=function(e){this.D=e;this.T();this.Wa()}.bind(this),c=function(){this.T()}.bind(this),d={};d.action_ajax_disconnect_service=1;d.service=a;X(this.l+"autoshare?ajax_disconnect_service",{postBody:Sf(d)+"&"+this.Na,onComplete:b,onException:c,json:g})};Z[A]._disconnectService=Z[A].sc;I=Z[A];I.Ue=function(){for(var a in this.Db)this.Db[a](this)};I.T=function(){for(var a in this.Yb)this.Yb[a](this)};
I.Wa=function(){for(var a in this.D){var b=this.D[a];a=="facebook"&&b.is_connected&&this.Se()}};I.Ca=function(a,b){if(this.hb)try{this.hb[nc]()}catch(c){this.hb=h}this.hb=Vj(a,b)};
I.uc=function(a,b){var c=!!a,d=!!b;this.Ob=g;var e=this.zf,f=da(this.l+"autoshare?action_popup_end=1&service=facebook&connect_only="+(c?"True":"False")+"&hybrid_onboarding="+(d?"True":"False")),i=da(this.l+"autoshare?action_popup_end=1&service=facebook&cancel=1"),l="read_stream,offline_access";c||(l=[l,"publish_stream"][H](","));if(d)l=[l,"email"][H](",");this.Ca("http://www.facebook.com/login.php?return_session=1&nochrome=1&fbconnect=1&extern=1&connect_display=popup&api_key="+e+"&v=1.0&next="+f+
"&cancel_url="+i+"&req_perms="+da(l)+"&locale="+this.kg,{height:535,width:530,location:"yes",uh:"yes"})};I.Re=function(){var a=L(function(c){if(c[wc]){c=vg(c);this.tc(wg(c,"html_content"),"disconnect")}},this);this.Ob=g;var b={};b.action_ajax_facebook_get_disconnect_url=1;X(this.l+"autoshare?ajax_facebook_get_disconnect_url",{postBody:Sf(b)+"&"+this.Na,onComplete:a})};
I.Se=function(){var a=L(function(c){if(c[wc]){c=vg(c);this.tc(wg(c,"html_content"),"get_permissions_url_and_info")}},this),b={};b.action_ajax_facebook_get_info_url=1;b.facebook_critical=this.Ob?"True":"False";X(this.l+"autoshare?ajax_facebook_get_info_url",{postBody:Sf(b)+"&"+this.Na,onComplete:a})};
I.tc=function(a,b){var c=R("autoshare-facebook-connect");if(!c){c=Ge("DIV");c[y]("id","autoshare-facebook-connect");c[y]("style","display:none;");m[oc][q](c)}var d=R("autoshare-facebook-connect-iframe");d||(d=Ge("IFRAME"));d[y]("id","autoshare-facebook-connect-iframe");d[y]("scrolling","no");d[y]("frameborder","0");d[y]("allowTransparency","true");d[y]("width","1");d[y]("height","1");d[y]("style","border: none;");d[y]("src","http://"+this.gh+"/ytfb_connect.html?xsrf="+this.Kg+"&base_url="+this.l+
"&tpmethod="+b+"&"+a);c[q](d)};I.Te=function(a,b,c,d,e){this.D.facebook.is_connected=a;this.D.facebook.connected_as=b;this.D.facebook.has_publish=c;this.D.facebook.has_feed=d;this.D.facebook.has_offline=e;this.T()};Z[A]._facebookUpdateServiceInfo=Z[A].Te;Z[A].lh=function(){this.Ab("facebook",!this.D.facebook.is_autosharing)};if(k.yt&&k.yt.timing){var $=k.yt.timing;$.mc=k.yt.timing.tick;$.jg=0;$.cd=0;$.kd=function(a,b){var c=a||"load",d=$.timers[c],e=d.start,f="",i=[],l="",u="",w="";delete d.start;if($.pt)f="&srt="+$.pt;for(var N in d)i[r](N+"."+n[Za](d[N]-e));d.aft&&d.gv&&i[r]("vl."+n[Za](d.aft-d.gv));!$.wff&&!d.aft&&i[r]("aft."+n[Za](d.ol-e));if($.experiment)u="&e="+$.experiment;if(k.yt.timing.addomain){w=k.yt.timing.addomain;w=w[B](".");if(w[z]>1)w="&ad="+w[0]}$.timers[c]={};if($.fmt)l+="&fmt="+$.fmt;if($.asv)l+="&asv="+
$.asv;if($.plid)l+="&plid="+$.plid;if($.sprot)l+="&sprot="+$.sprot;if($.fv)l+="&fv="+$.fv;if($.manu)l+="&manu="+$.manu;if($.cookieName)l+="&vid="+bg($.cookieName);if(b)for(var D in b)l+="&"+D+"="+b[D];Bg(["http://csi.gstatic.com/csi?v=2&s=youtube&action=",c,f,l,"&rt=",i[H](","),u,w][H](""))};$.Tb=function(){var a=$.defaultAction,b=$.timers[a];if(b.ol&&(!$.wff||b.aft))$.kd(a)};$.Sc=function(){$.mc("ol");$.Tb()};$.$f=function(a){var b=++$.jg;typeof a!="undefined"&&a<4&&$.cd++;$.cd==4&&$.mc("tn_c4");
b!=1&&b!=5&&b!=10&&b!=20&&b!=30||$.mc("tn"+b)}};var Wj=function(){this.ia={}};gd(Wj,Jg);Vc(Wj);I=Wj[A];I.ka="carousel";I.La=function(){this.Q("click",this.ff,"num");this.Q("click",this.gf,"prev");this.Q("click",this.ef,"next")};I.ff=function(a){if(a){var b=this.ea(a);a=ia(this[jb](a,"carousel-num"),10);if(ma(a)||a<0)a=0;this.Xb(b,a)}};I.ef=function(a){a&&this.Hg(this.ea(a))};I.gf=function(a){a&&this.Ig(this.ea(a))};I.Ig=function(a){if(a){var b=ia(this[jb](a,"carousel-current"),10);if(ma(b)||b<0)b=0;this.Xb(a,b-1<0?0:b-1)}};
I.Hg=function(a){if(a){var b=ia(this[jb](a,"carousel-current"),10);if(ma(b)||b<0)b=0;var c=ia(this[jb](a,"carousel-slides"),10);if(ma(c)||c<0)c=0;c=c-1;this.Xb(a,b+1>c?c:b+1)}};I.Xb=function(a,b){if(a){var c=this.Mf(a),d=this.a("num-current"),e;M(c,function(i){e=this[jb](i,"carousel-num")==b;Cd(i,d,e);Cd(i,"yt-uix-pager-selected",e)},this);if(c=this.Tf(a)){var f=vf(h,this.a("slide"),c);if(f)ta(c[E],b*f[eb]*-1+"px")}this[Yb](a,"carousel-current",b+"")}};I.Mf=function(a){return S(h,this.a("num"),a)};
I.Tf=function(a){return vf(h,this.a("slides"),a)};var Xj=function(){this.ia={}};gd(Xj,Jg);Vc(Xj);I=Xj[A];I.ka="overlay";I.La=function(){this.Q("click",this.Sg,"target");this.Q("click",this.Vc,"close")};
I.Sg=function(a){var b=this.ea(a);if(b){var c=this.a("fg");a=R(c);if(!a){var d=this.Ff(b);if(d){a=m[xb]("div");a.id=c;Ha(a,c);var e=m[xb]("div");Ha(e,this.a("fg-content"));var f=this.a("bg");c=m[xb]("div");c.id=f;Ha(c,f);Qa(c[E],Ee(k)+"px");b=m[xb]("iframe");b.id=f+"mask";b.frameBorder="0";b.src='javascript:""';Ha(b,f);o(e,d[t]);d=S("iframe",h,e);M(d,function(i){i.src=this[jb](i,"src")||i.src},this);a[q](e);m[oc][q](b);m[oc][q](c);m[oc][q](a);a[E].marginLeft=a[eb]/-2+"px";a[E].marginTop=a[Nc]/-2+
"px";if(this.ad){d=m[xb]("div");d.id=a.id+"ie";Ha(d,a[cc]);O(d,this.a("fg-ie"));pa(d[E],a[eb]+"px");Qa(d[E],a[Nc]+"px");m[oc][mb](d,a);if(e=d.filters["DXImageTransform.Microsoft.Blur"]){e.Enabled=g;d[E].marginLeft=a[eb]/-2-e.PixelRadius+"px";d[E].marginTop=a[Nc]/-2-e.PixelRadius+"px"}}a=L(this.Vc,this);Df(c,"click",a);(c=b[Pb]&&b[Pb][fc])&&Df(c,"click",a)}}}};
I.Vc=function(){var a=this.a("fg"),b=this.a("bg"),c=R(a);if(c){W(c);m[oc][pc](c)}(a=R(a+"ie"))&&m[oc][pc](a);(a=R(b))&&m[oc][pc](a);(b=R(b+"mask"))&&m[oc][pc](b)};I.Ff=function(a){return vf(h,this.a("content"),a)};var Yj=j,Zj=function(){kj("init")},$j=function(){kj("dispose")};var ak=function(a,b){var c;if(a instanceof ak){this.ya(b==h?a.N:b);this.fc(a.Z);this.gc(a.Qa);this.Zb(a.Da);this.dc(a.ta);this.cc(a.Ia);this.ec(a.H.w());this.ac(a.Ea)}else if(a&&(c=String(a)[tb](Pf))){this.ya(!!b);this.fc(c[1]||"",g);this.gc(c[2]||"",g);this.Zb(c[3]||"",g);this.dc(c[4]);this.cc(c[5]||"",g);this.Qg(c[6]||"",g);this.ac(c[7]||"",g)}else{this.ya(!!b);this.H=new bk(h,this,this.N)}};I=ak[A];I.Z="";I.Qa="";I.Da="";I.ta=h;I.Ia="";I.Ea="";I.gg=j;I.N=j;
Ea(I,function(){if(this.F)return this.F;var a=[];this.Z&&a[r](ck(this.Z,dk),":");if(this.Da){a[r]("//");this.Qa&&a[r](ck(this.Qa,dk),"@");var b;b=this.Da;b=Zc(b)?da(b):h;a[r](b);this.ta!=h&&a[r](":",String(this.ta))}this.Ia&&a[r](ck(this.Ia,ek));(b=String(this.H))&&a[r]("?",b);this.Ea&&a[r]("#",ck(this.Ea,fk));return this.F=a[H]("")});
I.w=function(){var a=this.Z,b=this.Qa,c=this.Da,d=this.ta,e=this.Ia,f=this.H.w(),i=this.Ea,l=new ak(h,this.N);a&&l.fc(a);b&&l.gc(b);c&&l.Zb(c);d&&l.dc(d);e&&l.cc(e);f&&l.ec(f);i&&l.ac(i);return l};I.fc=function(a,b){this.V();delete this.F;if(this.Z=b?a?la(a):"":a)this.Z=this.Z[s](/:$/,"");return this};I.gc=function(a,b){this.V();delete this.F;this.Qa=b?a?la(a):"":a;return this};I.Zb=function(a,b){this.V();delete this.F;this.Da=b?a?la(a):"":a;return this};
I.dc=function(a){this.V();delete this.F;if(a){a=Number(a);if(ma(a)||a<0)aa(ga("Bad port number "+a));this.ta=a}else this.ta=h;return this};I.cc=function(a,b){this.V();delete this.F;this.Ia=b?a?la(a):"":a;return this};I.ec=function(a,b){this.V();delete this.F;if(a instanceof bk){this.H=a;this.H.pc=this;this.H.ya(this.N)}else{b||(a=ck(a,gk));this.H=new bk(a,this,this.N)}return this};I.Qg=function(a,b){return this.ec(a,b)};I.za=function(a,b){this.V();delete this.F;this.H.m(a,b);return this};I.da=function(a){return this.H.A(a)};
I.ac=function(a,b){this.V();delete this.F;this.Ea=b?a?la(a):"":a;return this};I.V=function(){if(this.gg)aa(ga("Tried to modify a read-only Uri"))};I.ya=function(a){this.N=a;this.H&&this.H.ya(a)};
var hk=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,ck=function(a,b){var c=h;if(Zc(a)){c=a;hk[Wa](c)||(c=encodeURI(a));if(c[qc](b)>=0)c=c[s](b,ik)}return c},ik=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15)[$b](16)+(a&15)[$b](16)},dk=/[#\/\?@]/g,ek=/[\#\?]/g,gk=/[\#\?@]/g,fk=/#/g,bk=function(a,b,c){this.R=a||h;this.pc=b||h;this.N=!!c};I=bk[A];
I.W=function(){if(!this.f){this.f=new Se;if(this.R)for(var a=this.R[B]("&"),b=0;b<a[z];b++){var c=a[b][x]("="),d=h,e=h;if(c>=0){d=a[b][Cc](0,c);e=a[b][Cc](c+1)}else d=a[b];d=Od(d);d=this.ca(d);this.add(d,e?Od(e):"")}}};I.f=h;I.h=h;I.add=function(a,b){this.W();this.Ga();a=this.ca(a);if(this.$(a)){var c=this.f.A(a);Xc(c)?c[r](b):this.f.m(a,[c,b])}else this.f.m(a,b);this.h++;return this};
va(I,function(a){this.W();a=this.ca(a);if(this.f.$(a)){this.Ga();var b=this.f.A(a);if(Xc(b))this.h-=b[z];else this.h--;return this.f.remove(a)}return j});ya(I,function(){this.Ga();this.f&&this.f[Kb]();this.h=0});I.$=function(a){this.W();a=this.ca(a);return this.f.$(a)};I.oa=function(){this.W();for(var a=this.f.fa(),b=this.f.oa(),c=[],d=0;d<b[z];d++){var e=a[d];if(Xc(e))for(var f=0;f<e[z];f++)c[r](b[d]);else c[r](b[d])}return c};
I.fa=function(a){this.W();if(a){a=this.ca(a);if(this.$(a)){var b=this.f.A(a);if(Xc(b))return b;else{a=[];a[r](b)}}else a=[]}else{b=this.f.fa();a=[];for(var c=0;c<b[z];c++){var d=b[c];Xc(d)?xd(a,d):a[r](d)}}return a};I.m=function(a,b){this.W();this.Ga();a=this.ca(a);if(this.$(a)){var c=this.f.A(a);if(Xc(c))this.h-=c[z];else this.h--}this.f.m(a,b);this.h++;return this};I.A=function(a,b){this.W();a=this.ca(a);if(this.$(a)){var c=this.f.A(a);return Xc(c)?c[0]:c}else return b};
Ea(I,function(){if(this.R)return this.R;if(!this.f)return"";for(var a=[],b=0,c=this.f.oa(),d=0;d<c[z];d++){var e=c[d],f=Nd(e);e=this.f.A(e);if(Xc(e))for(var i=0;i<e[z];i++){b>0&&a[r]("&");a[r](f);e[i]!==""&&a[r]("=",Nd(e[i]));b++}else{b>0&&a[r]("&");a[r](f);e!==""&&a[r]("=",Nd(e));b++}}return this.R=a[H]("")});I.Ga=function(){delete this.Cb;delete this.R;this.pc&&delete this.pc.F};I.w=function(){var a=new bk;if(this.Cb)a.Cb=this.Cb;if(this.R)a.R=this.R;if(this.f)a.f=this.f.w();return a};
I.ca=function(a){a=String(a);if(this.N)a=a[Oc]();return a};I.ya=function(a){if(a&&!this.N){this.W();this.Ga();Re(this.f,function(b,c){var d=c[Oc]();if(c!=d){this.remove(c);this.add(d,b)}},this)}this.N=a};var jk=function(a,b,c){if(c=c?R(c):R("messages")){o(S("DIV","yt-alert-content",b)[0],a);c[q](b);P(c,"hidden")}},kk=function(a,b){var c=R("error-template")[Ib](g);jk(a,c,b)},lk=function(a,b){var c=R("success-template")[Ib](g);jk(a,c,b)},mk=function(a){if(a=a?R(a):R("messages")){O(a,"hidden");o(a,"")}},nk=function(a){var b=[];if(a=a?R(a):R("items")){a[Rb]("INPUT");M(a[Rb]("INPUT"),function(c){c[Jb]=="checkbox"&&c[ec]&&b[r](c[v])})}return b};K("yt.www.account.getSelectedItems",nk,void 0);
K("yt.www.account.applySort",function(a){var b=new ak(k[C]),c=b.da("sf"),d=b.da("sa");d=!d||d==0?j:g;b.za("sf",a);var e=g;if(c==a)e=!d;e?b.za("sa",1):b.za("sa",0);Uj(b[$b]())},void 0);K("yt.www.account.applyPage",function(a){var b=new ak(k[C]);b.za("pi",a);Uj(b[$b]())},void 0);K("yt.www.account.applySearch",function(a){var b=new ak(k[C]);b.za("sq",a);Uj(b[$b]())},void 0);K("yt.www.account.applyDisplayMode",function(a){var b=new ak(k[C]);b.za("dm",a);Uj(b[$b]())},void 0);
var ok=function(a){if(a=a?R(a):R("items")){a[Rb]("INPUT");M(a[Rb]("INPUT"),function(b){if(b[Jb]=="checkbox")La(b,g)})}},pk=function(a){if(a=a?R(a):R("items")){a[Rb]("INPUT");M(a[Rb]("INPUT"),function(b){if(b[Jb]=="checkbox")La(b,j)})}},qk=function(a,b,c){a=R(a);if(Q(a,b)){P(a,b);O(a,c)}},rk=function(a){if(a=R(a)){Q(a,"yt-button")&&qk(a,"yt-button","yt-button-disabled");Q(a,"yt-button-alt")&&qk(a,"yt-button-alt","yt-button-alt-disabled");Q(a,"yt-button-compact")&&qk(a,"yt-button-compact","yt-button-compact-disabled")}};
K("yt.www.account.isButtonEnabled",function(a){a=R(a);return Q(a,"yt-uix-button")||Q(a,"yt-button")||Q(a,"yt-button-alt")||Q(a,"yt-button-compact")},void 0);var tk=function(){sk("TransportError")};K("yt.www.account.onKeyDownHandler",function(a,b,c){var d;if(k[Qc])d=a[zb];else if(a.which)d=a.which;c(d,b)},void 0);
var sk=function(a){a=a||U("ERROR_OCCURRED");kk(a);uk()},wk=function(){vk();P(R("button-addto"),"expanded");P(R("menu-addto"),"hidden");var a=[R("dialog-addto-playlist"),R("dialog-addto-favorites"),R("dialog-addto-quicklist"),R("dialog-addingto-playlist")];M(a,function(b){O(b,"hidden")});rk("button-addto-playlist");o(R("addto-playlist-checklist"),'<span class="yt-loader">'+U("LOADING_PLAYLISTS")+"</span>");mk("messages-addto-playlist")};K("yt.www.account.closeAddToDropdown",wk,void 0);
var vk=function(){La(R("all-items-checkbox"),j);pk("videos")},xk=function(){La(R("all-items-checkbox"),g);ok("videos")},uk=function(){yk();wk()},yk=function(){vk();P(R("button-new"),"expanded");P(R("menu-new"),"hidden");var a=[R("dialog-new-playlist"),R("dialog-creating-playlist")];M(a,function(b){O(b,"hidden")});zk()};K("yt.www.account.closeNewDropdown",yk,void 0);
var zk=function(){var a=R("new-playlist-title-textbox");if(a)p(a,"");mk("messages-new-playlist")},Ak=function(){kk(U("NO_VIDEOS_SELECTED"))},Bk=function(){kk(U("MULTIPLE_VIDEOS_SELECTED"))},Ck=function(){var a=R("dialog-addto-favorites");O(R("button-addto"),"expanded");O(R("menu-addto"),"hidden");P(a,"hidden");a=[R("dialog-addto-playlist"),R("dialog-addto-quicklist")];M(a,function(b){O(b,"hidden")})};
K("yt.www.account.toggleVideoDetails",function(a){var b=R("video-details-"+a);if(Q(b,"hidden")){b=R("video-"+a);O(b,"expanded");b=R("video-details-"+a);P(b,"hidden")}else{b=R("video-"+a);P(b,"expanded");b=R("video-details-"+a);O(b,"hidden")}qg("video-thumb-tiny-"+a)},void 0);K("yt.www.account.onPlayVideos",function(a){uk();mk();Oa(m[C],a)},void 0);K("yt.www.account.extractVideoSetIds",function(a){var b=[];M(a,function(c){b[r](c[B](":")[0])});return b},void 0);
K("yt.www.account.saveUserPrefState",function(){var a=oi.b();a.Pa(Y.rc,R("playlist-details")[E][Jc]!="none");a[kc]()},void 0);K("yt.www.account.onEditVideos",function(a){var b=T("RETURN_URL")||da("/my_videos");uk();mk();if(a[z]==0)Ak();else a[z]>1?Bk():Uj("/my_videos_edit?ns=1&video_id="+a[0]+"&next="+b[$b]())},void 0);K("yt.www.account.onInsightVideos",function(a){uk();mk();if(a[z]==0)Ak();else a[z]>1?Bk():Uj("/my_videos_insight?v="+a[0])},void 0);
K("yt.www.account.onAnnotateVideos",function(a){a[z]>1?Bk():Uj("/my_videos_annotate?v="+a[0])},void 0);var Dk=function(a){a=String(a);if(/^\s*$/[Wa](a)?j:/^[\],:{}\s\u2028\u2029]*$/[Wa](a[s](/\\["\\\/bfnrtu]/g,"@")[s](/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]")[s](/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}aa(ga("Invalid JSON string: "+a))};var Fk=function(a){var b=a[Fb]["new-playlist-title-textbox"][v][s](/\"/g,"'");a=a[Fb].token[v];var c={};c.action_create_playlist=1;c.n=b;c.session_token=a;b=Sf(c);X("/playlist_ajax",{postBody:b,onComplete:function(d){d=Dk(d[cb]);var e=d.errors;if(e[z]>0){d=e.pop();kk(d,"messages-new-playlist");Ek()}else{d={id:d.response.playlistId,name:d.response.playlistName};lk(U("PLAYLIST_CREATED")+' <a href="/my_playlists?p='+d.id+'">'+Ud(d[Nb])+"</a>");yk();Oa(m[C],"/my_playlists?p="+d.id+"&ex=1")}},onError:tk,
json:g})};K("yt.www.account.my.playlists.onNewPlaylistFormSubmitted",function(a){mk("messages-new-playlist");if(a[Fb]["new-playlist-title-textbox"][v]=="")kk(U("MUST_SPECIFY_TITLE"),"messages-new-playlist");else{Gk();Fk(a)}},void 0);
var Gk=function(){O(R("button-new"),"expanded");O(R("menu-new"),"hidden");P(R("dialog-creating-playlist"),"hidden");var a=[R("dialog-new-playlist")];M(a,function(b){O(b,"hidden")})},Ek=function(){O(R("button-new"),"expanded");O(R("menu-new"),"hidden");P(R("dialog-new-playlist"),"hidden");var a=[R("dialog-creating-playlist")];M(a,function(b){O(b,"hidden")})};K("yt.www.account.my.playlists.showNewPlaylistDialog",Ek,void 0);
var Hk=function(){var a=R("dialog-addto-playlist");O(R("button-addto"),"expanded");O(R("menu-addto"),"hidden");P(a,"hidden");a=Sf({action_list_playlists_by_current_user:1});X("/playlist_ajax",{postBody:a,onComplete:function(b){b=Dk(b[cb]);var c=b.errors;if(c[z]>0){for(b=0;b<c[z];b++)kk(c[b],"messages-addto-playlist");Hk()}else{c=b.response.playlists;o(R("addto-playlist-checklist"),"");for(b=0;b<c[z];b++){var d=c[b];R("addto-playlist-checklist").innerHTML+='<div><input type="checkbox" value="'+d.playlistId+
'" />'+Ud(d.playlistName)+"</div>"}if(b=R("button-addto-playlist")){Q(b,"yt-button-disabled")&&qk(b,"yt-button-disabled","yt-button");Q(b,"yt-button-alt-disabled")&&qk(b,"yt-button-alt-disabled","yt-button-alt");Q(b,"yt-button-compact-disabled")&&qk(b,"yt-button-compact-disabled","yt-button-compact")}}},onError:function(){kk(U("ERROR_OCCURRED"),"messages-addto-playlist");Hk()},json:g})};K("yt.www.account.my.playlists.showAddToPlaylistDialog",Hk,void 0);
var Ik=function(a,b){var c={};c.action_add_videos_to_playlists=1;c.v=a[H](",");c.p=b[H](",");c.session_token=yg("playlist_ajax");c=Sf(c);X("/playlist_ajax",{postBody:c,onComplete:function(d){d=Dk(d[cb]).errors;if(d[z]>0){d=d.pop();kk(d,"messages-addto-playlist");Hk()}else{if(T("reloadOnCompletion"))Ka(m,m[C][Bc]);lk(U("VIDEOS_ADDED_TO_PLAYLISTS"));wk()}},onError:tk,json:g})};
K("yt.www.account.my.playlists.onAddToPlaylistFormSubmitted",function(){var a=nk("addto-playlist-checklist"),b=nk("videos");mk("messages-addto-playlist");if(a[z]==0)kk(U("MUST_SELECT_PLAYLIST"),"messages-addto-playlist");else{var c=[];M(b,function(d){c[r](d[B](":")[1])});Jk();Ik(c,a)}},void 0);
var Jk=function(){O(R("button-new"),"expanded");O(R("menu-new"),"hidden");P(R("dialog-addingto-playlist"),"hidden");var a=[R("dialog-addto-playlist"),R("dialog-addto-favorites"),R("dialog-addto-quicklist")];M(a,function(b){O(b,"hidden")})};K("yt.www.account.my.playlists.addVideoToCurrentPlaylist",function(a){Ik([a],[T("currentPlaylistId")]);ff("reloadOnCompletion",g);Jk()},void 0);K("yt.www.account.my.playlists.onDeletePlaylist",function(a){ka(U("ARE_YOU_SURE_DELETE"))&&Kk(a)},void 0);
var Kk=function(a){var b={};b.action_delete_playlist=1;b.p=a;b.session_token=yg("playlist_ajax");a=Sf(b);X("/playlist_ajax",{postBody:a,onComplete:function(c){c=Dk(c[cb]).errors;if(c[z]>0)sk(c.pop());else{mk();lk(U("PLAYLIST_DELETED_SUCCESS"));Uj("/my_playlists")}},onError:tk,json:g})},Lk=function(a){mk();for(var b=0;b<a[z];b++)kk(a[b])};
K("yt.www.account.my.playlists.toggleShowRecommendations",function(a,b){if(a){if(T("fetchRecos")){ff("fetchRecos",j);X("/my_playlists?a=playlist_rec_show&action_recommend=1&p="+b,{method:"GET",update:"playlist_recs"})}V("playlist_recs")}else W("playlist_recs")},void 0);K("yt.www.account.my.playlists.startEditingPosition",function(a){if(!T("isEditingPosition")){qg("pos-view-"+a,"pos-edit-"+a);R("pos-edit-"+a)[wb]()}ff("isEditingPosition",g)},void 0);
K("yt.www.account.my.playlists.finishEditingPosition",function(a,b,c){var d=ia(R("pos-view-"+b)[t],10);c=ia(c,10);var e=ia(T("videoListTotal"),10);if(c>e)c=e;if(c<1)c=1;if(d!=c){qg("pos-edit-"+b,"pos-load-"+b);Mk(a,b,d,c)}else{qg("pos-edit-"+b,"pos-view-"+b);ff("isEditingPosition",j)}},void 0);
var Mk=function(a,b,c,d){c=new ak(k[C]);var e={};e.action_reorder_playlist_video=1;e.p=a;e.v=b;e.i=d;e.pi=c.da("pi")||0;e.ps=c.da("ps")||T("DEFAULT_NUM_RESULTS");e.sf=c.da("sf");e.sa=Sc(c.da("sa"))?1:0;e.sh=T("sortHeadings")=="True"?1:0;e.dm=c.da("dm")||0;e.session_token=yg("playlist_ajax");a=Sf(e);X("/playlist_ajax",{postBody:a,onComplete:function(){mk("messages-edit-playlist");ff("isEditingPosition",j)},update:"view-drop",onError:tk})};
K("yt.www.account.my.playlists.removeVideosFromPlaylist",function(a,b){var c={};c.action_remove_videos_from_playlist=1;c.p=a;c.v=b[H](",");c.session_token=yg("playlist_ajax");c=Sf(c);X("/playlist_ajax",{postBody:c,onComplete:function(d){d=Dk(d[cb]).errors;d[z]>0?sk(d.pop()):k[C][lc]()},onError:tk,json:g})},void 0);
K("yt.www.account.my.playlists.showEditPlaylistThumbnail",function(a){if(R("edit-playlist-thumbnail-panel")[E][Jc]=="none"){p(R("edit-playlist-thumbnail-page"),"0");qg(R("edit-playlist-thumbnail-panel"));Nk(a,0,T("PLAYLIST_THUMBNAIL_PAGESIZE"))}},void 0);
var Nk=function(a,b,c){o(R("edit-playlist-thumbnail-drop"),'<img src="http://s.ytimg.com/yt/img/loader-vfl35975.gif" />');var d={};d.action_list_videos_for_playlist=1;d.p=a;d.pi=b;d.ps=c;d.session_token=yg("playlist_ajax");b=Sf(d);X("/playlist_ajax",{postBody:b,onComplete:function(e){e=Dk(e[cb]);var f=e.errors;if(f[z]>0){mk("messages-edit-playlist");for(e=0;e<f[z];e++)kk(f[e],"messages-edit-playlist")}else{mk("messages-edit-playlist");f=e.response.videos;var i=R("edit-playlist-thumbnail-drop");o(i,"");var l=T("stillImageTemplate");
for(e=0;e<f[z];e++)i.innerHTML+='<a class="edit-playlist-thumbnail" href="#" onClick="yt.www.account.my.playlists.setPlaylistThumbnail(this, \''+a+"', '"+f[e].encrypted_set_video_id+"', '"+f[e].encrypted_id+'\'); return false"><img src="'+l[s]("%videoId%",f[e].encrypted_id)+'" /></a>'}},onError:tk,json:g})},Ok=function(a,b,c){var d={};d.action_set_playlist_thumbnail=1;d.p=a;d.v=b;d.session_token=yg("playlist_ajax");b=Sf(d);X("/playlist_ajax",{postBody:b,onComplete:function(e){e=Dk(e[cb]).errors;if(e[z]>
0)Lk(e);else{e={rh:a,jh:c};mk("messages-edit-playlist");lk(U("PLAYLIST_THUMBNAIL_UPDATED"),"messages-edit-playlist");qg("edit-playlist-thumbnail-panel");var f=T("stillImageTemplate");R("playlist-thumbnail-img").src=f[s]("%videoId%",e.jh)}},onError:tk,json:g})};K("yt.www.account.my.playlists.onApplyPlaylistThumbnail",function(a){var b=R("edit-playlist-thumbnail-id");if(b[v]!=""){b=b[v][B](":");Ok(a,b[0],b[1])}},void 0);
K("yt.www.account.my.playlists.setPlaylistThumbnail",function(a,b,c,d){b=R("edit-playlist-thumbnail-drop")[Rb]("A");M(b,function(e){P(e,"selected")});O(a,"selected");p(R("edit-playlist-thumbnail-id"),[c,d][H](":"))},void 0);K("yt.www.account.my.playlists.nextPlaylistThumbnailPage",function(a){var b=R("edit-playlist-thumbnail-page");if(b){var c=ia(b[v],10);p(b,(c+1)[$b]());Nk(a,c+1,T("PLAYLIST_THUMBNAIL_PAGESIZE"))}},void 0);
K("yt.www.account.my.playlists.prevPlaylistThumbnailPage",function(a){var b=R("edit-playlist-thumbnail-page");if(b){var c=ia(b[v],10);if(c>0){p(b,(c-1)[$b]());Nk(a,c-1,T("PLAYLIST_THUMBNAIL_PAGESIZE"))}}},void 0);K("yt.www.account.my.playlists.onUpdatePlaylist",function(a,b,c,d,e,f,i,l){mk("messages-edit-playlist");Pk(a,b,c,d,e,f,i,l)},void 0);
var Pk=function(a,b,c,d,e,f,i,l){var u={};u.action_edit_playlist=1;u.p=a;u.t=b;u.d=c;u.k=d;u.y=e?0:1;u.e=f?1:0;u.v=i?1:0;u.s=l?1:0;u.session_token=yg("playlist_ajax");a=Sf(u);X("/playlist_ajax",{postBody:a,onComplete:function(w){w=Dk(w[cb]).errors;if(w[z]>0)Lk(w);else{mk("messages-edit-playlist");lk(U("PLAYLIST_EDITED_SUCCESS"),"messages-edit-playlist");k[C][lc]()}},onError:tk,json:g})};
K("yt.www.account.my.playlists.onSharePlaylist",function(a){k[Va]("/share?p="+a,"Share","toolbar=no,width=546,height=485,status=no,resizable=yes,fullscreen=no,scrollbars=no")[wb]()},void 0);K("yt.www.account.my.quicklist.onAddVideosToQuicklist",function(a){uk();mk();if(a[z]==0)Ak();else{xk();Qk();var b=[];M(a,function(c){b[r](c[B](":")[1])});Rk(b)}},void 0);
var Qk=function(){var a=R("dialog-addto-quicklist");O(R("button-addto"),"expanded");O(R("menu-addto"),"hidden");P(a,"hidden");a=[R("dialog-addto-playlist"),R("dialog-addto-favorites")];M(a,function(b){O(b,"hidden")})},Rk=function(a){var b={};b.action_add_videos_to_quicklist=1;b.v=a[H](",");b.session_token=yg("video_ajax");a=Sf(b);X("/video_ajax",{postBody:a,onComplete:function(c){c=Dk(c[cb]).errors;if(c[z]>0)sk(c.pop());else{lk(U("VIDEOS_ADDED_TO_QUICKLIST"));wk()}},onError:tk,json:g})};
K("yt.www.account.my.quicklist.onRemoveVideosFromQuicklist",function(a){mk();var b={};b.action_remove_from_queue_json=1;b.v=a[H](",");b.session_token=yg("watch_queue_ajax");a=Sf(b);X("/watch_queue_ajax",{postBody:a,onComplete:function(){k[C][lc]()},onError:tk,json:g})},void 0);K("yt.www.account.my.favorites.onDeleteFavorites",function(a){uk();mk();if(a[z]==0)Ak();else if(ka(U("SURE_TO_DELETE_FAVORITES"))){lk(U("WAIT_DELETING_FAVORITES"));Sk(a)}},void 0);var Sk=function(a){var b={};b.action_remove_videos_from_favorites=1;b.v=a[H](",");b.session_token=yg("video_ajax");a=Sf(b);X("/video_ajax",{postBody:a,onComplete:function(c){c=Dk(c[cb]).errors;if(c[z]>0)sk(c.pop());else{lk(U("FAVORITES_REMOVED"));k[C][lc]()}},onError:tk,json:g})};
K("yt.www.account.my.favorites.onAddVideosToFavorites",function(a){uk();mk();if(a[z]==0)Ak();else{xk();Ck();var b=[];M(a,function(c){b[r](c[B](":")[1])});Tk(b)}},void 0);var Tk=function(a){var b={};b.action_add_videos_to_favorites=1;b.v=a[H](",");b.session_token=yg("video_ajax");a=Sf(b);X("/video_ajax",{postBody:a,onComplete:function(c){c=Dk(c[cb]).errors;if(c[z]>0)sk(c.pop());else{lk(U("VIDEOS_ADDED_TO_FAVES"));wk()}},onError:tk,json:g})};K("yt.www.account.my.favorites.addVideosToFavorites",Tk,void 0);var Uk=function(a,b,c,d,e){k.google_ad_client=a;k.google_ad_channel=b;k.google_max_num_ads=c;k.google_ad_output="js";k.google_ad_type="text";k.google_only_pyv_ads=g;if(d){k.google_kw=d;k.google_kw_type="broad"}if(k.dclk_language)k.google_language=k.dclk_language;k.google_ad_request_done=e;m[pb]('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')},Vk=function(){if(k.dclk_language)k.google_language=k.dclk_language;k.google_ad_client="pub-6219811747049371";
k.google_ad_channel="1802068507";k.google_ad_format="300x250_as";k.google_ad_type="text_image";k.google_ad_width=300;k.google_ad_height=250;k.google_alternate_color="FFFFFF";k.google_color_border="FFFFFF";k.google_color_bg="FFFFFF";k.google_color_link="0033CC";k.google_color_text="444444";k.google_color_url="0033CC";m[pb]('<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')},Xk=function(){if(!k.ppv_fallback_rendered){Wk();W("pyv-placeholder");V(k.ppv_fallback_placeholder_id||
"ppv-placeholder");k.ppv_fallback_rendered=g}},Wk=function(){W(k.pyv_google_ad_collapse_id||"ad_creative_2")},Yk=function(a,b,c,d,e){var f=td(b.media_template_data,function(i){return!!i.imageUrl});if(!f)return j;a={video_id:f.videoId,ad_type:a,headline:f.headline,image_url:f.imageUrl,description1:f.description1,description2:f.description2,channel_title:f.channelName,test_mode:(!!e)[$b](),destination_url:Wd(b.url)};X("/pyv?"+Sf(a),{method:"GET",update:c,onComplete:d})},$k=function(){W("ad_creative_2");
T("PYV_IS_ALLOWED")?Uk("ca-youtube-homepage",T("PYV_AD_CHANNEL")||"",1,T("PYV_KW")||"",Zk):Xk()},Zk=function(a){var b=R("pyv-placeholder");a[z]==0||!b?Xk():Yk("homepage",a[0],b,function(){Wk()})},bl=function(){if(T("PYV_IS_ALLOWED")){var a="pyvOnBrowse";if(T("PYV_CATEGORY"))a+=" pyvBrowse_"+T("PYV_CATEGORY");Uk("ca-youtube-browse",a,1,"",al)}else Vk()},al=function(a){var b=R("pyv-placeholder");a[z]==0||!b?Vk():Yk("browse",a[0],b,function(){W("ad_creative_1")})},cl=function(a,b){var c=R(a);if(c){c=
S("li","video-list-item",c);M(c,function(d,e){var f=S("a",h,d);M(f,function(i){var l=i[vc]("href");if(l&&ba(l)[tb](/\/watch(\?|#!)v=/))i.href+=b?"&pvpos="+e:"&pvnpos="+e})})}};var dl=h,el=function(){if(R("watch-comments-sigin")){Oa(k[C],R("watch-comments-sigin")[Bc]);return j}return g},fl=function(a){var b=a[G];O(b,"input-focused");if(!Q(b,"input-expanded")){p(a,"");P(b,"input-collapsed");O(b,"input-expanded");V("watch-comments-attach-video")}},gl=1,il=function(a){V("watch-comments-loading");W("watch-comments-all");W("watch-comments-no-more");var b=R("watch-comments-core"),c={method:"GET",onComplete:function(i){if(i=wg(i[wc],"html_content"))o(b,i);xf(b,"type")=="video"?
W("watch-comments-show"):V("watch-comments-show");W("watch-comments-no-more");if(!i||i[tb](/<li/g)[z]<10){W("watch-comments-show");V("watch-comments-no-more")}W("watch-comments-loading");V("watch-comments-all");ni()}};gl=a;a=T("VIDEO_ID");var d=T("COMMENTS_THRESHHOLD"),e=T("COMMENTS_FILTER"),f=T("COMMENTS_PAGE_SIZE");wf(b,"type","everything");X(hl(a,gl,d,e,f,"everything"),c)},hl=function(a,b,c,d,e,f){return"/watch_ajax?v="+a+"&action_get_comments=1&p="+b+"&commentthreshold="+c+"&commentfilter="+d+
(f?"&commenttype="+f:"")+"&page_size=10&last_comment_id="},jl=function(){V("watch-comments-loading");W("watch-comments-all");W("watch-comments-no-more");var a=R("watch-comments-core"),b={method:"GET",onComplete:function(l){if(l=wg(l[wc],"html_content"))a.innerHTML+=l;xf(a,"type")=="video"?W("watch-comments-show"):V("watch-comments-show");W("watch-comments-no-more");if(!l||l[tb](/<li/g)[z]<10){W("watch-comments-show");V("watch-comments-no-more")}W("watch-comments-loading");V("watch-comments-all");
ni()}};gl+=1;var c=T("VIDEO_ID"),d=T("COMMENTS_THRESHHOLD"),e=T("COMMENTS_FILTER"),f=T("COMMENTS_PAGE_SIZE"),i=xf(a,"type")||"";X(hl(c,gl,d,e,f,i),b)},kl=function(a){var b=R("watch-comments-core");if(xf(b,"type")!=a){W("watch-comments-show");o(R("watch-comments-core"),"");wf(b,"type",a);gl=0;jl()}},ml=function(a){ll();dl=a;var b=R("watch-comments-core"),c=S(h,"content",dl)[0];c=c?Q(c,"hide-comment"):g;if(!(xf(a,"pending")=="1"||c&&(xf(a,"removed")=="True"||xf(a,"flagged")=="True"))){xf(a,"author-viewing")==
"True"||xf(b,"owner-viewing")=="True"?V(R("watch-comment-remove-link")):W(R("watch-comment-remove-link"));if(xf(b,"disallow-ratings")=="True"){W("watch-comment-vote-up");W("watch-comment-vote-down")}else{V("watch-comment-vote-up");V("watch-comment-vote-down")}b=R("watch-comments-actions");P(b,"voted-up");P(b,"voted-down");if(xf(a,"voted")=="1")O(b,"voted-up");else xf(a,"voted")=="-1"&&O(b,"voted-down");P(b,"replying");c=S(h,"watch-comment-reply",a);c[z]&&c[0][t]&&O(b,"replying");var d;if(c=b[hc]){var e=
c[Hc]=="HTML"||c[Hc]=="BODY";if(!e||gg(c,"position")!="static"){d=jg(c);e||(d=Fd(d,new Ed(c[yc],c[Zb])))}}c=jg(a);e=kg(a);c=new eg(c.x,c.y,e[Ya],e[Lc]);var f;e=new dg(0,Infinity,Infinity,0);for(var i=ye(a),l=i.o[oc],u=i.Gf(),w=a;w=ig(w);)if((!je||w[dc]!=0)&&(!le||w[xc]!=0||w!=l)&&(w.scrollWidth!=w[dc]||w[yb]!=w[xc])&&gg(w,"overflow")!="visible"){var N=jg(w),D;D=w;if(ke&&!ve("1.9")){var J=ja(fg(D,"borderLeftWidth"));if("rtl"==gg(D,"direction")){var ca=D[eb]-D[dc]-J-ja(fg(D,"borderRightWidth"));J+=
ca}D=new Ed(J,ja(fg(D,"borderTopWidth")))}else D=new Ed(D[Db],D[Gb]);N.x+=D.x;N.y+=D.y;e.top=n.max(e.top,N.y);e.right=n.min(e[Pc],N.x+w[dc]);e.bottom=n.min(e[Ac],N.y+w[xc]);ta(e,n.max(e[ob],N.x));f=f||w!=u}l=u[yc];u=u[Zb];if(le){e.left+=l;e.top+=u}else{ta(e,n.max(e[ob],l));e.top=n.max(e.top,u)}if(!f||le){e.right+=l;e.bottom+=u}f=i.Vf();e.right=n.min(e[Pc],l+f[Ya]);e.bottom=n.min(e[Ac],u+f[Lc]);(f=e.top>=0&&e[ob]>=0&&e[Ac]>e.top&&e[Pc]>e[ob]?e:h)&&c.eg(new eg(f[ob],f.top,f[Pc]-f[ob],f[Ac]-f.top));
f=ye(a);i=ye(b);if(f.o!=i.o){e=f.o[oc];i=i.Oc();u=new Ed(0,0);l=xe(e)?xe(e).parentWindow||xe(e)[Mb]:k;w=e;do{if(l==i)N=jg(w);else{J=w;N=new Ed;if(J[ab]==1)if(J[Ta]){D=hg(J);N.x=D[ob];N.y=D.top}else{D=ye(J).Eb();J=jg(J);N.x=J.x-D.x;N.y=J.y-D.y}else{N.x=J[Sb];N.y=J[Tb]}N=N}N=N;u.x+=N.x;u.y+=N.y}while(l&&l!=i&&(w=l.frameElement)&&(l=l.parent));i=u;i=Fd(i,jg(e));if(je&&!f.Zc())i=Fd(i,f.Eb());c.left+=i.x;c.top+=i.y}c=new Ed(c[ob]+c[Ya],c.top);if(d)c=Fd(c,d);c=c;c=c.w();d=kg(b);c.x-=d[Ya]+0;e=c;f=ke&&(de||
oe)&&ve("1.9");if(e instanceof Ed){c=e.x;e=e.y}else{c=e;e=void 0}ta(b[E],typeof c=="number"?(f?n[Za](c):c)+"px":c);b[E].top=typeof e=="number"?(f?n[Za](e):e)+"px":e;if(!(d==d?g:!d||!d?j:d[Ya]==d[Ya]&&d[Lc]==d[Lc])){d=d;if(d instanceof Gd){c=d[Lc];d=d[Ya]}else aa(ga("missing height argument"));pa(b[E],typeof d=="number"?n[Za](d)+"px":d);Qa(b[E],typeof c=="number"?n[Za](c)+"px":c)}O(a,"current")}},ll=function(){var a=R("watch-comments-actions");a[E].top="-1000px";ta(a[E],"-1000px");dl&&P(dl,"current")},
nl=function(a){var b=a[G];a=S(h,"watch-comments-post-count-textbox",b)[0];b=S(h,"watch-comment",b)[0];p(a,500-b[v][z])},ol=function(){var a=R("captcha_div");if(a){var b=a[G];b[pc](a);V(b.comment)}};var pl=j,ql=[],rl=function(){if(!pl){pl=g;var a=m[xb]("script");a.src=k.homepageJavascriptSource;m[Rb]("head")[0][q](a);var b=function(){if(typeof k.YT_php_support!="undefined"){k.homepageCallback();for(var c=0;c<ql[z];++c)ql[c]();ql=[]}else k.setTimeout(b,100)};k.setTimeout(b,100)}};var sl=function(a,b,c,d,e,f,i){this.xh=a;this.vh=b;this.Yg=this.Yg;this.wf=d;this.cg=e;this.mh=f;this.nh=i;this.lg="ad_creative_"+a;this.xf="ad_creative_expand_btn_"+a;this.jf="ad_creative_collapse_btn_"+a;this.ph="ad_creative_iframe_"+a;this.wh="ad_creative_"+c;this.qh="masthead_child_div";this.oh=Y.qc;this.Ac="HIDDEN_MASTHEAD_ID"};
Ga(sl,{collapse:function(){W(this.lg);this.cg||W(this.jf);V(this.xf);var a=oi.b();a.m(this.Ac,this.wf);a[kc]();Cg("homepage_collapse_masthead_ad")},expand:function(){var a=oi.b();a.m(this.Ac,j);a[kc]();Cg("homepage_expand_masthead_ad");Oa(m[C],m[C][Bc])}});var tl=j,ul=j;var vl=function(){this.J=j;this.la=h};K("yt.www.home.Subscriptions",vl,void 0);vl[A].Mg=function(a){this.la=a};vl[A].setCurrentLink=vl[A].Mg;vl[A].Wf=function(a){if(this.la)if(!(R("edit-subscription-bubble")||this.J)){a=S("A","edit-subscription-recent-activity-link",a);if(a[z]!=0){a=a[0];if(this.la!=a){this.la&&lg(this.la,j);lg(a,g);this.la=a}}}};vl[A].handleActivityItemMouseover=vl[A].Wf;
vl[A].eh=function(a,b,c,d){if(!this.J){this.J=g;var e=R("edit-subscription-bubble");if(e){Je(e);this.J=j}else X("/iyt_ajax?action_get_inline_subscription_edit_markup",{postBody:["publisher_id="+c,"publisher_username="+b,"session_token="+d][H]("&"),onComplete:L(function(f){f=wg(f[wc],"html_content");var i=Ie("DIV");o(i,f);a[G][G][mb](i[Ab],a[G][Ob]);this.J=j},this),onException:L(function(){this.J=j},this)})}};vl[A].toggleInlineSubscriptionEditBubble=vl[A].eh;
vl[A].bg=function(a,b,c){if(!this.J){var d=R("edit-subscription-all-activity")[ec],e=R("edit-subscription-uploads-only")[ec],f=R("edit-subscription-unsubscribe")[ec],i="";if(d)i="all_activity";else if(e)i="uploads";else if(f)i="unsubscribe";if(i){this.J=g;X("/ajax_subscriptions?edit_subscription="+b,{postBody:["username="+a,"subscription_level="+i,"session_token="+c][H]("&"),onComplete:L(function(){var l=R("edit-subscription-bubble");Je(l);i=="unsubscribe"&&this.Fg(a);this.J=j},this),onException:L(function(){this.J=
j},this)})}}};vl[A].handleUpdateClick=vl[A].bg;vl[A].Fg=function(a){var b=R("recent-activity-box");a=S("SPAN","username_"+a,b);for(b=0;b<a[z];b++)lg(a[b][G],j)};vl[A].hf=function(){var a=R("edit-subscription-bubble");Je(a)};vl[A].closeInlineSubscriptionEditBubble=vl[A].hf;var wl=function(a){if(a[cb]=="block")Oa(k.top[C],"/")};if(k!=k.top){var xl=m.referrer;Uf(xl)||X("/roger_rabbit",{postBody:"location="+da(xl)+"&self="+da(k[C][Bc]),onComplete:wl})};var yl=0,zl=h,Al=function(a,b,c,d,e){this.th=c;this.bf=a;this.j=b;this.qa=b[v];this.B=b[v];this.Rb=b[v];this.ma="";this.pf=h;this.zc=Sh(b);this.P=this.L=this.xa=h;this.wa=-1;this.K=this.c=h;this.cb=this.gb=0;this.Y=h;this.Qb=/^(zh-(CN|TW)|ja|ko)$/[Wa](c);this.ob=this.nb=j;this.Gg=e+"?hl="+c+"&ds="+d+"&client=youtube&hjson=t&jsonp=window.yt.www.suggest2.handleResponse";this.j[y]("autocomplete","off");Df(this.j,"blur",L(this.tg,this));this.j.onkeyup_original=this.j.onkeyup;Df(this.j,"keydown",L(this.wg,
this));Df(this.j,"keyup",L(this.xg,this));this.c=Ie("table");this.c.id="completeTable_"+yl++;this.c.cellSpacing=this.c.cellPadding="0";Ha(this.c,"yt-suggest-table");this.X();m[oc][q](this.c);this.K=Ie("iframe");this.K.id="yt-suggest-iframe-"+yl++;Ha(this.K,"yt-suggest-iframe");m[oc][q](this.K);this.ib();Df(k,"resize",L(this.ib,this));this.Qb&&jf(this.Bg,10);this.kb()};I=Al[A];I.tg=function(){this.nb||this.X();this.nb=j};I.Bg=function(){var a=this.j[v];a!=this.qa&&this.Ib(0);this.qa=a};
I.Jc=function(){this.nb=g;this.j[hb]();hf(L(this.$a,this),10)};I.ib=function(){ta(this.c[E],Hh(this.j,"offsetLeft")+"px");this.c[E].top=Hh(this.j,"offsetTop")+this.j[Nc]-1+"px";pa(this.c[E],this.j[eb]+"px");ta(this.K[E],this.c[E][ob]);this.K[E].top=this.c[E].top;pa(this.K[E],this.c[eb]+"px");Qa(this.K[E],this.c[Nc]+"px")};I.X=function(){if(this.Y){kf(this.Y);this.Y=h}og(this.c,j);og(this.K,j)};I.ic=function(){og(this.c,g);og(this.K,g);this.ib();this.ob=g};I.vb=function(){return this.c[E][Xb]=="visible"};
I.wg=function(a){a=a||k[Qc];var b=a[zb];zl=this;if(b==13&&this.vb()&&this.ma==this.B&&this.P){this.X();return j}if(b==27&&this.vb()){this.X();this.lb(this.B);za(a,g);Na(a,j);return j}if(!Nh(b))return g;this.cb++;this.cb%3==1&&this.Ib(b);return j};I.xg=function(a){a=a||k[Qc];var b=a[zb];!(this.Qb&&Nh(b))&&this.cb==0&&this.Ib(b);this.cb=0;if(this.B[z]>0&&this.j.onkeyup_original){this.j.onkeyup_original(a);Cd(this.c,"rtl",this.j.dir=="rtl")}return!Nh(b)};
I.Ib=function(a){this.Qb&&Nh(a)&&this.Jc();if(this.j[v]!=this.qa||a==39){this.B=this.j[v];this.zc=Sh(Wg)}if(a==40||a==63233)this.md(this.wa+1);else(a==38||a==63232)&&this.md(this.wa-1);this.ib();if(this.ma!=this.B&&!this.Y)this.Y=hf(L(this.X,this),500);this.qa=this.j[v];this.qa==""&&!this.xa&&this.kb()};I.Jc=function(){this.nb=g;this.j[hb]();hf(L(this.$a,this),10)};I.$a=function(){this.j[wb]()};I.ug=function(a){this.j[hb]();this.lb(a.completeString);this.X();this.bf(a.completeString);return j};
I.lb=function(a){p(this.j,a);this.qa=a};I.Jg=function(a,b){this.gb++;var c=Ie("script");Ce(c,{type:"text/javascript",id:b,charset:"utf-8",src:this.Gg+"&q="+a+"&cp="+this.zc});var d=R(b),e=m[Rb]("head")[0];d&&e[pc](d);e[q](c)};I.kb=function(){if(this.Rb!=this.B&&this.B){this.Jg(da(this.B),"jsonpACScriptTagY");this.$a()}this.Rb=this.B;for(var a=100,b=1;b<=(this.gb-2)/2;++b)a*=2;a+=50;this.xa=hf(L(this.kb,this),a);return g};I.qg=function(){this.X();this.ma="";this.xa&&kf(this.xa);this.xa=h;return j};
I.Cg=function(a){for(var b=this.c[Ec],c=b[z]-1;c>=0;--c)this.c.deleteRow(c);var d=0;for(c in a){var e=a[c];if(e){d++;this.$e(e[0],d==1)}}if(b[z]>0){a=this.c[qb](-1);Df(a,"mousedown",L(this.gd,this));b=Ie("td");b.colSpan=2;Ha(a,"yt-suggest-close");c=Ie("span");a[q](b);b[q](c);ai(c,U("SUGGEST_CLOSE"));Df(c,"click",L(this.qg,this))}};I.gd=function(a){a=a||k[Qc];If(a);this.ic();this.j[wb]();return Jf(a)};
I.fd=function(a){if(!this.ob){if(this.P)Ha(this.P,"yt-suggest-unselected");Ha(a,"yt-suggest-selected");this.P=a;if(this.L)for(a=0;a<this.L[z];a++)if(this.L[a]==this.P){this.wa=a;break}}};I.vg=function(a,b){var c=b||k[Qc];if(this.ob){this.ob=j;this.fd(a,c)}};
I.md=function(a){if(this.ma==""&&this.B!=""){this.Rb="";this.kb()}else if(!(this.B!=this.ma||!this.xa))if(!(!this.L||this.L[z]<=0))if(this.vb()){var b=this.L[z]-1;if(this.P)Ha(this.P,"yt-suggest-unselected");if(a==b||a==-1){this.wa=-1;this.lb(this.B);this.$a()}else{if(a>b)a=0;else if(a<-1)a=b-1;this.wa=a;this.P=this.L[lb](a);Ha(this.P,"yt-suggest-selected");this.lb(this.P.completeString)}}else this.ic()};
I.$e=function(a,b){var c=this.c[Ec][z];c!=0&&this.c[Ec][c-1][cc]=="yt-suggest-close"&&--c;c=this.c[qb](c);Ha(c,"yt-suggest-unselected");c.completeString=a;Df(c,"click",L(this.ug,this,c));Df(c,"mouseover",L(this.fd,this,c));Df(c,"mousemove",L(this.vg,this,c));Df(c,"mousedown",L(this.gd,this));var d=Ie("td");ai(d,a);Ha(d,"yt-suggest-left");if(Bh&&sh[Wa](a))d[E].paddingTop="2px";var e=Ie("td");Ha(e,"yt-suggest-right");b&&ai(e,U("SUGGEST_SUGGEST"));if(Q(this.c,"rtl")){c[q](e);c[q](d)}else{c[q](d);c[q](e)}};
I.Zf=function(a){this.gb>0&&this.gb--;if(a[0]==this.B){if(this.Y){kf(this.Y);this.Y=h}this.ma=a[0];this.pf=a[1];this.Cg(a[1]);this.wa=-1;(this.L=this.c[Ec])&&this.L[z]>0?this.ic():this.X()}};var Bl=[];var Cl=function(){this.g=R;this.Aa=S;this.console=k[Dc]};Cl[A].pa=function(){this.sb=k;Df(this.sb,"load",L(this.ig,this))};Cl[A].init=Cl[A].pa;I=Cl[A];
I.ig=function(){var a=this.Aa("button","vm-playlist-edit-video");M(a,function(c){Df(c,"click",L(this.Dg,this))},this);this.ld();Df(this.g("vm-playlist-search-field"),"click",L(this.Tc,this));Df(this.g("vm-playlist-search-field"),"blur",L(this.Tc,this));Df(this.g("vm-videos-copyto-cancel"),"click",this.pg);Df(this.g("vm-playlist-copy-to-submit"),"click",L(this.Xf,this));var b=this.g("dialog-new-playlist");Df(this.g("vm-new-playlist-cancel"),"click",function(){Pa(b[E],"none")});Df(this.g("vm-new-playlist"),
"click",L(this.Ug,this));Df(this.g("vm-new-playlist-save"),"click",L(this.sg,this))};I.Ug=function(){qg(this.g("dialog-new-playlist"));this.g("new-playlist-title-field")[wb]()};I.sg=function(){var a=this.g("new-playlist-title-field");if(/^[\s\xa0]*$/[Wa](a[v])){a[wb]();this.jc(U("MUST_SPECIFY_TITLE"))}else{Le(this.g("vm-new-playlist-save"),"Creating...");this.nf()}};
I.nf=function(){var a=this.g("new-playlist-title-field")[v][s](/\"/g,"'"),b=this.g("new-playlist-desc-field")[v],c=this.g("new-playlist-tags-field")[v],d={};d.action_create_playlist=1;d.n=a;d.d=b;d.k=c;d.session_token=yg("playlist_ajax");a=Sf(d);X("/playlist_ajax",{postBody:a,onComplete:L(this.yg,this),onError:this.ud,json:g})};
I.yg=function(a){a=Dk(a[cb]);var b=a.errors;if(b[z]>0)this.td(b);else{a=a.response.playlistId;Pa(this.g("dialog-new-playlist")[E],"none");this.wd(U("PLAYLIST_CREATED"));Uj("/my_playlists?p="+a)}};I.Tc=function(a){var b=this.g("vm-playlist-search-field");if(a[Jb]=="click"&&b[v]=="Search playlists")p(b,"");else if(a[Jb]=="blur"&&b[v]=="")p(b,"Search playlists")};I.Dg=function(a){a=Ne(a[rc],"li").id[B](":")[1];Uj("/my_videos_edit?ns=1&video_id="+a+"&next="+(T("RETURN_URL")||da("/my_videos"))[$b]())};
I.vd=function(a,b,c){if(c=c?this.g(c):this.g("messages")){var d=S("DIV","yt-alert-content",b)[0];Le(d,a);c[q](b);P(c,"hidden")}};I.jc=function(a,b){var c=this.g("error-template")[Ib](g);this.vd(a,c,b)};I.wd=function(a,b){var c=this.g("success-template")[Ib](g);this.vd(a,c,b)};I.ud=function(){this.jc(U("ERROR_OCCURRED"))};I.td=function(a){M(a,function(b){this.jc(b)},this)};I.Rf=function(){var a=this.Aa("input","video-checkbox");return rd(a,function(b){return b[ec]})};
I.Qf=function(){return sd(this.Rf(),function(a){return a[v]})};I.yf=function(a){return sd(a,function(b){return b[B](":")[1]})};I.Pf=function(){var a=this.Aa("input","vm-playlist-copyto-checkbox");return rd(a,function(b){return b[ec]})};I.Of=function(){return sd(this.Pf(),function(a){return a[v]})};I.ld=function(){var a=this.Aa("input","video-checkbox");M(a,function(b){if(b[ec])Ia(b,j)})};
I.Xf=function(){var a=this.g("vm-playlist-copy-to-submit");La(a,g);Le(a,"Copying...");a=this.yf(this.Qf());var b=this.Of(),c={};c.action_add_videos_to_playlists=1;c.v=a[H](",");c.p=b[H](",");c.session_token=yg("playlist_ajax");a=Sf(c);X("/playlist_ajax",{postBody:a,onComplete:L(this.rg,this),onError:this.ud,json:g})};I.rg=function(a){a=Dk(a[cb]).errors;if(a[z]>0)this.td(a);else{this.wd("Videos added to selected playlists.");this.ld();qg("videos-copyto-dialog")}};I.pg=function(){qg("videos-copyto-dialog")};var El=function(a){a=a[s](";dc_seed=",";kmyd=watch-channel-brand-div;dc_seed=");W("instream_google_companion_ad_div");W("google_companion_ad_div");V("ad300x250");V("watch-channel-brand-div");var b=R("ad300x250"),c=n[Za](n[uc]()*1E4);o(b,['<iframe src="',a,'" name="ifr_300x250ad',c,'" id="ifr_300x250ad',c,'" width="300" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>'][H](""));Dl()},Fl=function(a){a=a[s](";dc_seed=",";kmyd=watch-longform-ad;dc_seed=");
W("instream_google_companion_ad_div");V("watch-longform-ad");V("watch-longform-text");V("watch-longform-ad-placeholder");var b=R("watch-longform-ad-placeholder"),c=n[Za](n[uc]()*1E4);o(b,['<iframe src="',a,'" name="ifr_300x60ad',c,'" id="ifr_300x60ad',c,'" width="300" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>'][H](""));Dl()},Gl=function(a){var b=R("watch-longform-ad-placeholder");if(a){W("instream_google_companion_ad_div");V("watch-longform-ad");
V("watch-longform-text");V("watch-longform-ad-placeholder");o(b,a)}else W("watch-longform-ad");Dl()},Hl=function(a,b){var c="watch-channel-brand-div",d="ad300x250",e=300,f=250;if(a=="video"){c="watch-longform-ad";d="watch-longform-ad-placeholder";e=300;f=60;W("instream_google_companion_ad_div")}var i=la(b);o(R(d),['<iframe name="fw_ad" id="fw_ad" ','width="'+e+'" height="'+f+'" ','marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>'][H](""));var l=R("fw_ad");
l=l[Pb]?l[Pb]:l.contentDocument[fc]?l.contentDocument[fc]:l.contentDocument;e=fa[jc][Oc]();d=e[x]("msie")!=-1;e=e[x]("opera")!=-1;l[fc][Va]();l[fc][pb](i);d||e?hf(function(){l[fc][nc]()},7500):l[fc][nc]();V(c);Dl()},Kl=function(){V("watch-channel-brand-div");W("ad300x250");Qa(R("google_companion_ad_div")[E],"250px");Dl()},Ll=function(){W("watch-longform-ad");Dl()},Ml=function(){W("watch-channel-brand-div");Dl()},Dl=function(){var a=Tc("yt.www.watch.ads.handleAdLoaded");a&&a[F]()},Nl=function(){},
Ol=function(a){ff("POPOUT_AD_SLOTS",a)},Pl=function(){var a=R("watch-longform-popup");La(a,g);O(a,"yt-button-disabled")},Ql=function(a){var b=R("watch-longform-popup");La(b,j);Ol(a);P(b,"yt-button-disabled")},Rl=function(a){k.google_ad_output="html";if(a){k.google_ad_height="60";k.google_ad_format="300x60_as";k.google_container_id="instream_google_companion_ad_div"}else{k.google_ad_height="250";k.google_ad_format="300x250_as";k.google_container_id="google_companion_ad_div"}},Sl=function(a){if(a){W("watch-longform-ad-placeholder");
W("watch-channel-brand-div");V("watch-longform-text");V("watch-longform-ad");Qa(R("instream_google_companion_ad_div")[E],"60px");V("instream_google_companion_ad_div")}else{W("ad300x250");W("watch-longform-ad");V("google_companion_ad_div");V("watch-channel-brand-div");Qa(R("google_companion_ad_div")[E],"250px")}Dl()},Tl=function(){W("instream_google_companion_ad_div");W("watch-longform-text");W("watch-longform-ad-placeholder");Dl()};var Ul=["prepage","pagetop","contenttop","videoextra","contentbottom","pagebottom","postpage"],Vl=j,Wl=h,Xl=function(){return Q(R("page"),"watch-needs-rental")},Yl=function(){var a=k[C][Sa];if(a[gb](0)=="#")a=a[gb](1)=="!"?a[Wb](2):a[Wb](1);return a},$l=function(){var a=Rf(k[C][Sa]);if(a.q)Xi(a.q,a[Ua]);else{Yi();if(a.v==Wl)if(!(a.rented&&Xl()))return;Zl();var b=m[Rb]("head")[0];a=m[xb]("script");a.src=m[db]("www-core-js").src;b[q](a);var c=function(){if(k.yt){var d=m[xb]("script");qa(d,"yt.www.watch.ajax.init();");
b[q](d)}else hf(c,50)};c()}},Zl=function(){Vl=j;try{$j()}catch(a){}nj();var b=Tc("yt.pubsub.instance_");b&&b[Kb](void 0);Ff();for(b=cf[z]-1;b>=0;b--)kf(cf[b]);cf=[];for(b=df[z]-1;b>=0;b--)lf(df[b]);df=[];b=0;for(var c=Ul[z];b<c;++b){var d=R("watch-"+Ul[b]+"-section");O(d,"watch-section-loading")}k.scroll(0,0);for(var e in k)if((e in af||e[x]("google")==0)&&e!="yt")k[e]=ha;af={};k.yt=ha},am=function(a,b){var c=a[x](b)+b[z];return a[Cc](c,a[x]('"',c))},bm=function(){var a=Rf(k[C][Sa]);if(!a.v&&!a.q)Oa(k[C],
"/videos");else if(!a.v&&a.q&&!Wl)Oa(k[C],"/results?search_query="+a.q);else{Wl=a.v;var b=j,c=function(){var f=R("movie_player");if(f&&f.loadVideoByFlashvars){b=g;if((f.src||f.movie||"")[x]("watch_as3")!=-1)try{var i={video_id:a.v},l=[];a.feature&&l[r]("f:"+a.feature);a.NR&&l[r]("n:"+a.NR);if(l[z]!=0)i.sdetail=l[H](",");f.loadVideoByFlashvars(i);f.pauseVideo()}catch(u){}}else hf(c,50)};a.v&&hf(c,0);W("ad_creative_1");var d=(new Date)[Qb]()+ia(n[uc]()*1234567,10),e="/watch?"+Yl()+"&ajax=1&nocache="+
d;X(e,{method:"GET",onException:function(){Oa(k[C],e)},onError:function(){Oa(k[C],e)},onComplete:function(f){if(Rf(k[C][Sa]).v!=a.v)bm();else{var i=f[cb];if(i[x]('id="watch-video-container"')==-1&&i[x]('id="watch-this-vid-info"')==-1)Oa(k[C],e);else{f=am(i,'<link id="www-core-css" rel="stylesheet" href="');var l=am(i,'<script id="www-core-js" src="'),u=/^http:\/\/.*www-core-vfl\d*\.js$/;if(!/^http:\/\/.*www-core-vfl\d*\.css$/[Wa](f)||!u[Wa](l))Oa(k[C],"/videos");else if(k[C][qc][x]("debugjs")==-1&&
(f!=R("www-core-css")[Bc]||l!=R("www-core-js").src))k[C][lc](g);else{M(Ul,function(D){var J=R("watch-"+D+"-section");o(J,i[Cc](i[x]("<!-- begin "+D+" section --\>"),i[x]("<!-- end "+D+" section --\>")));P(J,"watch-section-loading")});i[x]('<html lang="')!=-1&&m[Ub][y]("lang",am(i,'<html lang="'));Ha(m[oc],am(i,'<body class="'));Ha(R("page"),am(i,'<div id="page" class="'));i[s](/\x3cscript([\s\S]*?)\x3e([\s\S]*?)\x3c\/script/ig,function(D,J,ca){D=m[xb]("script");var Vb=J[tb](/src="([\S]*?)"/);if(Vb){if(J[x]('id="www-core-js"')!=
-1)return;D.src=Vb[1]}else qa(D,ca);m[Rb]("head")[0][q](D)});f=m[xb]("script");qa(f,"yt.www.watch.ajax.initReady();");m[Rb]("head")[0][q](f);var w=Xl(),N=function(){Yi();var D=R("movie_player");if(Vl&&(w||D&&D.playVideo&&b)){try{Zj()}catch(J){}a.v&&!w&&D.playVideo()}else hf(N,50)};hf(N,0)}}}}})}};var cm,dm;var em=["reportConcernResult1","reportConcernResult2","reportConcernResult3","reportConcernResult4","reportConcernResult5","reportConcernResult6","reportConcernResult7"],fm=function(a){X("/watch_ajax?video_id="+a+"&action_get_flag_video_component=1",{method:"GET",onComplete:function(){o(R("inappropriateMsgsDiv"),R("inappropriateMsgs")[t]);o(R("inappropriateMsgs"),"");V("inappropriateMsgsDiv");Hi()},update:"inappropriateVidDiv"})};var gm=function(){if(T("SHUFFLE_ENABLED")){var a=T("LIST_PLAY_NEXT_URL_WITH_SHUFFLE");a+="&shuffle="+T("SHUFFLE_VALUE")}else a=T("LIST_PLAY_NEXT_URL");if(T("LIST_AUTO_PLAY_ON")){var b=T("LIST_AUTO_PLAY_VALUE");a+=b?"&playnext="+b:"&playnext=1"}if(a){Uj(a);return j}};var hm=function(a,b,c){a=a;if(b!=h)a+="_"+b;if(c!=h)a+="_"+c;return a},jm=function(a,b,c){if(!T("PLAY_NEXT_FROM")||!(T("SWF_IS_PLAYING_ALL")||c))return h;b=typeof b!="undefined"?b:1;c=T("PLAY_NEXT_FROM");for(var d=R(hm("playlistRow",c,0)),e=im(c),f=0;f<e;f++){var i=R(hm("playlistRow",c,f));if(i&&Q(i,"watch-playlist-row-playing")){d=(f+b)%e;if(d<0)d=e+d;d=a||d==f+b?R(hm("playlistRow",c,d)):h;break}}return d},lm=function(a){if(a>21)return"";var b=T("PLAYLIST_RANDOM_VIDEO_LIST");if(b&&R("PL_randomize")&&
R("PL_randomize")[ec]){if(b[a-1]){if(a>=b[z]){var c=function(d){d&&ff("PLAYLIST_RANDOM_VIDEO_LIST",b.concat(eval(d)))};X("/watch_ajax",{postBody:"action_get_next_playlist_vids=1&shuffle="+T("PLAYLIST_SHUFFLE_SEED")+"&index="+T("PLAYLIST_SHUFFLE_INDEX")+"&p="+T("PLAYLIST_SHUFFLE")+"&offset="+a,onComplete:c,onException:c,json:g})}ff("PLAYLIST_RANDOM_ID",b[a-1]);return T("PLAYLIST_RANDOM_ID")}return""}if(a=jm(j,a))if(a=km(a))return a;return""},km=function(a){a:{a=Bd(a);for(var b=0;b<a[z];b++){var c=
a[b][s](/^\s+|\s+$/g,"");if(c[Wb](0,2)=="v*"){a=c[Wb](2,c[z]-2);break a}}a=""}return a},im=function(a){return ia(R("playlistVideoCount_"+a)[t],10)};var mm,nm=j,om=j,pm="",qm={},rm=function(){return T("RESUME_COOKIE_NAME")},sm=function(a,b){var c=rm();if(!c)return h;var d=bg(c,"")[B](",");d=rd(d,function(e){return 0!=e[x](a)&&e[z]});d[z]>=4&&d.shift();d[r](a+":"+b);ag(c,d[H](","),1814400)},tm=function(a){var b=rm();if(!b)return h;var c=rd(bg(b,"")[B](","),function(d){return 0!=d[x](a)});0==c[z]?cg(b):ag(b,c[H](","),1814400)},um=function(a){var b=rm();if(!b)return h;b=bg(b,"")[B](",");b=rd(b,function(c){return 0==c[x](a)});if(0==b[z])return h;
b=b[0][B](":");if(2!=b[z])return h;return ia(b[1],10)},vm=function(){var a=R("movie_player"),b=a.getDuration();a=n[bb](a.getCurrentTime());var c=T("VIDEO_ID");a<=120||a+120>=b?tm(c):sm(c,n[bb](a))},wm=function(a){om||(mm=a)},xm=function(){var a=R("movie_player");if(a){var b=T("SHOW_NEXT_BUTTON");if(b==g)a.showNextButton();else b==j&&a.hideNextButton()}},ym=function(){gm()},Bm=function(a){if(T("WATCH5")){zm(a);Ki(a)}else Am(a,g)},Cm=function(a){var b=R("watch-next-list-body-collapsed");Cd(b,"hover",
a)},Am=function(a,b){for(var c=R("baseDiv"),d=T("WIDE_PLAYER_STYLES"),e=0;e<d[z];++e)Cd(c,d[e],a);lg("masthead-utility-menulink-short",a);lg("masthead-utility-menulink-long",!a);(c=R("watch-longform-player"))&&c[hb]();if(b){zm(a);ni()}},zm=function(a){a?ag("wide","1",-1):ag("wide","0",-1)},Dm=function(a,b){var c=b!=h?b:g,d=R("movie_player");d.seekTo(a,g);if(c)if(R("watch-video-container"))k.scroll(0,0);else Oa(k[C],"#movie_player");d.playVideo()},Em=function(){var a={target:"FullScreenVideo",width:screen.availWidth,
height:screen.availHeight,resizable:g,fullscreen:g};Vj("/watch_popup?v="+T("VIDEO_ID"),a)},Fm=function(a){var b=T("PLAY_NEXT_FROM"),c=T("SWF_IS_PLAYING_ALL"),d=T("PLAYLIST_RANDOM_ID"),e=T("VIDEO_ID");if(b&&c)if(d){if(e!=d){a=k[C][Bc][s](/v=[^&#]*/,"v="+a);a=a[s](/&index=[0-9]*/,"");Uj(a)}}else{a:{c=im(b);for(d=0;d<c;d++){e=R(hm("playlistRow",b,d));if(a==km(e)){a=e;break a}}a=void 0}a=a[Rb]("a")[0][Bc];Uj(a)}else e!=a&&Uj("/watch",{v:a})},Hm=function(){var a=Rf(k[C][Sa]),b=a.t||a.at;if(b){qm.t=a.t;
qm.at=a.at;return Gm(b)}else return h},Gm=function(a){var b=0;if(a[x]("h")!=-1){a=a[B]("h");b=a[0]*60*60;a=a[1]}if(a[x]("m")!=-1){a=a[B]("m");b=a[0]*60+b;a=a[1]}if(a[x]("s")!=-1){a=a[B]("s");b=a[0]*1+b}else b=a*1+b;return b},Im=function(a,b,c){var d=T("ANALYTICS_ANNOTATIONS_TRACKER");k._gaq[r](function(){d._trackEvent(a,b,c)})},Jm=function(){Oa(k[C],"#watch-main-area")},Km=function(a,b,c,d,e,f,i){if(k.yt.timing){if(b)$.fmt=b;if(c)$.asv=c;if(d)$.plid=d;if(e)$.sprot=e;if(f)$.fv=f;if(i)$.manu=i;b=$.defaultAction;
c=0;for(d=a[z]/2;c<d;c++)$.timers[b][a[2*c]]=a[2*c+1];$.Tb()}};var Mm=function(){var a=R("watch-passive-QL-count"),b=Lm();if(a)o(a,b[z])},Qm=function(a,b,c,d,e,f){if(!Nm(b)){Om(b);Pm(g);Mm();if(a){P(a,"QLIconImg");P(a,"QLIconImgOver");O(a,"QLIconImgDone");a[hb]();W(a);V(vf("span","quicklist-inlist",a[G]))}f&&Cg(f)}},Pm=function(a){if(T("HAS_ACTIVE_QUICKLIST"))(a=R("watch-next-list"))&&!Q(a,"yt-uix-expander-collapsed")&&Si(a);else{var b=R("watch-passive-QL");if(b){V(b);if(Q(b,"yt-uix-expander-collapsed")){wf(b,"loaded","false");P(b,"yt-uix-expander-collapsed");
Ti(b)}else Si(b,a)}}},Lm=function(){var a=bg("watch_queue_new");if(a)return a[B](",");return[]},Rm=function(a){(a=a[H](","))?ag("watch_queue_new",a):cg("watch_queue_new")},Nm=function(a){return qd(Lm(),a)>=0},Om=function(a){var b=Lm();b[r](a);Rm(b)},Sm=function(a){var b=Lm();a=qd(b,a);if(a>=0){pd[Mc][F](b,a,1)[z]==1;Rm(b)}return a};var Tm=["watch-share-video-div","watch-share-blog-quick","shareMessageQuickDiv","shareVideoEmailDiv"],Vm=function(){M(Tm,W);V("aggregationServicesDiv");Um("fewer-options","more-options");Um("watch-share-services-expanded","watch-share-services-collapsed")},Wm=function(a,b,c,d){var e=T("LOCALE")||"en_US",f=R(b);a="video_id="+a;if(c=="all"&&e){M(Tm,W);V(f);Um("more-options","fewer-options");Um("watch-share-services-collapsed","watch-share-services-expanded");a=a+"&locale="+e+"&action_get_share_video_component=1"}else if(c==
"email"||c=="blog"&&d){if(mg("watch-share-video-div")){Um("more-options","fewer-options");Um("watch-share-services-collapsed","watch-share-services-expanded")}M(Tm,W);V(f);if(c=="email")a+="&action_get_share_message_component=1";else a=a+"&blog_info_id="+d+"&action_get_share_blog_component=1"}V("aggregationServicesDiv");if(mg(f))if(f.loaded){if(d)if(f.Dc!=d){c={method:"GET",update:f};X("/watch_ajax?"+a,c);f.Dc=d}}else{c={method:"GET",onComplete:function(){f.loaded=g;if(d)f.Dc=d},onException:function(){W(f)},
update:f};X("/watch_ajax?"+a,c)}},Ym=function(a,b,c,d){Wm(a,b,c);V("aggregationServicesDiv");Um("more-options","fewer-options");Um("watch-share-services-collapsed","watch-share-services-expanded");Xm("MORE_SHARING_OPTIONS",a,"",d);return j},Xm=function(a,b,c,d){tg("/sharing_services?"+["name="+da(a),"v="+b,c?"locale="+c:"",d?d:""][H]("&"))},Um=function(a,b){W(a);V(b)};var Zm=function(a,b){var c=ha;c=b==h?T("XSRF_TOKEN"):b;var d=m[xb]("input");d[y]("name",T("XSRF_FIELD_NAME"));d[y]("type","hidden");d[y]("value",c);a[q](d)},$m=[];var an=function(a){if(a){a="http://www.youtube.com/watch?v="+T("VIDEO_ID")+"&layer_token="+a;var b=R("iv_invite_link");if(b){p(b,a);La(b,j)}if(b=R("iv_invite_reset"))La(b,j);if(b=R("iv_mailto_link")){var c=[],d=0;c[d++]="mailto:";c[d++]="someone@example.com";c[d++]="?";c[d++]="&subject=";c[d++]=da(U("ANNOTATIONS_SUBJECT"));var e=T("VIDEO_TITLE");c[d++]=da(e);c[d++]="&body=";c[d++]=da(U("ANNOTATIONS_BODY_1"));c[d++]="%0A";c[d++]=da(U("ANNOTATIONS_BODY_2"));c[d++]="%0A";c[d++]=da(a);Oa(b,c[H](""))}}};var bn=function(a,b,c){var d=R(a+"reason");if(d)p(d,b);if(a=R(a+"sub_reason"))p(a,c)},en=function(a,b){var c=R("flag_"+a+"checkbox");if(c)if(!c[ec]){if(c=R(b)){o(c,"- "+U("FLAG_DEFAULT")+" -");cn(c)}dn("flag_"+a)}},cn=function(a){if(a){var b=a.rf;a=a.qf;b&&fn(R(b));a&&fn(R(a))}},hn=function(a,b,c,d,e){if(a=R(a)){cn(a);var f=h,i=h;if(d){f=R(d);gn(f)}if(e){i=R(e);gn(i)}var l=h;if(i)l=i;else if(d)l=f;if(a){if(l)o(a,l[t]);a.rf=d;a.qf=e}og(c,j);og(b,j)}},dn=function(a){for(var b=["MoreInfo1","MoreInfo2",
"MoreInfo3","MoreInfo4","MoreInfo5","MoreInfo6","Error"],c=0;c<b[z];c++){var d=R(a+b[c]);d&&W(d)}},jn=function(a){if(a){p(a.flag_reason,"");p(a.flag_sub_reason,"");p(a.flag_t_secs,"");p(a.flag_t_mins,"");p(a.flag_desc,"");p(a.flag_protected_group,"")}},kn=function(a){if(a){p(a.flag_anno_reason,"");p(a.flag_anno_sub_reason,"");p(a.flag_anno_t_secs,"");p(a.flag_anno_t_mins,"");p(a.flag_anno_desc,"");p(a.flag_anno_protected_group,"")}},ln=function(a,b){if(a==T("COMPLAINT_REASON_RACIALLY_OR_ETHNICALLY_OFFENSIVE_CONTENT")&&
b==T("COMPLAINT_SUBREASON_PROMOTES_HATRED"))return g;return j},mn=function(a,b){if(a==T("COMPLAINT_REASON_GRAPHIC_VIOLENCE")&&b==T("COMPLAINT_SUBREASON_ADULTS_FIGHTING"))return g;return j},nn=function(a,b){if(a==T("COMPLAINT_REASON_PORNOGRAPHY_OR_OBSCENITY")&&b==T("COMPLAINT_SUBREASON_SEXUALLY_SUGGESTIVE"))return g;return j},on=function(a,b,c,d){var e="";e=a!=""?ln(a,b)?"reportConcernResult3":(a==T("COMPLAINT_REASON_RACIALLY_OR_ETHNICALLY_OFFENSIVE_CONTENT")&&b==T("COMPLAINT_SUBREASON_BULLYING")?
g:j)?"reportConcernResult6":mn(a,b)||nn(a,b)?"reportConcernResult2":"reportConcernResult1":ln(c,d)?"reportConcernResult3":mn(c,d)||nn(c,d)?"reportConcernResult2":"reportConcernResult1";qg(e)},pn=function(a,b,c){var d=R("flag"+a+"_t_mins"),e=R("t_mins"+a);if(d&&e)p(d,e[v]);e=R("flag"+a+"_t_secs");d=R("t_secs"+a);if(e&&d)p(e,d[v]);e=R("flag"+a+"_desc");var f=R("desc"+a);if(e&&d)p(e,f[v]);if(d=R("flag"+a+"_protected_group"))p(d,"");if(ln(b,c))if(b=R("protected_group"+a)){if(b[tc][b.selectedIndex][v]==
""){qg("flag"+a+"_Error");return j}if(d)p(d,b[tc][b.selectedIndex][v])}return g},fn=function(a){if(a){a[E].backgroundColor="";a[E].color=""}},gn=function(a){if(a){a[E].backgroundColor="#6681ba";a[E].color="#fff"}};var qn=function(){var a=oi.b();a.mb(Y.tb,g);a[kc]();W("watch_page_survey")};k.yt=k.yt||{};K("_gel",R,void 0);K("_hasclass",Q,void 0);K("_addclass",O,void 0);K("_removeclass",P,void 0);K("_showdiv",V,void 0);K("_hidediv",W,void 0);K("_ajax",tg,void 0);K("goog.dom.getElementsByTagNameAndClass",S,void 0);K("goog.array.forEach",M,void 0);K("goog.array.indexOf",qd,void 0);K("yt.dom.hasAncestor",function(a,b,c){a=R(a);b=R(b);return!!Me(a,function(d){return d===b},g,c)},void 0);K("yt.setConfig",ff,void 0);K("yt.getConfig",T,void 0);K("yt.registerGlobal",gf,void 0);
K("yt.setTimeout",hf,void 0);K("yt.setInterval",jf,void 0);K("yt.clearTimeout",kf,void 0);K("yt.clearInterval",lf,void 0);K("yt.setMsg",function(){ef(bf,arguments)},void 0);K("yt.getMsg",U,void 0);K("yt.events.listen",Df,void 0);K("yt.events.unlisten",function(a,b,c){(a=Cf(a,b,c))&&Ef(a)},void 0);K("yt.events.stopPropagation",If,void 0);K("yt.events.preventDefault",Jf,void 0);K("yt.events.getTarget",Gf,void 0);K("yt.events.clear",Ff,void 0);K("yt.events.Event",zf,void 0);ra(zf[A],zf[A][kb]);
Ja(zf[A],zf[A][ic]);K("yt.pubsub.subscribe",jj,void 0);K("yt.pubsub.unsubscribeByKey",function(a){var b=Tc("yt.pubsub.instance_");return b?b.unsubscribeByKey(a):j},void 0);K("yt.pubsub.publish",kj,void 0);K("yt.www.init",Zj,void 0);K("yt.www.dispose",$j,void 0);Df(k,"load",Zj);Df(k,"unload",$j);
k.onerror=function(a,b,c){var d=R("www-core-js");if(!(Yj||!d||d.src[x]("/debug/")==-1)){a:if(ke){try{eval("(0)()")}catch(e){c=e.stack[s](/(.*):/g,"")[s](/\n/g,",");break a}c=void 0}else c=c;Cg("jserror","error="+da(a)+"&script="+da(b)+"&linenumber="+da(c)+"&url="+da(k[C][Bc]));Yj=g}};var rn=function(a,b){var c=b[v],d="";if(Ze(c))d="rtl";else Ze(c)||(d="ltr");b.dir=d};K("goog.i18n.bidi.isRtlText",Ze,void 0);K("goog.i18n.bidi.setDirAttribute",rn,void 0);K("yt.style.toggle",qg,void 0);
K("yt.style.setDisplayed",lg,void 0);K("yt.style.isDisplayed",mg,void 0);K("yt.style.setVisible",og,void 0);K("yt.net.ajax.sendRequest",X,void 0);K("yt.net.ajax.getRootNode",vg,void 0);K("yt.net.ajax.getNodeValue",wg,void 0);K("yt.net.delayed.register",function(a,b,c){a=R(a);c=c||dd(a);c in pj||(pj[c]=[]);pj[c][r]([a,b]);qj[c]=j;return c},void 0);K("yt.net.delayed.load",rj,void 0);K("yt.net.delayed.markAsLoaded",function(a){if(a in pj)qj[a]=g},void 0);K("goog.dom.forms.getFormDataString",We,void 0);
K("yt.uri.buildQueryData",Sf,void 0);K("yt.uri.appendQueryData",Tf,void 0);K("yt.flash.isFlashVersionSupported",Vf,void 0);K("yt.flash.canPlayV8Swf",function(){return Vf(8,0,0)},void 0);K("yt.flash.canPlayV9Swf",function(){return Vf(9,0,0)},void 0);K("yt.flash.canPlayH264Videos",function(){return Vf(9,0,115)},void 0);K("yt.flash.supportsPixelBender",function(){return Vf(10,0,0)},void 0);K("yt.net.cookies.set",ag,void 0);K("yt.net.cookies.get",bg,void 0);K("yt.net.cookies.remove",cg,void 0);
var sn=oi.b();K("yt.UserPrefs",sn,void 0);K("yt.UserPrefs.Flags",Y,void 0);var tn=oi.b().Jf;K("yt.UserPrefs.getFlag3",tn,void 0);var un=oi.b().Og;K("yt.UserPrefs.setFlag3",un,void 0);K("yt.window.redirect",Uj,void 0);K("yt.window.popup",Vj,void 0);K("yt.www.displayLoading",function(a){o(R(a),'<img src="http://s.ytimg.com/yt/img/icn_loading_animated-vfl24663.gif">')},void 0);K("SWFObject",nd,void 0);nd[A].addParam=nd[A].ha;nd[A].addVariable=nd[A].C;nd[A].setAttribute=nd[A][y];nd[A].write=nd[A][pb];nd[A].useExpressInstall=nd[A].Dd;
Eg(Kg);Eg(Lg);Eg(Xj);
K("yt.www.watch.player.write",function(a,b,c,d,e,f,i){e=e||480;var l=f||385,u=i||"#000000",w=7,N=j,D=T("SWF_URL");i=T("SWF_ARGS");var J=T("SWF_EXPRESS_URL");f=T("SWF_GAM_URL");var ca=T("SWF_IS_PLAYING_ALL"),Vb=T("SWF_SET_WMODE"),Il=T("SWF_AD_EURL"),Tg=Hm();if(h==Tg&&rm()){var ri=um(T("VIDEO_ID"));if(ri&&ri>20){Tg=ri-20;i.resume="1"}}if(b)w=0;else if(c){w=c;N=g}b=new nd(D,"movie_player",e,l,w,u);N&&J&&b.Dd(J);b.ha("allowFullscreen","true");if(k!=k.top){c=m.referrer[Cc](0,128);Uf(c)||(i.framer=da(c))}for(var Jl in i)b.C(Jl,
i[Jl]);f&&b.C("gam",f);ca||b.C("playnext",0);Vb&&b.ha("wmode","opaque");Il&&b.C("ad_eurl",Il);Tg&&b.C("start",Tg);b.C("enablejsapi",1);d&&b.C("jsapicallback",d);b.ha("AllowScriptAccess","always");ff("PLAYER_WRITTEN",b[pb](a));return b},void 0);
K("onYouTubePlayerReady",function(){nm=g;var a=R("movie_player");a[Eb]("onStateChange","handleWatchPagePlayerStateChange");a[Eb]("onPlaybackQualityChange","onPlayerFormatChanged");a[Eb]("NEXT_CLICKED","yt.www.watch.player.onPlayerNextClicked");a[Eb]("SIZE_CLICKED","yt.www.watch.player.onPlayerSizeClicked");a[Eb]("NEXT_SELECTED","yt.www.watch.player.onPlayerNextSelected");rm()&&Df(k,"beforeunload",vm);xm();Rf(k[C][Sa]).q&&T("WIDE_PLAYER_STYLES")&&Ki(j,g);if(a=R("watch-player"))a[E].background="transparent"},
void 0);K("handleWatchPagePlayerStateChange",function(a){if(a==0){T("LIST_AUTO_PLAY_ON")&&gm();T("SHOW_SUBSCRIBE_UPSELL")&&Zi(U("SUBSCRIBE_UPSELL_MESSAGE"))}},void 0);K("onPlayerFormatChanged",wm,void 0);K("movie_player_DoFSCommand",function(a){a=="onPlayerFormatChanged"&&wm(arguments[1])},void 0);K("yt.www.watch.player.enableWideScreen",Am,void 0);K("yt.www.watch.player.enableVideoQualityDisplay",function(){om=g;mm&&wm(mm)},void 0);K("yt.www.watch.player.onPlayerNextClicked",ym,void 0);
K("yt.www.watch.player.onPlayerSizeClicked",Bm,void 0);K("yt.www.watch.player.onPlayerNextSelected",Cm,void 0);K("yt.www.watch.player.seekTo",Dm,void 0);K("yt.www.watch.player.openPopup",function(a,b,c){var d=h;if(nm){var e=R("movie_player");d=n[Za](e.getCurrentTime());e.stopVideo()}a="/watch_popup?v="+a;if(T("POPOUT_AD_SLOTS"))a+="&pop_ads="+T("POPOUT_AD_SLOTS");if(d&&d>10)a+="#t="+d;Vj(a,{width:b,height:c,resizable:g})},void 0);K("yt.www.watch.player.openFullScreenPopup",Em,void 0);
K("yt.www.watch.player.checkCurrentVideo",Fm,void 0);K("yt.www.watch.player.trackAnnotationsEvent",Im,void 0);K("yt.www.watch.player.handleShare",Jm,void 0);K("yt.www.watch.player.reportTiming",Km,void 0);K("yt.www.watch.player.processLocationHashSeekTime",Hm,void 0);K("yt.www.watch.player.handleHashArgumentsOnWatchLoad",function(){var a=Rf(k[C][Sa]),b=j;if(a.fav){delete a.fav;b=g}if(a.at){delete a.at;b=g}if(a.q){Xi(a.q,a[Ua],a.st);b=g}if(b)na(k[C],"#!"+Sf(a))},void 0);
gf("onYouTubePlayerReady","handleWatchPagePlayerStateChange","onPlayerFormatChanged","movie_player_DoFSCommand");jf(function(){if(nm){var a=k[C][Sa];if(a!=pm){pm=a;a=Rf(a);if(a.t&&a.t!=qm.t){var b=Gm(a.t);Dm(b,j)}else if(a.at&&a.at!=qm.at){b=Gm(a.at);Dm(b,j)}qm=a}}},1E3);K("yt.www.watch.sharing.reset",Vm,void 0);K("yt.www.watch.sharing.shareVideo",Wm,void 0);K("yt.www.watch.sharing.processShareVideo",Ym,void 0);
K("yt.www.watch.sharing.handleShareVideo",function(){var a=T("VIDEO_ID");Gi("watch-tab-share");Q(R("watch-tab-share"),"watch-tab-sel")&&!mg("watch-share-video-div")?Ym(a,"watch-share-video-div","all"):Vm();Jm()},void 0);
K("yt.www.watch.sharing.closeShareVideo",function(){mg("watch-share-video-div")?qg("watch-share-video-div"):qg("shareMessageQuickDiv");Um("fewer-options","more-options");Um("watch-share-services-expanded","watch-share-services-collapsed");qg("shareVideoResult");hf(function(){W("shareVideoResult")},3E3)},void 0);K("yt.www.watch.sharing.logService",Xm,void 0);K("yt.www.watch.sharing.hideAndShow",Um,void 0);
K("yt.www.watch.flagging.report",function(a){M(em,W);Gi("watch-tab-flag");if(T("LOGGED_IN")){V("inappropriateVidDiv");R("inappropriateVidDiv")[t][Oc]()[x]("<div")==-1&&fm(a)}else V("inappropriateMsgsLogin")},void 0);K("yt.www.watch.about.editSubscription",function(a,b,c){Fi(a,"username",b,"","",2,ha,ha,g,c)},void 0);K("yt.www.watch.about.generateEmbed",yi,void 0);K("yt.www.watch.about.getEmbedSize",Di,void 0);
K("yt.www.watch.about.subscribe",function(a,b,c,d,e,f){if(T("LOGGED_IN")){var i={};if(d)i.show_recommendations=1;if(e)i.show_sub_channels=1;Fi(a,b,c,"subscribeDiv","unsubscribeDiv",0,f,i,g)}else{a=R("subscribeLoginInvite");V(a)}},void 0);K("yt.www.watch.about.subscribeWatch5",function(a,b,c,d){if(T("LOGGED_IN"))Fi(a,b,c,"subscribeDiv","editSubscriptionDiv",0,ha,{watch5:g,feature:d});else{a=R("alerts");o(a,'<div id="subscribeMessage">'+R("watch-actions-logged-out")[t]+"</div>");V(a)}},void 0);
K("yt.www.watch.about.toggleCustomizeEmbed",function(a,b){var c=j,d=R("watch-customize-embed-div");if(b){V(d);c=g}else{qg(d);c=mg(d)}if(c)if(d[t][Oc]()[x]("<div")==-1){c={method:"GET",onComplete:function(){zi()},update:"watch-customize-embed-div"};X("/watch_ajax?action_customize_embed=1"+(a?"&wide=1":"")+(T("IS_HD_AVAILABLE")?"&hd=1":""),c)}},void 0);K("yt.www.watch.about.unsubscribe",function(a,b,c,d){Fi(a,b,c,"unsubscribeDiv","subscribeDiv",1,d)},void 0);
K("yt.www.watch.autoshare.triggerAutosharePromo",function(a){var b=oi.b().ba(Y.ub);if(T("SHOW_AUTOSHARE")&&!b){V("autoshare-promo-"+a);ff("SHOW_AUTOSHARE",j)}},void 0);K("yt.www.watch.autoshare.dismissAutosharePromo",function(a){var b=oi.b();b.Pa(Y.ub,g);b[kc]();ff("SHOW_AUTOSHARE",j);W("autoshare-promo-"+a);a=S(h,"autoshare-promo");for(b=0;b<a[z];b++)Je(a[b])},void 0);
K("yt.www.watch.autoshare.initAutoshareWidget",function(a,b,c){cm=b;W("autoshare-widget-"+a);var d=j,e=j;if(b){for(var f in b){var i=S("*","autoshare-widget-service-"+f),l=S("*","autoshare-widget-service-auto-"+f),u=R("autoshare-widget-service-checkbox-"+f);if(b[f].is_connected){M(i,V);d=g;if(b[f].is_autosharing){M(l,V);Ia(u,g);e=g}else{M(l,W);Ia(u,j)}}else{M(i,W);M(l,W);Ia(u,j)}}if(e){V("autoshare-widget-"+a+"-auto");dm=hf(function(){W("autoshare-widget-"+a+"-auto");V("autoshare-widget-"+a+"-auto-sharing")},
7E3)}else if(d){for(f in b)if(b[f].is_connected){u=R("autoshare-widget-service-checkbox-"+f);Ia(u,g)}V("autoshare-widget-"+a+"-oneoff")}else if(T("SHOW_AUTOSHARE")){V("autoshare-widget-"+a+"-wizard");ff("SHOW_AUTOSHARE",j)}}if(c){p(R("autoshare-widget-"+a+"-message"),c);o(R("autoshare-widget-"+a+"-message-counter"),130-c[z])}V("autoshare-widget-"+a)},void 0);K("yt.www.watch.autoshare.toggleShareToService",function(a){a=R("autoshare-widget-service-checkbox-"+a);Ia(a,!a[ec])},void 0);
K("yt.www.watch.autoshare.updateMessageCount",function(a,b){if(b[v][z]>130)p(b,b[v][$a](0,130));var c=R(b.id+"-counter");if(c)o(c,130-b[v][z]);rn(a,b)},void 0);K("yt.www.watch.autoshare.customizePost",function(a){kf(dm);W("autoshare-widget-"+a+"-auto");V("autoshare-widget-"+a+"-oneoff");if(a=R("autoshare-widget-"+a+"-message")){a[wb]();a[Bb]()}},void 0);
K("yt.www.watch.autoshare.cancelPost",function(a){kf(dm);W("autoshare-widget-"+a+"-auto");W("autoshare-widget-"+a+"-oneoff");V("autoshare-widget-"+a+"-cancelling");p(R("autoshare-widget-"+a+"-cancelled-input"),"true");var b={method:"POST",postBody:We(m[Ra]["autoshareWidgetForm-"+a]),onComplete:function(){W("autoshare-widget-"+a+"-cancelling");V("autoshare-widget-"+a+"-cancelled")}};X("/autoshare?action_ajax_share=1&cancelled=1",b)},void 0);
K("yt.www.watch.autoshare.share",function(a){var b=j;for(var c in cm){var d=R("autoshare-widget-service-checkbox-"+c),e=S("*","autoshare-widget-service-auto-"+c);if(d[ec]){M(e,V);b=g}else M(e,W)}if(b){W("autoshare-widget-"+a+"-auto");W("autoshare-widget-"+a+"-oneoff");V("autoshare-widget-"+a+"-sharing");b={method:"POST",postBody:We(m[Ra]["autoshareWidgetForm-"+a]),onComplete:function(){W("autoshare-widget-"+a+"-sharing");V("autoshare-widget-"+a+"-shared")}};X("/autoshare?action_ajax_share=1",b)}else alert("No services selected.")},
void 0);K("yt.www.watch.ads.handleSetCompanion",El,void 0);K("yt.www.watch.ads.handleSetCompanionForInstream",Fl,void 0);K("yt.www.watch.ads.handleSetCompanionForLongform",Gl,void 0);K("yt.www.watch.ads.handleSetCompanionForFreewheel",Hl,void 0);K("yt.www.watch.ads.handleHideCompanion",Kl,void 0);K("yt.www.watch.ads.handleHideCompanionForInstream",Ll,void 0);K("yt.www.watch.ads.disablePopoutButton",Pl,void 0);K("yt.www.watch.ads.enablePopoutButton",Ql,void 0);
K("yt.www.watch.ads.handleCloseMpuCompanion",Ml,void 0);K("yt.www.watch.ads.handleAdLoaded",Nl,void 0);K("yt.www.watch.ads.updatePopoutAds",Ol,void 0);K("yt.www.watch.ads.handleSetAfvCompanionVars",Rl,void 0);K("yt.www.watch.ads.handleShowAfvCompanionAdDiv",Sl,void 0);K("yt.www.watch.ads.handleHideAfvInstreamCompanionAdDiv",Tl,void 0);K("yt.www.watch.quicklist.clickedAddIcon",Qm,void 0);K("yt.www.watch.quicklist.clickedAddIcon_w5",function(a,b,c,d,e,f){O(R(a),"in-quicklist");Qm(b,c,d,e,f)},void 0);
K("yt.www.watch.ajax.init",function(){jj("navigate",function(){$l()});mj(g);bm()},void 0);K("yt.www.watch.ajax.initReady",function(){Vl=g},void 0);K("yt.www.watch.watch5.search",function(a,b){if(a)p(R("masthead-search-term"),a);var c=R("masthead-search-term")[v];if(T("AJAX_MODE")){var d=Rf(k[C][Sa]);d.q=c;if(b)d.page=b;else delete d[Ua];if(d.v)Wi=d.v;delete d.v;na(k[C],"#!"+Sf(d))}else Xi(c,b)},void 0);K("yt.www.watch.watch5.closeSearch",Ji,void 0);
K("yt.www.disco.watch5.handleDiscoRowMouseEvent",function(a,b){var c=(b||k[Qc])[Jb],d=S(h,"watch-disco-delete-img",a)[0];if(c=="mouseover")og(d,g);else c=="mouseout"&&og(d,j)},void 0);K("yt.www.disco.watch5.toggleDiscoList",function(a,b,c,d){for(b=b;b<c;b++)if(d){W(a+b);W(a+"less");V(a+"more")}else{V(a+b);V(a+"less");W(a+"more")}},void 0);
K("yt.www.disco.watch5.discoSearch",function(a,b){var c=R("masthead-search-term")[v];if(R("watch-disco-search-term"))c=R("watch-disco-search-term")[v];if(a)c=a;p(R("masthead-search-term"),c);if(R("watch-disco-search-term"))p(R("watch-disco-search-term"),c);if(c){var d=Rf(k[C][Sa]);d.q=c;na(k[C],"#!"+Sf(d))}d=new String("disco");var e=!Q(R("content"),"search-mode")&&R("watch-disco-search-term")!=h;Xi(c,h,d,e);e&&Cg("discoOnWatchFlip");if(b){b[kb]();b[ic]()}},void 0);
K("yt.www.watch.watch5.hideBrowserUpgrade",function(){V("movie_player");W("browser-upgrade-outer-box");P(R("watch-video"),"deprecated-browser");P(R("watch-sidebar"),"deprecated-browser")},void 0);K("yt.history.enable",mj,void 0);K("yt.history.disable",nj,void 0);K("yt.flash.embed",Wf,void 0);K("yt.flash.update",Xf,void 0);
K("yt.help.guide.start",function(a){if(k.guidedhelp&&k.guidedhelp.loaded?g:j)dj(a);else{k.guidedhelp=k.guidedhelp||{};k.guidedhelp.onLoad=function(){var b=Tc("help.guide.init");if(b){b("http://www.google.com/support/youtube",T("GUIDED_HELP_LOCALE")||"en_US","youtube");dj(a)}};bj()}return j},void 0);Eg(Kg);Eg(Wj);Eg(Mg);K("yt.www.watch.watch5.enableWide",Ki,void 0);K("yt.www.watch.watch5.toggleWide",function(){Ki(!Li())},void 0);K("yt.www.watch.watch5.isWide",Li,void 0);
K("yt.www.watch.player.enableWideScreen",Ki,void 0);K("yt.www.watch.player.onPlayerNextClicked",ym,void 0);K("yt.www.watch.player.onPlayerSizeClicked",Bm,void 0);K("yt.www.watch.player.onPlayerNextSelected",Cm,void 0);K("yt.www.watch.player.showHideNextButton",xm,void 0);K("yt.www.watch.queue.playNext",gm,void 0);
K("yt.www.watch.queue.handleToggleAutoplay",function(a){var b=Q(a,"autoplay-off"),c=vf("span",h,a);Cd(a,"autoplay-on",b);Cd(a,"autoplay-off",!b);if(c)o(c,b?U("AUTOPLAY_ON"):U("AUTOPLAY_OFF"));ff("LIST_AUTO_PLAY_ON",b)},void 0);
K("yt.www.watch.queue.handleToggleShuffle",function(a){var b=Q(a,"autoplay-off"),c=vf("span",h,a);Cd(a,"autoplay-on",b);Cd(a,"autoplay-off",!b);if(c)o(c,b?U("SHUFFLE_ON"):U("SHUFFLE_OFF"));ff("SHUFFLE_ENABLED",b);if(a=Ne(a,"div","watch-active-list")){Dd(a,"shuffled");Q(a,"yt-uix-expander-collapsed")?wf(a,"loaded","false"):Si(a,j,g)}},void 0);
K("yt.www.watch.queue.handleListOnclick",function(a){var b=Ne(Gf(a),"A","video-list-item-link");if(b&&b[Bc]){b=b[Bc];if(T("LIST_AUTO_PLAY_ON")){var c=T("LIST_AUTO_PLAY_VALUE");b+=c?"&playnext="+c:"&playnext=1"}if(T("SHUFFLE_ENABLED"))if(c=T("SHUFFLE_VALUE"))b+="&shuffle="+c;Uj(b);If(a);return Jf(a)}},void 0);
K("yt.www.watch.watch5.handleToggleMoreFromUser",function(a){a=Q(a,"yt-uix-expander-collapsed");var b=R("watch-more-from-user");if(xf(b,"loaded")!="true"){var c={method:"GET",update:"watch-more-from-user",onComplete:function(){wf(b,"loaded","true");ni()}};X("/watch_ajax?user="+T("VIDEO_USERNAME")+"&video_id="+T("VIDEO_ID")+"&action_channel_videos_w5",c)}Cd(b,"collapsed",a)},void 0);
K("yt.www.watch.watch5.handleToggleStats",function(a){var b=Q(a,"yt-uix-expander-collapsed"),c=R("watch-info"),d=R("watch-description"),e=R("watch-stats");a=e[G];Cd(c,"expanded",!b);Cd(d,"yt-uix-expander-collapsed",g);if(xf(e,"loaded")!="true"){b={method:"GET",update:"watch-stats",onComplete:function(){Qa(e[G][E],e[Nc]+"px")}};X("/watch_ajax?v="+T("VIDEO_ID")+"&l="+T("VIDEO_LANGUAGE")+"&action_get_statistics_and_data=1",b);V(a);P(a,"collapsed");wf(e,"loaded","true")}else{Cd(a,"collapsed",b);if(b){o(e,
'<div id="watch-stats-loading">'+U("LOADING")+"</div>");wf(e,"loaded","false")}}},void 0);K("yt.www.watch.watch5.handleToggleDescription",function(a){a=Q(a,"yt-uix-expander-collapsed");var b=R("watch-info"),c=R("watch-views"),d=R("watch-stats-container");Cd(b,"expanded",!a);c&&O(c,"yt-uix-expander-collapsed");O(d,"collapsed");if(!a){a=R("watch-description-body");Qa(a[G][E],a[Nc]+"px")}},void 0);
K("yt.www.watch.watch5.like",function(){Qi();O(R("watch-like"),"active");Ri();if(T("ALLOW_RATINGS")){if(Ni()){var a=m[Ra].likeForm,b={postBody:We(a),onComplete:function(){o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-area")[t]);Mi()},update:"watch-actions-area",method:"POST"};X(a[Fc]+"?log_action_like_video=1",b)}}else o(R("watch-actions-area"),R("watch-actions-close")[t]+"<em>"+U("RATINGS_DISABLED")+"</em>")},void 0);
K("yt.www.watch.watch5.unlike",function(){Qi();O(R("watch-unlike"),"active");Ri();if(T("ALLOW_RATINGS")){if(Ni()){var a=m[Ra].unlikeForm,b={postBody:We(a),onComplete:function(){o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-area")[t]);Mi()},update:"watch-actions-area",method:"POST"};X(a[Fc]+"?log_action_unlike_video=1",b)}}else o(R("watch-actions-area"),R("watch-actions-close")[t]+"<em>"+U("RATINGS_DISABLED")+"</em>")},void 0);
K("yt.www.watch.watch5.save",function(a,b,c,d,e){if(d){if(a[zb]!=13)return;If(a)}a=Ne(b,"FORM","watch-playlists-form");p(a.playlist_id,c);p(a.add_to_favorite,c==""?"on":"");var f=Kg.b();f.Kb(R("watch-playlists-button"));if(e)p(a.new_playlist_name,e);Ri();c={postBody:We(a),method:"POST",onComplete:function(i){f.Bd(R("watch-playlists-button"),'<li><span class="yt-uix-button-menu-item">'+U("LOADING")+"</span></li>");(i=i[wc])&&vg(i);o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-area")[t]);
Mi()},onException:function(){Qi()},update:"watch-actions-area"};X(a[Fc]+"?log_action_add_favorite_video&log_add_to_favorite="+a.add_to_favorite[v],c)},void 0);K("yt.www.watch.watch5.createPlaylist",function(a,b){If(a);W(b);var c=S(h,"create-playlist-input",b[G])[0];V(c);c=c[Rb]("INPUT")[0];c[wb]();c=Ne(c,"FORM","watch-playlists-form");Da(c,c[yb])},void 0);
K("yt.www.watch.watch5.loadPlaylists",function(){Qi();if(Ni())if(!S(h,"watch-playlists-form",h)[z]){var a={method:"GET",onComplete:function(b){if(b=(b=b[wc])?vg(b):h){b=wg(b,"html_content")||"";Kg.b().Bd(R("watch-playlists-button"),b)}}};X("/watch_ajax?video_id="+T("VIDEO_ID")+"&action_get_playlists_component_w5=1",a)}},void 0);K("yt.www.watch.watch5.shareSuccess",function(a){Ri();o(R("watch-actions-area"),R("watch-actions-close")[t]+a)},void 0);K("yt.www.watch.watch5.share",Oi,void 0);
K("yt.www.watch.watch5.shareFromFlashPlayer",Pi,void 0);K("yt.www.watch.watch5.url",function(){Ri();o(R("watch-actions-area"),R("watch-actions-close")[t]+'<input id="watch-href" type="textbox" style="width: 350px" onclick="this.focus();this.select();" value="'+k[C][Bc]+'"/>');hf(function(){R("watch-href")[wb]();R("watch-href")[Bb]()},0)},void 0);
K("yt.www.watch.watch5.embed",function(){var a=R("watch-actions-area-container");if(!Q(a,"collapsed")&&R("embed_code"))Qi();else{Qi();Ri();O(R("watch-embed"),"active");if(T("ALLOW_EMBED")){a={method:"GET",onComplete:function(){o(R("watch-actions-area"),R("watch-actions-close")[t]+'<input type="textbox" style="width: 350px" onclick="this.focus();this.select();" id="embed_code"/>'+R("watch-actions-area")[t]);zi();yi();Mi();hf(function(){R("embed_code")[wb]();R("embed_code")[Bb]()},0)},update:"watch-actions-area"};
X("/watch_ajax?action_customize_embed=1"+(T("IS_WIDESCREEN")?"&wide=1":"")+(T("IS_HD_AVAILABLE")?"&hd=1":""),a)}else o(R("watch-actions-area"),R("watch-actions-close")[t]+'<input type="textbox" style="width: 350px; font-style: italic" onclick="this.focus();this.select();" id="embed_code" value="'+U("EMBEDDING_DISABLED")+'"/>')}},void 0);
K("yt.www.watch.watch5.flag",function(a){var b=R("watch-actions-area-container");if(!Q(b,"collapsed")&&R("watch-flag-form"))Qi();else{Qi();Ri();O(R("watch-flag"),"active");if(Ni()){b="/watch_ajax?video_id="+T("VIDEO_ID")+"&action_get_flag_video_component=1";if(xf(a,"from-dislike")=="1")b+="&from_dislike=1";X(b,{method:"GET",onComplete:function(){Hi();o(R("watch-actions-area"),R("watch-actions-close")[t]+R("watch-actions-area")[t]);Mi()},update:"watch-actions-area"})}}},void 0);
K("yt.www.watch.watch5.hide",Qi,void 0);K("yt.www.comments.watch5.blockUser",function(a,b){if(!ka(U(b?"BLOCK_USER":"UNBLOCK_USER")))return g;X("/link_servlet",{postBody:(b?"":"un")+"block_user=1&"+T("BLOCK_USER_XSRF")+"&friend_username="+a});return j},void 0);K("yt.www.comments.watch5.inputFocus",fl,void 0);K("yt.www.comments.watch5.inputBlur",function(a){P(a[G],"input-focused")},void 0);
K("yt.www.comments.watch5.cancelPost",function(a){a=a[G][G];ol();if(a.id=="watch-comments-form"){p(S(h,"watch-comment",a)[0],"");P(a,"input-expanded");O(a,"input-collapsed");W("watch-comments-attach-video")}else{a=a[G];o(a,"");W(a)}},void 0);
K("yt.www.comments.watch5.post",function(a){var b=a[G][G],c=b.comment,d=S(h,"watch-comments-post",b)[0],e=S(h,"watch-comments-post-result",b)[0];o(e,"");if(!Q(d,"yt-button-disabled")){a=b[Fc];b={postBody:We(b),onComplete:function(f){var i=wg(f[wc],"str_code");o(e,i=="OK"?U("COMMENT_OK"):U("COMMENT_ERROR"));i!="INLINE_CAPTCHAFAIL"&&ol();if(i=="OK"){P(e,"watch-bad-post");O(e,"watch-good-post");O(d,"yt-button-disabled");i=R("watch-comments-core");if(xf(i,"type")=="everything"){i=R("watch-comments-core");
o(i,wg(f[wc],"html_content")+i[t])}else kl("everything")}else if(i=="INLINE_CAPTCHA"){o(e,"");var l=Ie("DIV");l.id="captcha_div";X("/comment_servlet?gimme_captcha=1&watch5=1",{update:l,onComplete:function(){lg(c,j);P(d,"yt-button-disabled");c[G]&&c[G][mb](l,c)}})}else if(i=="INLINE_CAPTCHAFAIL"){o(e,"");f=R("fail_warning");o(R("fail_warning_text"),U("COMMENT_CAPTCHAFAIL"));V(f);P(d,"yt-button-disabled")}},onException:function(f){f=wg(f[wc],"str_code");o(e,f=="PENDING"?U("COMMENT_PENDING"):f=="BLOCKED"?
U("COMMENT_BLOCKED"):U("COMMENT_ERROR"));P(d,"yt-button-disabled");O(e,"watch-bad-post");P(e,"watch-good-post")}};a+="&len="+c[v][z]+"&wc="+c[v][B](" ")[z];X(a,b);O(d,"yt-button-disabled")}},void 0);K("yt.www.comments.watch5.showMore",jl,void 0);K("yt.www.comments.watch5.showPage",il,void 0);K("yt.www.comments.watch5.showPageFromElement",function(a){il(a[vc]("data-page"));return j},void 0);
K("yt.www.comments.watch5.vote",function(a){if(el()){var b=dl;if(!xf(b,"voted")){var c=T("VIDEO_ID"),d=xf(b,"id"),e=xf(b,"score");c="/comment_voting?a="+a+"&id="+d+"&video_id="+c+"&old_vote="+e;if(yf(b,"tag"))c+="&tag="+xf(b,"tag");X(c,{method:"GET",onComplete:function(){}});wf(b,"voted",a);ml(b)}}},void 0);
K("yt.www.comments.watch5.reply",function(){if(el()){ol();var a=R("watch-comments-form")[Ib](g);a.removeAttribute("id");a.removeAttribute("class");var b=S(h,"watch-comments-post",a)[0];o(S(h,"watch-comments-post-result",a)[0],"");P(b,"yt-button-disabled");b=S(h,"watch-comment-reply",dl);if(b[z])b=b[0];else{b=m[xb]("DIV");Ha(b,"watch-comment-reply yt-rounded");b=b;dl[q](b)}a.action+="&reply=1";if(yf(dl,"tag"))a.action+="&tag="+xf(dl,"tag");o(b,"");b[q](a);V(b);fl(a[Ab]);p(S(h,"comment-parent-id",a)[0],
xf(dl,"id"));b=S(h,"watch-comment",a)[0];var c=xf(dl,"author");p(b,"@"+c+" ");nl(a[Ab]);ml(dl);b[wb]();a=b[t][z];var d;try{d=typeof b.selectionStart=="number"}catch(e){d=j}if(d){b.selectionStart=a;b.selectionEnd=a}else if(je){d=a;if(b[Jb]=="textarea")d=b[v][Cc](0,d)[s](/(\r\n|\r|\n)/g,"\n")[z];a=d;d=b.createTextRange();d.collapse(g);d.move("character",a);d[Bb]()}}},void 0);
K("yt.www.comments.watch5.flag",function(){if(el()){var a=T("VIDEO_ID");a="/comment_servlet?mark_comment_as_spam="+xf(dl,"id")+"&entity_id="+a;X(a,{});a=S(h,"content",dl)[0];O(a,"hide-comment");wf(dl,"flagged","True")}},void 0);K("yt.www.comments.watch5.showActions",ml,void 0);K("yt.www.comments.watch5.hideActions",ll,void 0);
K("yt.www.comments.watch5.approve",function(a,b){var c=dl,d=xf(c,"id"),e=xf(R("watch-comments-form"),"comment-type");X("/comment_servlet?field_approve_comment=1",{postBody:"comment_id="+d+"&comment_type="+e+"&entity_id="+T("VIDEO_ID")+"&"+b,onComplete:function(){W(a[G]);wf(c,"pending","0");ml(c)}})},void 0);
K("yt.www.comments.watch5.remove",function(a,b){var c=dl,d=xf(c,"id"),e=xf(R("watch-comments-form"),"comment-type");d={postBody:"deleter_user_id="+a+"&comment_id="+d+"&"+b,onComplete:function(){W(c);W(c[Ob]);ll()}};X("/comment_servlet?remove_comment=1&comment_type="+e+"&entity_id="+T("VIDEO_ID"),d)},void 0);K("yt.www.comments.watch5.updateCount",nl,void 0);
K("yt.www.comments.watch5.display",function(a,b){var c=S(h,"content",dl)[0],d=S(h,"time",dl)[0];if(b){P(c,"hide-comment");V(d);P(a[G],"hide-mode")}else{O(c,"hide-comment");W(d);O(a[G],"hide-mode")}},void 0);K("yt.www.comments.watch5.select",kl,void 0);K("yt.www.comments.watch5.handleCommentMouseEvent",function(a,b){var c=R("watch-comments-actions"),d=(b||k[Qc])[Jb],e=Me(Hf(b),function(f){return f===a||f===c},g,6);if(!(!a||e))if(d=="mouseover")ml(a);else d=="mouseout"&&ll()},void 0);
K("yt.www.comments.viewing.rotateVideoResponses",function(a,b,c,d){rj("video_bar");var e=R("video-bar-container-box-"+b);b=R("video-bar-long-box-"+b);b=ia(b[E].marginLeft,10);c=(c-1)*e[dc]*-1;if(a&&b>c||!a&&b<0)d.Ya(b,b+(a?-1:1)*e[dc])},void 0);K("yt.www.watch.watch5.toggleNextList",function(a){if(!xf(a,"loaded")||xf(a,"loaded")=="false")Si(a,j,g);else{a=R("watch-next-list-body");var b=vf(h,"next-list-current",a);if(b)Da(a,b[Kc])}},void 0);K("yt.www.watch.watch5.togglePassiveList",Ti,void 0);
K("yt.www.watch.quicklist.getWatchQueue",Lm,void 0);K("yt.www.watch.quicklist.saveVideosToWatchQueue",Rm,void 0);K("yt.www.watch.quicklist.isInWatchQueue",Nm,void 0);K("yt.www.watch.quicklist.addToWatchQueue",Om,void 0);K("yt.www.watch.quicklist.onAddAllToQueue",function(a,b){var c=[];for(var d in a)Nm(a[d])||c[r](a[d]);if(c[z]){d=Lm();xd(d,c);Rm(d);Pm(g);Mm();b&&Cg(b)}},void 0);
K("yt.www.watch.quicklist.onQuickDeleteClick",function(a,b,c){var d=Sm(a);Pm();Mm();if(b){b[kb]();b[ic]()}c&&Cg(c);if(T("HAS_ACTIVE_QUICKLIST")){b=Lm();d%=b[z];d="v="+b[d];b=T("LIST_PLAY_NEXT_URL");if(b[qc](a)>-1){b=b[s](/v=([a-zA-Z0-9_-]{11})/,d);ff("LIST_PLAY_NEXT_URL",b)}b=T("LIST_PLAY_NEXT_URL_WITH_SHUFFLE");if(b[qc](a)>-1){b=b[s](/v=([a-zA-Z0-9_-]{11})/,d);ff("LIST_PLAY_NEXT_URL_WITH_SHUFFLE",b)}}},void 0);K("yt.www.watch.quicklist.deleteFromWatchQueue",Sm,void 0);
K("yt.www.watch.quicklist.clearWatchQueue",function(){Rm([])},void 0);K("yt.www.watch.watch5.clearQuicklist",function(){ka(U("QUEUE_CLEAR"))&&X("/watch_queue_ajax?action_clear_queue=1",{postBody:Ui(),onComplete:function(){var a=Vi();o(R(a.id+"-body"),'<div class="quicklist-help"><em>'+U("QUEUE_EMPTY")+"</em></div>");if(a.id=="watch-passive-QL")o(R(a.id+"-count"),"0")}})},void 0);
K("yt.www.watch.watch5.showQuicklistPlaylists",function(a){var b=R(a);R(b.id+"-body");a=S(h,"watch-playlist-actions",b)[0];b=S(h,"watch-module-body",b)[0];O(b,"actions-shown");V(a);if(Ni())X("/watch_ajax?action_get_playlists=1",{method:"GET",update:a});else o(a,R("watch-actions-logged-out")[t])},void 0);
K("yt.www.watch.watch5.getSaveQuicklistForm",function(a){var b=R(a);R(b.id+"-body");a=S(h,"watch-playlist-actions",b)[0];b=S(h,"watch-module-body",b)[0];O(b,"actions-shown");V(a);if(Ni())X("/watch_ajax?action_get_save_quicklist_form=1",{method:"GET",update:a});else o(a,R("watch-actions-logged-out")[t])},void 0);K("yt.www.watch.watch5.saveQuicklist",function(){var a=m[Ra]["save-quicklist"],b=a[G];if(a[bc]){b={postBody:We(a),method:"POST",onComplete:function(){},update:b};X(a[Fc],b)}},void 0);
K("yt.www.watch.watch5.selectPlaylist",function(){var a=R("watch-playlists-select");if(a)Oa(k[C],a[v])},void 0);K("yt.www.watch.watch5.IEshenanigans",function(a,b){if(mf){If(a);Jf(a);b[G][G].click()}},void 0);K("yt.dom.datasets.get",xf,void 0);K("yt.uri.parseFragmentData",Rf,void 0);K("yt.www.watch.watch5.promoteSubscribe",Zi,void 0);K("openFull",Em,void 0);K("checkCurrentVideo",Fm,void 0);K("trackAnnotationsEvent",Im,void 0);K("reportFlashTiming",Km,void 0);K("shareVideoFromFlash",Pi,void 0);
K("setCompanion",El,void 0);K("setInstreamCompanion",Fl,void 0);K("setLongformCompanion",Gl,void 0);K("setFreewheelCompanion",Hl,void 0);K("closeInPageAdIframe",Kl,void 0);K("hideInstreamCompanion",Ll,void 0);K("disablePopout",Pl,void 0);K("enablePopout",Ql,void 0);K("closeMpuCompanion",Ml,void 0);K("handleAdLoaded",Nl,void 0);K("updatePopAds",Ol,void 0);K("setAfvCompanionVars",Rl,void 0);K("showAfvCompanionAdDiv",Sl,void 0);K("hideAfvInstreamCompanionAdDiv",Tl,void 0);
K("show_ppv_in_yva_spot",Xk,void 0);K("requestPyvAds",$k,void 0);K("pyvHomeRequestAds",$k,void 0);K("pyvBrowseRequestAds",bl,void 0);
gf("openFull","checkCurrentVideo","trackAnnotationsEvent","reportFlashTiming","shareVideoFromFlash","setCompanion","setInstreamCompanion","setLongformCompanion","setFreewheelCompanion","closeInPageAdIframe","hideInstreamCompanion","disablePopout","enablePopout","closeMpuCompanion","handleAdLoaded","updatePopAds","setAfvCompanionVars","showAfvCompanionAdDiv","hideAfvInstreamCompanionAdDiv","show_ppv_in_yva_spot","requestPyvAds","pyvHomeRequestAds","pyvBrowseRequestAds");
K("yt.www.embeds.CustomSizes",ti,void 0);K("yt.www.embeds.CustomSizesWide",ui,void 0);K("yt.www.recos.removeRecommendation",function(a){W("reco-"+a);a=Tf("/remove_recommendation_ajax",{video_id:a});X(a,{method:"GET"});return j},void 0);
K("yt.www.search.toggleAdvSearch",function(a,b,c,d,e,f,i,l,u,w,N,D,J){qg("search-advanced-form");var ca=R("additional-search-option-expander");mg(R("search-advanced-form"))?O(ca,"collapsed"):P(ca,"collapsed");if(R("search-advanced-form")[t][Oc]()[x]("<form")!=-1)return j;ca={};ca.action_advanced="1";ca.search_query=a;ca.search_type=b;ca.geo_name=c;ca.geo_latlong=d;ca.search_duration=e;ca.search_hl=f;ca.search_sort=l;ca.uploaded=u;if(w)ca.high_definition=1;if(N)ca.annotations=1;if(D)ca.closed_captions=
1;if(J)ca.partner=1;a=Tf("/results_ajax",ca);i=i[B](",");for(b=0;b<i[z];b++)a+="&search_category="+i[b];X(a,{method:"GET",update:"search-advanced-form"});return j},void 0);
K("yt.www.suggest.install",function(a,b,c,d,e,f,i,l){Vg=a;Wg=b;wh=c;qh=d;rh=e;vh=ba(f);uh=i;yh=l;if(Fh&&k[C][Bc][x]("/watch?")!=-1){xh=4;qh=""}bh=/^(zh-(CN|TW)|ja|ko)$/[Wa](c);a="yt";if(k[C][sc][tb](/^\/show(s$|$|\/)/))a="yt_sh";else if(k[C][sc]=="/movies")a="yt_mv";ah="suggestqueries.google.com/complete/search?hl="+c+"&ds="+a+"&client=youtube&hjson=t&jsonp=window.yt.www.suggest.handleResponse";Df(Vg,"submit",ci);Wg[y]("autocomplete","off");Df(Wg,"blur",Lh);Wg.onkeyup_original=Wg.onkeyup;if(Wg[Eb]){if(Ch||
Ah)Wg.onkeydown=Ph;else Wg.onkeypress=Ph;Wg.onkeyup=Qh}else{Df(Wg,Bh?"keydown":"keypress",Ph);Df(Wg,"keyup",Qh)}Sg=Qg=Rg=Wg[v];Ug=Sh(Wg);if(i!=2&&k[C][sc]=="/")Sg=Qg="";Xg=R("completeTable");c=j;if(Xg)c=g;else Xg=m[xb]("table");Xg.id="completeTable";Xg.cellSpacing=Xg.cellPadding="0";Yg=Xg[E];Ha(Xg,"yt-suggest-table");Kh();c||m[oc][q](Xg);ih=R("yt-suggest-iframe");c||(ih=m[xb]("iframe"));jh=ih[E];ih.id="yt-suggest-iframe";c||m[oc][q](ih);Ih();Df(k,"resize",Ih);Df(k,"pageshow",Gh);bh&&jf(ei,10);Zg=
Jh("aq","f",j);$g=Jh("oq",Rg,g);if(wh in ph){th=g;qh=""}Uh()},void 0);K("yt.www.suggest.handleResponse",function(a){kh>0&&kh--;if(a[0]==Rg){if(mh){kf(mh);mh=h}dh=a[0];di(a[1]);if(th)bi(Rg,h,"g","g",vh,Wh("http://www.google."+(ph[wh]||"com")+"/search?source=youtube-suggest"+(uh>=0?"-"+uh:"")+"&hl="+wh+"&q="+da(dh),g));hh=-1;(fh=Xg[Ec])&&fh[z]>0?Zh():Kh()}},void 0);K("yt.www.suggest.setFieldValue",Mh,void 0);K("yt.www.suggest.enable",fi,void 0);K("yt.www.suggest.disable",gi,void 0);
K("yt.www.suggest2.install",function(a,b,c,d,e){Bl[yl++]=new Al(a,b,c,d,e)},void 0);K("yt.www.suggest2.handleResponse",function(a){zl&&zl.Zf(a)},void 0);K("yt.www.thumbnailDelayLoad.setFudgeFactor",function(a){ki=a},void 0);K("yt.www.thumbnailDelayLoad.setLoadAllAtOnce",function(a){li=a},void 0);K("yt.www.thumbnailDelayLoad.testImage",mi,void 0);K("yt.www.thumbnailDelayLoad.loadImages",ni,void 0);
K("yt.www.ads.pyv.pyvWatchAfcCallback",function(a){if(a[z]==0){if(T("PYV_TRACK_RELATED_CTR")){cl("watch-related",j);cl("watch-channel-videos-panel",j)}}else{var b=R("watch-channel-videos-panel");b&&!T("IS_BRANDED_WATCH")&&O(b,"yt-uix-expander-collapsed");Yk("watch_related",a[0],h,function(c){c=vg(c[wc]);c=wg(c,"html_content");var d=R(k.pyv_related_box_id||"watch-related");if(d){var e=d[t];if(e[x](c)!=0){o(d,c+e);if(T("PYV_TRACK_RELATED_CTR")){cl("watch-related",g);cl("watch-channel-videos-panel",
g)}}}},k.google_adtest&&k.google_adtest=="on")}},void 0);K("yt.www.ads.pyv.pyvHomeAfcCallback",Zk,void 0);K("yt.www.ads.pyv.showPpvAdInYvaSpot",Xk,void 0);K("yt.www.ads.pyv.pyvHomeRequestAds",$k,void 0);K("yt.www.ads.pyv.pyvBrowseRequestAds",bl,void 0);K("MooFx",{},void 0);K("MooFx.Base",qf,void 0);qf[A].clearTimer=qf[A].yb;qf[A].custom=qf[A].Ya;qf[A].set=qf[A].m;qf[A].show=qf[A].show;qf[A].hide=qf[A].Jb;K("MooFx.BasicEffect",rf,void 0);K("MooFx.Opacity",sf,void 0);sf[A].toggle=sf[A].dh;
sf[A].hide=sf[A].Jb;K("yt.www.xsrf.dynamicAppendSessionToken",Zm,void 0);K("yt.www.xsrf.sessionExcludedForms",$m,void 0);K("yt.www.xsrf.populateSessionToken",function(){for(var a=0;a<m[Ra][z];a++){for(var b=j,c=0;c<$m[z];c++)if(m[Ra][a][Nb]==$m[c])b=g;c=m[Ra][a];if(c.method[Oc]()=="post"&&b==j){b=j;for(var d=0;d<c[Fb][z];d++)if(c[Fb][d][Nb]==T("XSRF_FIELD_NAME"))b=g;b||Zm(c)}}},void 0);
K("yt.www.masthead.performSearch",function(a,b,c){var d=m[a];a=xf(c,b)||"";if("rentals"==a){p(d.rental,1);p(d.search_type,"")}else{p(d.search_type,a);p(d.rental,0)}if(d.search_query[v])d.submit();else{d=c[t];var e=R("default-search-button"),f=e[t],i=xf(e,b)||"";o(e,d);wf(e,b,a);o(c,f);wf(c,b,i)}return j},void 0);
K("yt.www.masthead.loadPicker",function(a,b){var c=R(a);if(c)b?V(c):qg(c);else{c=Ie("div");c.id=a;W(c);R("picker-container")[q](c);c="/masthead_ajax?action_get_"+a[s]("-","_")+"=1";X(c,{method:"GET",update:a,onComplete:function(){W("picker-loading");V(a);R(a).scrollIntoView()}});V("picker-loading")}Ng("picker-container",a);R(a).scrollIntoView()},void 0);K("yt.www.masthead.searchBarFocusTest",Pg,void 0);K("yt.www.home.bootstrap",rl,void 0);
K("yt.www.home.queueHomepageFunction",function(a){if(k.php_support)a();else{ql[r](a);rl()}},void 0);K("yt.www.home.ads.mastheadAd",sl,void 0);sl[A].collapse_ad=sl[A].collapse;sl[A].expand_ad=sl[A].expand;K("yt.www.home.ads.workaroundLoad",function(){tl=g},void 0);K("yt.www.home.ads.workaroundIE",function(a){if(!(ul||!tl)){ul=g;hf(function(){a[wb]()},0)}},void 0);K("yt.www.home.ads.workaroundReset",function(){ul=j},void 0);K("yt.tracking.track",Cg,void 0);
K("yt.tracking.reachability",function(){var a=new Date,b=n[uc]();a="/gen_204?atyp=edge&id="+a[Qb]()[$b](32)+b[$b](16);if(b>=0.5){Bg("http://coretest.ytimg.com"+a);Bg("http://alltest.ytimg.com"+a)}else{Bg("http://alltest.ytimg.com"+a);Bg("http://coretest.ytimg.com"+a)}},void 0);K("yt.analytics.urchinTracker",function(){},void 0);K("yt.analytics.trackEvent",uf,void 0);
if(k.yt.timing&&!T("AJAX_MODE")){K("yt.timing.report",$.kd,void 0);K("yt.timing.maybeReport",$.Tb,void 0);K("yt.timing.handlePageLoad",$.Sc,void 0);K("yt.timing.handleThumbnailLoad",$.$f,void 0);jj("init",$.Sc)}
K("yt.www.core.toggleSimpleTooltip",function(a,b){a=R(a);for(a[G][E].zIndex=b?"100":"0";a;){if(Q(a,"tooltip-wrapper-box")||Q(a,"reverse-tooltip-wrapper-box")){lg(a,b);for(var c=a[Ab];c;){if(Q(c,"tooltip-box")||Q(c,"tooltip-box-bot"))c[E].backgroundImage='url("http://s.ytimg.com/yt/img/tooltip-vfl56131.gif")';if(Q(c,"reverse-tooltip-box")||Q(c,"reverse-tooltip-box-bot"))c[E].backgroundImage='url("http://s.ytimg.com/yt/img/tooltip-reverse-vfl88394.gif")';c=c[Ob]}break}a=a[Ob]}},void 0);
K("yt.www.subscriptions.edit.onUpdateSubscription",function(a,b,c,d){c=c||"";var e=j;if((b=R("subscription_level_unsubscribe"))&&b[ec])e=g;b=We(R("subscription_level_uploads"+c).form);X("/ajax_subscriptions?"+b,{postBody:"session_token="+a,onComplete:function(f){var i=R("subscribeMessage"+c)[Ab];f=wg(f[wc],"html_content");if("textContent"in i)i.textContent=f;else i.data=f;W("edit_subscription_wrapper"+c);W("edit_subscription_arrow"+c);V("subscribeMessage"+c);if(c){Ca(R("edit_subscription_opener"+
c)[E],"");hf(function(){W("subscribeMessage"+c)},5E3)}if(e){f=R("channel-body");i=S("div","subscribe-div",f);f=S("div","unsubscribe-div",f);M(i,function(l){qg(l)});M(f,function(l){qg(l)});d()}}})},void 0);K("yt.www.subscriptions.edit.onCancelUpdateSubscription",function(a){a=a||"";W("edit_subscription_wrapper"+a);W("edit_subscription_arrow"+a);if(a)Ca(R("edit_subscription_opener"+a)[E],"");W("alerts")},void 0);
K("yt.www.subscriptions.onSubscribeFromChannelSuccess",function(a){var b=R("channel-body"),c=S("div","subscribe-div",b);b=S("div","unsubscribe-div",b);M(c,function(d){qg(d)});M(b,function(d){qg(d)});c=R("position-edit-subscription-in-channel");b=R("edit_subscription_container");o(c,b[t]);if(a){a=S("div","subscription_save_as_default",c)[0];c=S("div","subscription_level_unsubscribe",c)[0];qg(a);qg(c)}},void 0);
K("yt.www.subscriptions.edit.onEditSubscriptionFromRecentActivity",function(a,b,c,d){if(k["edit_subscription_download_"+c]){W("subscribeMessage"+c);qg("edit_subscription_wrapper"+c);qg("edit_subscription_arrow"+c);a=R("edit_subscription_opener"+c);Ca(a[E],a[E][Xb]=="visible"?"":"visible")}else{k["edit_subscription_download_"+c]=g;X("/ajax_subscriptions?get_edit_subscription_form="+b+"&i="+c,{postBody:"session_token="+a,onComplete:function(e){Ca(R("edit_subscription_opener"+c)[E],"visible");var f=
m[xb]("div");o(f,wg(e[wc],"html_content"));d[G][mb](f,d);V("edit_subscription_wrapper"+c);V("edit_subscription_arrow"+c)}})}},void 0);gf("yt","goog","SWFObject","MooFx","_gel","_hasclass","_addclass","_removeclass","_showdiv","_hidediv","_ajax");
K("yt.www.masthead.extended.redirectWithNewParam",function(a,b){var c,d;c=k[C][Bc];c=c[B]("#");d=c[z]==2?"#"+c[1]:"";c=c[0];var e=c[tb](/[\?&]\w+=[^&#]*/g),f={};if(e)for(var i=0;i<e[z];++i){e[i]=e[i][B]("=");f[e[i][0][Cc](1)]=la(e[i][1][s](/\+/g,"%20"))}f[b]=a;f["persist_"+b]="1";c=c[B]("?");c=c[0];Uj(c,f,d)},void 0);
K("yt.www.masthead.extended.onSafetyModeChange",function(){var a=R("safety-mode-lock-button"),b=R("safety-mode-on");if(a&&b)b[ec]?_removeclass(a,"yt-button-disabled"):_addclass(a,"yt-button-disabled")},void 0);K("yt.www.watch.annotations.setLayerToken",an,void 0);K("yt.www.watch.about.extended.applyUserPrefs",zi,void 0);K("yt.www.watch.about.extended.onChangeColor",vi,void 0);K("yt.www.watch.about.extended.onChangeSize",wi,void 0);
K("yt.www.watch.about.extended.onChangeBorder",function(a){var b=oi.b();b.Pa(Y.Ba,!!a);b[kc]();Bi();xi()},void 0);K("yt.www.watch.about.extended.onChangeRelated",function(a){var b=oi.b();b.Pa(Y.Va,!a);b[kc]()},void 0);K("yt.www.watch.about.extended.onChangeDelayedCookies",function(a){var b=oi.b();b.mb(Y.Ua,a);b[kc]()},void 0);K("yt.www.watch.about.extended.onChangeDefaultHd",function(a){var b=oi.b();b.mb(Y.Ta,a);b[kc]();a&&wi("hd720")},void 0);
K("yt.www.watch.flagging.extended.onFlagVideoCheckboxClicked",function(){en("","selectedFlagReason")},void 0);K("yt.www.watch.flagging.extended.onFlagAnnoCheckboxClicked",function(){en("anno_","selectedAnnoFlagReason")},void 0);K("yt.www.watch.flagging.extended.flagReasonSelection",function(a,b,c,d,e,f){var i=R("flag_checkbox");if(i)Ia(i,g);hn("selectedFlagReason",a,b,c,d);dn("flag_");bn("flag_",e,f)},void 0);
K("yt.www.watch.flagging.extended.flagAnnoReasonSelection",function(a,b,c,d,e,f){var i=R("flag_anno_checkbox");if(i)Ia(i,g);hn("selectedAnnoFlagReason",a,b,c,d);dn("flag_anno_");bn("flag_anno_",e,f)},void 0);
K("yt.www.watch.flagging.extended.processFlagForm",function(a,b){if(b){var c=R("flag_checkbox"),d=R("flag_anno_checkbox");c[ec]||jn(b);d[ec]||kn(b);c=b.flag_reason[v];d=b.flag_sub_reason[v];var e=b.flag_anno_reason[v],f=b.flag_anno_sub_reason[v];if(c==""&&e=="")qg("flag_Error");else{if(c!="")if(!pn("",c,d))return;if(e!="")if(!pn("_anno",e,f))return;on(c,d,e,f);R("inappropriateVidDiv")?qg("inappropriateVidDiv"):qg("inappropriateMainDiv");c=function(){R("inappropriateVidDiv")?W("inappropriateVidDiv"):
W("inappropriateMainDiv")};d=b[Fc]+"?log_action_flag";if(xf(a,"from-dislike")=="1")d+="&log_action_from_dislikes=1";X(d,{postBody:We(b),onComplete:c,onException:c});o(R("selectedFlagReason"),"- "+U("FLAG_DEFAULT")+" -");cn(R("selectedFlagReason"));dn("flag_");o(R("selectedAnnoFlagReason"),"- "+U("FLAG_DEFAULT")+" -");cn(R("selectedAnnoFlagReason"));dn("flag_anno_");if(R("watch-tab-flag"))O(R("watch-tab-flag"),"disabled");else if(c=R("watch-flag")){O(c,"yt-button-disabled");c[y]("onclick","return false");
wf(c,"button-action","")}}}},void 0);K("yt.www.watch.flagging.extended.flagError",function(a,b){if(a){o(R(a),b);qg(a)}},void 0);K("yt.www.watch.flagging.extended.stripNonNumber",function(a){return a[s](/[^\d]/g,"")},void 0);K("yt.www.watch.quicklist.extended.getNextVideoId",lm,void 0);
K("yt.www.watch.sharing.extended.submitToBlog",function(a){La(R("submitToBlogBtn"),g);var b=function(){qg("addToBlogResult");hf(function(){W("addToBlogResult")},3E3);La(R("submitToBlogBtn"),j)},c,d;if(R("watch-share-video-div")[E][Jc]!="none"){Um("fewer-options","more-options");c=function(){W("watch-share-video-div");b()};d=function(){W("watch-share-video-div")}}else{c=function(){W("watch-share-blog-quick");b()};d=function(){W("watch-share-blog-quick")}}X(a[Fc],{postBody:We(a),onComplete:c,onException:d})},
void 0);K("yt.www.watch.stats.extended.setInsightOptOut",function(a){if(a){O(R("insight-private"),"selected");P(R("insight-public"),"selected");O(R("insightBox"),"watch-stats-private-border")}else{O(R("insight-public"),"selected");P(R("insight-private"),"selected");P(R("insightBox"),"watch-stats-private-border")}X("/watch_ajax?action_set_insight_opt_out=1&opt_out="+a+"&video_id="+T("VIDEO_ID"),{postBody:T("AXC"),onComplete:function(){}});return j},void 0);
K("yt.www.watch.stats.extended.toggleReferrer",function(a){qg(a);return j},void 0);K("yt.www.watch.survey.takeWatchPageSurvey",function(){qn();k[Va]("/watch_page_survey?r2="+T("SURVEY_REFERER")+"&r1="+T("SURVEY_SERVLET_NAME")+"&name="+T("SURVEY_TYPE"),"YouTube_User_Happiness_Survey","toolbar=no,width=800,height=768,status=no,resizable=yes,fullscreen=no,scrollbars=yes")[wb]()},void 0);K("yt.www.watch.survey.watchPageSurveyGoAway",qn,void 0);
K("yt.www.watch.survey.checkSurveyCompletedAndShow",function(){oi.b().na(Y.tb)||V("watch_page_survey")},void 0);K("yt.www.watch.user.unblockUserLink",function(a,b){if(!ka(U("UNBLOCK_USER")))return j;X("/link_servlet",{postBody:"unblock_user=1&"+T("BLOCK_USER_XSRF")+"&friend_id="+a,onComplete:function(){Uj(b)}});return g},void 0);
K("yt.www.watch.user.blockUserLink",function(a,b){if(!ka(U("BLOCK_USER")))return g;X("/link_servlet",{postBody:"block_user=1&"+T("BLOCK_USER_XSRF")+"&friend_id="+a,onComplete:function(){Uj(b)}});return g},void 0);K("yt.www.watch.user.unblockUserLinkByUsername",function(a){if(!ka(U("UNBLOCK_USER")))return j;X("/link_servlet",{postBody:"unblock_user=0&"+T("BLOCK_USER_XSRF")+"&friend_username="+a});return j},void 0);
K("yt.www.watch.user.blockUserLinkByUsername",function(a){if(!ka(U("BLOCK_USER")))return j;X("/link_servlet",{postBody:"block_user=1&"+T("BLOCK_USER_XSRF")+"&friend_username="+a});return j},void 0);K("__html5_enableWideScreen",Am,void 0);K("setLayerToken",an,void 0);K("getNextVideoId",lm,void 0);gf("setLayerToken","getNextVideoId");})();
