//(function($) { /* some code that uses $ */ })(jQuery)
	$(document).ready(function() {


		$table = $("#discography").tablesorter({widthFixed: true, widgets: ['zebra']});
		$("#tabletracks").tablesorter({widthFixed: true, widgets: ['zebra']});


		Column = 'Type';
		FilterText = '';
		for (i = 0; i < 8; i++) {
		$('#headerDiscography tbody tr').find('span:eq(' + i + ')').click( function() {
		if ($(this).text() !== 'All')
		{
			FilterText = $(this).text();
		}
		else
		{
			FilterText = '';
		}
		$.uiTableFilter( $table, FilterText, Column);
		$table = $("#discography").tablesorter({widthFixed: true, widgets: ['zebra']});

		});
		}

		//tableallreview
		$("#tableallreview").tablesorter({widthFixed: true, widgets: ['zebra']});


		//$("#tabletracks").tablesorter({widthFixed: true, widgets: ['zebra']});
		/*ColumnArray = ["Country","Province/State"];
		for (i=0;i<ColumnArray.length;i++) {
			$("#myTable tbody tr").find("td:eq(" + i + ")").click( function() {
				clickedText = $(this).text();
				FilterText = ((FilterText == clickedText) ? "" : clickedText );
				$.uiTableFilter( $table, FilterText, ColumnArray[i]);
			});
		}*/


		//image
		/*$("img").lazyload({
		placeholder: "images/grey.gif",
		event: "load",
		effect: "fadeIn"
		});*/


	});

