$(document).ready
(
	function()
	{
		// +/- toggling
		$('img.toggle').toggle(
		  function ()
		  {
		    $(this).attr('src', 'img/toggle_collapsed.png');
		  },
		  function ()
		  {
		    $(this).attr('src', 'img/toggle.png');
		  }
		);
		
		// IE compatibility
		if ($.browser.msie)
		{
			// IE can't interpret CSS 'content'.
			$('td#path span.path').each (
				function ()
				{
					var value = $(this).html();
					$(this).html(' » ' + value);
				}
			);
			
			// IE is too stupid to understand margin: 0 auto;
			$('body').css('text-align', 'center');
		}
		else
		{
			// Opera and Firefox UI fixes
		
		}
			
	}
);
