<!-- Begin

// USE lowercase FOR ALL OPTIONS 

initNavigation = function() {

	if (document.getElementById) { // Does the browser support the getElementById method?
		navRoot = document.getElementById("nav_list"); // Get main list ul

		if (typeof defaultMainList!="undefined")
			var reMainNav = new RegExp("^" + defaultMainList + "<", "i"); // Regex for finding the index of the default main list item

		for (i=0; i<navRoot.childNodes.length; i++) { // Loop over main list items
			node = navRoot.childNodes[i];
			if (node.nodeName == "LI") {
				if ((typeof defaultMainList!="undefined") && node.firstChild.innerHTML.match(reMainNav)) { // Found default main nav item
					defaultMainListIndex = i;
				} else {

					////// Apply onmouseover and onmouseout event handlers to each main list item //////
					node.onmouseover = function() {
						if (defaultMainListIndex != -1) // Is there a default main list item?
							navRoot.childNodes[defaultMainListIndex].className = "nav_default_off"; // De-activate it
						this.className = "mouse_over"; // Activate the hovered item
					}
					node.onmouseout = function() {
						this.className = ""; // De-activate the hovered item
						if (defaultMainListIndex != -1) // Is there a default main list item?
							navRoot.childNodes[defaultMainListIndex].className = "nav_default_on"; // Activate it
					}
				}
			}
		}

		////// Activate the default main list item //////
		if (defaultMainListIndex != -1)
			navRoot.childNodes[defaultMainListIndex].className = "nav_default_on";

		////// If the search form has radio buttons, make them visible //////
		radioContainer = document.getElementById("radio_container");
		if (radioContainer) {
			//Comment the following line to always hide the radio buttons
			radioContainer.style.display = "inline";
		}
	}
}

// Adds a handler to an event without over-riding other handlers

function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			if (oldonload) {
				oldonload();
			}
			func();
		}
	}
}

var defaultMainListIndex = -1; // Initialize the index of the default main list item

addLoadEvent(initNavigation); // Add initNavigation to the page onload event handler


document.write('<ul id="nav_list">');
document.write(' <li ><a href="http://www.sapphiremountaingraphics.com/index.html">Home</a></li>');
document.write(' <li><a href="http://www.sapphiremountaingraphics.com/shopnow/index.php?main_page=index&cPath=3" title="Web Design and Maintenance"><span>Web Design & Hosting</span></a>');
document.write(' 		<ul>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/portfolio.html">Design Portfolio</a></li>');
document.write(' </li>');
document.write(' <li ><a href="http://www.sapphiremountaingraphics.com/services.html">Services</a>');
document.write(' 		<ul>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/marketing-services.html">Marketing</a></li>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/desktop-publishing.html">Publishing</a></li>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/logo-design.html">Logo Design</a></li>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/shopnow/index.php?main_page=index&cPath=1">Photo Restoration</a></li>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/services-walkin.html">In Store Services</a></li>');
document.write(' 		</ul>');
document.write(' </li> ');
document.write(' <li><a href="http://www.sapphiremountaingraphics.com/shopnow/index.php?main_page=index&cPath=5&zenid=jo8alb3reelijmrhuhfgd86dl5">Photo To Art</a></li>');
document.write(' <li><a href="http://www.sapphiremountaingraphics.com/company.html">Company</a> ');
document.write(' 		<ul>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/contact.html">Contact Us</a></li>');
document.write(' 			<li><a href="http://www.sapphiremountaingraphics.com/Ravalli_Republic_Article.html">Ravalli Republic Article</a></li>');
document.write('			<li><a href="http://www.sapphiremountaingraphics.com/carriesmith.html</a></li>');
document.write('			<li><a href="http://www.sapphiremountaingraphics.com/katemontressor.html</a></li>');
document.write(' 		</ul>');
document.write(' </li> ');
document.write(' </ul>');


//  End -->