$(document).ready(function(){
	$('.sl-google-map').hide();
	$("#meet-us ul li .view_map a").click(function(){
		if($(this).is('.active')){
			$(this).removeClass('active');
			$(this).parent().parent().parent().find('.sl-google-map:first').slideUp(400);
			return false;
		}
		else{
			$(this).addClass('active');
			$(this).parent().parent().parent().find('.sl-google-map:first').slideDown(400);
			return false;
		}
	});

	$("#hewitt-life ul li .view_map a").click(function(){
		if($(this).is('.active')){
			$(this).removeClass('active');
			$(this).parent().parent().parent().parent().find('.sl-google-map:first').slideUp(400);
			return false;
		}
		else{
			$(this).addClass('active');
			$(this).parent().parent().parent().parent().find('.sl-google-map:first').slideDown(400);
			return false;
		}
	});

	$('ul#nav_global li').hover(function(){
		$(this).find('a:first').addClass('active');
	},
	function(){
		$(this).find('a:first').removeClass('active');
	});
	
	
	$("#nav_global").superfish({
		delay:0,
		speed:0,
		autoArrows:false,
		dropShadows:false
	});
});

var hewitt = {
	src: '/interface/flash/hewitt.swf'
};

sIFR.activate(hewitt);

sIFR.replace(hewitt,{
	selector: 'h1'
	,wmode: 'transparent'
	,css: [
	'.sIFR-root {color:#0A335A;letter-spacing:-1;}'
	]
});

sIFR.replace(hewitt,{
	selector: '#blog #main .inner h2'
	,wmode: 'transparent'
	,css: [
	'.sIFR-root {color:#0A335A;letter-spacing:-1;}'
	]
});
