// JavaScript Document

var testimonials = new Array('OptiFit is the best source for all your fiber optic needs. With unbeatable prices and exceptional  customer service, you cant go wrong.<div class="testi-name">Michael Cane,<br>  Star Electronics</div>','This was my 2nd or 3rd purchase from this vendor. I m not much of an online shopper but could not resist the prices.<br>I would not hesitate to order from them again. Every order has come in correctly and in the time frame I expected.<div class="testi-name">John Kreimer,<br>  Connecticut</div>','I have used this merchant on two separate occasions and both were good transactions. <br>The prices are better than most and the customer service was very good. <br>I had a problem with my first order and the company replaced the item immediately with no hassle. I would definitely shop with them again...<div class="testi-name">Carl Curry,<br>  San Jose</div>','All my items were sent quickly. They were all carefully wrapped to protect them from shipping and handling problems.<br>I had no need to contact customer service since everything was done satisfactorily. I will certainly purchase from this vendor again.<div class="testi-name">Julie Salazar,<br>  BC. Canada</div>','This is a store I frequently visit. They offer a great variety of products at very affordable prices. <br>Shipping is always prompt and professionally packed.<div class="testi-name">Marcel T.,<br>  Montreal</div>','I was pleasantly surprised with getting high quality items at really great prices as well as getting my order extremely fast and in excellent condition.<br>Now I need to see if they have a spare battery for my new cell phone. I have bookmarked the <strong>OPticfit</strong> website for continued ordering.<div class="testi-name">Peter Fesner, <br>  Ft Lauderdale, FL</div>','I have purchased from this merchant several times. They have the best price I&rsquo;ve found for these items. All purchases have been easy and only one time did they make a mistake. <br>Their customer service fixed my problem extremely fast via email without any hassle at all! They have exceeded my expectations!<div class="testi-name">Bruce,<br>  Gilbert AZ</div>','Great product & service! I researched a lot of companies that offer similar services--their solutions were not as comprehensive, intuitive, or user friendly as Opticfit. I am very happy to be a Opticfit customer. <br>Thank you for your great work.<div class="testi-name">Mark Helm,<br>  Salt Lake City, UTah</div>','A Service and quality of the items received. Definitly will shop there again.<div class="testi-name">Jose Rodriguez,<br>  Boise Idaho</div>','I finally found a place to buy different items to enhance my network at a decent price, great communication and items arrive very quickly, <br>I will definitely keep shopping here.<div class="testi-name">Jacqueline P.,<br>  Trenton NJ</div>');


function writeOneFact(){
	var i = Math.floor(testimonials.length * Math.random());
	document.write(testimonials[i]);}
	
function writeAllFacts(){
	document.write('<div id="all-testimonials">');
  
  for (i=0; i < testimonials.length; i++)
  {
  document.write('<div class="single-testimonial">'+testimonials[i]+'</div>');
  }
  document.write('</div>');
	}