/**
* LavaLamp - A menu plugin for jQuery with cool hover effects.
* @requires jQuery v1.1.3.1 or above
*
* http://gmarwaha.com/blog/?p=7
*
* Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Version: 0.2.0
* Requires Jquery 1.2.1 from version 0.2.0 onwards. 
* For jquery 1.1.x, use version 0.1.0 of lavalamp
*/

(function(A) { A.fn.lavaLamp = function(B) { B = A.extend({ fx: "linear", speed: 500, click: function() { } }, B || {}); return this.each(function() { var F = A(this), E = function() { }, H = A('<li class="back"><div class="left"></div></li>').appendTo(F), I = A("li", this), G = A("li.current", this)[0] || A(I[0]).addClass("current")[0]; I.not(".back").hover(function() { C(this) }, E); A(this).hover(E, function() { C(G) }); I.click(function(J) { D(this); return B.click.apply(this, [J, this]) }); D(G); function D(J) { H.css({ left: J.offsetLeft + "px", width: J.offsetWidth + "px" }); G = J } function C(J) { H.each(function() { A(this).dequeue() }).animate({ width: J.offsetWidth, left: J.offsetLeft }, B.speed, B.fx) } }) } })(jQuery); jQuery.extend(jQuery.easing, { easeOutBack: function(B, C, A, F, E, D) { if (D == undefined) { D = 1.70158 } return F * ((C = C / E - 1) * C * ((D + 1) * C + D) + 1) + A } });