// JavaScript Document

function openMap()
{
	window.open('roadmap.shtm','','toolbar=no,scrollbars,resizable=no,Width=600,Height=700');
}

function mailpage()
{
  mail_str = "mailto:?subject= " + document.title;
  mail_str += "&body= I recommend you read this -- " + document.title;
  mail_str += ". You should check this out at, " + location.href; 
  location.href = mail_str;
}

function printpage()
{
window.print()
}

function navhilite(id,classID)
{
	document.getElementById(id).className = classID;
}


var theImages = new Array(); 

theImages[0] = 'images/pic1.jpg';
theImages[1] = 'images/pic2.jpg';
theImages[2] = 'images/pic3.jpg';
theImages[3] = 'images/pic4.jpg';
theImages[4] = 'images/pic6.jpg';
theImages[5] = 'images/pic7.jpg';
theImages[6] = 'images/pic8.jpg';


var j = 0
var p = theImages.length;
var preBuffer = new Array();
for (i = 0; i < p; i++){
   preBuffer[i] = new Image();
   preBuffer[i].src = theImages[i];
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

<!-- Begin
function right(e) {
var msg = "Sorry, you don't have permission to right-click.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

function trap()
  {
  if(document.images)
    {
    for(i=0;i<document.images.length;i++)
      {
      document.images[i].onmousedown = right;
      document.images[i].onmouseup = right;
	  document.oncontextmenu = function() {return false;}
      }
    }
  }
  
// End -->
