
function boxOn(which,menu,message){
    if (document.all||document.getElementById) {
		  which.className='BorderOn';
		  if (document.getElementById) {
			 document.getElementById(menu).style.color='#2C359C';
			 // document.getElementById(menu).style.padding='0 0 0 3px';
			 // document.getElementById("Message").innerHTML = message;
		  } else {
			  menu.style.color='#2C359C';
			  menu.style.padding='0 0 0 3px';
			 // Message.innerHTML = message;
		  }
    }
}

function boxOff(which,menu){
   if (document.all||document.getElementById){
      which.className='BorderOff';
      if (document.getElementById) {
		document.getElementById(menu).style.color='#000000';
		// document.getElementById(menu).style.padding='0 0 0 0';
	  } else {
		menu.style.color='#000000';
		menu.style.padding='0 0 0 0';
	  }
   }
}

		
function randomImages() {
	var totalimages=12;		// total # of images. ie: ..img12.jpg exists
	
	var randomnumber;
	var rand1=0;
	var rand2=0;
	var rand3=0;
	
	// FIRST IMAGE
	randomnumber = Math.random();
	rand1 = Math.round( (totalimages-1) * randomnumber) + 1;
	
	// SECOND IMAGE
	do {
		randomnumber = Math.random();
		rand2 = Math.round( (totalimages-1) * randomnumber) + 1;
	} while(rand1==rand2);
	
	// THIRD IMAGE
	do {
		randomnumber = Math.random();
		rand3 = Math.round( (totalimages-1) * randomnumber) + 1;
		if (rand1==rand3) continue;
	} while(rand2==rand3);
	
	var image1 = "images/home-food" + rand1 + ".gif";
	var image2 = "images/home-food" + rand2 + ".gif";
	var image3 = "images/home-food" + rand3 + ".gif";
	
	document.randimg1.src = image1;
	document.randimg2.src = image2;
	document.randimg3.src = image3;
}

function click() {if (event.button==2) {alert('Sorry...\nRight-click is disabled.');}}document.onmousedown=click// - ->


