function presentFlash(flashSource, bgColor, width, height, wmode, flashVars) {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="' + width + '" height="' + height + '" id="' + flashSource + '" align="middle">');
		document.write('<param name="allowScriptAccess" value="sameDomain">');
		document.write('<param name="movie" value="/flash/' + flashSource + '.swf">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="bgcolor" value="' + bgColor + '">');
		document.write('<param name="menu" value="false">');
		document.write('<param name="flashvars" value="' + flashVars + '">');
		document.write('<param name="wmode" value="' + wmode + '">');
		document.write('<embed src="/flash/' + flashSource + '.swf" flashvars="' + flashVars + '" menu="false" quality="high" bgcolor="' + bgColor + '" width="' + width + '" height="' + height + '" name="' + flashSource + '" align="middle" wmode="' + wmode + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
		document.write('</object>');
}

dropMenus = new Array('ourPractice',
'aLombardi',
'kBerend',
'jHurst',
'physicianAssistants',
'kBerlekamp',
'mThomas',
'jWilliams',
'clinics',
'hospitalAffiliations',
'patientInformation',
'hearFrom',
'firstAppointment',
'afterSurgery',
'physicalTherapy',
'activityAfter',
'treatmentOptions',
'knee',
'hip',
'joint',
'arthroscopy',
'arthritisProgram',
'viscosupplementation',
'newsEvents',
'healthyLifestyles',
'contactUs',
'physicianLinks');

function dropShow(menu) {
  if (document.all) {
    document.all.menus.style.visibility = 'visible';
    document.all[menu].style.visibility = 'visible';
  } else if (document.getElementById) {
    document.getElementById('menus').style.visibility = 'visible';
    document.getElementById(menu).style.visibility = 'visible';
  }
}

function dropHide(menu) {
  if (document.all) {
    document.all.menus.style.visibility = 'hidden';
    document.all[menu].style.visibility = 'hidden';
  } else if (document.getElementById) {
    document.getElementById('menus').style.visibility = 'hidden';
    document.getElementById(menu).style.visibility = 'hidden';
  }
}

function setFontSize(fontSize) {
		SetCookie('fontSize', fontSize, 10);
		location.reload();
}

function SetCookie(cookieName, cookieValue, nDays) {
		var today = new Date();
		var expire = new Date();
		if (nDays == null || nDays == 0) nDays = 1;
		expire.setTime(today.getTime() + 3600000 * 24 * nDays);
		document.cookie = cookieName + "=" + escape(cookieValue) + "; path=/; expires=" + expire.toGMTString();
}

function hideElement(elemID) {
		document.getElementById(elemID).style.visibility = 'hidden';
	}

