$(function() {
	/* ie 6 hack to make the submit button roll-over */
	if($.browser.msie) {
		$("button.submit").hover(
			function() {					
				$(this).addClass($(this).attr("class").split(" ")[0] + "-over");	
			},
			function() {					
				$(this).removeClass($(this).attr("class").split(" ")[1]);
			});
	}
	
	$("#login a img").hover(
		function() {					
			this.src = this.src.replace("-up","-over");	
		},
		function() {					
			this.src = this.src.replace("-over","-up");
		});
	
			
	$("#content table tr:even td").addClass("cell-stripe");
	
	$("#content img[@align=right]").addClass("align-right");
	$("#content img[@align=left]").addClass("align-left");
	
	$("#content form input[@type=submit],#login form input[@type=submit]").replaceWith('<button type="submit" class="submit">Submit</button>');
	
	
});
