

	// table striping
function stripeTables()
{
	$("table.common tr:even").addClass("even");
	$("table.common tr:odd").addClass("odd");
}
stripeTables();

try
{
  Ajax.onupdate.push(stripeTables());
}
catch(e)
{

}

// Buttons handling
// IE doesn't like this on goMath for some reason
if(navigator.appName.indexOf("Microsoft") < 0)
{
$(document).ready(function() {
$(".buttonface").corner("7px");
$(".buttonface").each(function() {
	if (!$(this).attr("href") || $(this).attr("href") == "")
		$(this).click(function() {
			$(this).parents("form").submit();
		});
});

$(".navbot[pos=left]").corner("round left 10px keep");
$(".navbot[pos=right]").corner("round right 10px keep");

$(".round_header").corner("10px");
$(".round_header").FontEffect();

});
}
