jQuery(document).ready(function(){

	jQuery('.products-container table tr:even').addClass('even');
	jQuery('.products-container table tr:odd').addClass('odd');
	jQuery('.products-container table tr:first-child td').addClass('table-head');
	jQuery('.products-container table tr td:first-child').addClass('left');
	jQuery('.products-container table tr:first-child td:first-child').addClass('left-first');
	jQuery('.products-container table tr:last-child td').addClass('last-row');
	jQuery('.products-container table tr:eq(1) td:gt(0)').addClass('price');
	jQuery('.products-container table tr:eq(1)').addClass('first-row');
	
	jQuery('.products-listing-table #table-1 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-1 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-2 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-2 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-3 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-3 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-4 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-4 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-5 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-5 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-6 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-6 table tr:odd').addClass('odd');
	jQuery('.products-listing-table #table-7 table tr:even').addClass('even');
	jQuery('.products-listing-table #table-7 table tr:odd').addClass('odd');
	jQuery('.products-listing-table table tr td:first-child').addClass('left');
	jQuery('.products-listing-table table tr:last-child td').addClass('last-row');
	
	
jQuery(".products-listing-header a").click(function () {
      jQuery(this).parent().next('div').slideToggle("fast");
      jQuery(this).children('img').toggle();
      
    });



});

function show_sup(id) {
	if (id==1) {
		jQuery('#link-1').addClass('active'); jQuery('#link-2').removeClass('active'); jQuery('#link-3').removeClass('active');
		jQuery('#sup-1').css('display', 'block');jQuery('#sup-2').css('display', 'none');jQuery('#sup-3').css('display', 'none'); 
	} else if (id==2) {
		jQuery('#link-2').addClass('active'); jQuery('#link-1').removeClass('active'); jQuery('#link-3').removeClass('active'); 
		jQuery('#sup-1').css('display', 'none');jQuery('#sup-2').css('display', 'block');jQuery('#sup-3').css('display', 'none'); 
	} else if (id==3) {
		jQuery('#link-3').addClass('active'); jQuery('#link-1').removeClass('active'); jQuery('#link-2').removeClass('active'); 
		jQuery('#sup-1').css('display', 'none');jQuery('#sup-2').css('display', 'none');jQuery('#sup-3').css('display', 'block'); 
	}
	
}

