// JavaScript Document


//START Testimonials
//textnumber must be at least 2!
var textnumber = 53 ; 
var rand1 = Math.floor(Math.random() * textnumber) + 1;
var rand2 = CreateRandomNumber(1,textnumber); 

if (rand1 = rand2){
	rand1 = rand1 + 1;
	if (rand1 > textnumber) {
		rand1 = 1;
	}
}

text = new Array;
text[1] = '<p>Thank you. A delightful place, close to everything we wanted to see. Very quiet and restful, hospitality was superb. Very much appreciated letting us share a peaceful night with you. My son loved the air hockey. Fabulous Breakfast!<br /><div class="author">Randy, Connie &amp; Family<br />Sherwood Park, Alta.</div></p>';

text[2] = '<p>Thank you for a very comfortable relaxing stay after a busy week. We appreciated the private suite, comfortable big bed, delicious breakfast, lovely surroundings.<br /><div class="author">Dan &amp; Bernice<br />High River, Alberta</div></p>';

text[3] = '<p>Thank you this has been a wonderful stop. The hospitality and breakfast exceptional.<br /><div class="author">Claude, Carol &amp; Sarah<br />Montreal Quebec </div></p>';

text[4] = '<p>Thank you for a quiet and refreshing place to stay. Appreciate your friendly manner and accommodating hospitality to our breakfast needs. May you &amp; your family be blessed.<br /><div class="author">Max &amp; Nettie<br />Salmon Arm, BC. </div></p>';

text[5] = '<p>Thank you Audrey &amp; your friendly son Tim. This was a very restful stop on our way home. Breakfast was great. (We enjoyed meeting (\'Tabby\', too!)<br /><div class="author">Dorothy, James &amp; Jennifer<br />Saskatoon, Sask.</div></p>';

text[6] = '<p>Thank you for a very comfortable stay &amp; kind hospitality.<br /><div class="author">Zoe, Denise, Irene &amp; Alfred<br />Marseille, France </div></p>';

text[7] = '<p>Your hospitality is appreciated &amp; we were so happy in our home away from home, can\'t thank you enough.<br /><div class="author">Jeanette &amp; Ruth<br />Singleton, N.S.W. Australia  </div></p>';

text[8] = '<p>Everything was great- thank you. Breakfast was a little <em>too</em> good, now I have to go home &amp; diet.<br /><div class="author">Marian &amp; Terry<br />Priddis, Alberta</div></p>';

text[9] = '<p>It was a lovely birthday get-away. Appreciated your friendly hospitality. The view of the snow-capped mountains is awesome! May you and your family be blessed.<br /><div class="author">Helmut &amp; Elizabeth<br />Yarrow, B.C. </div></p>';

text[10] = '<p>We had a wonderful time at your place. Thanks so much for accommodating our special needs and a good breakfast. <br /><div class="author">Ramesh &amp; Hemu<br />Burnaby, B.C. </div></p>';

text[11] = '<p>We had a very peaceful time, as was intended, for this night out. The hospitality was courteous, and it will probably bring us back in the near future. Thank you for a beautiful time. <br /><div class="author">Daniel &amp; Karolina<br />Coquitlam, B.C.  </div></p>';

text[12] = '<p>We were very happy with the available entertainment (movies, tv, books, etc.) for our family and pleased to have the area to ourselves. The breakfast was terrific and we do hope to return again once Dinotown is open! Thank you! Good luck with future business.<br /><div class="author">Riannen, Mason, &amp; Ryan<br />Salmon Arm, B.C.  </div></p>';

text[13] = '<p>A great B&amp;B. We really enjoyed the quiet country location. Nice accommodation. Hospitality was wonderful. Excellent breakfast too. I am glad we stayed here. <br /><div class="author">Jim &amp; Colette<br />Assinibora , Saskatchewan </div></p>';

text[14] = '<p>I\'m from Germany. The family here is so nice and friendly, that I tell that everywhere. It was very nice (but a short) visit. Audrey helped me! Thank you. <br /><div class="author">Volker Heinz Lufthansa<br />Germany </div></p>';

text[15] = '<p>We really enjoyed our short stay here! Thank you for all your hospitality- friendliness. May God richly bless you &amp; keep you.  <br /><div class="author">Elaine &amp; daughter Rachel<br />Talkeetna, Alaska</div></p>';

text[16] = '<p>You have a nice place here in the mountains. We enjoyed every minute of our stay. You are very nice people and the food was great.  <br /><div class="author">Brent, Mitzie &amp; Kyrstn<br />St. Petersburg, Florida </div></p>';

text[17] = '<p>This has been a short but very comfortable stay with such a friendly family. Many thanks for the lovely breakfast. Good Luck!<br /><div class="author">Margaret &amp; Roger Harpenden<br />Hatfordshire England </div></p>';

text[18] = '<p>Very home like &amp; cozy. Breakfast was great! This is our 12th Wedding Anniversary &amp; it was a perfect - quiet - location. God Bless A&amp;W<br /><div class="author">Allen & Wendy <br />Kelowna, B.C.</div></p>';

text[19] = '<p>What a lovely break from staying at motels/hotels. We will certainly do this again. Good bed. Lovely and quiet. Awesome breakfast. <br /><div class="author">Bernard &amp; Liz<br />Coromandel, New Zealand </div></p>';

text[20] = '<p>Wonderful hospitality. Excellent accommodation! <br /><div class="author">Clem &amp; Josie Landry<br />Edmonton, Alberta </div></p>';

text[21] = '<p>\'Porkchop\' not withstanding, we are so glad that you took us in (had a pet dog). What a warm family atmosphere! Everything is superb beyond words.<br /><div class="author">Grant, Heidi &amp; Porkchop <br />Coos Bay, Oregon </div></p>';

text[22] = '<p>Thank you for paying attention to the little details &amp; making us feel at home &amp; part of the family. See you again we hope, God Bless. <br /><div class="author">Roderick, Emerissa &amp; Wesley<br />Vancouver Island, B.C. </div></p>';

text[23] = '<p>Thank you for everything - delicious breakfast, best bed ever, so comfortable, your sweet hospitality!<br /><div class="author">Lisa<br />Arlington, Texas USA </div></p>';

text[24] = '<p>My sister &amp; I have had such a fun &amp; memorable time - you made it extra special! I will be telling all my friend\'s back home about your delightful hospitality @ Whispering-Cedars! How I look forward to coming back! Thank you so much!  <br /><div class="author">Karen &amp; sister<br />Stanwood , WA. </div></p>';

text[25] = '<p>Roses are red, violets are blue, the bed is big, and the breakfast was too!<br /><div class="author">Nick &amp; Tina<br />Port Moody, BC. </div></p>';

text[26] = '<p>Thank you so much for your hospitality. We enjoyed the room, the warm breakfast, the quietness of the place &amp; your warm hospitality.<br /><div class="author">Sara &amp; Shalom Holon<br />Israel </div></p>';

text[27] = '<p>Thank you for a most enjoyable stay. We felt very comfortable and at home. We appreciate your wonderful hospitality &amp; kindness &amp; thoroughly enjoyed the delicious breakfast. Thank you too for all the little things you did for us &amp; the kid\'s. God Bless You &amp; Your Family!!<br /><div class="author">Mike, Linda, Mikayla, Jared &amp; Kyle<br />North Vancouver, BC. </div></p>';

text[28] = '<p>We have been so surprised and enchanted by your B&amp;B. It is all too wonderful. Your so helpful &amp; genuine Audrey! We cannot thank you enough. We will be back as soon as we can. We will bring our daughter next time. Thank you for everything.<br /><div class="author">Stephanie &amp Conrad<br />Seattle, Wash. </div></p>';

text[29] = '<p>Lovely, friendly hospitality excellent food, beautiful surroundings. Thank you for a relaxing night away. P.S. I love the fish in the bathroom.<br /><div class="author">Tracy &amp; Philip<br />Surrey, BC. </div></p>';

text[30] = '<p>You\'ve certainly spoiled us! Thank you for sharing your home with us! We have certainly enjoyed ourselves thanks to you! Everything has been absolutely wonderful from the view, amazing hospitality, and delicious breakfast to start the day! Thank you so much for everything! We look forward to the day we can return.<br /><div class="author">Mike &amp; Georgette<br />Boise Idaho </div></p>';

text[31] = '<p>Thank you for staying for me. I\'m glad to meet you! I\'ll really miss you. Thank you again Zinko family!!<br /><div class="author">Yukiko Kuwabara<br />Gifu,Japan </div></p>';

text[32] = '<p>Thank you for being a great stopover for us. It was so nice after 91/2 hr. flight(London) to be able to sleep in such a comfortable bed &amp; be woken up to a wonderful breakfast. Thanks again.<br /><div class="author">Helen &amp; Cory<br />Kamloops, BC.</div></p>';

text[33] = '<p>I\'m having a hard time putting into words how much we enjoyed our stay in your home. Everything was excellent and most comfortable, it felt like home. Being close to the mountains that I love and miss so much, to meander through them with absolute peace. Your hospitality unequalled. Thank you for everything.<br /><div class="author">Ron, Shelley, Evan &amp; Mitchell<br />Marion New York</div></p>';

text[34] = '<p>Thank you for making us feel so welcome &amp; sharing this beautiful place with us. We appreciate all your help so much.<br /><div class="author">Terry &amp; Danielle<br />N. Vancouver, BC.</div></p>';

text[35] = '<p>This is our second time here. We came for my daughter\'s Wedding. I love it here, would not stay anywhere else when in Chilliwack. I consider Audrey my friend and will keep in touch. Thanks Audrey for everything. I hate to leave.<br /><div class="author">Shelley &amp; Mitchell<br />Marion New York, USA</div></p>';

text[36] = '<p>I\'ve always wanted to come to Minter Gardens. We were surprised how far east of Vancouver it is. Audrey you are such a gracious hostess and your old son is very outstanding.<br /><div class="author">Bob &amp; Maralyn<br />Seattle (Burien) Wash. U.S.A.</div></p>';

text[37] = '<p>We were so lucky to see your B&amp;B sign at the last moment. It would have been such a shame to miss this lovely home. Our room, the views, the peace, the warm welcome &amp; good breakfast. Thank you for your kindness and friendliness. We will pass your address on to any friends coming this way.<br /><div class="author">Susan &amp; Freddy<br />Ansfelden, Austria</div></p>';

text[38] = '<p>Thank you very much for your friendliness and help.<br /><div class="author">Carl &amp; Sue Meyerhoff<br />Liverpool England</div></p>';

text[39] = '<p>Second time coming home. We were spoilt again. Thank you Audrey. You and your family are unbeatable. Love &amp; prayers to you.<br /><div class="author">Roderick, Emerissa &amp; Wesley<br />Vancouver Island, BC</div></p>';

text[40] = '<p>We have a very quiet night and a very good welcome. Thanks very much for your so lovely breakfast with your attention with croissants. Will return if we come again.<br /><div class="author">Mr &amp; Mrs. Martin Francois<br />Notre\'Dame\'D\'oe France</div></p>';

text[41] = '<p>Once again you have dazzled us with your wonderful home. We had so many wonderful experiences we cannot possibly count them all! The food was great as usual &amp; we always feel so spoiled by you Audrey. Thank so much. We will return again. We already have an extensive list of things to do again!<br /><div class="author">Conrad &amp; Stephanie<br />Seattle, Wash</div></p>';

text[42] = '<p>Thank you for the comfortable bed, great breakfast, the \'Adventure Bear\', and your kind patience giving us directions, directions, directions and more directions. The wedding was beautiful and because you were here, we were able to really participate.<br /><div class="author">Don, Rosanne &amp; Chelisa<br />Shirley, BC</div></p>';

text[43] = '<p>Thanks for the lovely quiet \'retreat\' and helpful hints on what to see &amp; do in the area!<br /><div class="author">Kathy &amp; Tom<br />N Vancouver, BC.</div></p>';

text[44] = '<p>Thank you for a restful stay. I couldn\'t have asked for anything more! Very comfortable &amp; welcoming. I\'m so glad I found your B&amp;B. As a newly retired Ex-B&amp;B owner, I appreciated all the thoughtfulness and extra touches. The tape for my windshield was specially appreciated.<br /><div class="author">Beryl<br />Golden/Crofton, BC.</div></p>';

text[45] = '<p>Nice place with the best scenery and you thought of so many extra touches. We\'ll be back.<br /><div class="author">Leticia &amp; Anna<br />Lumby &amp; Vernon, BC.</div></p>';

text[46] = '<p>We had a very enjoyable stay. A little early for the water sports at Cultus Lake but cozy home to stay in !! Thank you very much! Food was filling and bed was comfortable.<br /><div class="author">Lynn &amp; Alison<br />Vancouver, BC.</div></p>';

text[47] = '<p>Thank you for your hospitality everything was great. We enjoyed it.<br /><div class="author">David &amp; Carmen, Arlington, Wash..<br />Carmen Lopez, Brooklyn New York</div></p>';

text[48] = '<p>Thank you for a very relaxing stay in your home.<br /><div class="author">Rusty<br />Spanish Fork, Utah USA </div></p>';

text[49] = '<p>It was a very enjoyable stay. Thank you for your hospitality.<br /><div class="author">Owen &amp; Arva<br />Delta, B.C.</div></p>';

text[50] = '<p>Good bed, quiet, pleasant hostess, enjoyable stay, many thanks.<br /><div class="author">Walt &amp; Ellen Derksen<br />Edmonton, Alberta</div></p>';

text[51] = '<p>Thank you for your hospitality &amp; we enjoy to stay..<br /><div class="author">Lam Wait Kwon &amp; Lo Fong<br />Vancouver, BC</div></p>';

text[52] = '<p>The world needs more places like this place. Where you can inhale tranquility and exhale relaxation. We need more places where nature is still abundant, wild life is free and healthy and men can say good morning and shake their hands and feel they care for each other.<br /><div class="author">Israel</div></p>';

text[53] = '<p>Thank you Audrey. Our stay was delightful. Your B&amp;B is very special and very comfortable. The food was perfect. I love the location in the mountain. The only thing more I could ask for is another few days. We will see you again soon I hope. All the best for you and your family.<br /><div class="author">Victoria</div></p>';

text[54] = '<p>We were very pleased with our stay at Whispering Cedars bnb, because our host was very accommodating and the suite was very nice and comfortable. The King size bed was wonderful.</p>';

var mytext = text[rand1] + "<br /><br />" + text[rand2];


//END Testimonials



// need two methods for generating random numbers, or always same result
function NextRandomNumber() {
	var hi   = this.seed / this.Q;
	var lo   = this.seed % this.Q;
	var test = this.A * lo - this.R * hi;
	if (test > 0) this.seed = test;
	else          this.seed = test + this.M;
	return (this.seed * this.oneOverM);
}

function RandomNumberGenerator() { 
	var d = new Date();
	this.seed = 2345678901 + (d.getSeconds() * 0xFFFFFF) + (d.getMinutes() * 0xFFFF);
	this.A = 48271;
	this.M = 2147483647;
	this.Q = this.M / this.A;
	this.R = this.M % this.A;
	this.oneOverM = 1.0 / this.M;
	this.next = NextRandomNumber;
	return this;
}

function CreateRandomNumber(Min, Max) {
	var rand = new RandomNumberGenerator();
	return Math.round( (Max-Min) * rand.next() + Min );
}
