Skip to content

Instantly share code, notes, and snippets.

@dpogue
Created June 9, 2011 04:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpogue/1016085 to your computer and use it in GitHub Desktop.
Save dpogue/1016085 to your computer and use it in GitHub Desktop.
Google Doodle un-minified
<script>
(function() {
var g = null, h;
try {
if (!google.doodle)
google.doodle = {};
var i, m, n, o, r, s, t, u, v, aa, w, ba, ca, da = navigator.userAgent.indexOf("MSIE") >= 0, ea = [[3, "#776a62", "#2063ff", 2, [[28, 23], [103, 23]]], [5, "#776a62", "#f61b33", 2, [[28, 38], [103, 38]]], [0, "#776a62", "#ffdd24", 2, [[65, 67], [318, 67]]], [2, "#776a62", "#07d238", 2, [[28, 81], [281, 81]]], [7, "#776a62", "#2063ff", 1, [[28, 96.5], [281, 96.5]]], [9, "#776a62", "#f61b33", 1, [[29, 111.5], [104, 111.5]]], [1, "#776a62", "#07d238", 2, [[358, 66], [433, 66]]], [4, "#776a62", "#2063ff", 2, [[358, 81], [433, 81]]], [6, "#776a62", "#f61b33", 2, [[330, 96], [405, 96]]], [8, "#776a62", "#ffdd24", 1, [[358, 111.5], [434, 111.5]]]], fa = 0, ga = 0, x = 0, y = 0, z = !0, A = [], B = g, C = g, D = function(a) {
a && a.parentNode && a.parentNode.removeChild(a)
}, E = function(a, b, c) {
if (a) {
if (!google.doodle.ba)
google.doodle.ba = [];
google.doodle.ba.push(arguments);
var d = a, e = b, f = c;
d.addEventListener ? d.addEventListener(e, f, !1) : d.attachEvent("on" + e, f)
}
}, ha = function(a, b, c) {
a && (a.removeEventListener ? a.removeEventListener(b, c, !1) : a.detachEvent("on" + b, c))
}, ia = function() {
if (google.doodle.ba)
for (var a; a = google.doodle.ba.pop(); )
ha.apply(g, a)
}, F = function(a) {
a ? a.stopPropagation && a.stopPropagation() : window.event.cancelBubble = !0;
return !1
}, G = function(a) {
if (i !== a) {
var b = i;
i = a;
for (a = 0; a < A.length; ++a)
A[a](b)
}
}, H = 0;
A.push(function() {
var a = document.getElementById("hplogo-on");
if (a)
if (i == 4)
a.style.backgroundPosition = "-809px 0";
else {
a.style.backgroundPosition = "-809px -39px";
a = document.forms.f || document.forms.gs || document.forms.ab;
try {
a.q.focus()
} catch (b) {
}
}
});
var ja = function(a) {
G(i == 4 ? 0 : 4);
return F(a)
}, I = g, la = function(a) {
D(document.getElementById("goo-gl-script"));
I && window.clearTimeout(I);
var b = "http://google-lespaul.appspot.com?callback=google.doodle.url&url=" + encodeURIComponent(a), c = document.createElement("script");
c.src = b;
c.id = "goo-gl-script";
I = window.setTimeout(function() {
ka(a)
}, 2E3);
(document.getElementById("xjsc") || document.body).appendChild(c)
}, ma = function(a) {
a && a.status == "OK" && !a.error && a.id && ka(a.id)
}, ka = function(a) {
if (i == 0 || i == 4) {
window.clearTimeout(I);
var b = document.getElementById("hplogo-lcd-text");
if (b)
b.value = a, b.select()
}
}, J = [[0, 0, 0, 0, 0, 0], [-540, -162, 9, 9, 59, 139], [-551, -162, 9, 6, 62, 139], [-559, -162, 11, 17, 55, 138]], L = function(a) {
var b = document.getElementById("hplogo-lcd-screen");
if (b)
b.style.backgroundPosition = "-678px -139px";
if (b = document.getElementById("hplogo-lcd-icon"))
b.style.backgroundPosition = J[a][0] + "px " + J[a][1] + "px", b.style.height = J[a][2] + "px", b.style.width = J[a][3] + "px", b.style.left = J[a][4] + "px", b.style.top = J[a][5] + "px"
};
A.push(function(a) {
var b = document.getElementById("hplogo-lcd-text");
if (i == 5) {
if (L(1), b.value == "")
b.value = "Playing..."
} else if (B && (i == 0 || i == 4)) {
if (L(2), M(), b.value == "Playing...")
b.value = ""
} else if (i == 1)
L(3), b.value = "Recording";
if (i != 2 && (a == 1 || a == 2) && B)
B.stop(), M(), L(B.d.length == 0 ? 0 : 2), b.value = "", C = g, (a = B.Wa()) && la(a)
});
var na = function(a) {
B && (i == 0 || i == 4) ? (G(5), B.play()) : i == 5 && G(4);
return F(a)
};
A.push(function() {
if (i != 0)
try {
document.getElementById("hplogo-i").focus()
} catch (a) {
}
});
A.push(function() {
i == 1 && (B = new N, C = B.Za())
});
var oa = !1, O = g, qa = function() {
P();
O = window.setTimeout(function() {
pa(!0)
}, 1E3)
}, P = function() {
O && window.clearTimeout(O);
O = g;
pa(!1)
}, pa = function(a) {
var b = document.getElementById("hplogot");
if (b)
oa ? (b.style.display = "block", b.style.opacity = a ? 1 : 0) : b.style.display = a ? "block" : "none"
}, va = function() {
E(document, "keydown", ra);
E(document, "mousemove", Q);
E(document, "touchmove", Q);
E(document, "touchstart", sa);
E(window, "resize", ta);
var a = document.forms.f || document.forms.gs || document.forms.ab;
a && (E(a.q, "blur", function() {
m = !1
}), E(a.q, "focus", function() {
m = !0;
i != 5 && G(0)
}));
E(document.body, "mouseout", ua);
if (a = document.getElementById("hplogo-on"))
a.onclick = ja, a.style.cursor = "pointer";
if (a = document.getElementById("hplogo-led"))
a.onclick = ja, a.style.cursor = "pointer";
if (a = document.getElementById("hplogo-lcd-icon"))
a.onclick = na;
if ((a = document.getElementById("hplogo-click")) && !da)
a.onmousemove = qa, a.onmouseout = P
}, sa = function(a) {
var b = wa(a);
b[0] >= x && b[0] <= x + 474 && b[1] >= y && b[1] <= y + 175 && a.preventDefault()
}, wa = function(a) {
a = a || window.event;
return [(a.clientX || a.targetTouches && a.targetTouches[0].clientX || 0) + (document.body.scrollLeft || document.documentElement.scrollLeft), (a.clientY || a.targetTouches && a.targetTouches[0].clientY || 0) + (document.body.scrollTop || document.documentElement.scrollTop)]
}, Q = function(a) {
a = a || window.event;
a = wa(a);
fa = a[0];
ga = a[1]
}, xa = {49: 2,50: 6,51: 3,52: 0,53: 7,54: 1,55: 8,56: 4,57: 9,48: 5,81: 2,87: 6,69: 3,82: 0,84: 7,89: 1,85: 8,73: 4,79: 9,80: 5,65: 2,83: 6,68: 3,70: 0,71: 7,72: 1,74: 8,75: 4,76: 9,186: 5,90: 2,88: 6,67: 3,86: 0,66: 7,78: 1,77: 8,188: 4,190: 9,191: 5}, ra = function(a) {
var b = a || window.event;
return n && !m && !b.altKey && !b.ctrlKey && !b.metaKey && (b = xa[b.keyCode], typeof b == "number") ? (i == 0 && G(4), n.aa(b), F(a)) : !0
}, ta = function() {
z && o != g && (z = !1, window.setTimeout(function() {
z = !0;
var a = o, b = 0;
do
b += a.offsetLeft;
while (a = a.offsetParent);
x = b;
a = o;
b = 0;
do
b += a.offsetTop;
while (a = a.offsetParent);
y = b
}, 30))
}, ua = function(a) {
(a = a || window.event) && !a.toElement && Q(a)
}, ya = function(a, b) {
this.a = a;
this.P = b;
this.width = 474;
this.height = 175;
this.A = [];
this.Aa = this.M = !1;
this.Z = 0;
this.ia = this.L();
this.ja = this.$();
this.ga = new R(0, 0);
this.ha = new R(0, 0);
this.za = !0;
this.Ca = (new Date).getTime();
this.Oa();
this.Ba()
};
h = ya.prototype;
h.Oa = function() {
for (var a = 0, b; b = ea[a++]; )
this.A.push(new za(b[4][0][0], b[4][0][1], b[4][1][0], b[4][1][1], b[3], b[1], b[2], a, b[0], this.a, this.P, this))
};
h.L = function() {
return fa - x
};
h.$ = function() {
return ga - y
};
h.ya = function(a) {
return S(a, this.width) / this.width
};
h.bb = function() {
this.Ta();
this.Aa && this.Sa();
this.M && (this.a && this.a.clearRect(0, 0, this.width, this.height), this.Ba())
};
h.Ba = function() {
for (var a = 0, b; b = this.A[a++]; )
b.Ya(), b.Xa()
};
h.na = function() {
if (this.A)
for (var a = 0, b; b = this.A[a++]; )
b.na()
};
h.Ma = function() {
for (var a = 0, b; b = this.A[a++]; )
if (b.C || b.G) {
this.M = !0;
return
}
this.M = !1
};
h.Ta = function() {
var a = (new Date).getTime(), b = (a - this.Ca) / 1E3;
this.Ca = a;
var a = this.L(), c = this.$();
this.ga.x = this.ia;
this.ga.y = this.ja;
this.ha.x = a;
this.ha.y = c;
var d = a - this.ia, e = c - this.ja, d = Math.sqrt(d * d + e * e);
this.Aa = d > 0;
this.Z = (this.Z * 4 + S(((b > 0 ? d / b : 0) - 70) / 1430, 1)) / 5;
this.ia = a;
this.ja = c
};
h.Sa = function() {
if (this.za)
this.za = !1;
else
for (var a = 0, b; b = this.A[a++]; ) {
var c;
c = this.ga;
var d = this.ha, e = b.Ia, f = b.Ha, j = d.y - c.y, p = f.y - e.y, k = c.x - d.x, l = e.x - f.x, q = d.x * c.y - c.x * d.y, K = f.x * e.y - e.x * f.y, V = j * l - p * k;
V == 0 ? c = g : (k = (k * K - l * q) / V, j = (p * q - j * K) / V, c = Math.pow(k - d.x, 2) + Math.pow(j - d.y, 2) > Math.pow(c.x - d.x, 2) + Math.pow(c.y - d.y, 2) || Math.pow(k - c.x, 2) + Math.pow(j - c.y, 2) > Math.pow(c.x - d.x, 2) + Math.pow(c.y - d.y, 2) || Math.pow(k - f.x, 2) + Math.pow(j - f.y, 2) > Math.pow(e.x - f.x, 2) + Math.pow(e.y - f.y, 2) || Math.pow(k - e.x, 2) + Math.pow(j - e.y, 2) > Math.pow(e.x - f.x, 2) + Math.pow(e.y - f.y, 2) ? g : new R(k, j));
c && !b.C && (this.Z < 0.4 ? b.Pa(c.x, c.y) : b.Da(c.x, c.y, !1))
}
};
h.aa = function(a) {
a >= 0 && a < 12 && this.A[a].aa()
};
var S = function(a, b) {
return a < 0 ? 0 : a > b ? b : a
}, Aa = function(a) {
for (var b = [], a = a.match(/[0-9a-f]{2}/gi), c = 0, d; d = a[c++]; )
b.push(parseInt(d, 16));
return b
}, R = function(a, b) {
this.x = a;
this.y = b
}, za = function(a, b, c, d, e, f, j, p, k, l, q, K) {
this.k = a;
this.o = b;
this.W = c;
this.X = d;
this.Ia = new R(this.k, this.o);
this.Ha = new R(this.W, this.X);
this.J = this.W - this.k;
this.K = this.X - this.o;
this.length = Math.sqrt(this.J * this.J + this.K * this.K);
this.H = this.k + this.J * 0.5;
this.I = this.o + this.K * 0.5;
this.N = this.H;
this.O = this.I;
this.qa = this.oa = this.z = this.w = 0;
this.Y = k;
this.ua = this.Y / 11;
this.ta = this.D = this.u = this.ca = 0;
this.U = Math.atan2(this.K, this.J);
this.T = Math.sin(this.U);
this.da = Math.cos(this.U);
a = Math.PI / 2 - this.U;
this.Ga = Math.sin(a);
this.Fa = Math.cos(a);
this.index = p;
this.lineWidth = e;
this.ea = f;
this.ra = j;
this.S = this.ea;
this.color = this.i;
this.i = Aa(this.ea);
this.V = Aa(this.ra);
this.s = this.b = 0;
this.Q = this.G = this.C = !1;
this.fa = 1;
this.a = l;
this.P = q;
this.g = K;
this.c = (e = this.length > 100) ? 7.5 : 5;
this.Ja = 0.88 + (0.85 - 0.88) * this.ua;
this.Ka = 1.4 + 1.5 * this.ua;
this.R = 0;
if (!this.a)
this.v = document.createElement("div"), this.v.className = "hplogo-str", this.v.style.left = this.k + 1 + "px", this.v.style.top = this.o - 10 + "px", this.v.style.width = this.length, this.La = e ? -475 : -730, this.P.appendChild(this.v)
};
h = za.prototype;
h.na = function() {
if (this.v)
this.P.removeChild(this.v), this.v = g
};
h.Xa = function() {
var a, b;
(this.C || this.Q) && this.w && this.z ? (a = this.w, b = this.z) : (a = this.N, b = this.O);
var c = a - this.k, d = b - this.o, e = this.W - a, f = this.X - b;
this.a ? (this.a.beginPath(), this.a.lineCap = "round", this.a.strokeStyle = this.S, this.a.lineWidth = this.lineWidth, this.a.shadowOffsetX = 2, this.a.shadowOffsetY = 3, this.a.shadowBlur = 2, this.a.shadowColor = "rgba(0, 0, 0, 0.35)", c = Math.sqrt(c * c + d * d), f = Math.sqrt(e * e + f * f), e = 0.45 * c * this.da, c = 0.45 * c * this.T, d = 0.45 * f * this.da, f = 0.45 * f * this.T, this.a.moveTo(this.k, this.o), this.a.bezierCurveTo(a - e, b - c, a + d, b + f, this.W, this.X), this.a.stroke(), this.a.closePath()) : this.v.style.backgroundPosition = this.La + "px " + -(3 + Math.round(d / 2)) * 20 + "px"
};
h.Ya = function() {
this.C ? this.Ea() : this.G && this.Va()
};
h.Va = function() {
if (this.Q) {
this.S = this.ra;
var a = this.oa - this.w, b = this.qa - this.z;
this.w += a * 0.8;
this.z += b * 0.8;
if (Math.abs(a) < 2 && Math.abs(b) < 2)
this.R = 0, this.fa = 1, this.Q = !1, (a >= 0 ? 1 : -1) != (this.T >= 0 ? 1 : -1) && (this.fa *= -1)
} else if (this.color = [this.i[0] + (this.V[0] - this.i[0]) * (this.b > this.c * 0.25 ? 1 : this.b / (this.c * 0.25)), this.i[1] + (this.V[1] - this.i[1]) * (this.b > this.c * 0.25 ? 1 : this.b / (this.c * 0.25)), this.i[2] + (this.V[2] - this.i[2]) * (this.b > this.c * 0.25 ? 1 : this.b / (this.c * 0.25)), this.i[3] + (this.V[3] - this.i[3]) * (this.b > this.c * 0.25 ? 1 : this.b / (this.c * 0.25))], this.S = "rgb(" + Math.round(this.color[0]) + "," + Math.round(this.color[1]) + "," + Math.round(this.color[2]) + ")", this.R += this.Ka * this.fa, a = Math.sin(this.R), this.b *= this.Ja, this.N = this.H + a * this.T * this.b, this.O = this.I - a * this.da * this.b, this.b <= 0.15)
this.b = 0, this.G = !1, this.color = this.i, this.S = this.ea, this.g.Ma()
};
h.Ea = function() {
var a = this.g.L(), b = this.g.$(), c = a - this.k, d = b - this.o, e = this.U - Math.atan2(d, c), c = Math.sqrt(c * c + d * d);
this.u = c * Math.sin(e);
this.va(S(c * Math.cos(e) / this.length, 1));
this.s = S(Math.abs(this.u) / this.c, 1);
Math.abs(this.u) > this.ca ? this.Na() : (this.w = a, this.z = b)
};
h.va = function(a) {
this.D = a;
this.ta = this.D <= 0.5 ? this.D / 0.5 : 1 - (this.D - 0.5) / 0.5;
this.ca = this.c * this.ta
};
h.Da = function(a, b, c) {
this.w = a;
this.z = b;
var b = this.g.L() - this.k, d = this.g.$() - this.o;
this.va(S(Math.sqrt(b * b + d * d) / this.length, 1));
this.u = (1 - (c ? 1 : this.g.Z)) * this.ca;
this.s = c ? 1 : S(Math.abs(this.u) / this.c, 1);
if (this.u < 3)
this.u = 3;
this.w += this.u * this.Fa;
this.z += this.u * this.Ga;
this.N = this.H;
this.O = this.I;
this.G ? (this.s = S(this.s / 2 + this.b / this.c, 1), this.b = this.s * this.c) : (this.b = this.s * this.c, this.xa());
this.wa(this.s, this.g.ya(a))
};
h.aa = function() {
this.Da(this.H, this.I, !0)
};
h.Pa = function(a, b) {
this.C = !0;
this.g.M = !0;
this.w = a;
this.z = b;
this.Ea()
};
h.Na = function() {
this.C = !1;
this.N = this.H;
this.O = this.I;
this.b = this.s * this.c;
this.wa(this.s, this.g.ya(this.g.L()));
this.xa()
};
h.xa = function() {
this.g.M = !0;
this.oa = this.k + this.D * this.J;
this.qa = this.o + this.D * this.K;
this.R = 0;
this.Q = this.G = !0
};
h.wa = function(a, b) {
if (r)
try {
s.playTrack("guitar-" + (this.Y < 10 ? "0" : "") + this.Y, this.Y, 0.4 + (0.6 - 0.4) * a, -0.8 + 1.6 * b)
} catch (c) {
r = !1
}
C && C([this.index - 1])
};
var Ba = function() {
if (r)
for (var a = 0; a < 12; a++)
if (r)
try {
s.stopChannel(a)
} catch (b) {
r = !1
}
}, Da = function() {
v && (Ca("guitar11-sound-player") || Ca("guitar11-sound-player-2"))
}, Ca = function(a) {
return (a = v.getElementById(a)) && a.playTrack ? (s = a, r = !0) : !1
}, T = function(a, b) {
if (a < b)
return -1;
else if (a > b)
return 1;
return 0
}, U = function(a) {
a = a.match(/[\d]+/g);
a.length = 3;
return a.join(".")
}, Ea = function() {
var a = !1, b = "";
if (navigator.plugins && navigator.plugins.length) {
var c = navigator.plugins["Shockwave Flash"];
c && (a = !0, c.description && (b = U(c.description)));
navigator.plugins["Shockwave Flash 2.0"] && (a = !0, b = "2.0.0.11")
} else if (navigator.mimeTypes && navigator.mimeTypes.length)
(a = (c = navigator.mimeTypes["application/x-shockwave-flash"]) && c.enabledPlugin) && (b = U(c.enabledPlugin.description));
else
try {
c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"), a = !0, b = U(c.GetVariable("$version"))
} catch (d) {
try {
c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"), a = !0, b = "6.0.21"
} catch (e) {
try {
c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"), a = !0, b = U(c.GetVariable("$version"))
} catch (f) {
}
}
}
t = a;
aa = b
}, Fa = function() {
for (var a = 0, b = String(aa).replace(/^[\s\xa0]+|[\s\xa0]+$/g, "").split("."), c = String("9.0.0.0").replace(/^[\s\xa0]+|[\s\xa0]+$/g, "").split("."), d = Math.max(b.length, c.length), e = 0; a == 0 && e < d; e++) {
var f = b[e] || "", j = c[e] || "", p = RegExp("(\\d*)(\\D*)", "g"), k = RegExp("(\\d*)(\\D*)", "g");
do {
var l = p.exec(f) || ["", "", ""], q = k.exec(j) || ["", "", ""];
if (l[0].length == 0 && q[0].length == 0)
break;
a = T(l[1].length == 0 ? 0 : parseInt(l[1], 10), q[1].length == 0 ? 0 : parseInt(q[1], 10)) || T(l[2].length == 0, q[2].length == 0) || T(l[2], q[2])
} while (a == 0)
}
return a >= 0
}, W = g, X = function(a, b) {
this.F = a;
this.duration = Math.max(b, 0);
var c = 0;
c += this.F.length == 1 ? 5 : 11;
c += this.duration < Math.pow(2, 5) ? 6 : 21;
this.size = c
};
X.prototype.play = function() {
for (var a = 0; a < this.F.length; ++a)
n.aa(this.F[a])
};
var Y = function(a, b) {
for (var c = [], d = 0; d < b; ++d)
c.push(!!(a & 1)), a >>= 1;
return c
}, Ga = function(a) {
for (var b = [], c = 0; c < 10; ++c)
b.push(!1);
for (c = 0; c < a.length; ++c)
b[a[c]] = !0;
return b
};
X.prototype.ma = function() {
var a = [];
this.F.length == 1 ? (a.push(!1), a = a.concat(Y(this.F[0], 4))) : (a.push(!0), a = a.concat(Ga(this.F)));
this.duration < Math.pow(2, 5) ? (a.push(!1), a = a.concat(Y(this.duration, 5))) : (a.push(!0), a = a.concat(Y(this.duration, 20)));
return a
};
var N = function(a) {
this.d = a || [];
this.ka = g;
for (var b = this.duration = a = 0; b < this.d.length; ++b)
a += this.d[b].size, b != 0 && (this.duration += this.d[b].duration * 50);
this.size = a
};
N.prototype.Qa = function(a) {
this.d.push(a);
this.size += a.size;
this.d.size > 1 && (this.duration += a.duration * 50)
};
N.prototype.Ra = function() {
return (this.size + 4) * 1.37 / 8
};
var Ha = g, Ia = function() {
i == 1 && G(2)
}, Ja = g, Ka = function() {
(i == 1 || i == 2) && G(4)
};
N.prototype.Za = function() {
this.la = 0;
this.B = [];
this.Ua = !0;
var a = this;
this.ka = window.setTimeout(function() {
a.tick(!0)
}, 50);
return function(b) {
a.B.push(b)
}
};
N.prototype.tick = function(a) {
this.la++;
if (this.B && this.B.length > 0) {
var b = this.la;
this.la = 0;
var c;
if (this.B.length == 1)
c = this.B[0];
else {
for (var d = [], e = 0; c = this.B[e++]; )
for (var f = 0; f < c.length; ++f)
d[c[f]] = 1;
c = [];
for (e = 0; e < d.length; ++e)
d[e] && c.push(e)
}
this.B = [];
this.Qa(new X(c, b));
this.d.length == 1 && (window.clearTimeout(Ja), Ja = window.setTimeout(Ka, 28E3), window.clearTimeout(Ha), Ha = window.setTimeout(Ia, 23E3));
b = this.Ra();
if (b >= 1900 || this.duration >= 28E3) {
G(4);
return
} else
b >= 1800 && G(2)
}
if (a) {
var j = this;
this.ka = window.setTimeout(function() {
j.tick(!0)
}, 50)
}
};
N.prototype.stop = function() {
window.clearTimeout(this.ka);
this.tick(!1);
if (this.d.length > 0)
this.d[0].duration = 0;
this.Ua = !1
};
N.prototype.play = function(a) {
if (i == 5)
if (this.duration > 28E3)
i == 5 && G(4);
else {
var b = a || 0;
b > 0 && this.d[b - 1].play();
if (b >= this.d.length)
i == 5 && G(4);
else {
var c = this;
window.setTimeout(function() {
c.play(b + 1)
}, this.d[b].duration * 50)
}
}
};
eval("google.doodle.mod = (function(a,n){return a" + "%%".charAt(0) + "n;})");
N.prototype.ma = function() {
for (var a = [], b = 0; b < this.d.length; ++b)
a = a.concat(this.d[b].ma());
for (window.bits = a; google.doodle.mod(a.length, 8) != 0; )
a.push(!1);
return a
};
N.prototype.Wa = function() {
if (this.d.length == 0)
return g;
var a = "http://www.google.com/webhp?", b;
if (b = window.location.toString()) {
b = b.match(/\?[^#]*/);
b = (b && b.length > 0 ? b[0].substr(1) : "").split("&");
for (var c = {}, d = 0; d < b.length; ++d) {
var e = b[d];
e && (e = e.split("="), c[e[0]] = e[1] || "")
}
b = c
} else
b = {};
(b = b.hl) && (a += "hl=" + b + "&");
a += "tune=";
c = this.ma();
b = [];
for (d = 0; d < c.length; d += 8) {
for (var f = e = 0; f < 8; ++f)
e *= 2, e |= c[d + f] ? 1 : 0;
b.push(e)
}
if (!W) {
W = {};
for (c = 0; c < 65; c++)
W[c] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_*".charAt(c)
}
c = W;
d = [];
for (e = 0; e < b.length; e += 3) {
var j = b[e], p = (f = e + 1 < b.length) ? b[e + 1] : 0, k = e + 2 < b.length, l = k ? b[e + 2] : 0, q = j >> 2, j = (j & 3) * 16 | p >> 4, p = (p & 15) * 4 | l >> 6;
l &= 63;
k || (l = 64, f || (p = 64));
d.push(c[q], c[j], c[p], c[l])
}
return a + d.join("")
};
var Z = function() {
if (google.rein && google.dstr && !google.doodle.$a)
google.doodle.$a = !0, google.rein.push(Z), google.dstr.push($);
if (document.getElementById("hplogo")) {
$();
google.psy && google.psy.q && google.msg && google.msg.listen(22, function() {
$();
return !0
});
google.doodle.url = ma;
o = document.getElementById("hplogo-g");
w = document.createElement("canvas");
w.getContext ? (w.width = 474, w.height = 175, w.hideFocus = !0, ba = w.getContext("2d"), o.appendChild(w)) : w = g;
ta();
n = new ya(ba, o);
r = !1;
Ea();
if (t && Fa()) {
google.doodle.flashLoaded = Da;
u = document.createElement("iframe");
u.name = "doodle-sound";
u.style.position = "absolute";
u.style.top = "-150px";
u.style.border = 0;
u.style.width = "100px";
u.style.height = "100px";
document.getElementById("hplogo").appendChild(u);
v = u.contentDocument;
if (v == void 0 || v == g)
v = u.contentWindow.document;
v.open();
v.write("<html><head></head><body><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"0\" height=\"0\" id=\"guitar11-sound-player\" type=\"application/x-shockwave-flash\"><param name=\"movie\" value=\"/logos/swf/guitar11.swf\"><param name=\"allowScriptAccess\" value=\"always\"><object id=\"guitar11-sound-player-2\" type=\"application/x-shockwave-flash\" data=\"/logos/swf/guitar11.swf\" width=\"0\" height=\"0\"><param name=\"allowScriptAccess\" value=\"always\"></object></object></body></html>");
v.close()
}
var a = document.getElementById("hplogot");
a && (oa = typeof a.style.opacity != "undefined");
va();
m = !0;
La();
if (da)
try {
document.execCommand("BackgroundImageCache", !1, !0)
} catch (b) {
}
}
}, La = function() {
n && (n.bb(), ca = window.setTimeout(La, 30));
var a = document.getElementById("hplogo-led");
if (a && H)
a.style.backgroundPosition = -540 - 23 * Math.abs(Math.round(5 * Math.sin(H * Math.PI / 12))) + "px -139px", H++
}, M = function() {
var a = document.getElementById("hplogo-led");
if (a)
a.style.backgroundPosition = "1000px 1000px"
}, $ = function() {
try {
window.clearTimeout(ca);
P();
Ba();
ia();
n && (n.na(), n = g);
u && (D(u), u = g, r = !1);
w && (D(w), w = g);
B && B.stop();
C = B = g;
G(0);
var a = document.getElementById("hplogo-lcd-text");
if (a)
a.value = "";
var b = document.getElementById("hplogo-lcd-screen");
if (b)
b.style.backgroundPosition = "1000px 1000px";
M();
google.msg && window.setTimeout(function() {
google.msg.unlisten(22, $)
}, 0)
} catch (c) {
}
};
google.doodle.cpDestroy = $;
google.doodle.go = function() {
google.nav && google.nav.go ? google.nav.go("/search?q=Les+Paul&ct=lespaul11-hp&oi=ddle") : window.location.href = "/search?q=Les+Paul&ct=lespaul11-hp&oi=ddle"
};
google.x ? google.x("DOODLE", Z) : Z()
} catch (Ma) {
google.ml(Ma, !1, {cause: "DOODLE"})
}
;
})();
</script><script>
window.google = {kEI: "2FDwTeO5IJC0sAPI7dybDg",kEXPI: "25657,28505,29689,29696,29795,29822,30097,30731,30785,30810",kCSI: {e: "25657,28505,29689,29696,29795,29822,30097,30731,30785,30810",ei: "2FDwTeO5IJC0sAPI7dybDg",expi: "25657,28505,29689,29696,29795,29822,30097,30731,30785,30810"},authuser: 0,ml: function() {
},pageState: "#",kHL: "en",time: function() {
return (new Date).getTime()
},
log: function(c, d, b) {
var a = new Image, e = google, g = e.lc, f = e.li;
a.onerror = (a.onload = (a.onabort = function() {
delete g[f]
}));
g[f] = a;
b = b || "/gen_204?atyp=i&ct=" + c + "&cad=" + d + "&zx=" + google.time();
a.src = b;
e.li = f + 1
},lc: [],li: 0,j: {en: 1,l: function() {
google.fl = true
},e: function() {
google.fl = true
},b: location.hash && location.hash != "#",bv: 8,pm: "p",
pl: [],mc: 0,sc: 0.5,u: "bf6bdfe8"},Toolbelt: {}};
(function() {
var c = google.j;
window.onpopstate = function() {
c.psc = 1
};
for (var d = 0, b; b = ["ad",
"bc", "is", "p", "pa", "ac", "pc", "pah", "ph", "sa", "slp", "spf", "xx", "zc", "zz"][d++]; )
(function(a) {
c[a] = function() {
c.pl.push([a, arguments])
}
})(b)
})();
if (!window.chrome)
window.chrome = {};
window.chrome.sv = 1.00;
window.google.sn = "webhp";
var i = window.google.timers = {};
window.google.startTick = function(a, b) {
i[a] = {t: {start: (new Date).getTime()},bfr: !(!b)}
};
window.google.tick = function(a, b, c) {
if (!i[a])
google.startTick(a);
i[a].t[b] = c || (new Date).getTime()
};
google.startTick("load", true);
try {
window.google.pt = window.chrome && window.chrome.csi && Math.floor(window.chrome.csi().pageT);
} catch (v) {
}
</script> <script>
var _gjwl = location;
function _gjuc() {
var b = _gjwl.href.indexOf("#");
if (b >= 0) {
var a = _gjwl.href.substring(b + 1);
if (/(^|&)q=/.test(a) && a.indexOf("#") == -1 && !/(^|&)cad=h($|&)/.test(a)) {
_gjwl.replace("/search?" + a.replace(/(^|&)fp=[^&]*/g, "") + "&cad=h");
return 1
}
}
return 0
}
function _gjp() {
!(window._gjwl.hash && window._gjuc()) && setTimeout(_gjp, 500)
}
;
google.y = {};
google.x = function(e, g) {
google.y[e.id] = [e, g];
return false
};
if (!window.google)
window.google = {};
window.google.crm = {};
window.google.cri = 0;
window.clk = function(e, f, g, l, m, b, n, h) {
if (document.images) {
var a = encodeURIComponent || escape, c = new Image, i = window.google.cri++;
window.google.crm[i] = c;
c.onerror = (c.onload = (c.onabort = function() {
delete window.google.crm[i]
}));
if (b && b.substring(0, 6) != "&sig2=")
b = "&sig2=" + b;
c.src = ["/url?sa=T", "", "&cd=", a(m), h ? "&authuser=" + a(h) : "", google.j && google.j.pf ?
"&sqi=2" : "", "&ved=", a(n), e ? "&url=" + a(e.replace(/#.*/, "")).replace(/\+/g, "%2B") : "", "&ei=", "2FDwTeO5IJC0sAPI7dybDg", b].join("")
}
return true
};
(function() {
try {
var e = true, k = false;
var m = window.gbar = window.gbar || {};
function _tvn(a, b) {
var c = parseInt(a, 10);
return isNaN(c) ? b : c
}
function _tvf(a, b) {
var c = parseFloat(a);
return isNaN(c) ? b : c
}
function _tvb(a, b) {
return a == "true" ? e : a == "false" ? k : b
}
function _tvv(a) {
return !!a
}
function n(a, b, c) {
(c || m)[a] = b
}
m.bv = {n: _tvn("2", 0),r: "r_gc.r_pw.",m: _tvn("1", 1)};
var aa = function() {
return m.bv.m == 1
};
n("sb", aa);
var o = {}, ba = {}, p = [], ca = function(a, b) {
p.push([a, b])
}, da = function(a, b) {
o[a] = b
}, ea = function(a) {
return a in o
}, q = {}, s = function(a, b) {
q[a] || (q[a] = []);
q[a].push(b)
}, t = function(a) {
s("m", a)
}, u = function(a) {
var b = document.createElement("script");
b.src = a;
(document.getElementById("xjsc") || document.body).appendChild(b)
}, w = function(a) {
for (var b = 0, c; c = p[b]; ++b)
if (c[0] == a)
break;
if (c && !c[1].l) {
v(2, a);
u(c[1].url)
}
}, x = function(a) {
s("gc", a)
}, y = null, fa = function(a) {
y = a
}, v = function(a, b, c) {
if (y) {
a = {t: a,b: b};
if (c)
for (var d in c)
a[d] =
c[d];
try {
y(a)
} catch (f) {
}
}
};
n("mdc", o);
n("mdi", ba);
n("bnc", p);
n("qGC", x);
n("qd", q);
n("lb", w);
n("mcf", da);
n("bcf", ca);
n("aq", s);
n("mdd", "");
n("has", ea);
n("trh", fa);
n("tev", v);
var z = function() {
}, A = function() {
}, D = function(a) {
var b = new Image, c = B;
b.onerror = b.onload = b.onabort = function() {
try {
delete C[c]
} catch (d) {
}
};
C[c] = b;
b.src = a;
B = c + 1
}, C = [], B = 0;
n("logger", {il: A,ml: z});
var E = window.gbar.logger, F = _tvf("0.001", 1.0E-4), G = 0;
function _mlToken(a, b) {
try {
if (G < 1) {
G++;
var c, d = a, f = b || {}, g = encodeURIComponent, h = ["//www.google.com/gen_204?atyp=i&zx=", (new Date).getTime(), "&jexpid=", g("28832"), "&srcpg=", g("prop=1"), "&jsr=", Math.round(1 / F), "&ogv=", g("1306536165.0")];
if (f._sn)
f._sn = "og." + f._sn;
for (var l in f) {
h.push("&");
h.push(g(l));
h.push("=");
h.push(g(f[l]))
}
h.push("&emsg=");
h.push(g(d.name + ":" + d.message));
var i = h.join("");
if (J(i))
i = i.substr(0, 2E3);
c = i;
var j = window.gbar.logger._aem(a,
c);
D(j)
}
} catch (r) {
}
}
var J = function(a) {
return a.length >= 2E3
}, ga = function(a, b) {
return b
};
function K(a) {
z = a;
n("_itl", J, E);
n("_aem", ga, E);
n("ml", z, E);
a = {};
o.er = a
}
if (_tvv(""))
K(function(a) {
throw a;
});
else
Math.random() < F && K(_mlToken);
var ha = ["gb_71", "gb_155"];
function ia(a) {
try {
var b = (document.forms[0].q || "").value;
if (b)
a.href = a.href.replace(/([?&])q=[^&]*|$/, function(d, f) {
return (f || "&") + "q=" + encodeURIComponent(b)
})
} catch (c) {
z(c)
}
}
var L = function() {
for (var a = [], b = 0, c; c = ha[b]; ++b)
(c = document.getElementById(c)) && a.push(c);
return a
}, ja = function() {
var a = L();
return a.length > 0 ? a[0] : null
}, ka = function() {
return document.getElementById("gb_70")
}, M = {}, N = {}, O = {}, P = undefined, ma = function(a, b) {
try {
var c = document.getElementById("gb");
Q(c, "gbpdjs");
if (b && b.getAttribute) {
var d = b.getAttribute("aria-owns");
if (d.length) {
var f = document.getElementById(d);
if (f) {
var g = b.parentNode;
if (P == d) {
P = undefined;
R(g, "gbto")
} else {
if (P) {
var h = document.getElementById(P);
if (h && h.getAttribute) {
var l = h.getAttribute("aria-owner");
if (l.length) {
var i = document.getElementById(l);
i && i.parentNode && R(i.parentNode, "gbto")
}
}
}
P = d;
Q(g, "gbto")
}
}
}
}
t(function() {
m.tg(a, b, e)
});
la(a)
} catch (j) {
z(j)
}
}, na = function(a) {
t(function() {
m.close(a)
})
}, Q = function(a, b) {
var c = a.className;
S(a, b) || (a.className += (c != "" ? " " : "") + b)
}, R = function(a, b) {
var c = a.className, d = RegExp("\\s?\\b" + b + "\\b");
if (c && c.match(d))
a.className = c.replace(d, "")
}, S = function(a, b) {
var c = RegExp("\\b" + b + "\\b"), d = a.className;
return !!(d &&
d.match(c))
}, T = function(a, b, c) {
if (a)
try {
var d = document.getElementById("gbd5").firstChild, f = d.firstChild, g = document.createElement("li");
g.className = b + " gbmtc";
g.id = c;
a.className = "gbmt";
g.appendChild(a);
if (f.hasChildNodes()) {
c = [["gbkc"], ["gbf", "gbe", "gbn"], ["gbkp"]];
d = 0;
for (var h = f.childNodes.length, l = k, i = -1, j = 0, r; r = c[j]; j++) {
for (var W = 0, H; H = r[W]; W++) {
for (; d < h && S(f.childNodes[d], H); )
d++;
if (H == b) {
f.insertBefore(g, f.childNodes[d]);
l = e;
break
}
}
if (l) {
if (d + 1 < f.childNodes.length && S(f.childNodes[d + 1], "gbkp"))
i =
d + 1;
break
}
if (d > 0 && d + 1 < h)
d++;
else if (d > 0 && d == h - 1)
i = d
}
if (i >= 0) {
var I = document.createElement("li"), X = document.createElement("div");
I.className = "gbmtc";
X.className = "gbmt gbmh";
I.appendChild(X);
f.insertBefore(I, f.childNodes[i])
}
m.addHover && m.addHover(a)
} else
f.appendChild(g)
} catch (qa) {
z(qa)
}
}, oa = function(a, b, c) {
T(a, b, c)
}, pa = function(a, b) {
T(a, "gbe", b)
}, ra = function() {
t(function() {
m.pcm && m.pcm()
})
}, sa = function(a, b, c, d, f, g, h, l) {
t(function() {
m.paa && m.paa(a, b, c, d, f, g, h, l)
})
}, U = function(a, b) {
M[a] || (M[a] = []);
M[a].push(b)
}, ta = function(a, b) {
N[a] || (N[a] = []);
N[a].push(b)
}, ua = function(a, b) {
O[a] || (O[a] = []);
O[a].push(b)
}, la = function(a) {
a.preventDefault && a.preventDefault();
a.returnValue = k;
a.cancelBubble = e
}, va = function(a) {
a && R(a, "gbmsgo")
}, wa = function(a, b) {
if (a) {
var c;
a: {
c = a;
for (var d = 0, f; f = c.childNodes[d]; d++)
if (S(f, "gbmsg")) {
c = f;
break a
}
c = void 0
}
if (c) {
Q(a, "gbmsgo");
c.innerHTML = "";
c.appendChild(document.createTextNode(b))
}
}
};
n("so", ja);
n("sos", L);
n("si", ka);
n("tg", ma);
n("close", na);
n("addLink", oa);
n("addExtraLink", pa);
n("pcm", ra);
n("paa", sa);
n("rd", va);
n("msg", wa);
n("ca", Q);
n("cr", R);
n("cc", S);
n("bh", M);
n("abh", U);
n("dh", N);
n("adh", ta);
n("ch", O);
n("ach", ua);
n("qs", ia);
var xa = {};
o.base = xa;
p.push(["m", {url: "//ssl.gstatic.com/gb/js/sem_ed641342425dad707558dbe5e8566f0d.js"}]);
var V = _tvn("1", 0), ya = function(a) {
var b, c;
if ((b = a.id) && (c = /^gb_(\d+)/.exec(b)))
if (c[1] == V)
return;
m.qs(a)
}, za = /\bgbmt\b/, Y = function(a) {
if (za.test(a.className))
return "gbm0l";
return "gbz0l"
}, Aa = function(a) {
try {
var b = document.getElementById("gb_" + V), c = document.getElementById("gb_" + a);
b && R(b, Y(b));
c && Q(c, Y(c))
} catch (d) {
z(d)
}
V = a
};
n("qsj", ya);
n("slp", Aa);
if (_tvv("1")) {
var Ba = _tvb("false", k);
p.push(["gc", {auto: Ba,url: "https://ssl.gstatic.com/gb/js/gcm_26687fe8dd3f9bb1ee70c81eba4c0ca4.js"}]);
var Ca = {version: "gcm_26687fe8dd3f9bb1ee70c81eba4c0ca4.js",index: "0",lang: "en"};
o.gc = Ca;
var Z = function(a) {
if (window.googleapis)
a && a();
else {
a && x(a);
w("gc")
}
};
n("lGC", Z);
_tvv("1") && n("lPWF", Z)
}
window.__PVT = "APfa0bpQ_QLmuux8SQ5AwuX6BymkflRGbPBQ6eLAqnZBZeZF2U4zO0B8ZOvob9Ya3WBZB7FePeNuGCgvZI1zO8pZypHXrZIOLA==";
var Da = _tvf("0.001", 1.0E-4), Ea = _tvf("0.01", 1);
function Fa(a, b) {
var c = Da, d;
d = a <= 14 ? a == 7 || a == 8 || a == 12 ? k : e : k;
if (d)
c = Ea;
if (Math.random() <= c) {
d = encodeURIComponent;
c = ["//www.google.com/gen_204?atyp=i&zx=", (new Date).getTime(), "&oge=", a, "&ogex=", d("28832"), "&ogp=", d("1"), "&ogsr=", Math.round(1 / c), "&ogv=", d("1306536165.0")];
if (b) {
c.push("&ogad=");
c.push(d(Ga(b)))
}
D(c.join(""))
}
}
function Ga(a) {
var b = [], c;
for (c in a) {
b.length != 0 && b.push(",");
b.push(c);
b.push(".");
b.push(a[c])
}
return b.join("")
}
A = Fa;
n("il", A, E);
var Ha = {};
o.il = Ha;
var Ia = function() {
m.prm && m.prm()
};
U("gbd4", Ia);
if (_tvb("true", e)) {
var Ja = {g: _tvb("false", k),d: _tvb("false", k),e: "dvpdiner2@gmail.com",m: "gmail.com",p: "//lh5.googleusercontent.com/-VwA47ijxTk4/AAAAAAAAAAI/AAAAAAAAAAA/CcqFJ7qxycw/s96-c/photo.jpg",xa: _tvb("false", e),xp: _tvb("true", e),mg: "%1$s (delegated)",md: "%1$s (default)"};
o.prf = Ja
}
if (_tvv("1") && _tvv("1")) {
var $ = function(a) {
Z(function() {
s("pw", a);
w("pw")
})
};
n("lPW", $);
p.push(["pw", {url: "//ssl.gstatic.com/gb/js/pwm_8b165cfe9ef9cb149c1f8c4cfac3acb3.js"}]);
var Ka = [], La = function(a) {
Ka[0] = a
}, Ma = {signed: Ka,elog: z,base: "https://profiles.google.com/u/0",loadTime: (new Date).getTime()};
o.pw = Ma;
var Na = function(a, b) {
for (var c = b.split("."), d = function() {
var l = arguments;
a(function() {
for (var i = m, j = 0, r = c.length - 1; j < r; ++j)
i = i[c[j]];
i[c[j]].apply(i, l)
})
}, f = m, g = 0, h = c.length - 1; g < h; ++g)
f = f[c[g]] = f[c[g]] ||
{};
return f[c[g]] = d
};
Na($, "pw.clk");
Na($, "pw.hvr");
n("su", La, m.pw)
}
function Oa() {
function a() {
for (var j; j = g[h++]; )
if (j[0] == "m" || j[1].auto)
break;
if (j) {
v(2, j[0]);
u(j[1].url)
}
h < g.length && setTimeout(a, 0)
}
function b() {
f-- > 0 ? setTimeout(b, 0) : a()
}
var c = _tvb("true", e), d = _tvb("false", k), f = 3, g = p, h = 0, l = window.gbarOnReady;
if (l)
try {
l()
} catch (i) {
z(i)
}
if (d)
n("ldb", a);
else if (c)
window.addEventListener ? window.addEventListener("load", b, k) : window.attachEvent("onload", b);
else
b()
}
n("rdl", Oa);
} catch (e) {
window.gbar && gbar.logger && gbar.logger.ml(e);
}
})();
(function() {
try {
window.gbar.rdl();
} catch (e) {
window.gbar && gbar.logger && gbar.logger.ml(e);
}
})();
</script> <script>
(function(evt) {
with (this.ownerDocument ? this.ownerDocument : {}) {
with (this.form ? this.form : {}) {
with (this) {
return (function(evt) {
google.j.l()
}).call(this, evt);
}
}
}
})
</script> <script>
(function(evt) {
with (this.ownerDocument ? this.ownerDocument : {}) {
with (this.form ? this.form : {}) {
with (this) {
return (function(evt) {
return q.value != ''
}).call(this, evt);
}
}
}
})
</script> <script>
(function(evt) {
with (this.ownerDocument ? this.ownerDocument : {}) {
with (this.form ? this.form : {}) {
with (this) {
return (function(evt) {
window.lol && lol()
}).call(this, evt);
}
}
}
})
</script> <script>
function _gjp() {
!(location.hash && _gjuc()) && setTimeout(_gjp, 500);
}
google.j[1] = {cc: [],co: ['body', 'footer', 'xjsi'],pc: [],css: document.getElementById('gstyle').innerHTML,main: '<span class=ctr-p id=body></span>' + '<span class=ctr-p id=footer></span>' + '<span id=xjsi></span>',bl: ['mngb', 'gb_']};
</script><script>
function wgjp() {
var xjs = document.createElement('script');
xjs.src = '/extern_chrome/d00794a945e60248.js';
(document.getElementById('xjsd') || document.body).appendChild(xjs)
}
;
</script> <script>
if (google.y)
google.y.first = [];
google.dlj = function(b) {
window.setTimeout(function() {
var a = document.createElement("script");
a.src = b;
document.getElementById("xjsd").appendChild(a)
}, 0)
};
if (google.y)
google.y.first = [];
if (!google.xjs) {
google.dstr = [];
google.rein = [];
if (google.timers && google.timers.load.t) {
google.timers.load.t.xjsls = new Date().getTime();
}
google.dlj('/extern_js/f/CgJlbhICY2ErMEU4ACwrMFo4ACwrMA44ACwrMBc4ACwrMDw4ACwrMFE4ACwrMFk4ACwrMAo4AEAdmgICcHMsKzAWOAAsKzAZOAAsKzAhOAAsKzAlOAAsKzAqOAAsKzArOAAsKzA1OAAsKzBAOAAsKzBBOAAsKzBNOAAsKzBOOAAsKzBTOACaAgZzZWFyY2gsKzBUOAAsKzBfOAAsKzBjOAAsKzBpOAAsKzAdOAAsKzBcOAAsKzBvOAAsKzAYOAAsKzAmOAAsgAJIkAJA/MnhdGhQJ39k.js');
google.xjs = 1
}
google.neegg = 1;
google.mc = [];
google.mc = google.mc.concat([[69, {}], [14, {}], [60, {}], [81, {}], [42, {}], [43, {}], [83, {"bih": 965,"biw": 1680}], [95, {"kfe": {"kfeHost": "clients1.google.ca","kfeUrlPrefix": "/webpagethumbnail?c=11\u0026r=2\u0026f=2\u0026s=300:585\u0026query=\u0026hl=en\u0026gl=ca","maxPrefetchConnections": 2,"prefetch": 90,"slowConnection": false},"logging": {"csiFraction": 0.050,"gen204Fraction": 0.050},"msgs": {"loading": "Still loading...","mute": "Mute","noPreview": "Preview not available","sound": "Sound:","soundOff": "off","soundOn": "on","unmute": "Unmute"},"pb": {"desiredHeight": 585,"desiredWidth": 300,"minHeight": 200,"minWidth": 300},"time": {"hoverClose": 300,"hoverModeTimeout": 60,"hoverOpen": 125,"loading": 100,"longHoverOpen": 725,"prefetchOnLoad": 3000,"timeout": 2500}}], [78, {}], [25, {"m": {"bks": true,"blg": true,"dsc": true,"evn": true,"frm": true,"isch": true,"klg": true,"mbl": true,"nws": true,"plcs": true,"ppl": true,"prc": true,"pts": true,"rcp": true,"shop": true,"vid": true},"t": null}], [33, {"gl": "ca","msgs": {"r": "Show more starred results","s": "Hide more starred results"},"pb": "-159px -55px","q": ""}], [64, {}], [105, {}], [22, {"m_errors": {"32": "Sorry, no more results to show.","default": "\u003Cfont color=red\u003EError:\u003C/font\u003E The server could not complete your request. Try again in 30 seconds."},"m_tip": "Click for more information"}], [77, {}], [84, {}], [99, {}], [29, {"mcr": 5}], [92, {"avgTtfc": 2000,"fd": 1000,"fl": true,"focus": true,"hpt": 250,"kn": true,"mds": "clir,clue,dfn,evn,frim,klg,prc,rl,show,sp,sts,ww,mbl_he,mbl_hs,mbl_re,mbl_rs,mbl_sv,isch","msg": {"dym": "Did you mean:","gs": "Google Search","kntt": "Use the up and down arrow keys to select each result. Press Enter to go to the selection.","sif": "Search instead for","srf": "Showing results for"},"odef": true,"ophe": true,"optIn": true,"pq": true,"rpt": 50,"tct": " ?","tdur": 50}], [111, {"gl": "ca","hl": "en","msg": {"cprpt": "Recently picked","cpyc": "From your computer","cpyppt": "Your Picasa Web photos","cpyrpt": "Your recent picks","ld": "Loading..."}}], [24, {}], [38, {}]]);
(function() {
var r = (function() {
google.y.first.push(function() {
try {
var form = document.f || document.f || document.gs;
google.ac.i(form, form.q, '', '', '', {o: 1,sw: 1});
(function() {
function e() {
var a = null;
if (window.ActiveXObject) {
a = new ActiveXObject("Msxml2.XMLHTTP");
if (!a)
a = new ActiveXObject("Microsoft.XMLHTTP")
} else if (window.XMLHttpRequest)
a = new XMLHttpRequest;
return a
}
function f(a) {
if (window.execScript)
window.execScript(a, "JavaScript");
else if (window.eval) {
var b = null;
window.eval("var _et_ = 1;");
if (typeof window._et_ != "undefined") {
delete window._et_;
b = true
} else
b = false;
if (b)
window.eval(a);
else {
var d = window.document, c = d.createElement("script");
c.type = "text/javascript";
c.defer =
false;
c.appendChild(d.createTextNode(a));
d.body.appendChild(c);
d.body.removeChild(c)
}
}
}
function g(a) {
var b = a;
if (b && b.length > 0) {
b = b.substring(27);
if (b.substring(0, 6) == "initcp")
b = "google.cp." + b
}
f(b)
}
function h(a) {
if (a.readyState == 4 && (a.status == 200 || a.status == 304))
try {
g(a.responseText)
} catch (b) {
}
}
function i() {
if (window.google && (!window.google.cp || window.google.cp.initcp && !window.google.cp.o)) {
window.google.cp = window.google.cp || {};
window.google.cp.o = {l: "\x3cstyle\x3e#hplogo:active,#hplogo:focus{outline:none}#hplogo-g{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat 0 0;height:175px;position:relative;width:474px}#hplogo-click{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -2000px -2000px;cursor:pointer;height:130px;left:0;position:absolute;top:0;width:474px}#hplogo-lcd{height:30px;left:70px;position:absolute;top:129px;width:200px}#hplogo-lcd-icon{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -580px -162px;cursor:pointer;height:0;position:absolute;width:0}#hplogo-lcd-text{background:transparent;border:0 none;color:#666;cursor:text;font-family:\x22VT323\x22,arial,sans-serif;font-size:14px;left:77px;position:absolute;top:134px;text-decoration:none;width:182px}#hplogo-lcd-screen{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -2000px -2000px;height:20px;left:52px;position:absolute;top:134px;width:214px}#hplogo-on{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -809px -39px;height:37px;left:272px;position:absolute;top:123px;width:62px}#hplogo-led{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -2000px -2000px;height:21px;left:292px;position:absolute;top:133px;width:21px}.hplogo-str{background:url(logos/2011/guitar11-hp-sprite.png) no-repeat -530px -60px;height:20px;position:absolute;width:255px}#hplogot{-webkit-box-shadow:5px 5px 10px #ddd;-moz-box-shadow:5px 5px 10px #ddd;box-shadow:5px 5px 10px #ddd;-webkit-transition:opacity 0.5s ease-out;-moz-transition:opacity 0.5s ease-out;-o-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#ffffca;border:1px solid #b5b5b5;cursor:pointer;display:none;font:normal 9pt arial,sans-serif;left:128px;opacity:0;padding:2px 3px;position:absolute;top:16px;white-space:nowrap}\x3c/style\x3e\x3cdiv id\x3dhplogo border\x3d0\x3e\x3cdiv id\x3dhplogo-g\x3e\x3cdiv id\x3dhplogo-click onclick\x3d\x22google.doodle.go();\x22\x3e\x3c/div\x3e\x3cdiv id\x3dhplogo-lcd-screen\x3e\x3c/div\x3e\x3cdiv id\x3dhplogo-lcd-icon\x3e\x3c/div\x3e\x3cinput id\x3dhplogo-lcd-text value\x3d\x22\x22 autocomplete\x3doff onclick\x3d\x22this.focus();this.select()\x22 readonly\x3dreadonly\x3e\x3cdiv id\x3dhplogo-on\x3e\x3c/div\x3e\x3cdiv id\x3dhplogo-led\x3e\x3c/div\x3e\x3cdiv id\x3dhplogot\x3eLes Paul\x26#39;s 96th Birthday\x3c/div\x3e\x3c/div\x3e\x3cdiv style\x3d\x22height:0;left:-100px;overflow:hidden;position:absolute;top:-100px;width:0\x22\x3e\x3cinput id\x3dhplogo-i\x3e\x3c/div\x3e\x3c/div\x3e\x3cscript\x3e(function(){var g\x3dnull,h;try{if(!google.doodle)google.doodle\x3d{};var i,m,n,o,r,s,t,u,v,aa,w,ba,ca,da\x3dnavigator.userAgent.indexOf(\x22MSIE\x22)\x3e\x3d0,ea\x3d[[3,\x22#776a62\x22,\x22#2063ff\x22,2,[[28,23],[103,23]]],[5,\x22#776a62\x22,\x22#f61b33\x22,2,[[28,38],[103,38]]],[0,\x22#776a62\x22,\x22#ffdd24\x22,2,[[65,67],[318,67]]],[2,\x22#776a62\x22,\x22#07d238\x22,2,[[28,81],[281,81]]],[7,\x22#776a62\x22,\x22#2063ff\x22,1,[[28,96.5],[281,96.5]]],[9,\x22#776a62\x22,\x22#f61b33\x22,1,[[29,111.5],[104,111.5]]],[1,\x22#776a62\x22,\x22#07d238\x22,2,[[358,66],[433,66]]],[4,\x22#776a62\x22,\x22#2063ff\x22,2,[[358,81],[433,81]]],[6,\x22#776a62\x22,\x22#f61b33\x22,2,[[330,96],[405,96]]],[8,\x22#776a62\x22,\x22#ffdd24\x22,1,[[358,111.5],[434,111.5]]]],fa\x3d0,ga\x3d0,x\x3d0,y\x3d0,z\x3d!0,A\x3d[],B\x3dg,C\x3dg,D\x3dfunction(a){a\x26\x26a.parentNode\x26\x26a.parentNode.removeChild(a)},E\x3dfunction(a,b,c){if(a){if(!google.doodle.ba)google.doodle.ba\x3d[];google.doodle.ba.push(arguments);var d\x3da,e\x3db,f\x3dc;d.addEventListener?d.addEventListener(e,f,!1):d.attachEvent(\x22on\x22+e,f)}},ha\x3dfunction(a,b,c){a\x26\x26(a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent(\x22on\x22+b,c))},ia\x3dfunction(){if(google.doodle.ba)for(var a;a\x3dgoogle.doodle.ba.pop();)ha.apply(g,a)},F\x3dfunction(a){a?a.stopPropagation\x26\x26a.stopPropagation():window.event.cancelBubble\x3d!0;return!1},G\x3dfunction(a){if(i!\x3d\x3da){var b\x3di;i\x3da;for(a\x3d0;a\x3cA.length;++a)A[a](b)}},H\x3d0;A.push(function(){var a\x3ddocument.getElementById(\x22hplogo-on\x22);if(a)if(i\x3d\x3d4)a.style.backgroundPosition\x3d\x22-809px 0\x22;else{a.style.backgroundPosition\x3d\x22-809px -39px\x22;a\x3ddocument.forms.f||document.forms.gs||document.forms.ab;try{a.q.focus()}catch(b){}}});var ja\x3dfunction(a){G(i\x3d\x3d4?0:4);return F(a)},I\x3dg,la\x3dfunction(a){D(document.getElementById(\x22goo-gl-script\x22));I\x26\x26window.clearTimeout(I);var b\x3d\x22http://google-lespaul.appspot.com?callback\x3dgoogle.doodle.url\x26url\x3d\x22+encodeURIComponent(a),c\x3ddocument.createElement(\x22script\x22);c.src\x3db;c.id\x3d\x22goo-gl-script\x22;I\x3dwindow.setTimeout(function(){ka(a)},2E3);(document.getElementById(\x22xjsc\x22)||document.body).appendChild(c)},ma\x3dfunction(a){a\x26\x26a.status\x3d\x3d\x22OK\x22\x26\x26!a.error\x26\x26a.id\x26\x26ka(a.id)},ka\x3dfunction(a){if(i\x3d\x3d0||i\x3d\x3d4){window.clearTimeout(I);var b\x3ddocument.getElementById(\x22hplogo-lcd-text\x22);if(b)b.value\x3da,b.select()}},J\x3d[[0,0,0,0,0,0],[-540,-162,9,9,59,139],[-551,-162,9,6,62,139],[-559,-162,11,17,55,138]],L\x3dfunction(a){var b\x3ddocument.getElementById(\x22hplogo-lcd-screen\x22);if(b)b.style.backgroundPosition\x3d\x22-678px -139px\x22;if(b\x3ddocument.getElementById(\x22hplogo-lcd-icon\x22))b.style.backgroundPosition\x3dJ[a][0]+\x22px \x22+J[a][1]+\x22px\x22,b.style.height\x3dJ[a][2]+\x22px\x22,b.style.width\x3dJ[a][3]+\x22px\x22,b.style.left\x3dJ[a][4]+\x22px\x22,b.style.top\x3dJ[a][5]+\x22px\x22};A.push(function(a){var b\x3ddocument.getElementById(\x22hplogo-lcd-text\x22);if(i\x3d\x3d5){if(L(1),b.value\x3d\x3d\x22\x22)b.value\x3d\x22Playing...\x22}else if(B\x26\x26(i\x3d\x3d0||i\x3d\x3d4)){if(L(2),M(),b.value\x3d\x3d\x22Playing...\x22)b.value\x3d\x22\x22}else if(i\x3d\x3d1)L(3),b.value\x3d\x22Recording\x22;if(i!\x3d2\x26\x26(a\x3d\x3d1||a\x3d\x3d2)\x26\x26B)B.stop(),M(),L(B.d.length\x3d\x3d0?0:2),b.value\x3d\x22\x22,C\x3dg,(a\x3dB.Wa())\x26\x26la(a)});var na\x3dfunction(a){B\x26\x26(i\x3d\x3d0||i\x3d\x3d4)?(G(5),B.play()):i\x3d\x3d5\x26\x26G(4);return F(a)};A.push(function(){if(i!\x3d0)try{document.getElementById(\x22hplogo-i\x22).focus()}catch(a){}});A.push(function(){i\x3d\x3d1\x26\x26(B\x3dnew N,C\x3dB.Za())});var oa\x3d!1,O\x3dg,qa\x3dfunction(){P();O\x3dwindow.setTimeout(function(){pa(!0)},1E3)},P\x3dfunction(){O\x26\x26window.clearTimeout(O);O\x3dg;pa(!1)},pa\x3dfunction(a){var b\x3ddocument.getElementById(\x22hplogot\x22);if(b)oa?(b.style.display\x3d\x22block\x22,b.style.opacity\x3da?1:0):b.style.display\x3da?\x22block\x22:\x22none\x22},va\x3dfunction(){E(document,\x22keydown\x22,ra);E(document,\x22mousemove\x22,Q);E(document,\x22touchmove\x22,Q);E(document,\x22touchstart\x22,sa);E(window,\x22resize\x22,ta);var a\x3ddocument.forms.f||document.forms.gs||document.forms.ab;a\x26\x26(E(a.q,\x22blur\x22,function(){m\x3d!1}),E(a.q,\x22focus\x22,function(){m\x3d!0;i!\x3d5\x26\x26G(0)}));E(document.body,\x22mouseout\x22,ua);if(a\x3ddocument.getElementById(\x22hplogo-on\x22))a.onclick\x3dja,a.style.cursor\x3d\x22pointer\x22;if(a\x3ddocument.getElementById(\x22hplogo-led\x22))a.onclick\x3dja,a.style.cursor\x3d\x22pointer\x22;if(a\x3ddocument.getElementById(\x22hplogo-lcd-icon\x22))a.onclick\x3dna;if((a\x3ddocument.getElementById(\x22hplogo-click\x22))\x26\x26!da)a.onmousemove\x3dqa,a.onmouseout\x3dP},sa\x3dfunction(a){var b\x3dwa(a);b[0]\x3e\x3dx\x26\x26b[0]\x3c\x3dx+474\x26\x26b[1]\x3e\x3dy\x26\x26b[1]\x3c\x3dy+175\x26\x26a.preventDefault()},wa\x3dfunction(a){a\x3da||window.event;return[(a.clientX||a.targetTouches\x26\x26a.targetTouches[0].clientX||0)+(document.body.scrollLeft||document.documentElement.scrollLeft),(a.clientY||a.targetTouches\x26\x26a.targetTouches[0].clientY||0)+(document.body.scrollTop||document.documentElement.scrollTop)]},Q\x3dfunction(a){a\x3da||window.event;a\x3dwa(a);fa\x3da[0];ga\x3da[1]},xa\x3d{49:2,50:6,51:3,52:0,53:7,54:1,55:8,56:4,57:9,48:5,81:2,87:6,69:3,82:0,84:7,89:1,85:8,73:4,79:9,80:5,65:2,83:6,68:3,70:0,71:7,72:1,74:8,75:4,76:9,186:5,90:2,88:6,67:3,86:0,66:7,78:1,77:8,188:4,190:9,191:5},ra\x3dfunction(a){var b\x3da||window.event;return n\x26\x26!m\x26\x26!b.altKey\x26\x26!b.ctrlKey\x26\x26!b.metaKey\x26\x26(b\x3dxa[b.keyCode],typeof b\x3d\x3d\x22number\x22)?(i\x3d\x3d0\x26\x26G(4),n.aa(b),F(a)):!0},ta\x3dfunction(){z\x26\x26o!\x3dg\x26\x26(z\x3d!1,window.setTimeout(function(){z\x3d!0;var a\x3do,b\x3d0;do b+\x3da.offsetLeft;while(a\x3da.offsetParent);x\x3db;a\x3do;b\x3d0;do b+\x3da.offsetTop;while(a\x3da.offsetParent);y\x3db},30))},ua\x3dfunction(a){(a\x3da||window.event)\x26\x26!a.toElement\x26\x26Q(a)},ya\x3dfunction(a,b){this.a\x3da;this.P\x3db;this.width\x3d474;this.height\x3d175;this.A\x3d[];this.Aa\x3dthis.M\x3d!1;this.Z\x3d0;this.ia\x3dthis.L();this.ja\x3dthis.$();this.ga\x3dnew R(0,0);this.ha\x3dnew R(0,0);this.za\x3d!0;this.Ca\x3d(new Date).getTime();this.Oa();this.Ba()};h\x3dya.prototype;h.Oa\x3dfunction(){for(var a\x3d0,b;b\x3dea[a++];)this.A.push(new za(b[4][0][0],b[4][0][1],b[4][1][0],b[4][1][1],b[3],b[1],b[2],a,b[0],this.a,this.P,this))};h.L\x3dfunction(){return fa-x};h.$\x3dfunction(){return ga-y};h.ya\x3dfunction(a){return S(a,this.width)/this.width};h.bb\x3dfunction(){this.Ta();this.Aa\x26\x26this.Sa();this.M\x26\x26(this.a\x26\x26this.a.clearRect(0,0,this.width,this.height),this.Ba())};h.Ba\x3dfunction(){for(var a\x3d0,b;b\x3dthis.A[a++];)b.Ya(),b.Xa()};h.na\x3dfunction(){if(this.A)for(var a\x3d0,b;b\x3dthis.A[a++];)b.na()};h.Ma\x3dfunction(){for(var a\x3d0,b;b\x3dthis.A[a++];)if(b.C||b.G){this.M\x3d!0;return}this.M\x3d!1};h.Ta\x3dfunction(){var a\x3d(new Date).getTime(),b\x3d(a-this.Ca)/1E3;this.Ca\x3da;var a\x3dthis.L(),c\x3dthis.$();this.ga.x\x3dthis.ia;this.ga.y\x3dthis.ja;this.ha.x\x3da;this.ha.y\x3dc;var d\x3da-this.ia,e\x3dc-this.ja,d\x3dMath.sqrt(d*d+e*e);this.Aa\x3dd\x3e0;this.Z\x3d(this.Z*4+S(((b\x3e0?d/b:0)-70)/1430,1))/5;this.ia\x3da;this.ja\x3dc};h.Sa\x3dfunction(){if(this.za)this.za\x3d!1;else for(var a\x3d0,b;b\x3dthis.A[a++];){var c;c\x3dthis.ga;var d\x3dthis.ha,e\x3db.Ia,f\x3db.Ha,j\x3dd.y-c.y,p\x3df.y-e.y,k\x3dc.x-d.x,l\x3de.x-f.x,q\x3dd.x*c.y-c.x*d.y,K\x3df.x*e.y-e.x*f.y,V\x3dj*l-p*k;V\x3d\x3d0?c\x3dg:(k\x3d(k*K-l*q)/V,j\x3d(p*q-j*K)/V,c\x3dMath.pow(k-d.x,2)+Math.pow(j-d.y,2)\x3eMath.pow(c.x-d.x,2)+Math.pow(c.y-d.y,2)||Math.pow(k-c.x,2)+Math.pow(j-c.y,2)\x3eMath.pow(c.x-d.x,2)+Math.pow(c.y-d.y,2)||Math.pow(k-f.x,2)+Math.pow(j-f.y,2)\x3eMath.pow(e.x-f.x,2)+Math.pow(e.y-f.y,2)||Math.pow(k-e.x,2)+Math.pow(j-e.y,2)\x3eMath.pow(e.x-f.x,2)+Math.pow(e.y-f.y,2)?g:new R(k,j));c\x26\x26!b.C\x26\x26(this.Z\x3c0.4?b.Pa(c.x,c.y):b.Da(c.x,c.y,!1))}};h.aa\x3dfunction(a){a\x3e\x3d0\x26\x26a\x3c12\x26\x26this.A[a].aa()};var S\x3dfunction(a,b){return a\x3c0?0:a\x3eb?b:a},Aa\x3dfunction(a){for(var b\x3d[],a\x3da.match(/[0-9a-f]{2}/gi),c\x3d0,d;d\x3da[c++];)b.push(parseInt(d,16));return b},R\x3dfunction(a,b){this.x\x3da;this.y\x3db},za\x3dfunction(a,b,c,d,e,f,j,p,k,l,q,K){this.k\x3da;this.o\x3db;this.W\x3dc;this.X\x3dd;this.Ia\x3dnew R(this.k,this.o);this.Ha\x3dnew R(this.W,this.X);this.J\x3dthis.W-this.k;this.K\x3dthis.X-this.o;this.length\x3dMath.sqrt(this.J*this.J+this.K*this.K);this.H\x3dthis.k+this.J*0.5;this.I\x3dthis.o+this.K*0.5;this.N\x3dthis.H;this.O\x3dthis.I;this.qa\x3dthis.oa\x3dthis.z\x3dthis.w\x3d0;this.Y\x3dk;this.ua\x3dthis.Y/11;this.ta\x3dthis.D\x3dthis.u\x3dthis.ca\x3d0;this.U\x3dMath.atan2(this.K,this.J);this.T\x3dMath.sin(this.U);this.da\x3dMath.cos(this.U);a\x3dMath.PI/2-this.U;this.Ga\x3dMath.sin(a);this.Fa\x3dMath.cos(a);this.index\x3dp;this.lineWidth\x3de;this.ea\x3df;this.ra\x3dj;this.S\x3dthis.ea;this.color\x3dthis.i;this.i\x3dAa(this.ea);this.V\x3dAa(this.ra);this.s\x3dthis.b\x3d0;this.Q\x3dthis.G\x3dthis.C\x3d!1;this.fa\x3d1;this.a\x3dl;this.P\x3dq;this.g\x3dK;this.c\x3d(e\x3dthis.length\x3e100)?7.5:5;this.Ja\x3d0.88+(0.85-0.88)*this.ua;this.Ka\x3d1.4+1.5*this.ua;this.R\x3d0;if(!this.a)this.v\x3ddocument.createElement(\x22div\x22),this.v.className\x3d\x22hplogo-str\x22,this.v.style.left\x3dthis.k+1+\x22px\x22,this.v.style.top\x3dthis.o-10+\x22px\x22,this.v.style.width\x3dthis.length,this.La\x3de?-475:-730,this.P.appendChild(this.v)};h\x3dza.prototype;h.na\x3dfunction(){if(this.v)this.P.removeChild(this.v),this.v\x3dg};h.Xa\x3dfunction(){var a,b;(this.C||this.Q)\x26\x26this.w\x26\x26this.z?(a\x3dthis.w,b\x3dthis.z):(a\x3dthis.N,b\x3dthis.O);var c\x3da-this.k,d\x3db-this.o,e\x3dthis.W-a,f\x3dthis.X-b;this.a?(this.a.beginPath(),this.a.lineCap\x3d\x22round\x22,this.a.strokeStyle\x3dthis.S,this.a.lineWidth\x3dthis.lineWidth,this.a.shadowOffsetX\x3d2,this.a.shadowOffsetY\x3d3,this.a.shadowBlur\x3d2,this.a.shadowColor\x3d\x22rgba(0, 0, 0, 0.35)\x22,c\x3dMath.sqrt(c*c+d*d),f\x3dMath.sqrt(e*e+f*f),e\x3d0.45*c*this.da,c\x3d0.45*c*this.T,d\x3d0.45*f*this.da,f\x3d0.45*f*this.T,this.a.moveTo(this.k,this.o),this.a.bezierCurveTo(a-e,b-c,a+d,b+f,this.W,this.X),this.a.stroke(),this.a.closePath()):this.v.style.backgroundPosition\x3dthis.La+\x22px \x22+-(3+Math.round(d/2))*20+\x22px\x22};h.Ya\x3dfunction(){this.C?this.Ea():this.G\x26\x26this.Va()};h.Va\x3dfunction(){if(this.Q){this.S\x3dthis.ra;var a\x3dthis.oa-this.w,b\x3dthis.qa-this.z;this.w+\x3da*0.8;this.z+\x3db*0.8;if(Math.abs(a)\x3c2\x26\x26Math.abs(b)\x3c2)this.R\x3d0,this.fa\x3d1,this.Q\x3d!1,(a\x3e\x3d0?1:-1)!\x3d(this.T\x3e\x3d0?1:-1)\x26\x26(this.fa*\x3d-1)}else if(this.color\x3d[this.i[0]+(this.V[0]-this.i[0])*(this.b\x3ethis.c*0.25?1:this.b/(this.c*0.25)),this.i[1]+(this.V[1]-this.i[1])*(this.b\x3ethis.c*0.25?1:this.b/(this.c*0.25)),this.i[2]+(this.V[2]-this.i[2])*(this.b\x3ethis.c*0.25?1:this.b/(this.c*0.25)),this.i[3]+(this.V[3]-this.i[3])*(this.b\x3ethis.c*0.25?1:this.b/(this.c*0.25))],this.S\x3d\x22rgb(\x22+Math.round(this.color[0])+\x22,\x22+Math.round(this.color[1])+\x22,\x22+Math.round(this.color[2])+\x22)\x22,this.R+\x3dthis.Ka*this.fa,a\x3dMath.sin(this.R),this.b*\x3dthis.Ja,this.N\x3dthis.H+a*this.T*this.b,this.O\x3dthis.I-a*this.da*this.b,this.b\x3c\x3d0.15)this.b\x3d0,this.G\x3d!1,this.color\x3dthis.i,this.S\x3dthis.ea,this.g.Ma()};h.Ea\x3dfunction(){var a\x3dthis.g.L(),b\x3dthis.g.$(),c\x3da-this.k,d\x3db-this.o,e\x3dthis.U-Math.atan2(d,c),c\x3dMath.sqrt(c*c+d*d);this.u\x3dc*Math.sin(e);this.va(S(c*Math.cos(e)/this.length,1));this.s\x3dS(Math.abs(this.u)/this.c,1);Math.abs(this.u)\x3ethis.ca?this.Na():(this.w\x3da,this.z\x3db)};h.va\x3dfunction(a){this.D\x3da;this.ta\x3dthis.D\x3c\x3d0.5?this.D/0.5:1-(this.D-0.5)/0.5;this.ca\x3dthis.c*this.ta};h.Da\x3dfunction(a,b,c){this.w\x3da;this.z\x3db;var b\x3dthis.g.L()-this.k,d\x3dthis.g.$()-this.o;this.va(S(Math.sqrt(b*b+d*d)/this.length,1));this.u\x3d(1-(c?1:this.g.Z))*this.ca;this.s\x3dc?1:S(Math.abs(this.u)/this.c,1);if(this.u\x3c3)this.u\x3d3;this.w+\x3dthis.u*this.Fa;this.z+\x3dthis.u*this.Ga;this.N\x3dthis.H;this.O\x3dthis.I;this.G?(this.s\x3dS(this.s/2+this.b/this.c,1),this.b\x3dthis.s*this.c):(this.b\x3dthis.s*this.c,this.xa());this.wa(this.s,this.g.ya(a))};h.aa\x3dfunction(){this.Da(this.H,this.I,!0)};h.Pa\x3dfunction(a,b){this.C\x3d!0;this.g.M\x3d!0;this.w\x3da;this.z\x3db;this.Ea()};h.Na\x3dfunction(){this.C\x3d!1;this.N\x3dthis.H;this.O\x3dthis.I;this.b\x3dthis.s*this.c;this.wa(this.s,this.g.ya(this.g.L()));this.xa()};h.xa\x3dfunction(){this.g.M\x3d!0;this.oa\x3dthis.k+this.D*this.J;this.qa\x3dthis.o+this.D*this.K;this.R\x3d0;this.Q\x3dthis.G\x3d!0};h.wa\x3dfunction(a,b){if(r)try{s.playTrack(\x22guitar-\x22+(this.Y\x3c10?\x220\x22:\x22\x22)+this.Y,this.Y,0.4+(0.6-0.4)*a,-0.8+1.6*b)}catch(c){r\x3d!1}C\x26\x26C([this.index-1])};var Ba\x3dfunction(){if(r)for(var a\x3d0;a\x3c12;a++)if(r)try{s.stopChannel(a)}catch(b){r\x3d!1}},Da\x3dfunction(){v\x26\x26(Ca(\x22guitar11-sound-player\x22)||Ca(\x22guitar11-sound-player-2\x22))},Ca\x3dfunction(a){return(a\x3dv.getElementById(a))\x26\x26a.playTrack?(s\x3da,r\x3d!0):!1},T\x3dfunction(a,b){if(a\x3cb)return-1;else if(a\x3eb)return 1;return 0},U\x3dfunction(a){a\x3da.match(/[\\d]+/g);a.length\x3d3;return a.join(\x22.\x22)},Ea\x3dfunction(){var a\x3d!1,b\x3d\x22\x22;if(navigator.plugins\x26\x26navigator.plugins.length){var c\x3dnavigator.plugins[\x22Shockwave Flash\x22];c\x26\x26(a\x3d!0,c.description\x26\x26(b\x3dU(c.description)));navigator.plugins[\x22Shockwave Flash 2.0\x22]\x26\x26(a\x3d!0,b\x3d\x222.0.0.11\x22)}else if(navigator.mimeTypes\x26\x26navigator.mimeTypes.length)(a\x3d(c\x3dnavigator.mimeTypes[\x22application/x-shockwave-flash\x22])\x26\x26c.enabledPlugin)\x26\x26(b\x3dU(c.enabledPlugin.description));else try{c\x3dnew ActiveXObject(\x22ShockwaveFlash.ShockwaveFlash.7\x22),a\x3d!0,b\x3dU(c.GetVariable(\x22$version\x22))}catch(d){try{c\x3dnew ActiveXObject(\x22ShockwaveFlash.ShockwaveFlash.6\x22),a\x3d!0,b\x3d\x226.0.21\x22}catch(e){try{c\x3dnew ActiveXObject(\x22ShockwaveFlash.ShockwaveFlash\x22),a\x3d!0,b\x3dU(c.GetVariable(\x22$version\x22))}catch(f){}}}t\x3da;aa\x3db},Fa\x3dfunction(){for(var a\x3d0,b\x3dString(aa).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\x22\x22).split(\x22.\x22),c\x3dString(\x229.0.0.0\x22).replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\x22\x22).split(\x22.\x22),d\x3dMath.max(b.length,c.length),e\x3d0;a\x3d\x3d0\x26\x26e\x3cd;e++){var f\x3db[e]||\x22\x22,j\x3dc[e]||\x22\x22,p\x3dRegExp(\x22(\\\\d*)(\\\\D*)\x22,\x22g\x22),k\x3dRegExp(\x22(\\\\d*)(\\\\D*)\x22,\x22g\x22);do{var l\x3dp.exec(f)||[\x22\x22,\x22\x22,\x22\x22],q\x3dk.exec(j)||[\x22\x22,\x22\x22,\x22\x22];if(l[0].length\x3d\x3d0\x26\x26q[0].length\x3d\x3d0)break;a\x3dT(l[1].length\x3d\x3d0?0:parseInt(l[1],10),q[1].length\x3d\x3d0?0:parseInt(q[1],10))||T(l[2].length\x3d\x3d0,q[2].length\x3d\x3d0)||T(l[2],q[2])}while(a\x3d\x3d0)}return a\x3e\x3d0},W\x3dg,X\x3dfunction(a,b){this.F\x3da;this.duration\x3dMath.max(b,0);var c\x3d0;c+\x3dthis.F.length\x3d\x3d1?5:11;c+\x3dthis.duration\x3cMath.pow(2,5)?6:21;this.size\x3dc};X.prototype.play\x3dfunction(){for(var a\x3d0;a\x3cthis.F.length;++a)n.aa(this.F[a])};var Y\x3dfunction(a,b){for(var c\x3d[],d\x3d0;d\x3cb;++d)c.push(!!(a\x261)),a\x3e\x3e\x3d1;return c},Ga\x3dfunction(a){for(var b\x3d[],c\x3d0;c\x3c10;++c)b.push(!1);for(c\x3d0;c\x3ca.length;++c)b[a[c]]\x3d!0;return b};X.prototype.ma\x3dfunction(){var a\x3d[];this.F.length\x3d\x3d1?(a.push(!1),a\x3da.concat(Y(this.F[0],4))):(a.push(!0),a\x3da.concat(Ga(this.F)));this.duration\x3cMath.pow(2,5)?(a.push(!1),a\x3da.concat(Y(this.duration,5))):(a.push(!0),a\x3da.concat(Y(this.duration,20)));return a};var N\x3dfunction(a){this.d\x3da||[];this.ka\x3dg;for(var b\x3dthis.duration\x3da\x3d0;b\x3cthis.d.length;++b)a+\x3dthis.d[b].size,b!\x3d0\x26\x26(this.duration+\x3dthis.d[b].duration*50);this.size\x3da};N.prototype.Qa\x3dfunction(a){this.d.push(a);this.size+\x3da.size;this.d.size\x3e1\x26\x26(this.duration+\x3da.duration*50)};N.prototype.Ra\x3dfunction(){return(this.size+4)*1.37/8};var Ha\x3dg,Ia\x3dfunction(){i\x3d\x3d1\x26\x26G(2)},Ja\x3dg,Ka\x3dfunction(){(i\x3d\x3d1||i\x3d\x3d2)\x26\x26G(4)};N.prototype.Za\x3dfunction(){this.la\x3d0;this.B\x3d[];this.Ua\x3d!0;var a\x3dthis;this.ka\x3dwindow.setTimeout(function(){a.tick(!0)},50);return function(b){a.B.push(b)}};N.prototype.tick\x3dfunction(a){this.la++;if(this.B\x26\x26this.B.length\x3e0){var b\x3dthis.la;this.la\x3d0;var c;if(this.B.length\x3d\x3d1)c\x3dthis.B[0];else{for(var d\x3d[],e\x3d0;c\x3dthis.B[e++];)for(var f\x3d0;f\x3cc.length;++f)d[c[f]]\x3d1;c\x3d[];for(e\x3d0;e\x3cd.length;++e)d[e]\x26\x26c.push(e)}this.B\x3d[];this.Qa(new X(c,b));this.d.length\x3d\x3d1\x26\x26(window.clearTimeout(Ja),Ja\x3dwindow.setTimeout(Ka,28E3),window.clearTimeout(Ha),Ha\x3dwindow.setTimeout(Ia,23E3));b\x3dthis.Ra();if(b\x3e\x3d1900||this.duration\x3e\x3d28E3){G(4);return}else b\x3e\x3d1800\x26\x26G(2)}if(a){var j\x3dthis;this.ka\x3dwindow.setTimeout(function(){j.tick(!0)},50)}};N.prototype.stop\x3dfunction(){window.clearTimeout(this.ka);this.tick(!1);if(this.d.length\x3e0)this.d[0].duration\x3d0;this.Ua\x3d!1};N.prototype.play\x3dfunction(a){if(i\x3d\x3d5)if(this.duration\x3e28E3)i\x3d\x3d5\x26\x26G(4);else{var b\x3da||0;b\x3e0\x26\x26this.d[b-1].play();if(b\x3e\x3dthis.d.length)i\x3d\x3d5\x26\x26G(4);else{var c\x3dthis;window.setTimeout(function(){c.play(b+1)},this.d[b].duration*50)}}};eval(\x22google.doodle.mod \x3d (function(a,n){return a\x22+\x22%%\x22.charAt(0)+\x22n;})\x22);N.prototype.ma\x3dfunction(){for(var a\x3d[],b\x3d0;b\x3cthis.d.length;++b)a\x3da.concat(this.d[b].ma());for(window.bits\x3da;google.doodle.mod(a.length,8)!\x3d0;)a.push(!1);return a};N.prototype.Wa\x3dfunction(){if(this.d.length\x3d\x3d0)return g;var a\x3d\x22http://www.google.com/webhp?\x22,b;if(b\x3dwindow.location.toString()){b\x3db.match(/\\?[^#]*/);b\x3d(b\x26\x26b.length\x3e0?b[0].substr(1):\x22\x22).split(\x22\x26\x22);for(var c\x3d{},d\x3d0;d\x3cb.length;++d){var e\x3db[d];e\x26\x26(e\x3de.split(\x22\x3d\x22),c[e[0]]\x3de[1]||\x22\x22)}b\x3dc}else b\x3d{};(b\x3db.hl)\x26\x26(a+\x3d\x22hl\x3d\x22+b+\x22\x26\x22);a+\x3d\x22tune\x3d\x22;c\x3dthis.ma();b\x3d[];for(d\x3d0;d\x3cc.length;d+\x3d8){for(var f\x3de\x3d0;f\x3c8;++f)e*\x3d2,e|\x3dc[d+f]?1:0;b.push(e)}if(!W){W\x3d{};for(c\x3d0;c\x3c65;c++)W[c]\x3d\x22ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_*\x22.charAt(c)}c\x3dW;d\x3d[];for(e\x3d0;e\x3cb.length;e+\x3d3){var j\x3db[e],p\x3d(f\x3de+1\x3cb.length)?b[e+1]:0,k\x3de+2\x3cb.length,l\x3dk?b[e+2]:0,q\x3dj\x3e\x3e2,j\x3d(j\x263)*16|p\x3e\x3e4,p\x3d(p\x2615)*4|l\x3e\x3e6;l\x26\x3d63;k||(l\x3d64,f||(p\x3d64));d.push(c[q],c[j],c[p],c[l])}return a+d.join(\x22\x22)};var Z\x3dfunction(){if(google.rein\x26\x26google.dstr\x26\x26!google.doodle.$a)google.doodle.$a\x3d!0,google.rein.push(Z),google.dstr.push($);if(document.getElementById(\x22hplogo\x22)){$();google.psy\x26\x26google.psy.q\x26\x26google.msg\x26\x26google.msg.listen(22,function(){$();return!0});google.doodle.url\x3dma;o\x3ddocument.getElementById(\x22hplogo-g\x22);w\x3ddocument.createElement(\x22canvas\x22);w.getContext?(w.width\x3d474,w.height\x3d175,w.hideFocus\x3d!0,ba\x3dw.getContext(\x222d\x22),o.appendChild(w)):w\x3dg;ta();n\x3dnew ya(ba,o);r\x3d!1;Ea();if(t\x26\x26Fa()){google.doodle.flashLoaded\x3dDa;u\x3ddocument.createElement(\x22iframe\x22);u.name\x3d\x22doodle-sound\x22;u.style.position\x3d\x22absolute\x22;u.style.top\x3d\x22-150px\x22;u.style.border\x3d0;u.style.width\x3d\x22100px\x22;u.style.height\x3d\x22100px\x22;document.getElementById(\x22hplogo\x22).appendChild(u);v\x3du.contentDocument;if(v\x3d\x3dvoid 0||v\x3d\x3dg)v\x3du.contentWindow.document;v.open();v.write(\x22\x3chtml\x3e\x3chead\x3e\x3c/head\x3e\x3cbody\x3e\x3cobject classid\x3d\\\x22clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\\\x22 codebase\x3d\\\x22http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version\x3d9,0,0,0\\\x22 width\x3d\\\x220\\\x22 height\x3d\\\x220\\\x22 id\x3d\\\x22guitar11-sound-player\\\x22 type\x3d\\\x22application/x-shockwave-flash\\\x22\x3e\x3cparam name\x3d\\\x22movie\\\x22 value\x3d\\\x22/logos/swf/guitar11.swf\\\x22\x3e\x3cparam name\x3d\\\x22allowScriptAccess\\\x22 value\x3d\\\x22always\\\x22\x3e\x3cobject id\x3d\\\x22guitar11-sound-player-2\\\x22 type\x3d\\\x22application/x-shockwave-flash\\\x22 data\x3d\\\x22/logos/swf/guitar11.swf\\\x22 width\x3d\\\x220\\\x22 height\x3d\\\x220\\\x22\x3e\x3cparam name\x3d\\\x22allowScriptAccess\\\x22 value\x3d\\\x22always\\\x22\x3e\x3c/object\x3e\x3c/object\x3e\x3c/body\x3e\x3c/html\x3e\x22);v.close()}var a\x3ddocument.getElementById(\x22hplogot\x22);a\x26\x26(oa\x3dtypeof a.style.opacity!\x3d\x22undefined\x22);va();m\x3d!0;La();if(da)try{document.execCommand(\x22BackgroundImageCache\x22,!1,!0)}catch(b){}}},La\x3dfunction(){n\x26\x26(n.bb(),ca\x3dwindow.setTimeout(La,30));var a\x3ddocument.getElementById(\x22hplogo-led\x22);if(a\x26\x26H)a.style.backgroundPosition\x3d-540-23*Math.abs(Math.round(5*Math.sin(H*Math.PI/12)))+\x22px -139px\x22,H++},M\x3dfunction(){var a\x3ddocument.getElementById(\x22hplogo-led\x22);if(a)a.style.backgroundPosition\x3d\x221000px 1000px\x22},$\x3dfunction(){try{window.clearTimeout(ca);P();Ba();ia();n\x26\x26(n.na(),n\x3dg);u\x26\x26(D(u),u\x3dg,r\x3d!1);w\x26\x26(D(w),w\x3dg);B\x26\x26B.stop();C\x3dB\x3dg;G(0);var a\x3ddocument.getElementById(\x22hplogo-lcd-text\x22);if(a)a.value\x3d\x22\x22;var b\x3ddocument.getElementById(\x22hplogo-lcd-screen\x22);if(b)b.style.backgroundPosition\x3d\x221000px 1000px\x22;M();google.msg\x26\x26window.setTimeout(function(){google.msg.unlisten(22,$)},0)}catch(c){}};google.doodle.cpDestroy\x3d$;google.doodle.go\x3dfunction(){google.nav\x26\x26google.nav.go?google.nav.go(\x22/search?q\x3dLes+Paul\x26ct\x3dlespaul11-hp\x26oi\x3dddle\x22):window.location.href\x3d\x22/search?q\x3dLes+Paul\x26ct\x3dlespaul11-hp\x26oi\x3dddle\x22};google.x?google.x(\x22DOODLE\x22,Z):Z()}catch(Ma){google.ml(Ma,!1,{cause:\x22DOODLE\x22})};})();\x3c/script\x3e",
h: true,a: "Google",u: "",d: true};
var a = e();
if (a) {
a.open("GET", "/ig/cp/get?hl=en&gl=ca&authuser=0&bundleJs=0", true);
a.onreadystatechange = function() {
h(a)
};
a.send(null)
}
}
}
i();
})();
;
} catch (e) {
google.ml(e, false, {'cause': 'defer'});
}
if (google.med) {
google.med('init');
google.initHistory();
google.med('history');
}
google.History && google.History.initialize('/')
});
});
r();
var l = window.location.hash ? window.location.href.substr(window.location.href.indexOf('#')) : '#';
if (l == '#' && google.defre) {
google.defre = 1;
google.y.first.push(function() {
if (google.j && google.j.init) {
google.rein && google.rein.push(r);
}
});
}
})();
if (google.j && google.j.en && google.j.xi) {
window.setTimeout(google.j.xi, 0);
}
</script> <script>
(function() {
var b, d, e, f;
function g(a, c) {
if (a.removeEventListener) {
a.removeEventListener("load", c, false);
a.removeEventListener("error", c, false)
} else {
a.detachEvent("onload", c);
a.detachEvent("onerror", c)
}
}
function h(a) {
f = (new Date).getTime();
++d;
a = a || window.event;
var c = a.target || a.srcElement;
g(c, h)
}
var i = document.getElementsByTagName("img");
b = i.length;
d = 0;
for (var j = 0, k; j < b; ++j) {
k = i[j];
if (k.complete || typeof k.src != "string" || !k.src)
++d;
else if (k.addEventListener) {
k.addEventListener("load", h, false);
k.addEventListener("error",
h, false)
} else {
k.attachEvent("onload", h);
k.attachEvent("onerror", h)
}
}
e = b - d;
function l() {
if (!google.timers.load.t)
return;
google.timers.load.t.ol = (new Date).getTime();
google.timers.load.t.iml = f;
google.kCSI.imc = d;
google.kCSI.imn = b;
google.kCSI.imp = e;
google.timers.load.t.xjs && google.report && google.report(google.timers.load, google.kCSI)
}
if (window.addEventListener)
window.addEventListener("load", l, false);
else if (window.attachEvent)
window.attachEvent("onload", l);
google.timers.load.t.prt = (f = (new Date).getTime());
})();
</script>
@jerm014
Copy link

jerm014 commented Jun 9, 2011

Have you done any work deciphering how tune= works? You can modify the playback by chaging tune's value, but I can't figure out how to make a specific progression of notes by modifying the parameter. It seems to use A-Z, a-z, and the number 4*, but never abdfrtuvz or DFPWX. Their code always seems obfuscated to the nth degree.

* - 0-9 are also playable. BHJKLNPRTVZ and 'g' are probably not notes, but maybe timing cues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment