function HashSectionStyle () {
var file_name = document.location.href;
var end = (file_name.indexOf("?") == -1) ? file_name.length : file_name.indexOf("?");
var htmlnameex = file_name.substring(file_name.lastIndexOf("/")+1, end);
htmlsplit = new Array();
htmlsplit = htmlnameex.split(".");
activeHTML = htmlsplit[0];
activePageNav = activeHTML+"-nav";
var containerDivs=document.getElementById("section-container").getElementsByTagName("div");
var SectionMenu=document.getElementById(activePageNav);
var SectionMenuItem=SectionMenu.getElementsByTagName("a");
var Section = new Array();
	
	//Find Menu Items and corresponding Section Containers
	var q = 0;
	for (var x=0; x<containerDivs.length; x++) {
		if (q < SectionMenuItem.length) {
			if("#" + containerDivs[x].id == SectionMenuItem[q].hash) {
				Section[q]=containerDivs[x];
				q++;
			}
		}
	}
					
	//Incumbent Section
	x = window.location.href;
	words = new Array();
	words = x.split('#');
	IncumbentSection = words[1];
	for (var s=0; s<SectionMenuItem.length; s++) {
				if (SectionMenuItem[s].hash=="#"+IncumbentSection) {SectionMenuItem[s].className="SectionMenuDisplay";Section[s].className = "SectionDisplay";}
	}
	
	//IE User Click Menu Item, Corresponding Section Display
	if(navigator.userAgent.search(/msie/i)!= -1) {
		for (var s=0; s<SectionMenuItem.length; s++) {
			SectionMenuItem[s].onclick = function () {
				for (var f=0; f<SectionMenuItem.length; f++) {
					SectionMenuItem[f].className="";
					Section[f].className="";
					if (this.hash==("#" + Section[f].id)){
						this.className="SectionMenuDisplay";	
						Section[f].className="SectionDisplay";			
					}
				}
			}
		}
	}
	
	//Other Browsers User Click Menu Item, Corresponding Section Display
	else {
		var Hash = (function () {
		var
		// Import globals
		window = this,
		documentMode = document.documentMode,
		history = window.history,
		location = window.location,
		// Plugin variables
		callback, hash,
		// IE-specific
		iframe,

		getHash = function () {

			var index = location.href.indexOf('#');
			return (index == -1 ? '' : location.href.substr(index + 1));
		},

		// Used by all browsers except Internet Explorer 7 and below.
		poll = function () {
			var curHash = getHash();
			if (curHash != hash) {
				hash = curHash;
				callback(curHash);
				
			}
		},


		setUpIframe = function () {
			// Don't run until access to the iframe is allowed.
			try {
				iframe.contentWindow.document;
			} catch (e) {
				setTimeout(setUpIframe, 10);
				return;
			}

			// Create a history entry for the initial state.
			setIframe(hash);
			var data = hash;

			setInterval(function () {
				var curData, curHash;

				try {
					curData = iframe.contentWindow.document.body.innerText;
					if (curData != data) {
						data = curData;
						location.hash = hash = curData;
						callback(curData);
					} else {
						curHash = getHash();
						if (curHash != hash) setIframe(curHash);
					}
				} catch (e) {
				}
			}, 50);
		};

		return {
			init: function (cb, ifr) {
				// init can only be called once.
				if (callback) return;

				callback = cb;

				// Keep track of the hash value.
				hash = getHash();
				cb(hash);

				// Run specific code for Internet Explorer.
				if (window.ActiveXObject) {
					if (!documentMode || documentMode < 8) {
						// Internet Explorer 5.5/6/7 need an iframe for history
						// support.
						iframe = ifr;
						setUpIframe();
					} else  {
						// Internet Explorer 8 has onhashchange event.
						window.attachEvent('onhashchange', poll);
					}
				} else {
					// Change Opera navigation mode to improve history support.
					if (history.navigationMode) history.navigationMode = 'compatible';

					setInterval(poll, 50);
				}
				
			},

			go: function (newHash) {
				// Cancel if the new hash is the same as the current one, since there
				// is no cross-browser way to keep track of navigation to the exact
				// same hash multiple times in a row. A wrapper can handle this by
				// adding an incrementing counter to the end of the hash.
				if (newHash == hash) return;
				if (iframe) {
					setIframe(newHash);
				} else {
					location.hash = hash = newHash;
					callback(newHash);
				}
			}
		};
		})();

		function handler(newHash) {
			SectionHighlight = function (action) {;
			if (action=="show") {SectionDisplay="SectionDisplay";SectionMenuDisplay="SectionMenuDisplay";}
			else {SectionDisplay="";SectionMenuDisplay="";}
			SectionMenuItem[s].className=SectionMenuDisplay;
			Section[s].className=SectionDisplay;
			}
			for (var s=0; s<SectionMenuItem.length; s++) {
				
						SectionHighlight("hide");
				if (newHash==(Section[s].id)){
				SectionHighlight("show");
				}
			}
		}
		Hash.init(handler, document.getElementById('hidden-iframe'));
	}
}

	