// JavaScript Document
$(document).ready(function() {
	if(document.all) {
		// this is needed for the IE 6 pseudo hover class bug
		$('#Menu li.HasSubMenu').hover(function() {
			$(this).addClass('over');
			$('.ExpressCheckoutTitle, input, select').css('z-index',-1);
			return false;
		},
		function() {
			$(this).removeClass('over');
			$('.ExpressCheckoutTitle, input, select').css('z-index',0);
		});
	} else {
		// this is need for safari when nav covers flash
		$('.navtop li ul, #Menu li div.SubMenu').hover(function () {
			$(this).addClass('redraw');
		},function () {
			$(this).removeClass('redraw');
		});
	}

	// Tag last #Menu LI with .Last
	$('#Menu > ul > li:last').addClass('Last');
});

