
			// ENTER FALLBACK PRODUCT NAME FOR LOCAL HELP ACCESS //
			
			/* Localizable */
			FALLBACK_PRODUCT_NAME = " ";
			FONT_SIZE = 2;

			/*
			Leave FALLBACK_PRODUCT_NAME blank to retain default behavior (no product name in IE11 and Chrome with local access) 
			To use two product names, enter "productname1 </br> productname2"
			Example: FALLBACK_PRODUCT_NAME = "NNMi </br> Ultimate"
			If you use two product names, change FONT_SIZE to 1.4
			*/
			// DO NOT EDIT BELOW THIS LINE //
			// *************************** //

		$(document).ready(function () {
			// add responsive styles
			$('head').append('<style type="text/css">#header .search-account-container {top: 10px;} @media only screen and (max-width:47.938em) {#header .search-bar {left : 25px !important; right: auto !important; top: 100% !important; margin-top: 0;} #header .search-account-container {position: static; width: 238px;} #body {top: 95px !important;} #header-content {font-size: 1.4em !important;}}</style>');

			// add divs for header text and for logo
			$("#header>a").after('<div id="header-content"></div>');
			$("#header>a").after('<div id="header-logo"></div>');

			//set the base format for the header text//
			$("#header-content").css({
			"margin-top": "0.5em",
			"font-size": "2em",
			"font-family": "FT-MetricLocal, Arial, Tahoma, 'Lucida Sans Unicode', sans-serif;"
			});


			// load the contents of #custom-header-content from Content/Resources/MasterPages/_FT_HTML5_bannerTitle.htm file into #header-content
			$("#header-content").load("Content/Resources/MasterPages/_FT_HTML5_bannerTitle.htm #custom-header-content", function(response, status) {
				//provides handling for failed XMLHTTP request during local file access//
				if ( status == "error" ) {
					$("#header-content").html(FALLBACK_PRODUCT_NAME); 
					$("#header-content").css({
					"white-space": "nowrap",
					"font-size": FONT_SIZE + "em"
					});
				}
				else
				{
					// check for multi-line title and change styles if necessary
					var content = $("#header-title2").text();
					var regex = /[A-Za-z]/;
					if (regex.test(content))
					{
						$("#header-content").css({"white-space": "nowrap", "font-size": "1.4em"});
					}
				}
			});
			
			// add and position the logo
			$("#header-logo").html("<img src='Content/Resources/MasterPages/_FTb_banner_graphic.png' />");
			$("#header-logo").css({"float" : "left", "margin": "1em"});


			$("span.tabs-nav-text").css({"cursor": "default"});

			$("#contentBodyInner").css({
			"border-left-color":"white",
			"border-right-color":"white",
			"margin-top":"0.5em",
			  }); 

 			$("#contentBody").css({"margin-left": "1.5em"});


			$("div.search-filter-content").css({"border":"1px solid #E5E8E8"});

			// update link to search tips when non-default output file name is used
			var url = window.location.pathname;
			var defaultFile = url.substring(url.lastIndexOf('/')+1);

			if (defaultFile  != "Default.htm") {
				var link = document.getElementById("searchLink");
				var path= "./" + defaultFile + "#Resources/MasterPages/_FT_aboutSearch.htm";
				link.setAttribute("href", path);
			}

			$('head').append('<style type="text/css">@font-face {font-family: "FT-MetricLocal"; font-weight: normal; font-style: normal; src: url("Content/Resources/Stylesheets/fonts/MetricNEW-Web-RegularWeb.woff") format("woff");} @font-face {font-family: "FT-MetricLocal"; font-weight: normal; font-style: italic; src: url("Content/Resources/Stylesheets/fonts/MetricNEW-Web-RegularItalicWeb.woff") format("woff");} @font-face {font-family: "FT-MetricLocal"; font-weight: bold; font-style: normal; src: url("Content/Resources/Stylesheets/fonts/MetricNEW-Web-SemiboldWeb.woff") format("woff");} font-face {font-family: "FT-MetricLocal"; font-weight: bold; font-style: italic; src: url("Content/Resources/Stylesheets/fonts/MetricNEW-Web-SemiboldItalicWeb.woff") format("woff");}</style>');
		});
