//slideshow uses jquery.cycle.lite.min.js
$(document).ready(function() {
    
    if ($.browser.msie)
    {
        $('ul#nav a').cornerz({
        	radius: 10,
        	corners: "tl tr",
			background: "#73B8D3"
    	});
    };
    
    $('.slideshow').cycle({
		fx: 'fade',
		timeout: 4000
	});
	
	$('#nav-tabs').tabs({
                            select: function(event, ui) {
                                    $(this).css('height', $(this).height());
                                    $(this).css('overflow', 'hidden');
                            },
                            show: function(event, ui) {
                                    $(this).css('height', 'auto');
                                    $(this).css('overflow', 'visible');
                            }
        });
    
    $('a.lightbox').fancybox();
    
    $('a.tooltip').tooltip({
        track: true, 
        fixPNG: true,
        bodyHandler: function() { 
            return $(this).attr('hovertext'); 
        }, 
        showURL: false 
    });

	//table stripes
	$(".price-list tr:nth-child(odd)").addClass("odd");
	
	// table hover
	
      $('.price-list tr').hover(function() {
      	$(this).addClass('hover');
      }, function() {
      	$(this).removeClass('hover');
      });

   
});
