$(document).ready(function() {

	$('#navigation li.about-us').hover(function() {
		$('#navigation div.about-us-nav').show();
	}, function() {
		$('#navigation div.about-us-nav').hide();
	});
	$('#navigation div.about-us-nav').hover(function() {$(this).show();}, function() {$(this).hide();});
	$('#navigation li.team').hover(function() {
		$('#navigation div.team-members').show();
	}, function() {
		$('#navigation div.team-members').hide();
	});
	$('#navigation div.team-members').hover(function() {$(this).show();}, function() {$(this).hide();});
	$('#navigation li.portfolio').hover(function() {
		$('#navigation div.portfolio-nav').show();
	}, function() {
		$('#navigation div.portfolio-nav').hide();
	});
	$('#navigation div.portfolio-nav').hover(function() {$(this).show();}, function() {$(this).hide();});
	$('#navigation li.entrepreneur-stories').hover(function() {
		$('#navigation div.entrepreneur-nav').show();
	}, function() {
		$('#navigation div.entrepreneur-nav').hide();
	});
	$('#navigation div.entrepreneur-nav').hover(function() {$(this).show();}, function() {$(this).hide();});
	$('#navigation li.press-room').hover(function() {
		$('#navigation div.press-nav').show();
	}, function() {
		$('#navigation div.press-nav').hide();
	});
	$('#navigation div.press-nav').hover(function() {$(this).show();}, function() {$(this).hide();});
	$('#lightbox-open a').click(function() {
		$('#lightbox-container').show();
		return false;
	});
	$('#lightbox-container a.close').click(function() {
		$('#lightbox-container').hide();
		return false;
	});
	$('#portfolio_items li').hover(function() {$('div',this).show();}, function() {$('div',this).hide();});
});

// target IE6 and below
if ($.browser.msie && $.browser.version <= 6 ) {

  // Button hover for IE6
  $('#navigation button').hover(function() {$(this).addClass('hover');}, function() {$(this).removeClass('hover');});
  
  // DD_belatedPNG fix for IE6
  DD_belatedPNG.fix('.frame, #content h1, body.home #content .col h2, #navigation, #content .quicklinks, .logo, .portfolio-logos li, .navigate, #sub-content, .team-members, .about-us-nav, .portfolio-nav, .entrepreneur-nav, .press-nav, blockquote.pullquote-wide div, body.about-us h3, blockquote.pullquote div, .contact-map, .contact-details .pdf-link a, .contact-details .enlarge, body.entrepreneur-stories .col-content li,body.team-detail blockquote.team-quote, .col-aside .module, #footer, .portfolio-logos .more-info, body.portfolio .portfolio-list .group, body.press-room .rss, body.press-room .col-content h2, body.search-results #content h2, ul.news li .desc .last, ul.news li,body.press-kit ul.module-nav li.download a, body.press-kit ul.module-nav li a,body.press-kit .news li strong, div.lightbox, .lightbox-wrap,body.team-landing .col-content li, body.team-detail .col-content blockquote div, body.search-results .bubble,body.search-results .separator, body.team-landing .col-content ul li a img, .team-landing p.intro span, .col-links li a span, #sub-content li, body.enterprise-software-and-services h2, body.press-room-landing .col-content .portfolio-news h2 span');

};