jQuery.noConflict();
var menu = new Array();

jQuery('document').ready(function() {
	jQuery('#menu ul li').mouseover(down);
	jQuery('#menu ul li').mouseout(up);
});

function down()
{
	if(!jQuery(this).hasClass('current'))
	{
		var i = jQuery('#menu ul li').index(jQuery(this));
		menu['id-' + i] = 'down';
		jQuery(this).children('a').animate(
			{'padding-top':'92'},
			400,
			function() {
				if(menu['id-' + i] == 'down')
				{
					menu['id-' + i] = 'stop';
				}
				else
				{
					jQuery(this).animate(
						{'padding-top':'60'},
						400,
						function() {
							menu['id-' + i] = 'stop';
						}
					);
				}
			}
		);
	}
}

function up()
{
	var i = jQuery('#menu ul li').index(jQuery(this));
	if(menu['id-' + i] == 'down')
	{
		menu['id-' + i] = 'up';
	}
	else
	{
		if(!jQuery(this).hasClass('current'))
		{
			jQuery(this).children('a').animate(
				{'padding-top':'60'},
				400,
				function() {
					
				}
			);
		}
	}
}
