$(document).ready(function() {
	$(".formhead").click(function() {
		f = $(".blockform");
		if(f.attr("show")) {
			f.css("height", "1px");
			f.attr("show", "")
		} else {
			f.attr("show", 1)
			f.css("height", "auto");
		}
	});
	
	$(".menu li").hover(function() {
		$(this).addClass("hover");
		$(this).children("ul").show();
	}, function() {
		$(this).removeClass("hover");
		$(this).children("ul").hide();
	});
});
$(function() {
	if($.browser.msie) {
		var zIndexNumber = 10000;
		$('body *').each(function() {
			$(this).css('zIndex', zIndexNumber);
			zIndexNumber -= 10;
		});
	}
});
