var chewOns = new Array;
chewOns[0]="Did you know that the American Dental Association recommends a well-baby checkup for all children BEFORE their first birthday?  Call our office for details.  (719)564-0990";
chewOns[1]="Did you know that snoring can be helped by a device called a \"snoring appliance\" which fits comfortably in your mouth to help you and the one you love get a good night’s sleep.";
chewOns[2]="Did you know that we do NOT recommend tartar-control or whitening toothpastes as they are often irritating to the soft tissues of the mouth.  If you want your teeth whiter, brush and floss daily and talk to us about which tooth whitening options are best for YOU!";
chewOns[3]="Did you know that dental implants can replace missing teeth ­ whether it’s one tooth or a whole mouthful of teeth?  We provide all phases of implant treatment, and take great pride in providing beautiful natural-looking dentistry.";
chewOns[4]="Do you have bad breath?  Most often bad breath is caused by bacteria and food, and can be remedied by brushing and flossing daily, but sometimes is due to an infection in the gums or teeth.  Talk to us if you think you have bad breath.";
chewOns[5]="Are you or someone you love afraid of the dentist?  We can help!  Dr. Jamie Johnson has produced a DVD called \"Smiles for a Lifetime\", which helps parents and children with tools they can use at home and at the dental office.";
chewOns[5]="Did you know that most toothbrushes need to be replaced every 6 weeks?  If the bristles of your toothbrush aren’t standing up straight, or are flared out, get a new SOFT-bristled toothbrush right away.";
chewOns[6]="Did you know that flossing your teeth is more important than brushing them?  The bacteria between teeth are aggressive and cause gum disease and tooth decay, so let’s get flossing!  If you have questions about HOW to floss correctly, ask us!";
chewOns[7]="Did you know that children should NOT suck their thumbs?  A pacifier is a much better alternative, and children should be weaned from them by 18 months of age. ";
chewOns[8]="Never put a baby to bed with a bottle, unless it contains only plain water.  Children who are put to bed with a bottle often develop \"baby bottle tooth decay\" which is totally preventable if children do not suck on any liquids other than water.";
chewOns[9]="Did you know that most of us grind our teeth off and on while we sleep?  This is called \"bruxism\" and over a lifetime can cause cracked teeth, headaches, advanced wear, and other problems, which can be prevented by a night grinding appliance.";
chewOns[10]="Did you know that dental sealants are a plastic coating which is placed into the deep grooves of teeth, where bacteria and food usually get stuck.  Dental sealants can be placed on children AND adults to prevent cavities from developing in these grooves. ";
chewOns[11]="Did you know that Osteonecrosis of the jaw (bone loss of the jaw) is associated with certain medications, called bisphosphonates, which women are usually taking for Osteoporosis prevention.  Talk to us if you are on these medications. ";
chewOns[12]="Did you know that Fluoride in drinking water is extremely safe in the amounts recommended by the American Dental Association?  If you are a nursing mother or have small children (especially 0 ­ 2 years old), talk to us about specific recommendations. ";
chewOns[13]="Did you know that children should be seen for an orthodontic evaluation by age 7, or as recommended by your dentist?  Adults can also have orthodontic treatment ­ it isn’t just for kids! ";
chewOns[14]="Did you know that wisdom teeth are the most variable teeth in the mouth?  Some people have 4, others 5, others none!  Not all wisdom teeth need to be removed, but it is important that they are evaluated to determine if yours should be left alone or removed. ";
chewOns[15]="Did you know that IV sedation, oral sedation, and nitrous oxide sedation are safe ways to alleviate anxiety in the dental office?  We provide these services along with excellent listening skills and TLC to all our patients!";
chewOns[16]="Did you know that periodontal disease (gum disease) and cavities are the most common DISEASES in the world??  And they are totally preventable!  Talk to us about the health of your mouth. ";
chewOns[17]="Did you know that tobacco use, smoking and alcohol are the primary risk factors for  oral cancer?   ";
chewOns[18]="Did you know that oral piercings (tongue and lip piercings) cause major permanent damage to the mouth?  If you are thinking of piercing your lip or tongue, think again and pierce something else, or nothing at all! ";

var randNum, theChewOn, chewNum;



var randNumB, theRandTest, theRandPic;

var randTests = new Array;
randTests[0]="<p>&quot;... All this was done without cosmetic procedures like veneers and I can say my teeth look better and are better functionally due to being my original teeth ...&quot; <a href=\"testimonials.htm\"><br>Read more &gt;&gt;</a></p>";
randTests[1]="<p>&quot;... Why didn't I see her sooner?? She fixed my front teeth like they were her own, and they look and feel perfect. ...&quot; <a href=\"testimonials.htm\"><br>Read more &gt;&gt;</a></p>";
randTests[2]="<p>&quot;... I am extremely pleased with the results! My smile is as good or better than when I was a young girl. ...&quot; <a href=\"testimonials.htm\"><br>Read more &gt;&gt;</a></p>";


var randPics = new Array;
randPics[0]="<img src=\"images/testimon1.jpg\" width=\"150\" height=\"156\" border=\"0\">";
randPics[1]="<img src=\"images/susie.jpg\" width=\"150\" height=\"151\" border=\"0\">";
randPics[2]="<img src=\"images/gail.jpg\" width=\"150\" height=\"151\" border=\"0\">";



function getChewOn(type) {
	var chewOn = findObj('chewOn');
	if(findObj('chewOn')) {
		if(type == "random") {
			randNum = Math.floor(Math.random()*(chewOns.length));
			chewNum = Number(randNum);
			theChewOn = chewOns[randNum];
			chewOn.innerHTML = theChewOn;
		} else if(type == "next") {
			chewNum = chewNum + 1;
			if(chewNum >= chewOns.length) {
				chewNum = 0;
			}
			theChewOn = chewOns[chewNum];
			chewOn.innerHTML = theChewOn;
		} else {
			chewNum = chewNum - 1;
			if(chewNum <= -1) {
				chewNum = chewOns.length - 1;
			}
			theChewOn = chewOns[chewNum];
			chewOn.innerHTML = theChewOn;
		}
	}
}

function getRandTestimonial() {
	var randTest = findObj('randTest');
	var randPic = findObj('randPic');
	if(findObj('randTest')) {
		randNumB = Math.floor(Math.random()*(randTests.length));
		theRandTest = randTests[randNumB];
		theRandPic = randPics[randNumB];
		randTest.innerHTML = theRandTest;
		randPic.innerHTML = theRandPic;
	}
	
}
