$(document).ready(function()
{
	$('#bannerCntr').cycle({ 
        fx:     'fade', 
        speed:   1000, 
        timeout: 8000, 
        pager:  '#bannerNav', 
        easeIn:	'swing',
        easeOut:'swing',
        before: function() {  
            $('#caption').html(this.alt); 
        } 
    }); 
	
	$(".noborder").mouseenter(function() {
		jQuery(".subLevel",this).stop(true,true).delay(10).slideDown(250,'easeOutSine',function() {});
	}).mouseleave(function() {
		jQuery(".subLevel",this).slideUp(150,'easeInSine');
	});

	/* Menu light-up */
	$("#menuLeft ul li.noborder span").hover(function () {
		$(this).animate({ backgroundColor: "#fb5b04" }, 150);
  	}, function () {
  		//$(this).css({ backgroundColor: "inherit" });
  		$(this).animate({ backgroundColor: "#ebebeb" }, 150);
	});
	
	/* Menu light-up */
	$(".subLevel li.noborder").hover(function () {
		$(this).animate({ backgroundColor: "#fff" }, 150);
  	}, function () {
  		//$(this).css({ backgroundColor: "inherit" });
  		$(this).animate({ backgroundColor: "#ebebeb" }, 150);
	});
	
	/*
	$("#menuLeft ul li.noborder span").mouseenter(function () {
		$(this).animate({ backgroundColor: "#fb5b04" }, 150);
  	}).mouseleave(function(){
  		$(this).css({ backgroundColor: "inherit" });
	});
	*/
	
	$("div.portfolioImg").hover(function () {
			jQuery(".fade", this).stop(true,true).fadeIn(500);
	  	}, function () {
	  		jQuery(".fade", this).stop(true,true).fadeOut(500);
		});	
});

$(document).ready(function(){
	$(".lightbox").colorbox({transition:"fade"});
});

