function get_random()
{ 
   var ranNum= Math.round(Math.random()*4);
   return ranNum;
}

function showContent()
{
  var contentIndex = get_random();
  var ranContent = new Array(5);
  ranContent[0] = "<h1>Using Your Best Judgment in Shopping for Furniture</h1><p>Maximizing your hard earned dollars when shopping online for furniture can be risky business, but there are many ways to avoid overpaying or  getting stuck with second rate. Besides your due diligence in comparison shopping  and checking out several retailers before  committing to buy, there are other factors to remember.</p><p><strong>Be familiar with the  retailer</strong> &ndash; all respectable online retailers will have an address and phone  number. </p><p><strong>Know what you&rsquo;re  buying</strong> &ndash; read the fine print to see if any red-flag words (e.g. &ldquo;used&rdquo; or  &ldquo;refurbished&rdquo;) are used. </p><p><strong>Know the cost</strong> &ndash; Comparison shop among similar products and factor  in your budget needs (including shipping and handling) to make the most of your  purchases.</p><p><strong>Pay by credit card</strong> &ndash; Online transactions are typically protected by the Fair Credit Billing Act,  which allows you to dispute charges under certain conditions.</p><p><strong>Check out the terms  of purchase</strong></p><p><strong>Keep paper records</strong> &ndash; Print out every purchase agreement and email sent to the retailer. Keep a  record of all receipts and product descriptions of furniture you are buying. And  of course keep a copy of the guarantee; you don&rsquo;t want to be stuck with faulty  merchandise, whether you buy online or in store. </p><p><strong>Never email financial  information</strong> &ndash; And be sure that the retailer has a secure site.</p><p><strong>Verify the privacy  policy</strong> &ndash; Online retailers collect all kinds of information about their  customers. If the site you are dealing with doesn&rsquo;t promise to protect your  privacy, go elsewhere to shop for furniture.</p>";
  ranContent[1] = "<h1>Web Security</h1><p>Buying furniture online has its risks and the onus is not  just on the retailer to provide secure access, but also on the consumer to  protect their own identity and network.</p><p>Online businesses employ many different methods to protect  their clients against personal information being stolen or sold or having their  transactions compromised. As furniture can be an expensive purchase you want to  be doubly sure to protect your transaction. </p><p>Companies that want to accept clients&rsquo; personal information  and credit card details over the web need to have a Secure Socket Layer or SSL  certificate. They will also usually employ firewalls or a router that diverts  web traffic, usually through a static IP address.</p><p>Verisign, one of the more prominent web security companies, uses  128-bit encryption technology in its SSL certificates to ensure that customer  data is cloaked and invisible to hackers and other information pirates. </p><p>Consumers should look for proven software companies&rsquo; logos  on their favorite retailers&rsquo; web sites, to prove that the company is taking  measures to protect sensitive information.</p><p>Here are some of the better known web security software and  hardware companies on the market:<ul><li>Verisign</li><li>Cisco</li><li>Check Point</li><li>Symantec</li><li>Websense</li><li>McAfee</li><li>Microsoft</li><li>Apple</li></ul><p>Legitimate web retailers usually pour significant dollars  into web security and protecting the interests of clients/members/shoppers. You  should be sure that in the excitement of shopping for furniture you have not  forgotten about your own security. Too many consumers connect to the internet  using a cheap modem that came with their internet sign up kit. Further to that,  a lot of them don&rsquo;t update their antivirus security software and have no form  of intrusion detection. The &ldquo;always on&rdquo; nature of most broadband connections is  also a concern.</p><b>To protect yourself and your online business transactions,  several steps need to be taken:</b><ul><li>Invest in a software firewall or hardware  firewall such as a router.</li><li>If available, obtain a static IP from your  internet provider.</li><li>Ensure that antivirus software is up-to-date.</li><li>Don&rsquo;t open suspicious emails or email  attachments from retailers.</li><li>Turn off computer when not in use.</li><li>Make regular back ups of key information.</li><li>Disable hidden filename extensions.</li><li>Keep all your applications patched.</li></ul>";
  ranContent[2] = "<H1>Online Shopping Glossary</H1><p>  The internet has virtually created (pun unintended) a new language. Understanding some of the terms you might come up against can help educate you about the world of online shopping.</p>This glossary is just a sampling of some popular terms and acronyms.</p><p><strong>Banner Ad</strong> &ndash; A banner ad is usually a rectangular advertisement placed on a Web site.</p><p><strong>Certification Authority</strong> - Abbreviated as CA, a trusted third-party organization that issues digital certificates used to create digital signatures and public-private key pairs.</p><p><strong>Digital Cash</strong> - A system that allows a person to pay for goods or services by transmitting a number from one computer to another.</p><p><strong>e-Commerce</strong> &ndash; e-Commerce is business that is conducted over the Internet using any of the applications that rely on the Internet, like e-mail.</p><p><strong>Live support</strong> - Live support is a Web service that allows businesses to communicate, or chat, in real time with visitors to their Web site.</p><p><strong>Newsletter</strong> - Shortened form of newspaper and informational letter, usually sent via email to &ldquo;opt-in&rdquo; users.</p><p><strong>PayPal</strong> - an online (Internet) banking service. It enables any individual with an e-mail address to securely and quickly send and receive payments online.</p><p><strong>Shopping Cart</strong> - A shopping cart is a piece of software that acts as an online store's catalog and ordering process.</p><p><strong>SSL</strong> - Short for Secure Sockets Layer, a protocol developed by Netscape for transmitting private documents over the Internet. Verisign is one company that has created a dynamic SSL.</p>";
  ranContent[3] = "<h1>Reading Peer Reviews and User Ratings</h1><p>More and more, shoppers are turning to the web to buy  furniture and are not afraid to describe their opinions on the overall &ldquo;experience.&rdquo;  As online shopping has increased, consumer review sites such as epinions.com,  consumersearch.com and consumerreview.com have become ever more popular. These  sites are meant to be &lsquo;unbiased&rsquo; portals where you can submit your rating on  furniture, rate the store you used or rate the overall &ldquo;experience.&rdquo;</p><p>Epinions.com is quite possibly the biggest of these consumer  review sites, where myriad products are reviewed alongside travel, restaurants,  destinations and web shopping sites. Your choice of furniture might even make an  Epinions &ldquo;top 10&rdquo; as rated by its users. You should consult these ratings  before buying furniture as there is no better benchmark than an extensive review  of your purchase. Epinions.com also offers shopping capability, as well as  message boards and a member center for frequent users. </p><p>Like Epinions, consumersearch.com has extensive lists of  product reviews, but unlike Epinions its reviews are generated by  &lsquo;professional&rsquo; sources (i.e. <em>Consumer  Reports</em>). For instance, aggregate reviews of furniture are compiled and put  into order from &lsquo;best&rsquo; to &lsquo;worst&rsquo;. </p><p>Links to both Epinions and Consumersearch can be found on  the pages of this catalog.</p><p>Consumerreview.com follows Epinions&rsquo; lead on reviews,  allowing users to rate products. It just doesn&rsquo;t do as good a job, with fewer  options for reviewers to pick. However, it is a good place to cross-reference  reviews from Epinions, as any good consumer should.</p>";
  ranContent[4] = "<h1>Guarantees On Furniture</h1><p>Let&rsquo;s face it, there are not that many products available  online or anywhere else that have a 100 % guarantee. However when you buy furniture  there are several things to consider that can safeguard you against shoddy  merchandise.</p><p>The first thing to mull over is the retailer  itself. Listen to your intuition as you look over the business you are dealing  with and the furniture it is selling. If the retailer makes outrageous claims,  makes spelling errors or looks amateurish, it probably is not worth dealing  with.</p><p>The second thing to consider when guaranteeing  your purchase of furniture is shopping on a secure site. A secure site will  normally have an &lsquo;s&rsquo; at the end of http in the URL, and it will also  prominently display a seal from Thawte, Verizon or other respected guarantor.</p><p>If you choose a company that is not well  known&mdash;or even if it is&mdash;starting out with an inexpensive purchase of furniture  might be a way to make sure they are trustworthy and that you are getting  quality.</p><p>Another way to guarantee quality&mdash;and avoid  scams&mdash;is to shop local. That is, only shop with retailers with presence in the U.S. At least  then, if the furniture you bought is not up to snuff there are state and federal  laws to protect you. Of course, being familiar with a merchant&rsquo;s return,  cancellation and complaint-handling procedures also make good sense.</p>";

  var decoded = Encoder.htmlDecode(ranContent[contentIndex]);
  document.getElementById("content").innerHTML = decoded;
}
