/**
 * navigation menu
 * Utilizes jQuery
 */
$(document).ready(function(){
/*
	$('#tabs li ul').css({
		display: "none",
		left: "auto"
	});
	$('#tabs li').hover(function() {
		$(this)
		.find('ul')
		.stop(true, true)
		.slideDown('fast');
	}, function() {
	$(this)
		.find('ul')
		.stop(true,true)
		.fadeOut('fast');
	});
*/  


$('.dropdown').each(function () {
	$(this).parent().eq(0).hoverIntent({
		timeout: 100,
		over: function () {
		var current = $('.dropdown:eq(0)', this);
			current.slideDown(100);
		},
		out: function () {
		var current = $('.dropdown:eq(0)', this);
			current.fadeOut(200);
		}
	});
});
/*
$('.menu li').hover(function() {
	$(this).css({
		 background: "url(../img/navTab_right-active.png) no-repeat top right"
	});
}, function() {
	$(this).css({
		 background: "url("+site_url+"/img/navTab_right.png) no-repeat top right"
	});
});
*/
//$('.dropdown a').hover(function () {
//$(this).stop(true).animate({paddingLeft: '35px'}, {speed: 100, easing: 'easeOutBack'});
//}, function () {
//$(this).stop(true).animate({paddingLeft: '0'}, {speed: 100, easing: 'easeOutBounce'});
//});

pic1 = new Image(310, 672);
pic1.src = site_url + "/img/dropdown.png";

pic2 = new Image(4, 40);
pic2.src = site_url + "/img/navTab_left.png";

pic3 = new Image(394, 40);
pic3.src = site_url + "/img/navTab_right.png";

pic4 = new Image(4, 40);
pic4.src = site_url + "/img/navTab_left-active.png";

pic5 = new Image(394, 40);
pic5.src = site_url + "/img/navTab_right-active.png";


//$('.floatLinksBG').css({ opacity: 0.5 });

});


