var testimonials = 9;
//var testimonialNo = 6;
var testimonialNo = Math.floor(Math.random()*testimonials)+1;

function testimonial() {
	var testimonial = document.getElementById('testimonial');
	var stemcell = document.getElementById('stemcell');
	/*
	stemcell.innerHTML = 	"<div style='margin-top:20px;' class='sideBox'>"
                        		+"PPC is the 1st pain clinic in the southwest to offer amnion derived <b>Stem Cell Rich Nonsteroidal Pain Injections</b>."
								+"<br><br><br>"
								+"<a href='stemcellinjections.html' class='learnMore'>Learn More</a>"
								+"<br><br>"
							+"</div>";
	*/
	
	if(testimonialNo == 1){
		testimonial.innerHTML = "<img src='imgTestimonials02.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I need to lift between 25 and 75 ceiling fans a day at work. The back and leg pain I was having made that impossible. I had to make excuses a lot and going up and down stairs bending my knees was very hard. "
								+"It went on for 2 months, then I was sent to Preferred Pain Center in Phoenix."
								+"<br><br>"
								+"After treatment at Preferred, everything feels great. I love to shoot pool and I can actually bend over to do that now whereas I couldn't before. I function at work better with all my job duties. I can go with my "
								+"grandkids to the dog park now - I couldn't do that before. "
								+"<br><br>"
								+"It's amazing what things you can't do when you have a back injury that you take for granted. I can do those things again!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Betty Shoup, Age 53, Associate at Home Depot</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 2){
		testimonial.innerHTML = "<img src='imgTestimonials03.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''Bending over for anything other than a few seconds created a lot of pain in my low back. Any sort of twisting motion made it worse and I couldn't kneel down. My feet after working all day were unbearably painful. "
								+"<br><br>"
								+"After receiving comprehensive treatment at Preferred, I am back to normal and I can do everything again. My feet don't hurt anymore, and my back pain is minimal. I can golf without pain, and walking is much more "
								+"tolerable. I had tried physical therapy and spinal decompression prior, but it didn't help individually. "
								+"<br><br>"
								+"It was the comprehensive package of treatments that Preferred instituted that worked for me. I'm almost 100% now!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Kathleen Kincaid, Age 60, Owner Paws & Claws Pet Grooming</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 3){
		testimonial.innerHTML = "<img src='imgTestimonials04.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I was having major headaches along with massive tingling and aching down my right arm. It just kept getting worse. I have cervical stenosis. I had to stop working every few minutes and 'shake out' the numbness. "
								+"It was making my life intolerable. "
								+"<br><br>"
								+"For 3 days per week, I participated in therapy, spinal decompression, chiropractic, physiotherapy, and interventional pain injections. "
								+"<br><br>"
								+"The aching, tingling, headaches - THEY ARE ALL GONE! I now have no pain. I can work without any problem whatsoever. "
								+"<br><br>"
								+"Don't just assume your pain will go away... Get it checked at Preferred Pain Center.''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Kim Willis, Age 54, Billing Coordinator at Radiation Oncology Center</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 4){
		testimonial.innerHTML = "<img src='imgTestimonials05.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I was involved in a motor vehicle accident and rear ended. I had whiplash, stiffness, and a sharp pain in the middle of my neck. Sleeping became very painful and i was waking up through the night. It "
								+"was tough looking over my shoulder while driving. "
								+"<br><br>"
								+"For 3 days per week, I received therapy including stretching, strengthening, isometrics, ice, electrical stimulation, spinal decompression therapy, and chiropractic manipulation. "
								+"<br><br>"
								+"My pain is minor at this point and is very tolerable. I don't think twice about it anymore with social activities or driving. The providers at Preferred Pain are competent and I love the way I was treated. It's a "
								+"friendly upbeat atmosphere."
								+"<br><br>"
								+"In many ways my neck feels better than ever, no more stiffness, no more headaches!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Steve Huyck, Age 36, Taxi Driver </b>"
                                +"</div>"
	}
	
	if(testimonialNo == 5){
		testimonial.innerHTML = "<img src='imgTestimonials06.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I was having tingling, numbness, and pain down both legs. My arms and entire back hurt, I was losing my balance because of it and it was pretty horrific. I couldn't sit for more than a few minutes at a time. "
								+"I'd been on pain meds for 3 years straight."
								+"<br><br>"
								+"I was very active prior to my pain with activities like camping and white water rafting. This pretty much had ground my activities to a halt for 3 years."
								+"<br><br>"
								+"My treatments have consisted of physical therapy, spinal decompression (both neck & lower back), chiropractic, and a series of epidural injections. "
								+"<br><br>"
								+"My sense of balance has improved greatly and I'm much more functional. My pain is almost gone in my back!"
								+"<br><br>"
								+"The efficiency of the center is what impressed me the most. I was see same day, imaging studies the next day, pain doctor appointment the day after that with my treatment completely planned out and started within 3 days. "
								+"<br><br>"
								+"That's Just Phenomenal!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Lillian Myles, Age 56, Computer Operator</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 6){
		testimonial.innerHTML = "<img src='imgTestimonials07.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''Just wanted to give you and your staff an update on me. Well, I’m actually doing fantastic."
								+"<br><br>"
								+"I have been pain free for about 2 months now. I transferred to Santa Clara in June and the pain in my leg dwindled to nothing. Eventually my back did the same. I transferred to Blacksburg, Va. 2 weeks ago and am still "
								+"feeling great."
								+"<br><br>"
								+"I was really dreading the 2600 mile drive across country in fear my back wouldn’t be up for the challenge, but luckily the trip went great and I was able to enjoy the incredible scenery pain free!"
								+"<br><br>"
								+"I really want to thank you and your staff for all your hard work and diligence in getting me back to my normal life. Thank you again!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Clint Ausburn, Age 29, Field Engineer</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 7){
		testimonial.innerHTML = "<img src='imgTestimonials08.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I've had back trouble for 30 years. Gymnastic injuries along with car accidents in the past with a recent one this past February left me with an L5 problem making me feel like I was 70 years old."
                                +"<br><br>"
                                +"It would take me 45 minutes just to get out of bed in the morning. I became depressed. I had severe back pain, no range of motion and I was afraid I was going to injure myself."
                             	+"<br><br>"
                               	+"Being in sales, I need to have a positive confident exterior and it was totally exhausting dealing with the pain and working through it. I didn’t have the luxury of having a nervous breakdown! My "
                               	+"treatments at Preferred Pain Center consisted of PT, TENS, and interventional pain treatments with Dr. Narwani. Those helped, and the final treatment was a Manipulation Under Anesthesia which seemed to fix my "
                               	+"problem for good. "
                               	+"<br><br>"
                              	+"All I can say is I feel absolutely freaking amazing! I can move, exercise, and I have lost 22 pounds. Every single pound of my weight loss is due to my treatment success. My pain went from an 8 to a 0, "
                               	+"and Life is Good.''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Lisa Wolfe, Advertising Executive</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 8){
		testimonial.innerHTML = "<img src='imgTestimonials09.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I had severe pain across my lower back and hips for 3 years. It was the first thing that crossed my mind when I would open my eyes every morning. I had pain all the time!"
                                +"<br><br>"
								+"I feel so blessed to have met Dr. Narwani and Preferred Pain Center. The clinic is clean, the staff is wonderful, and Dr. Narwani makes you feel so secure. You know it’s very "
                               	+"scary, someone injecting your spine - he was kind, informative, and told me everything he was going to do."
                               	+"<br><br>"
								+"I am pain free, I can breathe again, I can take the stairs at work, and I’ve lost 7 pounds."
                                +"<br><br>"
								+"I went dancing last weekend, which is the first time I’ve done that in 2 ½ years. I became one with Lady Gaga!"
                               	+"<br><br>"
								+"Thanks so much Dr. Narwani and Preferred Pain Center!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Sharon Ebel, Executive Assistant, Senior Living Options</b>"
                                +"</div>"
	}
	
	if(testimonialNo == 9){
		testimonial.innerHTML = "<img src='imgTestimonials10.jpg' style='border:#4e2e11 solid 2px; margin-left:20px;' align='right'>"
                                +"<i>''I'd been dealing with low back and leg pain for 8 years. My pain was a 9/10 and I couldn't take it anymore. Anything I did it was hard to get comfortable - driving, going to the movies, playing with my daughter, "
								+"nothing helped!"
								+"<br><br>"
								+"My treatment at Preferred Pain Center consisted of Spinal Decompression Therapy, PT, chiropractic, and interventional pain treatments with Dr. Narwani."
								+"<br><br>"
								+"Honestly, now it's amazing. After my first injection, I noticed a difference within a day. I had no idea it would happen that fast. The shooting down my leg is gone and as of now I still have NO PAIN!"
								+"<br><br>"
								+"I'm not as grumpy anymore and with my daughter we can play at the park, I can pick her up, carry her around."
								+"<br><br>"
								+"I would definitely recommend Preferred Pain Center to any of my family and friends. It's been months and I can't tell you how great it is to not even think about the pain anymore!''</i>"
                             	+"<br><br>"
                             	+"<div style='width:100%; text-align:right;'>"
                               	+"<b>Brett Crain, Age 32, Bartender</b>"
                                +"</div>"
	}
}                                           	
