// smile.js | copyright 2005 Graphic Lynx

var submenu = new Array(5);
var space = ' &nbsp; &nbsp; &nbsp; ';

submenu[0] = '<a title="Smile Designs Home Page" href="index.cfm" class="MenuText" style="text-decoration:none;color:white;">HOME</a>'+space;
submenu[0] = submenu[0] + '<a title="A Sample of Dr. Goudy\'s Work" href="smile-gallery.cfm" class="MenuText" style="text-decoration:none;color:white;">SMILE GALLERY</a>'+space;
submenu[0] = submenu[0] + '<a title="About Donald L. Goudy, Jr., DDS" href="smile-about.cfm" class="MenuText" style="text-decoration:none;color:white;">ABOUT DR. GOUDY</a>'+space;
submenu[0] = submenu[0] + '<a title="Get Driving Directions and a Map to Our Office" href="smile-location.cfm" class="MenuText" style="text-decoration:none;color:white;">LOCATION</a>';

submenu[1] = '<a title="Smile Designs Services Overview" href="services.cfm" class="MenuText" style="text-decoration:none;color:white;">OVERVIEW</a>'+space;
submenu[1] = submenu[1] + '<a title="For Existing Smile Designs Patients" href="patients.cfm" class="MenuText" style="text-decoration:none;color:white;">EXISTING PATIENT SERVICES</a>'+space;
submenu[1] = submenu[1] + '<a title="Information on NTI-Tension Suppression System" href="services-nti.cfm" class="MenuText" style="text-decoration:none;color:white;">MIGRAINE RELIEF</a>';

submenu[2] = '<a title="Click to Login to Smile Designs" href="patients.cfm" class="MenuText" style="text-decoration:none;color:white;">PATIENT LOGIN</a>'+space;
submenu[2] = submenu[2] + '<a title="Become a Smile Designs Patient - Online" href="patients-new.cfm" class="MenuText" style="text-decoration:none;color:white;">BECOMING A PATIENT</a>'+space;
submenu[2] = submenu[2] + '<a title="View the Patient Bill of Rights" href="patients-rights.cfm" class="MenuText" style="text-decoration:none;color:white;">PATIENT BILL OF RIGHTS</a>';

submenu[3] = '<a title="Contact the staff at Smile Designs" href="contact.cfm" class="MenuText" style="text-decoration:none;color:white;">CONTACTS</a>'+space;
submenu[3] = submenu[3] + '<a title="Make an Appointment" href="contact-make-appointment.cfm" class="MenuText" style="text-decoration:none;color:white;">MAKE APPOINTMENTS</a>'+space;
submenu[3] = submenu[3] + '<a title="Change an Appointment" href="contact-change-appointment.cfm" class="MenuText" style="text-decoration:none;color:white;">CHANGE APPOINTMENTS</a>';

function doMenu(n)
{
	if (document.getElementById)
	{
		subm.innerHTML=submenu[n];
		m0.style.color = '#009999'; g0.src='gfx/menu-arrow-off.gif'; 
		m1.style.color = '#009999'; g1.src='gfx/menu-arrow-off.gif'; 
		m2.style.color = '#009999'; g2.src='gfx/menu-arrow-off.gif'; 
		m3.style.color = '#009999'; g3.src='gfx/menu-arrow-off.gif'; 
		switch(n)
		{
			case 0: m0.style.color = '#ffffff'; g0.src='gfx/menu-arrow-on.gif'; break;
			case 1: m1.style.color = '#ffffff'; g1.src='gfx/menu-arrow-on.gif';break;
			case 2: m2.style.color = '#ffffff'; g2.src='gfx/menu-arrow-on.gif';break;
			case 3: m3.style.color = '#ffffff'; g3.src='gfx/menu-arrow-on.gif';break;
		}
	}
}
