// addLoadEvent(funcname);
// addLoadEvent( function() { alert('something'); } );
function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			if (oldonload) {
				oldonload();
			}
			func();
		}
	}
}

// Stripe tables with odd/even
function recacheOddEven() {
	$('table .etable').each(function() {
		$(this).find('tr').removeClass('odd');
		$(this).find('tr:even').addClass('odd');
	});
}



$(document).ready(function() {
	$('ul.menu').children().filter('LI').each(function() {
		$(this).mouseover(function() {
			$(this).addClass('over');
		}).mouseout(function() {
			$(this).removeClass('over');
		});
	});
	recacheOddEven();
});
