// handy code to detect the browser for future reference
function detectBrowser(){
	var browser=navigator.appName;
	var b_version=navigator.appVersion;
	var version=parseFloat(b_version);
	if ((browser=="Microsoft Internet Explorer") && (version<6)){
		alert("Not good enough");
	}
	else{
		alert("good browser");
	}
}
// provides an update message if using IE 6
function isExplorer6() {
	var message = "Please update your browser to the latest version of Internet Explorer, Safari, Firefox or Opera to view this website correctly. To achieve maximum accessibility the website uses the latest CSS technologies that is not currently supported in this version of Internet Explorer";
	var appVer = navigator.appVersion;
	appVer = appVer.split(';');
	if(appVer[1] == ' MSIE 6.0') {
		alert(message);
	}				
}
// removes the default value from a text value, use the onfocus method in the input tag
function ClearText(field){
	//alert(field);
	if (field.defaultValue==field.value) {
		field.value = "";
	}
}
