if(typeof jQuery != 'undefined') {
	$(document).ready(function() {
		
		// make the menu work in IE
		if($.browser.msie) {
			$('#mainnav li').hover(function() {
				$(this).find('ul').show(0);
				$(this).addClass('active');
			}, function() {
				$(this).find('ul').hide(0);
				$(this).removeClass('active');
			});
		}
		
	});
}