$(document).ready(function() {
	// Global ish
	
//		$('table.wba_prod_widget').attr('class','wba_prod_widget2');
	
//$('div').not('#leftcolumn').find('.wba_prod_widget').addClass('scroll_prod_widget');
	//$('div .wba_prod_widget').addClass('scroll_prod_widget');

/*	$('#flash-header').remove();
        $('#leftcolumn .wba_prod_widget').remove();
	$('.hideme').remove();
	$('input[src=/images/search_btn.gif]').attr({'src':'/images/atlantic_btn_search.gif'});
        $('#header .search').css("visibility","visible");
	*/
//$('link[href=dhttp://dev.atlanticrecords.com/geraldine/atl.css]').remove();	

	//$('table.leftnav td.bg').parent().remove();
	//$('td[width=10]').remove();
	//$('img[width=165]').attr({'width':'158'});
	//$('a.v').remove(); // remove extra privacy policy link
	//$('td.f').remove(); // remove spacer graphic
	//$('table.s').hide(); // hide search box
	
	//SME
	//$('table.logo td#myaccountnav a').text('');
	//$('table.logo td#myaccountnav a').html('<img src="http://205.153.25.126:8888/stores/viva/blank.gif" />');
	//$('table#topbar').remove();
	//$('img#wba_poweredby').attr({'src':'http://feature.atlrec.com/upped/vivalarock/vivalarock_poweredby_w.gif'}); 



// For Recently Viewed, move title and buylinks to right side
//		$('table.wba_prod_widget:eq(0)').css('visibility','hidden');
	//	$('table.wba_prod_widget:eq(0)').css('height','0px');
		//$('table.wba_prod_widget:eq(0)').remove();
		
		/*
		$('table.wba_prod_widget:eq(0)').each(function () {
			$(this).find('table>tbody>tr>td').attr('align','left');
			$(this).find('tr:gt(0) table table').each(function () {
				$(this).appendTo($(this).parent().parent().prev().children('td'));
				$(this).parent().appendTo($(this).parent().parent().prev());
			});
		});
*/

$('.wba_prod_widget tr td table tr td table tr td a img').parent().parent().parent().parent().parent().addClass('productTable');
$('.wba_prod_widget tr td table tr td table tr td a img').parent().parent().addClass('productCell');
$('.wba_prod_widget tr td table tr td table tr td .homeProductTitle').parent().addClass('titleCell');
$('.wba_prod_widget tr td table tr td table tr td').attr('valign', 'top');


});

