// JavaScript Document

(function($){
	$.fn.extend({
		//plugin name - animatemenu
		webtoolkitMenu: function(options) {
			return this.each(function() {

				//Assign current element to variable, in this case is UL element
				var obj = $(this);

				$("li ul", obj).each(function(i) {
					$(this).css('top', $(this).parent().outerHeight());
				})

				$("li", obj).hover(
					function () { $(this).addClass('over'); },
					function () { $(this).removeClass('over'); }
				);

			});
		}
	});
})(jQuery);

$(document).ready(function() {
		$('#navigation').webtoolkitMenu();
});
