function imageOn(imgName) {
  document[imgName].src="images/mouseovers/" + imgName + "-on.gif";       
}
function imageOff(imgName) {
  document[imgName].src="images/mouseovers/" + imgName + "-off.gif";
}

function showMenu(path){
	tmp="";
	if(path=="wedding" || path=="groom"){
		tmp=path;
		path="";
	}	
	// alert(tmp);
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-top.gif"><A TARGET="_top" HREF="'+path+'index.html" onMouseOut="imageOff(\'home-judi\')" onMouseOver="imageOn(\'home-judi\')"><IMG ALT="Home Judi" BORDER=0 HEIGHT =14 NAME=home-judi SRC="'+path+'images/mouseovers/home-judi-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A HREF="javascript:NewCal(\'pickup\',\'mmddyyyy\')" onMouseOut="imageOff(\'calendar\')" onMouseOver="imageOn(\'calendar\')"><IMG ALT="Calendar" BORDER=0 NAME=calendar SRC="'+path+'images/mouseovers/calendar-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'about.html" onMouseOut="imageOff(\'about-judi\')" onMouseOver="imageOn(\'about-judi\')"><IMG ALT="About Judi" BORDER=0 HEIGHT =14 NAME=about-judi SRC="'+path+'images/mouseovers/about-judi-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'weddingcakes.html" onMouseOut="imageOff(\'wedding-cakes\')" onMouseOver="imageOn(\'wedding-cakes\')"><IMG ALT="Wedding Cakes" BORDER=0 HEIGHT =14 NAME=wedding-cakes SRC="'+path+'images/mouseovers/wedding-cakes-off.gif" WIDTH=126 ></A>');
	if(tmp=="wedding"){
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=1 " onMouseOut="imgOff(\'img6\')" onMouseOver="imgOn(\'img6\')"><IMG ALT="Round"BORDER=0 NAME=img6 SRC="images/mouseovers/round-off.gif" WIDTH=126></A>');
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=3 " onMouseOut="imgOff(\'img7\')" onMouseOver="imgOn(\'img7\')"><IMG ALT="Square"BORDER=0 NAME=img7 SRC="images/mouseovers/square-off.gif" WIDTH=126></A>');
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=4 " onMouseOut="imgOff(\'img8\')" onMouseOver="imgOn(\'img8\')"><IMG ALT="Other"BORDER=0 NAME=img8 SRC="images/mouseovers/other-off.gif" WIDTH=126></A>');		  
	}
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'groomscakes.html" onMouseOut="imageOff(\'grooms-cakes\')" onMouseOver="imageOn(\'grooms-cakes\')"><IMG ALT="Grooms Cakes" BORDER=0 HEIGHT =14 NAME=grooms-cakes SRC="'+path+'images/mouseovers/grooms-cakes-off.gif" WIDTH=126 ></A>');
	if(tmp=="groom"){
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=6 " onMouseOut="imgOff(\'img6\')" onMouseOver="imgOn(\'img6\')"><IMG ALT="Round"BORDER=0 NAME=img6 SRC="images/mouseovers/round-off.gif" WIDTH=126></A>');
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=7 " onMouseOut="imgOff(\'img7\')" onMouseOver="imgOn(\'img7\')"><IMG ALT="Square"BORDER=0 NAME=img7 SRC="images/mouseovers/square-off.gif" WIDTH=126></A>');
		document.write('<IMG ALT="" BORDER=0 SRC="images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=8 " onMouseOut="imgOff(\'img8\')" onMouseOver="imgOn(\'img8\')"><IMG ALT="Other"BORDER=0 NAME=img8 SRC="images/mouseovers/other-off.gif" WIDTH=126></A>');		  
	}
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/gallery_latest/cpg15x/thumbnails.php?album=23 " onMouseOut="imageOff(\'other-cakes\')" onMouseOver="imageOn(\'other-cakes\')"><IMG ALT="Other Cakes" BORDER=0 NAME=other-cakes SRC="'+path+'images/mouseovers/other-cakes-off.gif"></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'party-cake.htm" onMouseOut="imageOff(\'party-cakes\')" onMouseOver="imageOn(\'party-cakes\')"><IMG ALT="party-cakes" BORDER=0 NAME=party-cakes SRC="'+path+'images/mouseovers/party-cakes-off.gif"></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'videos.html" onMouseOut="imageOff(\'videos\')" onMouseOver="imageOn(\'videos\')"><IMG ALT="How-to Videos" BORDER=0 HEIGHT=14 NAME=videos SRC="'+path+'images/mouseovers/videos-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="https://cakesbyjudi.com/ssl/generalpurchase.html" onMouseOut="imageOff(\'payments\')" onMouseOver="imageOn(\'payments\')"><IMG ALT="Payments" BORDER=0 HEIGHT=14 NAME=payments SRC="'+path+'images/mouseovers/payments-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><a TARGET="_top" href="ssl/orders.php" onMouseOut="imageOff(\'orders\')" onMouseOver="imageOn(\'orders\')"><img alt="Cake Orders" border=0 name=orders src="'+path+'images/mouseovers/orders-off.gif"></a>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'recipes.html" onMouseOut="imageOff(\'recipes\')" onMouseOver="imageOn(\'recipes\')"><IMG ALT="Recipes" BORDER=0 HEIGHT=28 NAME=recipes SRC="'+path+'images/mouseovers/recipes-off.gif" WIDTH=126 ></A>');
	document.write('<IMG BORDER=0 SRC="'+path+'images/nav-bar.gif"><A TARGET="_top" HREF="'+path+'contactus.html" onMouseOut="imageOff(\'contactus\')" onMouseOver="imageOn(\'contactus\')"><IMG ALT="Contact Us" BORDER=0 HEIGHT =14 NAME=contactus SRC="'+path+'images/mouseovers/contactus-off.gif" WIDTH=126 ></A> ');
	document.write('<IMG BORDER=0 SRC="'+path+''+path+'images/nav-bar.gif"><BR>');
	document.write('<IMG SRC="'+path+'ribbon1.gif" WIDTH="25" HEIGHT="40" BORDER="0" ALT=""><BR />');
	document.write('');
}
