// This has all the javascript for Every Page.
// You need to pull in a local pagevars.js to set:
//   clickmsg, rotmsg1, rotmsg2
//
function click(e) {
 if (document.all) {
  if (event.button == 2) {
   alert(clickmsg);
   return false;
  }
 } else if (document.layers || document.getElementById) {
  if (e.which == 3) {
   alert(clickmsg);
   return false;
  }
 }
}
if (document.layers || (!document.all && document.getElementById)) {
 document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

var rotateMsg = true;

function MsgStatus() {
if(rotateMsg) {
window.status = '';
window.defaultStatus = rotmsg1;
}
if(!rotateMsg) {
window.status = '';
window.defaultStatus = rotmsg2;
}
setTimeout("MsgStatus();rotateMsg=!rotateMsg", 2000);
}
if(doRotate) {
	MsgStatus();
}
