/* */

function LoadCSS () {
	//var browserAgent=navigator.userAgent;
	var browserName=navigator.appName;
	var browserVersion=navigator.appVersion;

	if (browserName=="Microsoft Internet Explorer") {
		document.write('<link rel="stylesheet" href="/gis/include/ie_nps_gis.css" type="text/css">');
	}

	if (browserName=="Netscape") {
		if ((parseFloat(browserVersion)) >= 5 ) {
			document.write('<link rel="stylesheet" href="/gis/include/ns7_nps_gis.css" type="text/css">');
		} else {
			document.write('<link rel="stylesheet" href="/gis/include/ns4_nps_gis.css" type="text/css">');
		}
	}

	if (browserName=="Opera") {
		document.write('<link rel="stylesheet" href="/gis/include/opera_nps_gis.css" type="text/css">');
	}

	if (browserName=="WebTV") {
		document.write('<link rel="stylesheet" href="/gis/include/webtv_nps_gis.css" type="text/css">');
	}

}

function launch(newURL, newName, newFeatures, orgName) {
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
		remote.opener = window;
	remote.opener.name = orgName;
	return remote;
}

function launchIMS(url, width, height) {
	myRemote = launch(url, "ims","width=" + width + ", height=" + height + ", channelmode=0, dependent=0, directories=0, fullscreen=0, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=1", "gis");
	myRemote.focus();
}



function GetWord() {
	var a = Math.random() + ""
	var rand1 = a.charAt(5)
	quotes = new Array
	quotes[1] = "waterfalls"
	quotes[2] = "biking trails"
	quotes[3] = "hiking trails"
	quotes[4] = "camping"
	quotes[5] = "sailing"
	quotes[6] = "thermal features"
	quotes[7] = "historic buildings"
	quotes[8] = "lakes"
	quotes[9] = "rivers"
	quotes[0] = "sand dunes"

	var quote = quotes[rand1]
	document.write('<strong>'+quote+'</strong>');

}