$(function(){	
	$('.specs tr').mouseover(function(){
		$(this).addClass("highlight");											 
	})
	.mouseout(function(){
		$(this).removeClass("highlight");											 
	});
	
	//$('.specs tr:even').addClass('even');
	$('#tabs').tabs();
	
    $('.verticalspecs').columnHover({eachCell:true, hoverClass:'highlight'}); 
	
	$('.endcap img').hover(function(){
		$(this).css('border' , '1px solid #2f8bbf');
	},
	function(){
		$(this).css('border' , '1px solid #ededed');
	})
	
	if ($(".drawing").length) {
		$("a.drawing").fancybox();
	}
	
	if ($(".endcap").length) {
		$(".endcap a").fancybox();		
	}
});