 <!--
								
var obj = null;
var obj2 = null;

function checkHover() {
	if (obj) {
		obj.find('ul').stop().animate({left: '50px',  opacity: 0}, 166);
		setTimeout("hideObj()",200);
	} //if
}//checkHover
function checkHover2() {
	if (obj2) {
		obj2.find('> span.hover').stop().fadeTo(333, 0);
	} //if
}//checkHover


function hideObj() {
	if(obj) {
		obj.find('ul').stop().hide();
	}
}

$(document).ready(function() {
	$('a.fadeThis > span.hover').css({opacity: 0});
	
	if (isIE6) {
		jQuery('#main').append("<div style='color:#ffffff;'>You're using a old and buggy browser. Switch to a <a href='http://www.mozilla.com/firefox/'>normal browser</a> or consider <a href='http://www.microsoft.com/windows/internet-explorer'>upgrading your Internet Explorer</a> to the latest version</div>");
	}
	
	$('a.nav-extra').nudge({
		property: 'marginTop',
		direction: '',
		amount: -18,
		duration: 166
	  });
	
	$('#navigation > li').hover(function() {
		if (obj) {
			obj.find('ul').stop().animate({left: '50px', opacity: 0}, 166);
			setTimeout("hideObj()",200);
			obj = null;
		} //if
		
		$(this).find('ul').css({opacity: 0}).stop().show().stop().animate({left: '0px', opacity: 1}, 166);									
	}, function() {
		obj = $(this);
		setTimeout("checkHover()",500); 
	});	
	
	$('a.fadeThis').hover(function() {
		if (obj2) {
			obj2.find('> span.hover').stop().fadeTo(333, 0);
			obj2 = null;
		} //if
		
		$(this).find('> span.hover').stop().fadeTo(333, 1);									
	}, function() {
		obj2 = $(this);
		setTimeout("checkHover2()",50); 
	});
	
	/*if (!isIE) {
    jQuery('.fadeThis').append('<span class="hover"></span>').each(function () {
      var jQueryspan = jQuery('> span.hover', this).css('opacity', 0);
      jQuery(this).hover(function () {
        jQueryspan.stop().fadeTo(333, 1);
      },
      function () {
        jQueryspan.stop().fadeTo(333, 0);
      });
    });
  }*/

	
});
// -->
