// JavaScript Document
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function DisplayText() {
	var sText = "";
	switch (Math.round(Math.random() * 2) + 1){
		case 1:
			sText = "advocates";
			break;
		case 2:
			sText = "trust";
			break;
		case 3:
			sText = "relationships";
			break;
		default:
			sText = "advocates";
			break;
	}
	return sText;
}

function PhysicianInfo(sInfoType,sName){
	var sReturn = "";
	// default case is also steve_johnson
	switch (sName){
		case "teri_johnson":
			if(sInfoType == "BIO"){
				sReturn = "Dr. Teri Johnson is board certified in family medicine and has been seeing patients in the Fargo-Moorhead area since 1995.  She earned her medical degree from the University of North Dakota School of Medicine and completed her residency at the UND Family Practice Center in Bismarck, ND. She is a member of AAFP. Dr.&nbsp;Teri brings a high level of compassion to her work. She believes in the importance of getting to know her patients and takes the time to individualize their patient care plan. Her greatest satisfaction is handing new babies to their moms and dads.";
			}else if(sInfoType == "NAME"){
				sReturn = "Teri Johnson, MD";
			}
			break;		
		case "tracy_martin":
			if(sInfoType == "BIO"){
				sReturn = "Dr. Tracy Martin earned her medical degree from the University of North Dakota School of Medicine in 1988.  In 1991, she completed her residency in Fargo, ND at the UND Family Practice Center and has been practicing in the Fargo-Moorhead area ever since.  Dr.&nbsp;Martin is a member of the American Academy of Family Physicians and the ND Academy of Family Physicians. Dr. Martin enjoys serving as a true family doctor, caring for the entire family throughout all stages of their lives.";
			}else if(sInfoType == "NAME"){
				sReturn = "Tracy Martin, MD";
			}
			break;		
		case "michelle_radke":
			if(sInfoType == "BIO"){
				sReturn = "Dr. Michelle Radke earned her medical degree from the University of North Dakota School of Medicine and completed her family practice residency in Maplewood, MN at University of Minnesota at St Johns.  She has been practicing in the Fargo-Moorhead area since 2000.  Dr.&nbsp;Radke is Board Certified in Family Practice. She enjoys being an independent physician because it allows her to spend ample time with each of her patients and gives patients the added comfort of having access to their physician.  Dr. Radke sees a large number of OB patients, and enjoys the continued relationship with both Mom and baby for years after the delivery.";
			}else if(sInfoType == "NAME"){
				sReturn = "Michelle Radke, MD";
			}
			break;
					case "sharon_dunkel":
			if(sInfoType == "BIO"){
				sReturn = "Sharon Dunkel, Family Nurse Practitioner, began her practice in the Fargo-Moorhead area in 1996 after earning her Nurse Practitioner degree from the University of North Dakota. She is board-certified by ANCC as a Family Nurse Practitioner. After practicing for years in OB/GYN  at MeritCare, Sharon joined Independent Family Doctors in October 2007. Sharon brings a warm and personal touch to her practice. She strives to provide high-quality, compassionate care to each patient she encounters. She believes patients deserve to be heard, to receive the time necessary to address their needs/concerns, and to have access to a consistent provider who knows them and cares for their well-being. She has a strong interest in women's health and a special heart for teen girls.<br>&nbsp;";
			}else if(sInfoType == "NAME"){
				sReturn = "Sharon Dunkel, FNP";
			}
			break;
		
			case "sheryll_clapp":
			if(sInfoType == "BIO"){
				sReturn = "Sheryll Clapp, Family Nurse Practitioner, graduated from University of Minnesota with her Family Nurse practitioner degree in 1997. She is currently certified by the ANCC to practice in family medicine. Her family medicine practice began at Merticare in 1997. In May of 2008,  she joined Independent Family Doctors. Sheryll enjoys the aspect of caring for the entire family that practicing in family medicine allows. Working with patients to keep them healthy in a consistent, caring relationship is an important part of her practice. She has a strong background in pediatric and women’s health. She continues to enjoy this aspect of her practice.<br>&nbsp;";
			}else if(sInfoType == "NAME"){
				sReturn = "Sheryll Clapp, FNP";
			}
			break;
		default:
			// default is steve_johnson
			if(sInfoType == "BIO"){
			    sReturn = "Dr. Steve Johnson earned his medical degree from the University of North Dakota School of Medicine and completed his residency at the UND Family Practice Center in Bismarck, ND.  He began seeing patients in the Fargo-Moorhead area in 1995. Dr. Johnson is a member of the American Academy of Family Physicians (AAFP) and is board certified in family medicine. He has a special interest in sports medicine and is a former team physician for the FM Beez (basketball) and FM RedHawks (baseball) teams. Dr. Steve has coached youth hockey in Fargo for over 10 years and enjoys watching the Twins, Vikings, and area high school and college sports teams.";
			}else if(sInfoType == "NAME"){
				sReturn = "Steve Johnson, MD";
			}
			break;
	}
	return sReturn;
}



