
jQuery.fn.Scrollable = function(tableHeight, tableWidth) {
	this.each(function(){
		if (jQuery.browser.msie || jQuery.browser.mozilla) {
			var table = new ScrollableTable(this, tableHeight, tableWidth);
		}
	});
};

jQuery(document).ready(function(){
	jQuery('#main_container:not(.layout_2) #subnavigation').css({opacity:0})
							.show()
							.animate({
							width:"339px",
							height:"190px",
							opacity:1
							},1500);
	jQuery('#subnavigation li a').bind('mouseenter',function(){
		jQuery(this).stop().animate({paddingLeft:"10px"});
	}).bind('mouseleave',function(){
		jQuery(this).stop().animate({paddingLeft:"0px"});
	})

	jQuery('#main_container.layout_2 #subnavigation').css({opacity:0})
							.show()
							.animate({
							height:'351px',
							opacity:1
							},1500);
	jQuery('#subnavigation li a').bind('mouseenter',function(){
		jQuery(this).stop().animate({paddingLeft:"10px"});
	}).bind('mouseleave',function(){
		jQuery(this).stop().animate({paddingLeft:"0px"});
	})

	jQuery('table.products tbody tr:odd').addClass('emphasis');
	jQuery('table.scrollable').Scrollable( (350-67), 455);


});

