$(document).ready(function() {
	/*********************************
	 * Embed Homepage flash, if homepage
	 *********************************/
	if($('.container').hasClass('container-home')){
		var flashvars = { };
		var params = {
			menu: "false"
		};
		var attributes = {
			id: "mySplashFlash",
			name: "mySplashFlash"
		};
		swfobject.embedSWF("intro_banner.swf", "flash-content", "940", "300", "9.0.0","expressInstall.swf", flashvars, params, attributes);
	}
	/****************************************************************
	 * Used to add a bar on the last item in the horizontal navigation
	 ****************************************************************/
	$('.main-nav>ul>li:last').append('<span></span>');
	
	$('.support-links >li:last').addClass('last');
	
	/****************************************************************
	 * Replace images on FAQ pages with text
	 ****************************************************************/
	$(".faq-content a img[alt='Back To Top']").replaceWith('Back To Top');
    
    /****************************************************************
	 * Add News Title
	 ****************************************************************/
    var pathLocation = window.location.pathname;
    if(pathLocation.indexOf('/news/news.htm') != -1)
    {
    $('.title-color- > a').append('News Releases');
    }
	if(pathLocation.indexOf('/news/2010/') != -1)
    {
    $('.title-color-').append('<h1><a href="/news/news.htm">News Release</a></h1>');
    }

});