/*
 *	jsHighlightHeading.js
 *
 *  Simple jQuery script to add a span element within the H1 tag
 *  for visual affect.  Gets span text from title attribute of h1
 *  CSS styles should be available to style the span.
 *
 *  Dependencies:  jQuery
 */

(function($){
	$(document).ready(function() {
		var hTitle = $('h1').attr('title');
		var hText = new Array();
		hText = hTitle.split("-");
		$('h1').append('<span class="h1-bg">'+hText[0]+'</span>');
	});
})(jQuery);

