jQuery.noConflict();

jQuery(document).ready(function(){
	jQuery("#menu > ul > li").hover(showMenu, hideMenu);
	jQuery("#menu ul.sub").hide();
	jQuery("#offer li").hover(onGfx, offGfx);
});


function showMenu() {
	jQuery(this).find('ul.sub').show();
}

function hideMenu() {
	jQuery(this).find('ul.sub').hide();
}

function onGfx() {
		jQuery(this).find('a.gfx').css('backgroundPosition', '0 -70px');
		jQuery(this).find('p').addClass('active');
}

function offGfx() {
		jQuery(this).find('a.gfx').css('backgroundPosition', '0 0');
		jQuery(this).find('p').removeClass('active');
}
