$(document).ready(
	function()
	{
		// do not use dropshadows in IE at all for now --Golda 9/10/09
		var $b_use_dropshadow = ! $.browser.msie;

		// dropshadow is supposed to be compatible with IE > 6
		// $b_use_dropshadow = !($.browser.msie && $.browser.version.substr(0,1) < 7);

		if ($b_use_dropshadow)
		{
			$(".navigation ul li").hover(
				function()  
				{
					{

						try {
						   $(this).find("ul").dropShadow();
						} catch(er) {
						   $(this).find("ul").css({'display' : 'block'})
						}
					}
				},
				function()  
				{
					{
						try {
						  $(this).find("ul").removeShadow();
						} catch(er) {
						  $(this).find("ul").css({'display' : 'none'});
						}
					}
				}
			);
		
		} else {

			$(".navigation li").hover(
				function()  
				{
					$(this).find("ul").css({'display' : 'block'});
				},
				function()  
				{
					$(this).find("ul").css({'display' : 'none'});
				}
			);
		}
	}
)
