// JavaScript Document
function get_random(maxNum)
{
 var ranNum= Math.floor(Math.random()*(maxNum));
 return ranNum;
}

function getaQuote()
{
  if (document.getElementById && document.createTextNode) 
  {
	  
     var quote=new Array()
       quote[0]="Move To The Beat...";
       quote[1]="Breathe Deeply...";
       quote[2]="Smell The Flowers.";   
       quote[3]="Enjoy The Moment!";
       quote[4]="Take Chances!";
       quote[5]="Fall In Love!";
       quote[6]="Create Tommorrow!";
       quote[7]="Dream Big!";
       quote[8]="Dress Loud!";
       quote[9]="Be Wild!";
	   quote[10]="Love Yourself!";
	   quote[11]="Act Like A Child!";
	   quote[12]="Dance With Life!";
	   quote[13]="Eat Your Greens!";
	   quote[14]="Be The Music!";
	   quote[15]="Express Yourself!";
	   quote[16]="Move Freely!";
	   quote[17]="The Wait Is Over!";
    
	 var whichQuote=get_random(quote.length);
	 
	var thequote = document.getElementById("my_quote");
    thequote.innerHTML = quote[whichQuote];
  }
} 

getaQuote();

function stringReverse(textString) {
   if (!textString) return '';
   var revString='';
   for (i = textString.length-1; i>=0; i--)
       revString+=textString.charAt(i)
   return revString;
}
