/********************************************* edit these values to suit *********************************************/

  var quotes=[
               '"Fabulous Dog Spa wow! there is no place in town like it!! I walked in the door and everyone was so nice. The place is unbelieveable. It doesnt even look like its for dogs. It looks like a human day spa. My dog seemed so happy when I picked him up I dont think he wanted to leave!!! Ill be back and Ill tell all my friends!!!",- Karen',
			   '"I was desperate to find someone competent to groom my dogs. I was overly impressed with her professionalism with customers and their pets. She shows a love for the job and the animals she works with. Her customer service and skill with grooming are second to none.",- Rodney W. Spruill Jr.',
               '"Rebecca Harner has been my pets groomer for quite some time and is proficient in her job. She has great customer service skills and I would recommend her to anyone whose pet is in  need of grooming services. My pet is important to our family and we will continue to follow her services wherever they may take her. Ms. Harner has a great talent for this business and our family hopes to continue to enjoy her service for years to come.",- Dottie T. Shurtz',
               '"I have been a client of Rebecca Harner for almost 3 years. I followed her from the groomer at Timberlake over to Fuzzy Paws.  I will certainly follow her wherever she goes because she is a phenomenal groomer that cares about my 2 Pekingese.",- Dana Shafer',
			   '"Preppie Pouch is a wonderful grooming facility with a remarkable staff. Rebecca and the staff treated my Golden Retrieve Miki with the utmost care. Never having Mikis coat trimmed they consulted with me and explained how she would be shaped. The end result was astounding – no more unruly coat. They even gave her a blueberry facial for a complete day of pampering. The facility is very clean and well stocked with accessories for the pet. If you are looking for a place to pamper your pet Preppie Pooch is the place.",- Jason',
			   '"Preppie Pooch is Great!!!! We called on a Saturday morning and were able to get our dog scheduled that afternoon. A few hours later our dog Grizzly was ready to be picked up and he looked fantastic. Becky and her staff did an awesome job!!!",- Grizzlysdad',
			   '"Preppie Pooch Rocks! Preppie Pooch is Awesome! Rebecca has been grooming my dogs for several years. I have followed her from other grooming shops she does a great job. Even though its a further drive for me I dont mind because they treat you and your dogs like family. The facility is decorated beautifully (good job John and Beck) in great taste and offers great accesories for the pooch! Check them out you will love them!",- Victoria',
			   '"Best Groomer Ever! Preppie Pooch is the best ever! Rebecca and everyone there makes us feel really special. My little pug sheds like a machine and no other place has been any help -- their de-shedding process is totally amazing. And when I come to pick him up not only does he look and smell great he is relaxed and happy. My very highest recommendation and gratitude!",- Barbara',
			   '"Excellent Services I brought my puppy here and they did such a good job with her. She was able to play and interact with the others dogs and she seemed to enjoy it a lot. The services and prices are excellent!",- Samantha',
			   
              ];


/*********************************************************************************************************************/

window.onload = function () {document.getElementById('quoteContainer').style.display = 'block';}

function showQuote() {
	obj1=document.getElementById('quote');
	obj2=document.getElementById('author');
	
	num=Math.floor(Math.random()*quotes.length);
	
	obj1.firstChild.nodeValue=quotes[num].split(',')[0];
	obj2.firstChild.nodeValue=quotes[num].split(',')[1];

	document.getElementById('right').onclick=function() {
		num++;
	if(num==quotes.length) {
	   num=0;
	}
	   obj1.firstChild.nodeValue=quotes[num].split(',')[0];
	   obj2.firstChild.nodeValue=quotes[num].split(',')[1];
	}
	document.getElementById('left').onclick=function() {
		num--;
	if(num==-1) {
		num=quotes.length-1;
	}
	obj1.firstChild.nodeValue=quotes[num].split(',')[0];
	obj2.firstChild.nodeValue=quotes[num].split(',')[1];
	}
}

if(window.addEventListener){
	window.addEventListener('load',showQuote,false);
 }
else { 
if(window.attachEvent){
	window.attachEvent('onload',showQuote);
  }
 }
