jQuery.noConflict();

jQuery(function() {
	var changeTimer;
	var pickerTimer;
	jQuery('#lang-picker').mouseover(function() {
		clearTimeout(pickerTimer);
		jQuery('#lang-picker').addClass('hover');
	}).mouseout(function() {
		clearTimeout(pickerTimer);
		pickerTimer = setTimeout(function() { jQuery('#lang-picker').removeClass('hover'); }, 1000);
	});
	
	jQuery('#header div.lang a.change').click(function() { return false; }).hover(function() {
		clearTimeout(changeTimer);
		jQuery('#lang-picker').addClass('on');
	}, function() {
		clearTimeout(changeTimer);
		changeTimer = setTimeout(function() { jQuery('#lang-picker').removeClass('on'); }, 1000);
	});
	
	jQuery('div.gifts-float').hover(function() {
		jQuery('div.gifts-float').addClass('on');
	}, function() {
		jQuery('div.gifts-float').removeClass('on');
	}); 
	
	jQuery('#nav > ul > li').has('ul').hover(function() {
		jQuery(this).addClass('on');
	}, function() {
		jQuery(this).removeClass('on');
	});

});
