// rollovers for main navigation

btn_main_top_on = new Image(266,29);
btn_main_top_on.src = "images/btn_main_top_on.jpg";

btn_main_top_off = new Image(266,29);
btn_main_top_off.src = "images/btn_main_top_off.jpg";



btn_main_middle_on = new Image(266,25);
btn_main_middle_on.src = "images/btn_main_middle_on.jpg";

btn_main_middle_off = new Image(266,25);
btn_main_middle_off.src = "images/btn_main_middle_off.jpg";



btn_main_bottom_on = new Image(266,25);
btn_main_bottom_on.src = "images/btn_main_bottom_on.jpg";

btn_main_bottom_off = new Image(266,25);
btn_main_bottom_off.src = "images/btn_main_bottom_off.jpg";


function RollIn(image_name) {
document[image_name].src = eval(image_name + "_on.src"); return true;
}

function RollOut(image_name) {
document[image_name].src = eval(image_name + "_off.src"); return true;
}

// end main navigation rollover functions

// *********************************************************************

// rotating slideshow
// DON'T FORGET TO HOOK THIS UP WHEN THE IMAGES COME IN (AND DELETE THIS LINE WHEN DONE ;P )

var banners = new Array(
	'images/filename1.ext',
	'images/filename2.ext');

// use these if client decides to link the slideshow to URLs
// var urloc = new Array(
//	'URL1.html',
//	'URL2.html');

var old = 0;
var current = 0;


function slideShowLoad()
{
	if (!document.images) return
	while (current == old)
	{
		current = Math.floor(Math.random()*slideImg.length);
	}
	old = current;
	document.images['slideImg_place'].src = slideImg[current];
// ADJUST TIMEOUT TO ALLOW FOR LAG ON SLOWER SERVERS !!!
	setTimeout('slideShowLoad()',4000);
}
function open_window(page) {
	var height=600;
	var top = (screen.height - height) / 3;
	var width=750;
	var left = (screen.width - width) / 3;
	pop_up = window.open(page,"Popup","status=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,resizable=yes,height="+height+",width="+width+",top="+top+",left="+left);
}
// end rotating slideshow

// *********************************************************************

// this is for the privacy policy pop-up window // zlyon 12-17-2003
function openPrivacy(url) {
  popupWin = window.open(url, "PopUp", "menubar=no,toolbar=no,statusbar=no,resizable=no,scrollbars=no,width=400,height=380");
  popupWin.location=url;
}

 
//-->