var navItems 	= new Array	(
								["iphone",		"index.php",		"iPhone Apps from the Big Hill"],
								["services",	"services.php",		"Development Services from the Big Hill"],
								//["media",		"media.php",		"View Videos and Download Wallpapers from the Big Hill"],
//								["reviews",		"reviews.php",		"See What People Are Saying about the Big Hill!"],
//								["news",		"news.php",			"News from the Big Hill"],
//								["blog",		"blog.php",			"Word from the Big Hill"],
//								["support",		"support.php",		"Support from the Big Hill"],
								["contact",		"contact.php",		"Contact the Big Hill"],
								["about",		"about.php",		"About the Big Hill"]								
							);
var navLoader 	= new Array();

function navHvr(lnkObj, navID){
	var navObj = findObj("nav" + navID);
	var navSRC = (navObj.src + "");
	var newSRC = (navSRC.indexOf("_nrt.") == -1) ? navSRC.replace("_hvr.", "_nrt.") : navSRC.replace("_nrt.", "_hvr.");
	navObj.src = newSRC;
}

function renderNav(){
	var navOP = "";
	for(var i=0; i<navItems.length; i++){
		var navFile = navItems[i];
		var selMod	= "nrt";
		if(document.location.toString().toUpperCase().indexOf(navFile[1].toUpperCase()) != -1){
			selMod	= "sel";
			document.title = document.title + " :: " + navFile[2];
		}
		navLoader.push(new Image);
		navLoader[i].src = "interface/nav_" + navFile + "_hvr.gif";
		navOP += "<a href='" + navFile[1] + "' onMouseOver='navHvr(this, " + i + ")' onMouseOut='navHvr(this, " + i + ")'><img id='nav" + i + "' src='interface/nav_" + navFile[0] + "_" + selMod + ".gif' class='navImg' border='0' width='127' height='21' alt='" + navFile[2] + "' title='" + navFile[2] + "'></a><br />"
	}
	document.write(navOP);
}