function ActivateMenu(strID, strMenId, strbkcolor, strforcolor)
{
  document.getElementById(strID).style.backgroundColor=strbkcolor;
  document.getElementById(strID).style.color=strforcolor;
  document.getElementById(strID).style.cursor="pointer";
  if (strMenId!="null")
  {
    document.getElementById(strMenId).style.visibility="visible";
  }
}
      
      
function DeactivateMenu(strID, strMenId, strbkcolor, strforcolor)
{
  document.getElementById(strID).style.backgroundColor=strbkcolor;
  document.getElementById(strID).style.color=strforcolor;
  if (strMenId!="null")
  {
    document.getElementById(strMenId).style.visibility="hidden";
  } 
}
      
      
function LoadPage(strURL)
{
  window.location=strURL;
}

var timerID;
      
function GetQuote()
{
  var arrquotes=new Array()
  
  arrquotes[0]='<i>\"A man can be as great as he wants to be. If you believe in yourself ' +
               'and have the courage, the determination, the dedication, the competitive ' +
               'drive and if you are willing to sacrifice the little things and pay the ' +
               'price for the things that are worthwhile, it can be done.\"' +
               '</i><br><b>Vince Lombardi</b>';
                     
  arrquotes[1]='<i>\"The success combination in business is: Do what you do better - and do ' +
               'more of what you do.\"<i><br><b>David Schwartz</b>';
               
  arrquotes[2]='<i>\"I\'ve learned that the people you care most about in life are taken from ' +
               'you too soon and all the less important ones just never go away.\"</i>'
               
  arrquotes[3]='<i>\"Winemaking isn\'t a matter of life or death - it\'s much more important ' +
               'than that!\"</i><br><b>Leo Buring</b>'
               
  arrquotes[4]='<i>\"There is only one success - To be able to spend your life in your own way\"' +
               '</i><br><b>Christopher Maloney</b>'
              
  arrquotes[5]='<i>\"If you think you can or think you can\'t - you\'re right\"</i><br>' +
               '<b>Henry Ford</b>'
               
  arrquotes[6]='<i>\"The greatest danger for most of us is not that our aim is too high ' +
               'and we miss it but that it is too low and we reach it\"</i><br><b>Michelangelo</b>'
              
  arrquotes[7]='<i>\"If you don\'t believe in some sort of magic or mystery you might as well be dead\"' +
               '</i><br><b>Albert Einstein</b>'
               
  arrquotes[8]='<i>\"If one desires a change, one must be the change, before the change can take ' +
               'place.\"</i><br><b>Gita Bellin</b>'
               
  arrquotes[9]='<i>\"This age will not die from sin, but from lack of passion\"</i><br><b>Soren Kierkegaard</b>'
  
  arrquotes[10]='<i>\"If everyone\'s misfortunes were lumped together and everyone forced to take ' +
                'an equal share, people would be glad to take back their own.\"</i><br><b>Socrates</b>'
             
  arrquotes[11]='<i>\"The greatest pleasure in life is doing what others say you cannot do\"</i>' +
                '<br><b>Walter Bagehot</b>'
                
  arrquotes[12]='<i>\"Energy and Persistence conquer all things\"</i><br><b>Benjamin Franklin</b>'
  
  arrquotes[13]='<i>\"Thinking is the hardest work there is. Probably why so few engage in it\"</i><br>' +
                '<b>Henry Ford</b>'
                
  arrquotes[14]='<i>\"Can\'t act! Slightly bald, can dance a little\"</i><br>' +
                '<b>The memo from the testing director of MGM after Fred Astaire\'s first screen test.</b>'
                
  arrquotes[15]='<i>\"We make a living by what we get but we make a life by what we give.\"</i><br>' +
                '<b>Winston Churchill</b>'
                
  arrquotes[16]='<i>\"We strive for perfection, but settle for excellence.\"</i><br><b>Walt Disney</b>'
  
  arrquotes[17]='<i>\"Customers want a personalized experience. There never has been a commodity ' +
                'service.\"</i><br><b>Walt Disney</b>'
                
  arrquotes[18]='<i>\"Wine is proof that God loves us and loves to see us happy\"</i><br><b>Benjamin Franklin</b>'
  
  arrquotes[19]='<i>\"As long as you\'re going to be thinking anyway, think big.\"</i><br><b>Donald Trump</b>'
  
  arrquotes[20]='<i>\"Bite off more than you can chew and then chew like hell.\"</i><br><b>Peter Brock</b>'
  
  arrquotes[21]='<i>\"When you\'re a participant, your motivation and point of view is usually ' +
                'quite different than from being an observer.\"</i><br><b>Peter Brock</b>'
                
  arrquotes[22]='<i>\"Only those who risk going too far can possibly know how far one ' +
                'can go!\"</i><br><b>T.S. Elliot</b>'
                
  arrquotes[23]='<i>\"Coming together is a beginning. Keeping together is progress. ' +
                'Working together is success.\"</i><br><b>Henry Ford</b>'
        
  arrquotes[24]='<i>\"It is not the employer who pays the wages. Employers only handle the ' +
                'money. It is the customer who pays the wages.\"</i><br><b>Henry Ford</b>'
  
  arrquotes[25]='<i>\"Most people spend more time and energy going around problems than ' +
                'in trying to solve them.\"</i><br><b>Henry Ford</b>'
  
  arrquotes[26]='<i>\"Failure is simply the opportunity to begin again, this time more ' +
                'intelligently.\"</i><br><b>Henry Ford</b>'
  
  arrquotes[27]='<i>\"I am a success today because I had a friend who believed in me and I didn\'t ' +
                'have the heart to let him down...\"</i><br><b>Abraham Lincoln</b>'
  
  arrquotes[28]='<i>\"Work while it is called today, for you know not how much you will be ' +
                'hindered tomorrow. One today is worth two tomorrow\'s; never leave that till ' +
                'tomorrow which you can do today.\"</i><br><b>Benjamin Franklin</b>'
  
  arrquotes[29]='<i>\"Every person I work with knows something better than me. My job is to ' +
                'listen long enough to find it and use it.\"</i><br><b>Jack Nichols</b>'
  
  arrquotes[30]='<i>\"When you believe in a thing, believe in it all the way, implicitly and ' +
                'unquestionable.\"</i><br><b>Walt Disney</b>'
  
  arrquotes[31]='<i>\"I have been up against tough competition all my life. I wouldn\'t ' +
                'know how to get along without it.\"</i><br><b>Walt Disney</b>'
  
  arrquotes[32]='<i>\"Good will is the one and only asset that competition cannot undersell or ' +
                'destroy.\"</i><br><b>Marshall Field</b>'
                
  arrquotes[33]='<i>\"I have tried to make all my acts and commercial moves the result of definite ' +
                'consideration and sound judgment. There were never any great ventures or risks. ' +
                'I practiced honest, slow-growing business methods, and tried to back them with ' +
                'energy and good system.\"</i><br><b>Marshall Field</b>'
                  
  
  if (typeof(timerID)!="undefined")
    {
      self.clearTimeout(timerID)
    }   
  document.getElementById("quote").innerHTML=(arrquotes[RandNumGen(arrquotes.length - 1)]);
  document.getElementById("quotetable").style.visibility="visible";
  timerID=self.setTimeout('document.getElementById("quotetable").style.visibility="hidden"', 20000)     
}     
      

      
function RandNumGen(intHigh)
{
  var num=Math.random();        
  num=Math.round(num*intHigh);               
  return num;
}
