/* 

Name: global.js
Created: 10/26/2000

*/


// ------------------------------------------------------------------
// start: get generic browser type
NN = (navigator.appName == "Netscape" && navigator.appVersion.charAt(1) != "6")?true:false;
IE = (navigator.appName != "Netscape")?true:false;
// ------------------------------------------------------------------


// ------------------------------------------------------------------
// start: select the appropriate stylesheet
if (!path) var path = ""; // if the path variable was set before the call to this (.js) file

if (NN)
	document.write("<LINK REL=stylesheet HREF=\""+path+"global/nn_styles.css\" TYPE=\"text/css\">");
else
	document.write("<LINK REL=stylesheet HREF=\""+path+"global/ie_styles.css\" TYPE=\"text/css\">");
// ------------------------------------------------------------------

function validator(form)
{
	if (!form.homephone.value && !form.officephone.value)
	{
		alert("\n\nPlease fill out at least one of the phone number fields.\n\n"); 
		return false;
	}
}