

	

if (document.images) {

		//These are the button images
		
		middleburgHtsUp = new Image();
		middleburgHtsUp.src ='images/buttons/MiddleburgHts_up.gif';
		
		middleburgHtsDown = new Image();
		middleburgHtsDown.src ='images/buttons/MiddleburgHts_down.gif';

		bereaUp = new Image();
		bereaUp.src ='images/buttons/berea_up.gif';
		
		bereaDown = new Image();
		bereaDown.src ='images/buttons/berea_down.gif';

		testimonialsUp = new Image();
		testimonialsUp.src = 'images/buttons/testimonials_up.gif';
		
		testimonialsDown = new Image();
		testimonialsDown.src = 'images/buttons/testimonials_down.gif';
		
		LittleUp = new Image();
		LittleUp.src = 'images/buttons/Little_up.gif';

		LittleDown = new Image();
		LittleDown.src = 'images/buttons/Little_down.gif';
		
		brookparkUp = new Image();
		brookparkUp.src = 'images/buttons/brookPark_up.gif';

		brookparkDown = new Image();
		brookparkDown.src = 'images/buttons/brookPark_down.gif';
		
		middlefieldUp = new Image();
		middlefieldUp.src = 'images/buttons/middlefield_up.gif';

		middlefieldDown = new Image();
		middlefieldDown.src = 'images/buttons/middlefield_down.gif';

		closeUp = new Image();
		closeUp.src = 'images/buttons/close_up.gif';

		closeDown = new Image();
		closeDown.src = 'images/buttons/close_down.gif';

		nextUp = new Image();
		nextUp.src = 'images/buttons/next_up.gif';

		nextDown = new Image();
		nextDown.src = 'images/buttons/next_down.gif';

		

		StarUp = new Image();
		StarUp.src = 'pix/slideShow/Star_Up.gif';
		
		StarDown = new Image();
		StarDown.src = 'pix/slideShow/Star_Down.gif';
		
		testUp = new Image();
		testUp.src = 'pix/slideShow/test_up.jpg';

		testDown = new Image();
		testDown.src = 'pix/slideShow/test_down.jpg';

/* Slideshow Images */

		images0 = new Image();
		images0.src = 'images/slideShow/pump1.jpg';

		images1 = new Image();
		images1.src = 'images/slideShow/pump2.jpg';

		images2 = new Image();
		images2.src = 'images/slideShow/pump3.jpg';

		images3 = new Image();
		images3.src = 'images/slideShow/pump4.jpg';

		images4 = new Image();
		images4.src = 'images/slideShow/pump5.jpg';

		images5 = new Image();
		images5.src = 'images/slideShow/pump6.jpg';
		
		}
		
		
		/* End of Images */		
		
		
		function buttondown ( buttonname )
		{
			
			if ( document.images ) 
			{
			document[ buttonname ].src=eval( buttonname + "Down.src" );
			}
			
		}

		function buttonup ( buttonname )
		{
			if ( document.images ) 
			{
			document[ buttonname ].src=eval( buttonname + "Up.src" );
			}
		}

	function salePopup()
		{
		salesWindow=window.open("sale_popup.html", "littleWindow", "location=no,null,width=600,height=650,scrollbars=yes, left=+150,top=+50"); 
		fwd();
		}

	function popUpClose()
		{
		self.close();
		fwd();
		}

	function popup()
		{		
  		TestimonialsWindow = window.open("testimonials_popup.html", "littleWindow", "location=no,null,width=500,height=400,scrollbars=yes, left=+50,top=+50"); 
		}

	function swapit (pix)
		{
			var randomNumber=Math.floor(Math.random()*8);
			/*alert(randomNumber);This alert box is only for testing*/
			if (document.images)
				{
				document.getElementById(pix).src = eval( "pix" + randomNumber + ".src");
				return;
				}
		}
	
	
			var testimonial = new Array();
				
				testimonial[0]="I was hesitant about taking a class because I had never taken one before.Well after the first class, I knewI made the right decision.The instructors makethe class easy to follow,you can feel the energyfrom the entire groupand after class,I always feel better about myself.";
				
				testimonial[1]= "I went down 4 holes in my belt and 10 pounds in a month and a half!";

				testimonial[2]= "I love the class, if I miss a class I feel I missed alot! The class has great instuctors and energy that makes the class exciting! My clothes are fitting different!";

				testimonial[3]= "I absolutely love the class.The positive, friendly, inclusive attitude always puts me in a great mood.The way you teach allows for all levels of ability, and keeps challenging me even as I get stronger.";

				testimonial[4]= "<P>I really didn't think this class was for me, but I gave it a try and realized how good it was making me feel and actually look.</p><p>At the time I was only able to make class 1 day a week. Back in April, when I started coming to this class I had also just joined Weight Watchers with the hopes of losing 30 lbs. With dedication to this class and WW, I achieved my goal in August. As I was losing weight I was seeing the results of this class by the way my body was toning up.</p><p>Over the summer I received compliments on how\"sculpted\" my arms were and I loved it!!! I'm glad there are more time offerings because I now try to come 3 times a week. </p><p>Other work out classes I've taken became boring over time, but this class is ever changing and different every session and I love that!  It's weird for me to saythat I \"enjoy\" coming to a class that kicks your butt - but I love what it's doing to my body!  </p><p>Thanks Sophia - I love ya, but you'll never make me LOVE triceps-even though they look pretty good!!";
				
				testimonial[5]= "I just had to go buy new pants, a size 2.  YAHOO!!!!!!!  When I started your class I was a size 6. THANK YOU, you are the best."
				
				testimonial[6]="It's  been six months since I started pump and i have noticed changes in both the shape and strength of my body. I was a bit skeptic at first when you said just the strength training would give flat abs and I was thinking how could that be without doing a hundred crunches . But it is true what you said and now although my abs are not as flat as I would like them to be they are definitely getting stronger.You have converted me."
				
				testimonial[7]="This is the best exercise class I have joined, the instructors are great and the mix of step cardio and strengthening exercises  have really worked for me . I can see a definite change in my body and my clothes fit much better . The weekly tips on nutrition and exercise are also a useful reminder to maintain what I have achieved."

				testimonial[8]="I have been in PUMP class for 9 full months now and am down 2 pants sizes and 35 lbs!!  This is a HUGE accomplishment.  Even when I am not losing much weight my body has been changing non-stop.  I have gotten compliments from many people!  Thanks Sophia:)"
				
				testimonial[9]="I was determined to lose weight and get into shape, so I began a vigorous work out program on my own at my local rec center. I was doing cardio five, sometimes six days per week, for 30-45 minutes a pop, sometimes even 60 minutes! After six months the results were barely noticable, and I was working hard! I was discouraged. One day I just happened to peek in on Sophia's extreme pump class. I used to lift weights, but hadn't in a while. I loved the music and I like working out in a class setting. I find being around others is encouraging to me, so I decided to give it a try and joined for one month and have been going ever since. Lifting weights and toning my body muscle has made all the difference! I have seen major results! You have to go consistently. I attend 3 days per week. That was May of 2010. Here I am 1 ½ years later. I've lost 25 lbs and dropped two pant sizes! Challenge your body to change your body! I did and I'm in better shape now than I've been in 15 years!!"
		
		var testimonialAuthor = new Array ();
				testimonialAuthor[0] = "Mari L.";
				testimonialAuthor[1] = "Kim";
				testimonialAuthor[2] = "Lisa";
				testimonialAuthor[3] = "Lynda";
				testimonialAuthor[4] = "desiree";
				testimonialAuthor[5] = "Dee P.";
				testimonialAuthor[6] = "Mimi";
				testimonialAuthor[7] = "Mimi";
				testimonialAuthor[8] = "Renee";
				testimonialAuthor[9] = "Marcie";
	

			var i = Math.floor(10*Math.random());


		var timeInMs=3500;
		var advanceShow;
		var slideShow = new Array(6);
		var indexPlus=0;
		var indexMinus=0;
		slideShow[0]="images/slideShow/pump1.jpg";
		slideShow[1]="images/slideShow/pump2.jpg";
		slideShow[2]="images/slideShow/pump3.jpg";
		slideShow[3]="images/slideShow/pump4.jpg";
		slideShow[4]="images/slideShow/pump5.jpg";
		slideShow[5]="images/slideShow/pump6.jpg";

		function fwd()
			{
				if (advanceShow != null)
					clearinterval(advanceShow);
				advanceShow = setInterval("stepFwd()", timeInMs);
			return;
			}

		function stepFwd()
			{
				if (indexPlus == 5)
					indexPlus = 0;
				else
					++indexPlus;
				document.getElementById('pix').src = slideShow[indexPlus];
				return;
			}


