$(document).ready(function() {

	$("#header .menu a, #serverTable .button").aHoverTip({width: 220, delay: 200, animate: 5, color: "#ffffff"});
	$("#serverTable tr:odd, .mainInfo tr:odd, .mainInfo1 tr:odd, .mainInfo2 tr:odd").css({"background-color" : "#2d2d2d"});
	$("#serverTable tr, .mainInfo tr, .mainInfo1 tr, .mainInfo2 tr").each(function() {
		$(this).hover(function() {
			$("td", this).css({"background-image" : "url('/img/bg_tr_hover.png')"});
		}, function() {
			$("td", this).css({"background-image" : "none"});
		});
	});
	$(".button").each(function() {
		$(this).hover(function() {
			$(this).css({"background-position" : "0 100%"})	;
		}, function() {
			$(this).css({"background-position" : "0 0"})	;
		});
	})
	$("#mainInfo2Show").click(function() {
		$(this).hide();
		$("#mainInfo2Hide").show();
		$("#mainInfo2").slideDown(300);
	});
	$("#mainInfo2Hide").click(function() {
		$(this).hide();
		$("#mainInfo2Show").show();
		$("#mainInfo2").slideUp(300);
	});
	$(".selectable").each(function() {
			$(this).click(function() {
				$(this).select();
			})
	});
	$("#twitter_update_list li:odd").css({"background-color" : "#232323"});
	$("#twitter_update_list li:first").css({"padding-top" : "0"});

});

