// JavaScript Document

/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: mrhoo | http://www.webdeveloper.com/forum/showthread.php?t=143761 */
function messageLoad() {
  // Be sure to change the number following the "*" below to match the number of messages.
  var wch=Math.floor(Math.random()*15+1);
  document.getElementById('service'+wch).style.display='block';
}

// Multiple onload function created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  messageLoad();
});
