// Home random quotation images

function messageLoad() {
  // Be sure to change the number following the "*" below to match the number of messages.
  var wch=Math.floor(Math.random()*6+1);
  document.getElementById('ran'+wch).style.display='inline';
}

// 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();
});



function openPopup() {
    window.open("home/infoPopup.asp","def","height=500,width=450,resizable=yes,scrollbars=yes");
}