jQuery('document').ready(
	function()
	{
		if(-1 !== navigator.userAgent.indexOf('MSIE'))
		{
			$('ul#Sitemap, #Sitemap ul').css(
				{
					'filter': "progid:DXImageTransform.Microsoft.DropShadow(offx=2, offy=2, color:'black', positive='true') progid:DXImageTransform.Microsoft.Alpha(opacity=60)"
				}
			);
			$('ul#Sitemap, #Sitemap ul').hover(
				function (e)
				{
					$(this).animate(
						{
							opacity: .95
						},
						{
							duration: 300,
							complete: function ()
										{
											$(this).css(
												{
													'filter': "progid:DXImageTransform.Microsoft.DropShadow(offx=2, offy=2, color:'black', positive='true') progid:DXImageTransform.Microsoft.Alpha(opacity=95)"
												}
											);
										}
						}
					);
				},
				function (e)
				{
					$(this).animate(
						{
							opacity: .6
						},
						{
							duration: 300,
							complete: function ()
										{
											$(this).css(
												{
													'filter': "progid:DXImageTransform.Microsoft.DropShadow(offx=2, offy=2, color:'black', positive='true') progid:DXImageTransform.Microsoft.Alpha(opacity=60)"
												}
											);
										}
						}
					);
				}
			);
		}
		else
		{
			$('ul#Sitemap, #Sitemap ul').css('opacity', '.6');
			$('ul#Sitemap, #Sitemap ul').hover(
				function (e)
				{
					$(this).animate(
						{
							opacity: .95
							
						},
						{
							duration: 300
						}
					);
				},
				function (e)
				{
					$(this).animate(
						{
							opacity: .6
							
						},
						{
							duration: 300
						}
					);
				}
			);
		}
		/*
		if(-1 !== navigator.userAgent.indexOf('MSIE'))
		{
			var $sitemapBoxes = $('ul#Sitemap, #Sitemap ul');
			$sitemapBoxes.wrap('<span class="Shadow"></span>');
			$sitemapBoxes.dropShadow(
				{
					left: 2,
					top: 2,
					opacity: .7,
					color: '#000000',
					blur: 2
				}
			);
		}*/
		
		$('a.arrow').toggle(
			function (e)
			{
				$(this).children('img').attr('src', '/images/arrow-right.png');
				$(this).siblings('ul').animate(
					{
						height: 'toggle'
					},
					{
						duration: 750
					}
				);
			},
			function (e)
			{
				$(this).children('img').attr('src', '/images/arrow-down.png');
				$(this).siblings('ul').animate(
					{
						height: 'toggle'
					},
					{
						duration: 750
					}
				);
			}
		);
	}
);

