/* Initialize JavaScript */

//////////////// JQUERY INIT

$(document).ready(function() {

	//make 2nd word of headers bold
	$("h1, h2, h3, h4, .contactBtn, .moreLink").each(function(){		
		var textContent = $(this).text().split(' ');
		var wordLength=textContent.length;
		if(wordLength>1){
			var lastWord = textContent[ wordLength - 1];
			//console.log(lastWord);
			$(this).html($(this).html().replace(lastWord,'<strong>'+lastWord+'</strong>'));
		};
	});
	
});


//////////////// JS FUNCTIONS	
