$(function(){
// resize the banner images
$('img[alt*="resize"]').attr('width','155');
// enable rollovers on banner images
$('img[alt*="rollover"]').hover(
	function(){
		//console.log(this.src);
		this.src = this.src.replace(/.gif$/,'_rollover.gif');
	},
	function(){
		this.src = this.src.replace(/_rollover.gif$/,'.gif');
	}
);
// delete 'home' button
$('img[alt*="resize"]:first').parent().parent().parent().prev().prev().prev().remove();
// delete extra table rows above banners
$('img[alt*="resize"]').parent().parent().parent().prev().remove();
// delete extra extra row above banners
$('img[alt*="resize"]:first').parent().parent().parent().prev().remove();
// delete some more stuff
// had to comment it out for the iframe
var content = $('iframe');
//alert(content);
$('td.background').empty().append(content);

// styles
$('table.content').css('width', '640px').css('position', 'relative').css('right', '-2px').css('padding-top', '2px').css('font-family', 'verdana, sans-serif').css('font-size', '12px');
$('table.content td').css('background-color', '#d7d7d7').css('vertical-align', 'top');
$('table.two_columns td').css('width', '50%');
$('table.three_columns td').css('width', '33%');

$('td[@background]').css('background-repeat', 'no-repeat');
});

