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 Bedding</h1><p>Maximizing your hard earned dollars when shopping online for bedding 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 bedding 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 bedding.</p>";
  ranContent[1] = "<h1>Web Security</h1><p>Buying bedding 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 bedding 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 bedding 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  bedding 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  bedding, 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 bedding might even make an  Epinions &ldquo;top 10&rdquo; as rated by its users. You should consult these ratings  before buying bedding 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 bedding 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>Seals of Approval On Bedding</h1><p>Seals of approval are nothing new and in the competitive  world of online commerce these seals are important to retailers&mdash;and consumers.  A seal of approval on bedding may not fully guarantee that your purchase meets  all your expectations, but it goes a long way to separating legitimate dealers  from suspect ones.</p><p>For instance, bedding you buy from  a leading retailer in our catalog might have a seal of approval from &lsquo;Good  Housekeeping&rsquo; which has been putting its stamp on products for over 100 years.  Or better yet, a retailer may have received the Better Business Bureau Online  Reliability Seal which guarantees that the retailer&rsquo;s business practices have  been solid for at least a year.</p><p>Online merchants endeavor to gain credibility through the  following criteria:</p><ul><li>Merchandise guarantees<li>Customer testimonials</li><li> Privacy and Security Policies</li><li> Customer service</li><li> Dealing with complaints</li></ul><p>Whether or not the bedding you buy has a &lsquo;Seal of Approval&rsquo;  should make an important difference to you. The presence of one of a seal like  this indicates that the retailer has made an effort to comply with standards.</p>";

  var decoded = Encoder.htmlDecode(ranContent[contentIndex]);
  document.getElementById("content").innerHTML = decoded;
}
