if (document.images) {
             aboutuson = new Image();
             aboutuson.src = "images/aboutus_on.gif"

             aboutusoff = new Image();
             aboutusoff.src = "images/aboutus_off.gif"

             ourwineson = new Image();
             ourwineson.src = "images/ourwines_on.gif"

             ourwinesoff = new Image();
             ourwinesoff.src = "images/ourwines_off.gif"

             newseventson = new Image();
             newseventson.src = "images/newsevents_on.gif"

             newseventsoff = new Image();
             newseventsoff.src = "images/newsevents_off.gif"

             wineclubon = new Image();
             wineclubon.src = "images/wineclub_on.gif"

             winecluboff = new Image();
             winecluboff.src = "images/wineclub_off.gif"

             newseventson = new Image();
             newseventson.src = "images/newsevents_on.gif"

             newseventsoff = new Image();
             newseventsoff.src = "images/newsevents_off.gif"

             entertainingon = new Image();
             entertainingon.src = "images/entertaining_on.gif"

             entertainingoff = new Image();
             entertainingoff.src = "images/entertaining_off.gif"

             contactuson = new Image();
             contactuson.src = "images/contactus_on.gif"

             contactusoff = new Image();
             contactusoff.src = "images/contactus_off.gif"

             historyon = new Image();
             historyon.src = "images/history_on.gif"

             historyoff = new Image();
             historyoff.src = "images/history_off.gif"

             bioson = new Image();
             bioson.src = "images/bios_on.gif"

             biosoff = new Image();
             biosoff.src = "images/bios_off.gif"

             photogalleryon = new Image();
             photogalleryon.src = "images/photogallery_on.gif"

             photogalleryoff = new Image();
             photogalleryoff.src = "images/photogallery_off.gif"

             linkson = new Image();
             linkson.src = "images/links_on.gif"

             linksoff = new Image();
             linksoff.src = "images/links_off.gif"

             zinfandelon = new Image();
             zinfandelon.src = "images/zinfandel_on.gif"

             zinfandeloff = new Image();
             zinfandeloff.src = "images/zinfandel_off.gif"

             sangioveseon = new Image();
             sangioveseon.src = "images/sangiovese_on.gif"

             sangioveseoff = new Image();
             sangioveseoff.src = "images/sangiovese_off.gif"

             proprietorson = new Image();
             proprietorson.src = "images/proprietors_on.gif"

             proprietorsoff = new Image();
             proprietorsoff.src = "images/proprietors_off.gif"

             caberneton = new Image();
             caberneton.src = "images/cabernet_on.gif"

             cabernetoff = new Image();
             cabernetoff.src = "images/cabernet_off.gif"

             magnumson = new Image();
             magnumson.src = "images/magnums_on.gif"

             magnumsoff = new Image();
             magnumsoff.src = "images/magnums_off.gif"

             specialson = new Image();
             specialson.src = "images/specials_on.gif"

             specialsoff = new Image();
             specialsoff.src = "images/specials_off.gif"

             factsheeton = new Image();
             factsheeton.src = "images/factsheet_on.gif"

             factsheetoff = new Image();
             factsheetoff.src = "images/factsheet_off.gif"

             wheretobuyon = new Image();
             wheretobuyon.src = "images/wheretobuy_on.gif"

             wheretobuyoff = new Image();
             wheretobuyoff.src = "images/wheretobuy_off.gif"

             awardson = new Image();
             awardson.src = "images/awards_on.gif"

             awardsoff = new Image();
             awardsoff.src = "images/awards_off.gif"

             newsletteron = new Image();
             newsletteron.src = "images/newsletter_on.gif"

             newsletteroff = new Image();
             newsletteroff.src = "images/newsletter_off.gif"

             learnmoreon = new Image();
             learnmoreon.src = "images/learnmore_on.gif"

             learnmoreoff = new Image();
             learnmoreoff.src = "images/learnmore_off.gif"

             signupon = new Image();
             signupon.src = "images/signup_on.gif"

             signupoff = new Image();
             signupoff.src = "images/signup_off.gif"

             recipeson = new Image();
             recipeson.src = "images/recipes_on.gif"

             recipesoff = new Image();
             recipesoff.src = "images/recipes_off.gif"

             toastson = new Image();
             toastson.src = "images/toasts_on.gif"

             toastsoff = new Image();
             toastsoff.src = "images/toasts_off.gif"

             innon = new Image();
             innon.src = "images/inn_on.gif"

             innoff = new Image();
             innoff.src = "images/inn_off.gif"

         }

function imgOn(imgName) {
         if (document.images) {
             document[imgName].src = eval(imgName + "on.src");
         }
}
function imgOff(imgName) {
         if (document.images) {
             document[imgName].src = eval(imgName + "off.src");
         }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function openWindow() {
	window.open("","signup",'toolbar=0,location=0,scrollbars=1,width=710,height=460,resizable=1, left=100, top=25');
}

var nav = (document.layers) ? true : false;
var iex = (document.all) ? true : false;
var nav6 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 5)) ? true: false;

var aboutus_menu_content =('<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="Camellia_Cellars_History.htm" onMouseOut="imgOff(\'history\')" onMouseOver="imgOn(\'history\')"><img name="history" src="images/history_off.gif" width="45" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Cellars_Bios.htm" onMouseOut="imgOff(\'bios\')" onMouseOver="imgOn(\'bios\')"><img name="bios" src="images/bios_off.gif" width="42" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Cellars_Photo_Gallery.htm" onMouseOut="imgOff(\'photogallery\')" onMouseOver="imgOn(\'photogallery\')"><img name="photogallery" src="images/photogallery_off.gif" width="86" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Cellars_Links.htm" onMouseOut="imgOff(\'links\')" onMouseOver="imgOn(\'links\')"><img name="links" src="images/links_off.gif" width="79" height="15" border="0"></a></td></tr></table>');

var ourwines_menu_content =('<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=1" onMouseOut="imgOff(\'zinfandel\')" onMouseOver="imgOn(\'zinfandel\')"><img name="zinfandel" src="images/zinfandel_off.gif" width="56" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=2" onMouseOut="imgOff(\'sangiovese\')" onMouseOver="imgOn(\'sangiovese\')"><img name="sangiovese" src="images/sangiovese_off.gif" width="76" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=4" onMouseOut="imgOff(\'proprietors\')" onMouseOver="imgOn(\'proprietors\')"><img name="proprietors" src="images/proprietors_off.gif" width="109" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=3" onMouseOut="imgOff(\'cabernet\')" onMouseOver="imgOn(\'cabernet\')"><img name="cabernet" src="images/cabernet_off.gif" width="64" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Cellars_Fact_Sheet.htm" onMouseOut="imgOff(\'factsheet\')" onMouseOver="imgOn(\'factsheet\')"><img name="factsheet" src="images/factsheet_off.gif" width="72" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Where_To_Buy_Camellia_Cellars.htm" onMouseOut="imgOff(\'wheretobuy\')" onMouseOver="imgOn(\'wheretobuy\')"><img name="wheretobuy" src="images/wheretobuy_off.gif" width="75" height="15" border="0"></a></td></tr><tr><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=5" onMouseOut="imgOff(\'magnums\')" onMouseOver="imgOn(\'magnums\')"><img name="magnums" src="images/magnums_off.gif" width="45" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="http://www.securewineshop.com/camelliacellars/customer/home.php?cat=6" onMouseOut="imgOff(\'specials\')" onMouseOver="imgOn(\'specials\')"><img name="specials" src="images/specials_off.gif" width="80" height="15" border="0"></a></td><td colspan="8"></td></tr></table>');

var newsevents_menu_content =('<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="Camellia_Cellars_Awards.htm" onMouseOut="imgOff(\'awards\')" onMouseOver="imgOn(\'awards\')"><img name="awards" src="images/awards_off.gif" width="46" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="http://www.camelliacellars.com/Camellia_Newsletter_Sign_Up2.htm" onMouseOut="imgOff(\'newsletter\')" onMouseOver="imgOn(\'newsletter\')"><img name="newsletter" src="images/newsletter_off.gif" width="103" height="15" border="0"></a></td></tr></table>');
var wineclub_menu_content =('<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="Camellia_Cellars_Wine_Club_Learn_More.htm" onMouseOut="imgOff(\'learnmore\')" onMouseOver="imgOn(\'learnmore\')"><img name="learnmore" src="images/learnmore_off.gif" width="65" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Cellars_Wine_Club_Sign_Up.htm" onMouseOut="imgOff(\'signup\')" onMouseOver="imgOn(\'signup\')"><img name="signup" src="images/signup_off.gif" width="47" height="15" border="0"></a></td></tr></table>');
var entertaining_menu_content =('<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="Camellia_Cellars_Recipes.htm" onMouseOut="imgOff(\'recipes\')" onMouseOver="imgOn(\'recipes\')"><img name="recipes" src="images/recipes_off.gif" width="111" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Toasts.htm" onMouseOut="imgOff(\'toasts\')" onMouseOver="imgOn(\'toasts\')"><img name="toasts" src="images/toasts_off.gif" width="117" height="15" border="0"></a></td><td><img src="images/subnav_bullet.gif" width="4" height="15" border="0"></td><td><a href="Camellia_Inn.htm" onMouseOut="imgOff(\'inn\')" onMouseOver="imgOn(\'inn\')"><img name="inn" src="images/inn_off.gif" width="46" height="15" border="0"></a></td></tr></table>');

if(iex || nav6) document.write('<div id="aboutus_menu" style="position:absolute; width:500px; height:18px; z-index:2; left: 175; top: 28; visibility: hidden" onMouseOver="popup_menuon(\'aboutus_menu\');imgOn(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+aboutus_menu_content+'</div>');
if(nav) document.write('<layer id="aboutus_menu" position="absolute" top="28" left="175" width="500" height="18" z-index="2" visibility="hidden" onMouseOver="popup_menuon(\'aboutus_menu\');imgOn(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+aboutus_menu_content+'</layer>');

if(iex || nav6) document.write('<div id="ourwines_menu" style="position:absolute; width:500px; height:18px; z-index:2; left: 180; top: 28; visibility: hidden" onMouseOver="popup_menuon(\'ourwines_menu\');imgOn(\'ourwines\');imgOff(\'aboutus\');imgOff(\'newsevents\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+ourwines_menu_content+'</div>');
if(nav) document.write('<layer id="ourwines_menu" position="absolute" top="28" left="180" width="500" height="18" z-index="2" visibility="hidden" onMouseOver="popup_menuon(\'ourwines_menu\');imgOn(\'ourwines\');imgOff(\'aboutus\');imgOff(\'newsevents\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+ourwines_menu_content+'</layer>');

if(iex || nav6) document.write('<div id="newsevents_menu" style="position:absolute; width:353px; height:18px; z-index:2; left: 327; top: 28; visibility: hidden" onMouseOver="popup_menuon(\'newsevents_menu\');imgOn(\'newsevents\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+newsevents_menu_content+'</div>');
if(nav) document.write('<layer id="newsevents_menu" position="absolute" top="28" left="327" width="400" height="18" z-index="2" visibility="hidden" onMouseOver="popup_menuon(\'newsevents_menu\');imgOn(\'newsevents\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'wineclub\');imgOff(\'entertaining\');">'+newsevents_menu_content+'</layer>');

if(iex || nav6) document.write('<div id="wineclub_menu" style="position:absolute; width:252px; height:18px; z-index:2; left: 428; top: 28; visibility: hidden" onMouseOver="popup_menuon(\'wineclub_menu\');imgOn(\'wineclub\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'entertaining\');">'+wineclub_menu_content+'</div>');
if(nav) document.write('<layer id="wineclub_menu" position="absolute" top="28" left="428" width="252" height="18" z-index="2" visibility="hidden" onMouseOver="popup_menuon(\'wineclub_menu\');imgOn(\'wineclub\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'entertaining\');">'+wineclub_menu_content+'</layer>');

if(iex || nav6) document.write('<div id="entertaining_menu" style="position:absolute; width:280px; height:18px; z-index:2; left: 373; top: 28; visibility: hidden" onMouseOver="popup_menuon(\'entertaining_menu\');imgOn(\'entertaining\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'wineclub\');">'+entertaining_menu_content+'</div>');
if(nav) document.write('<layer id="entertaining_menu" position="absolute" top="28" left="373" width="280" height="18" z-index="2" visibility="hidden" onMouseOver="popup_menuon(\'entertaining_menu\');imgOn(\'entertaining\');imgOff(\'aboutus\');imgOff(\'ourwines\');imgOff(\'newsevents\');imgOff(\'wineclub\');">'+entertaining_menu_content+'</layer>');

function popup_menuon(layeron) {
  if(iex) document.all[layeron].style.visibility = "visible";
  if(nav) document[layeron].visibility = "visible";
  if(nav6) document.getElementById([layeron]).style.visibility = "visible";
}

function popup_menuoff(layeroff) {
  if(iex) document.all[layeroff].style.visibility = "hidden";
  if(nav) document[layeroff].visibility = "hidden";
  if(nav6) document.getElementById([layeroff]).style.visibility = "hidden";
}
