// JavaScript Documentfunction flashWrite() {	// 	Create string from the userAgent of the browser	var agent=navigator.userAgent.toLowerCase();	//	/* 	Check if agent string contains any verion of		ipod, iphone, blackberry or palm pilot.  If 		yes then direct user to html version of site. */ 		if (agent.search('ipod') !== -1) {			//		} else if (agent.search('iphone') !== -1) {			//		} else if (agent.search('blackberry') !== -1) {			//		} else if (agent.search('palm') !== -1) {			//		} else {			/* Write the Flash link line */			document.write("<li><a href="+"flash/index.htm"+" class="+"bborder"+">SGARC Flash Version</a></li>");			}}//function footerFlash() {	// 	Create string from the userAgent of the browser	var navAgent=navigator.userAgent.toLowerCase();	//	/* 	Check if agent string contains any verion of		ipod, iphone, blackberry or palm pilot.  If 		yes then direct user to html version of site. */ 		if (navAgent.search('ipod') !== -1) {			//		} else if (navAgent.search('iphone') !== -1) {			//		} else if (navAgent.search('blackberry') !== -1) {			//		} else if (navAgent.search('palm') !== -1) {			//		} else {			/* Write the Flash link line */			document.write('<br /><a href="../flash/index.htm">View Flash version</a>');					}}//function footerFlashindex() {	// 	Create string from the userAgent of the browser	var navAgent=navigator.userAgent.toLowerCase();	//	/* 	Check if agent string contains any verion of		ipod, iphone, blackberry or palm pilot.  If 		yes then direct user to html version of site. */ 		if (navAgent.search('ipod') !== -1) {			//		} else if (navAgent.search('iphone') !== -1) {			//		} else if (navAgent.search('blackberry') !== -1) {			//		} else if (navAgent.search('palm') !== -1) {			//		} else {			/* Write the Flash link line */			document.write('<br /><a href="flash/index.htm">View Flash version</a>');					}}