<!--
// random number generator...do not edit
function generateRandom(range) {
	 return Math.floor(Math.random() * range) + 1;
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// WHAT PEOPLE ARE SAYING script
// you must provide the comment (no more than 30 words!!!), the persons name and their title and affiliation. you may use html within each string ...to create, simply copy from case to break; and change the variables. 
function getTestimonial(where){
// always ensure that totalTestimonials reflects the total number of case items, otherwise the script won't work.
var totalTestimonials = 10;
var num = generateRandom(totalTestimonials);

 var quote="";
 var name="";
 var title="";
 switch(num){
 //testimonial one Random Customer
  case 1: 
   quote += "Rocky Range provided my company with a perfect retreat and the facilities to keep my business running while away.";
   name += "Michael d'Estries";
   title += "Director, Marketing, Decision1 IT Solutions";
   break;

   //testimonial two random customer
  case 2:
   quote += "Why would you want to be anywhere else?!";
   name += "P M";
   title += "<br>Dunedin, New Zealand";
   break;
   
  //testimonial three random customer
  case 3:
   quote += "Special, special place, wonderful hosts, great wine and food!";
   name += "Viv & Ralph Lennan";
   title += "<br>Auckland, New Zealand";
   break;
   
  //testimonial four random customer
  case 4:
   quote += "Sensational, magic hosts!";
   name += "J S";
   title += "<br>Sydney, Australia";
   break;

  //testimonial five random customer
  case 5:
   quote += "A little piece of heaven";
   name += "M M";
   title += "<br>London, England";
   break;

  //testimonial six random customer
  case 6:
   quote += "A wonderful, restful place.  Beautiful!";
   name += "C C";
   title += "<br>Auckland, New Zealand";
   break;

  //testimonial seven random customer
  case 7:
   quote += "Lovely views, terrific pancakes!";
   name += "K E";
   title += "<br>Toronto, Canada";
   break;
 
   //testimonial eight random customer
  case 8:
   quote += "Fantastic venue, great food and wonderful hosts";
   name += "L T";
   title += "<br>Dunedin, New Zealand";
   break;

//testimonial nine random customer
  case 9:
   quote += "Great hosts, great food, beautiful accommodation";
   name += "D&A W";
   title += "<br>San Francisco, CA  USA";
   break;

//testimonial ten random customer
  case 10:
   quote += "Fantastic honeymoon retreat!";
   name += "S&C Smith";
   title += "<br>Invercargill, New Zealand";
   break;

 }

 var text="";
 //no need to edit...homepage testimonial format
 if (where == "home"){
 text += "<img src=" +img + " border=0 hspace=14>" + "<p class=hBox>&quot;" + quote + "&quot;<br><br><i><b>" + name + ",</b> " + title + "</i>";
	}
	
//no need to edit...sectionpage testimonial format
 if (where == "section"){
 text += "&quot;" + quote + "&quot;<br><i>" + name + ", " + title + "</i>";
	}
 return text;
}

//Rocky Range B & B

//-->