// Imulus Global Javscript Code

// Open external links in a new window
$(document).ready(function() {
	$('a').filter(function() {
		return this.hostname && this.hostname !== location.hostname;
	}).attr('target','_blank');

	$('ul.faq li strong a').click(function () {
		$(this).parent().parent().children("div").toggle("fast");
		return false;
	});
	
	$('#header ul#navigation li.item5 a').attr('target','_blank');
	$('#header ul#navigation li.item6 a').attr('target','_blank');

	//Grab the Lead Source Detail from source, and throw it in a cookie, used to send to Marketo later
	var fm_leadSourceDetail = $.jqURL.get("source"); 

	$.cookie('fm_leadSourceDetail', fm_leadSourceDetail, { path: '/', expires: 120 });
});


