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