var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

window.onload = function() {
	document.getElementById('date').innerHTML = dayarray[day]+", "+montharray[month]+" "+daym+", "+year;
  rotate_testimonial();
}


function rotate_testimonial() {
  if(document.getElementById("testimonial")) {
		x = Math.round(Math.random() * testimonials.length) - 1;
		if(x < 0) {
			x = 0;
		}
    document.getElementById("testimonial").innerHTML = testimonials[x];
    setTimeout("rotate_testimonial()", 16000);
  }
}

var testimonials = new Array("<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />Thank you so much for developing a rolling umbrella stand that I can actually move around with ease. I no longer feel like I am breaking my back moving the umbrella and the umbrella base around anymore!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Joan S.<br/>Livermore, CA</div>",
 "<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />The Shademobile just holds the umbrella perfectly straight and steady with no wobble--it surely beats sticking the umbrella in an oversized hole and trying to hold it upright with a couple of screws from the side.  The product was indeed well-designed.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">David W.<br/>Granite Bay, CA</div>",				 				
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />The Shademobiles that I bought confirm the quality of the product and met our expectations. You have been so diligent in the design and execution of this product that customers will be happy to receive something that performs as stated. Good Job!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Hank G.<br/>Austin, Tx",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />The Shademobile gives us the flexibility to move the shade wherever we want with the touch of a finger. It's totally instantaneous and gives us complete flexibility. We've already bought two and are thinking about buying a third.<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Richard Z.<br/>Organvale, CA</div>",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I just love it - Never have I had a base so easy to use, even on my uneven patio paver stones - and it is so well built - I figure it will out last my aging body!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Patti F.<br/>Pismo Beach, CA</div>",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I have purchased 7 Shademobile umbrella bases over the past year. Your rolling umbrella stands have made it easier for us to enjoy our patio. Thanks so much!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Andrea P.<br/>Granada Hills, CA</div>",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />I use this stand on my view deck. I can move it as the sun moves along the horizon. Then I push it out of the way of the view for storage. It's great and easy to maneuver. This is the first time I've been able to use an umbrella on my deck! I love it!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Sunny C.<br/>California Coast, CA</div>",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />We filled the Shademobile rolling umbrella base with sand and the directions were clear.  One of the things we like best is how easy it is to move on the patio . . . we have pavers so I was not sure how that would work.   It rolls great!<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Sharon G.<br/>Sedona, Arizona</div>",
"<img alt=\"left_quote\" src=\"./images/quotelt.jpg\" width=\"16\" height=\"17\" />Just bought 4 of your Shademobile rolling bases in black, and had them shipped via Fed Ex to me in Hawaii . . . they are the greatest! WELL ENGINEERED, BEAUTIFULLY MOLDED AND EXTREMELY EASY TO ASSEMBLE AND USE....Great job!!!!! Again thanks for making such a great product<img alt=\"right_quote\" src=\"./images/quotert.jpg\" width=\"16\" height=\"17\" /><div class=\"right\">Jim G.<br/>Honolulu, Hawaii</div>");