$(document).ready(function(){

var isIE6 = $.browser.msie && parseFloat($.browser.version) < 7;
if (isIE6 == true) {
	// nope.avi
	$('#featuredProducts').css({ display: "none" });
} else {
	
	var $titlePos = 1; var $thumbTitle = 'blank'; var $titleWidth = 1;
	$('.featuredThumb a').css({ opacity: 0.7 });
	
	$('.featuredThumb a').hover(function(){ 
		$(this).animate({ opacity: 1 }, { duration: 10, queue: false });
		$thumbTitle = $(this).attr("thetitle");
		$('#homeHoverTitle').css({ display: "block" });
	}, function(){ 
		$(this).animate({ opacity: 0.7 }, { duration: 150, queue: false });
		$('#homeHoverTitle').css({ display: "none" });
	});
	$('.featuredThumb a').mousemove(function(e){
		var $boxPos = $(this).offset(); // get a global pos
		$titleWidth = $('#homeHoverTitle').width();
		$titlePosLeft = e.pageX - ($titleWidth / 2);
		$titlePosTop = $boxPos.top - 9;
		$('#homeHoverTitle').css({ top: $titlePosTop + "px", left: $titlePosLeft + "px" });
		$('#homeHoverTitleInner').html($thumbTitle);
	});
	
	$('#homeSocialIcons a').hover(function(){
		$(this).animate({ opacity: 0.65 }, { duration: 20, queue: false });
	}, function(){
		$(this).animate({ opacity: 1 }, { duration: 100, queue: false });
	});
	
	$('#homeCelebPhotos').cycle({ fx: 'fade', timeout: 5000 });
	
} // IE	
	
});
