// Assign the last modified date to the variable lastmoddate
var lastmoddate = document.lastModified;

// Create an if statement to test the value of lastmoddate
if(lastmoddate == 0)  { 
	var pageData = "Lastmodified: Unknown<br>&copy; 2004 Copyright North Boulder Physical Therapy and Sports Rehabilitation, LLC";
}
else  {
	var pageData = "<font class=\"copyrightText\">Lastmodified:" + lastmoddate + "<br>&copy; Copyright North Boulder Physical Therapy and Sports Rehabilitation, LLC</font>";
}


	// Creation of the image objects
if (document.images)
{
HomeOn=new Image(41,14);
HomeOn.src="images/home_on.jpg";
HomeOff=new Image(41,14);
HomeOff.src="images/home_off.jpg";

LocationsOn=new Image(84,14);
LocationsOn.src="images/locations_on.jpg";
LocationsOff=new Image(84,14);
LocationsOff.src="images/locations_off.jpg";

PatientOn=new Image(90,14);
PatientOn.src="images/patient_on.jpg";
PatientOff=new Image(90,14);
PatientOff.src="images/patient_off.jpg";

ProvidersOn=new Image(82,14);
ProvidersOn.src="images/providers_on.jpg";
ProvidersOff=new Image(82,14);
ProvidersOff.src="images/providers_off.jpg";

ServicesOn=new Image(74,14);
ServicesOn.src="images/services_on.jpg";
ServicesOff=new Image(74,14);
ServicesOff.src="images/services_off.jpg";

ContactOn=new Image(89,14);
ContactOn.src="images/contact_on.jpg";
ContactOff=new Image(89,14);
ContactOff.src="images/contact_off.jpg";

StaffOn=new Image(55,14);
StaffOn.src="images/staff_on.jpg";
StaffOff=new Image(55,14);
StaffOff.src="images/staff_off.jpg";

CentergreenOn=new Image(137,22);
CentergreenOn.src="images/ctrgreen_on.jpg";
CentergreenOff=new Image(137,22);
CentergreenOff.src="images/ctrgreen_off.jpg";

BMCOn=new Image(137,19);
BMCOn.src="images/bmc_on.jpg";
BMCOff=new Image(137,19);
BMCOff.src="images/bmc_off.jpg";

CentergreenstaffOn=new Image(137,22);
CentergreenstaffOn.src="images/ctrgreenstaff_on.jpg";
CentergreenstaffOff=new Image(137,22);
CentergreenstaffOff.src="images/ctrgreenstaff_off.jpg";

BMCstaffOn=new Image(137,19);
BMCstaffOn.src="images/bmcstaff_on.jpg";
BMCstaffOff=new Image(137,19);
BMCstaffOff.src="images/bmcstaff_off.jpg";

HipaaOn=new Image(122,25);
HipaaOn.src="images/patientinfo_hipaa_on.jpg";
HipaaOff=new Image(122,25);
HipaaOff.src="images/patientinfo_hipaa_off.jpg";

FormsOn=new Image(122,14);
FormsOn.src="images/patientinfo_forms_on.jpg";
FormsOff=new Image(122,14);
FormsOff.src="images/patientinfo_forms_off.jpg";

InsurancesPatientOn=new Image(122,14);
InsurancesPatientOn.src="images/patientinfo_insurances_on.jpg";
InsurancesPatientOff=new Image(122,14);
InsurancesPatientOff.src="images/patientinfo_insurances_off.jpg";

FAQOn=new Image(122,17);
FAQOn.src="images/patientinfo_faq_on.jpg";
FAQOff=new Image(122,17);
FAQOff.src="images/patientinfo_faq_off.jpg";

AppointmentOn=new Image(122,22);
AppointmentOn.src="images/patientinfo_appt_on.jpg";
AppointmentOff=new Image(122,22);
AppointmentOff.src="images/patientinfo_appt_off.jpg";

ReferralOn=new Image(72,24);
ReferralOn.src="images/sub_providers_referral_on.jpg";
ReferralOff=new Image(72,24);
ReferralOff.src="images/sub_providers_referral_off.jpg";

InsurancesOn=new Image(72,22);
InsurancesOn.src="images/sub_providers_insurances_on.jpg";
InsurancesOff=new Image(72,22);
InsurancesOff.src="images/sub_providers_insurances_off.jpg";

FeesOn=new Image(132,23);
FeesOn.src="images/sub_services_fees_on.jpg";
FeesOff=new Image(132,23);
FeesOff.src="images/sub_services_fees_off.jpg";

OrthoOn=new Image(132,15);
OrthoOn.src="images/sub_services_ortho_on.jpg";
OrthoOff=new Image(132,15);
OrthoOff.src="images/sub_services_ortho_off.jpg";

SportsOn=new Image(132,15);
SportsOn.src="images/sub_services_sports_on.jpg";
SportsOff=new Image(132,15);
SportsOff.src="images/sub_services_sports_off.jpg";

IncontinenceOn=new Image(132,15);
IncontinenceOn.src="images/sub_services_incontinence_on.jpg";
IncontinenceOff=new Image(132,15);
IncontinenceOff.src="images/sub_services_incontinence_off.jpg";

MassageOn=new Image(132,16);
MassageOn.src="images/sub_services_massage_on.jpg";
MassageOff=new Image(132,16);
MassageOff.src="images/sub_services_massage_off.jpg";

HandOn=new Image(132,15);
HandOn.src="images/sub_services_hand_on.jpg";
HandOff=new Image(132,15);
HandOff.src="images/sub_services_hand_off.jpg";

OrthoticsOn=new Image(132,14);
OrthoticsOn.src="images/sub_services_orthotics_on.jpg";
OrthoticsOff=new Image(132,14);
OrthoticsOff.src="images/sub_services_orthotics_off.jpg";

NeuroOn=new Image(132,16);
NeuroOn.src="images/sub_services_neuro_on.jpg";
NeuroOff=new Image(132,16);
NeuroOff.src="images/sub_services_neuro_off.jpg";

BikeOn=new Image(132,15);
BikeOn.src="images/sub_services_bike_on.jpg";
BikeOff=new Image(132,15);
BikeOff.src="images/sub_services_bike_off.jpg";

PNOn=new Image(132,16);
PNOn.src="images/sub_services_pn_on.jpg";
PNOff=new Image(132,16);
PNOff.src="images/sub_services_pn_off.jpg";

SkifitOn=new Image(162,15);
SkifitOn.src="images/sub_services_skifit_on.jpg";
SkifitOff=new Image(162,15);
SkifitOff.src="images/sub_services_skifit_off.jpg";

PilatesOn=new Image(162,19);
PilatesOn.src="images/sub_services_pilates_on.jpg";
PilatesOff=new Image(162,19);
PilatesOff.src="images/sub_services_pilates_off.jpg";
}


// function to turn on rolled over graphic
function on(pic)  {
	if (document.images)  {
		document.images[pic].src=eval(pic + "On.src");
	}
}

// function to turn off rolled over graphic
function off(pic)  {
	if(document.images)  {
		document.images[pic].src= eval(pic + "Off.src");
    }
}
var over = 'no';
var lastMenu = ' ';
var styleSheetElement;
var oldElement;

function menuOn(currentMenu) {
	over = 'yes';
	if ((browser == 'Netscape') && (version < 5)) {
		if (lastMenu != ' ')  {
			document.images[lastMenu].src = eval(lastMenu + 'Off.src');	
			eval('document.' + lastMenu + 'Menu.visibility = "hidden"');		
		}
		document.images[currentMenu].src = eval(currentMenu + 'On.src');
		eval('document.' + currentMenu + 'Menu.visibility = "visible"');	
		lastMenu = currentMenu;			
	}
	else {
		if (lastMenu != ' ') {
			eval('document.images[lastMenu].src = ' + lastMenu + 'Off.src');
            lastMenu = lastMenu + 'Menu';
			oldElement = document.getElementById(lastMenu);
			oldElement.style.visibility = "hidden";
		}
		eval('document.images[currentMenu].src = ' + currentMenu + 'On.src');
		var layerName = currentMenu + 'Menu';
		styleSheetElement = document.getElementById(layerName);
		styleSheetElement.style.visibility = "visible";
		lastMenu = currentMenu;		
	}

}

function overChecker(currentMenu) {
	over = 'no';
	lastMenu = currentMenu;
	setTimeout("menuOff()", 100);
}

function menuOff() 
{
	if (over == 'no')  {	
			if ((browser == 'Netscape') && (version < 5)) {
				document.images[lastMenu].src = eval(lastMenu + 'Off.src');
				eval('document.' + lastMenu + 'Menu.visibility = "hidden"');	
			}
			else {
			eval('document.images[lastMenu].src = ' + lastMenu + 'Off.src');
			styleSheetElement.style.visibility = "hidden";
			
		}
	}	
}