function theDate()
{
	today = new Date()
	var months = new Array(12);
	months[0] = "January";
	months[1] = "February";
	months[2] = "March";
	months[3] = "April";
	months[4] = "May";
	months[5] = "June";
	months[6] = "July";
	months[7] = "August";
	months[8] = "September";
	months[9] = "October";
	months[10] = "November";
	months[11] = "December";
	var thisyear = today.getFullYear();
	var thismonth = months[today.getMonth()];
	var thisdate = today.getDate();
	document.write(thismonth+" "+thisdate+", "+thisyear);
}

function goMenus(frm, menu1) {
with (frm) {
str = menu1.options[menu1.selectedIndex].value;
url = str + ".php";
window.location.href = url;
   }
}

// This script and many more are available free online at 
// The JavaScript Source!! http://javascript.internet.com 
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'media/hm_prod1.jpg'
theImages[1] = 'media/hm_prod2.jpg'
theImages[2] = 'media/hm_prod3.jpg'
theImages[3] = 'media/hm_prod4.jpg'
theImages[4] = 'media/hm_prod5.jpg'
theImages[5] = 'media/hm_prod6.jpg'
theImages[6] = 'media/hm_prod7.jpg'
theImages[7] = 'media/hm_prod8.jpg'
theImages[8] = 'media/hm_prod9.jpg'
theImages[9] = 'media/hm_prod10.jpg'

// do not edit anything below this line

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]+'" border=0>');
}

function openL(URL) {
aWindow=window.open(URL, "WindowL", "toolbar=no,width=502,height=375,status=no,scrollbars=no,resizable=no,menubar=no");
}

function openP(URL) {
aWindow=window.open(URL, "WindowP", "toolbar=no,width=320,height=485,status=no,scrollbars=no,resizable=no,menubar=no");
}

function openP2(URL) {
aWindow=window.open(URL, "WindowP2", "toolbar=no,width=350,height=525,status=no,scrollbars=no,resizable=no,menubar=no");
}
