function jumpPage(selection) {
	var defaultLocation = "http://www.willakenzie.com/mercantool/mtool.pl?command=productpage_show&";
	if (selection.options[selection.selectedIndex].value) {	window.location = defaultLocation + selection.options[selection.selectedIndex].value; }
}

function popup(StaticPage,dow,WindowWidth,WindowHeight) {
   scott=window.open(StaticPage,'desc','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,width='+WindowWidth+',height='+WindowHeight)
   scott.focus()
}

function changeDisplay(objectID, changeTo) {
	if (document.layers) { document.layers[objectID].display = changeTo; }
	else if (document.all) { document.all[objectID].style.display = changeTo; }
	else if (document.getElementById) { document.getElementById(objectID).style.display = changeTo; }
}

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserVer >= 3) testvers = "n3";
else testvers = "n2";
if (testvers == "n3") {
	home_dn = new Image;	 		home_dn.src = "images/nav/home-dn.gif";
	home_up = new Image;	 		home_up.src = "images/nav/home-up.gif";
	news_dn = new Image;	 		news_dn.src = "images/nav/news-dn.gif";
	news_up = new Image;	 		news_up.src = "images/nav/news-up.gif";
	about_us_dn = new Image;	 	about_us_dn.src = "images/nav/about-us-dn.gif";
	about_us_up = new Image;	 	about_us_up.src = "images/nav/about-us-up.gif";
	wines_dn = new Image;	 		wines_dn.src = "images/nav/wines-dn.gif";
	wines_up = new Image;	 		wines_up.src = "images/nav/wines-up.gif";
	wine_specials_dn = new Image;	wine_specials_dn.src = "images/nav/wine-specials-dn.gif";
	wine_specials_up = new Image;	wine_specials_up.src = "images/nav/wine-specials-up.gif";
	shop_dn = new Image;	 		shop_dn.src = "images/nav/shop-dn.gif";
	shop_up = new Image;	 		shop_up.src = "images/nav/shop-up.gif";
	tasting_room_dn = new Image; 	tasting_room_dn.src = "images/nav/tasting-room-dn.gif";
	tasting_room_up = new Image; 	tasting_room_up.src = "images/nav/tasting-room-up.gif";
	cellar_club_dn = new Image;	 	cellar_club_dn.src = "images/nav/cellar-club-dn.gif";
	cellar_club_up = new Image;	 	cellar_club_up.src = "images/nav/cellar-club-up.gif";
	trade_dn = new Image;	 		trade_dn.src = "images/nav/trade-dn.gif";
	trade_up = new Image;	 		trade_up.src = "images/nav/trade-up.gif";
}

function flip (imageID,objectName) {
	if (testvers == "n3") {document.images[imageID].src = eval(objectName + ".src");}
}

