<!-- Begin to hide script from incompatible browsers ---

/****************************************************************************

  RANDOM_QUOTE.js [1.0] - create arrays for quotations and authors then 
                          display the quotation and authors
  Copyright (c) 2010 by AI-Design, LLC
  All rights reserved.
  Created: 03/19/2010 
  Modified: 03/19/2010 RCK
  Contact: javascript at ai-design dot com

*****************************************************************************/

function showQuote() {
// create arrays for quotations and authors then display the quotation and authors
quotes = new Array(8);
authors = new Array(8);
quotes[0] = "Treat your password like your toothbrush. Don't let anybody else use it, and get a new one every six months.";
authors[0] = "Clifford Stoll";
quotes[1] = "Backup your computer regularly. Backup your data...often.";
authors[1] = "Robert Kobus";
quotes[2] = "Few things are harder to put up with than the annoyance of a good example.";
authors[2] = "Mark Twain";
quotes[3] = "In God we trust, all others we virus scan.";
authors[3] = "IT Slogan";
quotes[4] = "Information technology and business are becoming inextricably interwoven. I don't think anybody can talk meaningfully about one without the talking about the other.";
authors[4] = "Bill Gates";
quotes[5] = "I think it's fair to say that personal computers have become the most empowering tool we've ever created. They're tools of communication, they're tools of creativity, and they can be shaped by their user.";
authors[5] = "Bill Gates";
quotes[6] = "The best antivirus solutions will include traditional protection from viruses, worms, Trojans, malware, spyware, and also include defense from keyloggers, phishing scams, email-borne threats and rootkits. While antivirus programs are by no means full-blown internet security suites, they should protect from as many other threats on as many fronts as possible.";
authors[6] = "AntiVirus News Group";
quotes[7] = "Turn on your computer's security features to activate the Internet firewall, Protection systems, Antispyware software, and Antivirus software then keep your computer up to date.";
authors[7] = "Microsoft Corporation";

//calculate a random index
//quote_index = Math.floor(Math.random() * quotes.length);
now = new Date();
seed = now.getSeconds();
var random_number = Math.random(seed);
var range = random_number * quotes.length;
var rounded_number = Math.round(range);

if (rounded_number == quotes.length){rounded_number = 0}

var quote_index = rounded_number;
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[quote_index] + "\"\n");
document.write("<DD>" + "&#12316; " + authors[quote_index] + "\n");
document.write("</DL>\n");
}

showQuote();

/*

AI-DESIGN, AI-DESIGN.COM, A-I-D, A-I-D.COM,
AI DESIGN, AIDESIGN, AND RESPECTIVE LOGOS ARE 
TRADEMARKS OF AI-DESIGN, LLC.

ALL OTHER TRADEMARKS AND SERVICE MARKS ARE THE PROPERTY OF THEIR
RESPECTIVE OWNERS.

AI-DESIGN, LLC DISCLAIM ALL WARRANTIES  WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
IN NO EVENT SHALL AI-DESIGN BE LIABLE FOR ANY SPECIAL, INDIRECT 
OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. SOME 
JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF 
LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO THE ABOVE 
LIMITATION OR EXCLUSION MAY NOT APPLY.

SEE THE TERMS OF USE AT THE FOLLOWING WEB ADDRESS:
   "http://www.ai-design.com/Terms_Of_Use.html"


*/

// --- End hiding script from incompatible browsers. --->
