/*  Put code to initialize the mediawiki in this file, in the JQuery ready event.
*/
$(function() {
	$(".wiki-table.:not(.no-stripes) tr:even").addClass("eventr");
	$(".wiki-table.:not(.no-stripes) tr:odd").addClass("oddtr");
	
	var noTextColor = $("#search-box input.textbox").css("color");
	var searchTextColor = $("#search-box input.search-button").css("color");
	$("#searchInput").val(searchInputString).css({color:noTextColor}).click(function () {
		if($(this).css("color")!=searchTextColor)
			$(this).val("").css({color:searchTextColor});

		return true;
	});
	$("#searchInput").blur(function () {
		if($(this).val() == "")
			$(this).val(searchInputString).css({color:noTextColor});
			
		return true;
	});
});
