//UDMv3.7
//* DO NOT EDIT THIS BIT *
if (!exclude) { //********
//************************
///////////////////////////////////////////////////////////////////////////
//
//  ULTIMATE DROPDOWN MENU VERSION 3.7 by Brothercake
//  http://www.brothercake.com/dropdown/ 
//
//  Link-wrapping routine by Brendan Armstrong
//  Original KDE modifications by David Joham
//  Opera reload/resize based on a routine by Michael Wallner
//  Select-element hiding routine by Huy Do
//
///////////////////////////////////////////////////////////////////////////


//*** necessary for positioning relative to the anchor images
var imgObj;
function over(imgNum) {

	if(menuReadyState) {

		//find image object
		imgObj = document.images["b"+imgNum];

		//find position of image
		xPos = getRealLeft(imgObj);
		yPos = getRealTop(imgObj);

		//activate menu with returned co-ordinates
		activateMenu(imgNum,xPos-0,yPos+18);
		//the algorithm above positions the menus; the x is measured from left border of the image; the y controls drop down from lower border of image

		}

	}


// *** POSITIONING AND STYLES *********************************************

var menuALIGN = "virtual";		// alignment mode
var absLEFT = 	0;		// absolute left or right position (if menu is left or right aligned)
var absTOP = 	0; 		// absolute top position

var staticMENU = false;		// static positioning mode (win/ie5,ie6 and ns4 only)

var stretchMENU = false;		// show empty cells
var showBORDERS = false;		// show empty cell borders

var baseHREF = "resources/";	// base path
var zORDER = 	1000;		// base z-order of nav structure

var mCOLOR = 	"#ececec";	// main nav cell color
var rCOLOR = 	"#f2f5d3";	// main nav cell rollover color
var bSIZE = 	0;		// main nav border size
var bCOLOR = 	""	// main nav border color
var aLINK = 	"#990033";	// main nav link color
var aHOVER = 	"";		// main nav link hover-color (dual purpose)
var aDEC = 	"none";		// main nav link decoration
var fFONT = 	"arial";	// main nav font face
var fSIZE = 	13;		// main nav font size (pixels)
var fWEIGHT = 	"bold"		// main nav font weight
var tINDENT = 	7;		// main nav text indent (if text is left or right aligned)
var vPADDING = 	7;		// main nav vertical cell padding
var vtOFFSET = 	0;		// main nav vertical text offset (+/- pixels from middle)
var keepLIT =	true;		// keep rollover color when browsing menu

//SUBMENUS VARIABLES!
var vOFFSET = 	2;		// shift the submenus vertically
var hOFFSET = 	0;		// shift the submenus horizontally
var smCOLOR = 	"#ececec";	// submenu cell color
var srCOLOR = 	"#6e6856";	// submenu cell rollover color
var sbSIZE = 	1;		// submenu border size
var sbCOLOR = 	"ffffff"	// submenu border color
var saLINK = 	"#000000";	// submenu link color 000000
var saHOVER = 	"#ffffff";	// submenu link hover-color (dual purpose) 6d6756
var saDEC = 	"none";		// submenu link decoration
var sfFONT = 	"century gothic, trebuchet, verdana, sans-serif";		// submenu font face
var sfSIZE = 	11;		// submenu font size (pixels)
var sfWEIGHT = 	"normal"	// submenu font weight
var stINDENT = 	3;		// submenu text indent (if text is left or right aligned)
var svPADDING = 1;		// submenu vertical cell padding
var svtOFFSET = 0;		// submenu vertical text offset (+/- pixels from middle)

var shSIZE =	0;		// submenu dropshadow size
var shCOLOR =	"";	// submenu dropshadow color
var shOPACITY = 75;		// submenu dropshadow opacity (not ie4,ns4 or opera)

var keepSubLIT = true;		// keep submenu rollover color when browsing child menu
var chvOFFSET = -12;		// shift the child menus vertically
var chhOFFSET = 7;		// shift the child menus horizontally

var closeTIMER = 250;		// menu closing delay time
var aCURSOR = "hand";		// cursor for active links (not ns4 or opera)
var altDISPLAY = "";		// where to display alt text
var allowRESIZE = true;		// allow resize/reload

var redGRID = false;		// show a red grid
var gridWIDTH = 0;		// override grid width
var gridHEIGHT = 0;		// override grid height
var documentWIDTH = 0;		// override document width

var hideSELECT = false;		// auto-hide select boxes when menus open (ie only)
var allowForSCALING = false;	// allow for text scaling in mozilla 5
var allowPRINTING = false;	// allow the navbar and menus to print (not ns4)




//** LINKS ***********************************************************

//0 ABOUT add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")

addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");
// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
	defineSubmenuProperties(210,"left","left",100,100,"","","","","","","");

// add submenu link items ("url","Link name","_target","alt text")

addSubmenuItem("2011_fall_release.html","our present release","","");
addSubmenuItem("about.html","introduction","","");
addSubmenuItem("history.html","our history","","");
addSubmenuItem("who.html","who we are","","");
addSubmenuItem("principles.html","our principles","","");
addSubmenuItem("telos.html","our aims","","");
addSubmenuItem("maps.html","where are the vineyards?","","");
addSubmenuItem("reduction.html","what is reduction, and why is it so important?","","");
addSubmenuItem("whatisthediagramquestion.html","what is the diagram on the label?","","");
addSubmenuItem("press.html","press","","");
addSubmenuItem("soc_med.html","can I follow you on twitter?","","");
addSubmenuItem("venues.html","venues","","");
addSubmenuItem("2011_harvest_report.html","2011 (terrifying) harvest report","","");
addSubmenuItem("2011_post_harvest_report.html","end of harvest report","","");



//1 HISTORY add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")

addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
	defineSubmenuProperties(140,"left","left",100,100,"","","","","","","");

// add submenu link items ("url","Link name","_target","alt text")

addSubmenuItem("history.html","our history","","");
addSubmenuItem("records_2000.html","the beginning","","");
addSubmenuItem("records_2005.html","at whiterock","","");
addSubmenuItem("records_2006.html","the wooden valley year","","");
addSubmenuItem("records_2007.html","first year at tenbrink","","");
addSubmenuItem("records_2008_and_newer.html","2008 to the present","","");


//2 LIBRARY add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(160,"left","left",100,100,"","","","","","","");

// add submenu link items ("url","Link name","_target","alt text")
	
	 addSubmenuItem("1999_wines.html","1999 ","","");
	 addSubmenuItem("2000_wines.html","2000 ","","");
	 addSubmenuItem("2001_wines.html","2001 ","","");
	 addSubmenuItem("2002_wines.html","2002 ","","");
	 addSubmenuItem("2003_wines.html","2003 ","","");
	 addSubmenuItem("2004_wines.html","2004 ","","");
	 addSubmenuItem("2005_wines.html","2005 ","","");
	 addSubmenuItem("2006_wines.html","2006 ","","");
	 addSubmenuItem("2007_wines.html","2007 ","","");
	 addSubmenuItem("2008_wines.html","2008 ","","");
	 addSubmenuItem("2009_wines.html","2009 early ","","");
	 addSubmenuItem("2010_sep_release.html","2009 later ","","");
	 addSubmenuItem("2011_river_release.html","the river release","","");
	 addSubmenuItem("2011_fall_release.html","our present release","","");
	//  addSubmenuItem("2011_vernal_tastings.html","spring barrel tastings","","");

	
	
//3 CONTACT add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(120,"left","left",100,100,"","","","","","","");

// add submenu link items ("url","Link name","_target","alt text")
	addSubmenuItem("contact.php","contact us","","");
	addSubmenuItem("the_list.php","mailing list","","");
	addSubmenuItem("commerce.html","how do I buy wine?","","");
	
//4 2005 add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(200,"left","left",100,100,"","","","","","","");

// add submenu link items ("url","Link name","_target","alt text")
	 addSubmenuItem("the_university.html","the university ","","");
	 addSubmenuItem("2005_new_wines.html","2005 new wines ","","");
	 addSubmenuItem("2006_december.html","december 2005 ","","");
	 
//5 WVW add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(200,"left","left",100,100,"","","","","","","");	 

addSubmenuItem("chard_tasting.html","a tasting of chardonnays ","","");
addSubmenuItem("up_to_2005_tasting_notes.html","early tasting notes ","","");
addSubmenuItem("wvw.html","wooden valley winery ","","");
addSubmenuItem("2006_theDelta.html","the Delta: 2006 ","","");
addSubmenuItem("2006_spring_releases.html","2006 spring releases ","","");
addSubmenuItem("2006_glos_harvest.html","2006 glos harvest ","","");
addSubmenuItem("2006_december_bottling.html","december 2006 bottling ","","");
addSubmenuItem("2006_october.html","october 2006 ","","");
addSubmenuItem("2006_preview.html","2006 preview ","","");



//6 2007 TENBRINK add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(200,"left","left",100,100,"","","","","","","");

addSubmenuItem("time_of the_yeasts.html","the time of the yeasts","","");
addSubmenuItem("2007_mid_harvest.html","2007 mid-harvest report ","","");
addSubmenuItem("2007_equinoctial_bottling.html","2007 fall bottling ","","");
addSubmenuItem("tenbrink.html","the new winery ","","");
addSubmenuItem("the_move.html","the move ","","");
addSubmenuItem("2007_Delta.html","the Delta: 2007 ","","");
addSubmenuItem("2007_april_bottling.html","april 2007 bottling ","","");

//7 2008 AND BEYOND add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("wines.htm","wines",0,"center","","",0,0,"u","#ffeac0","","","");

// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER")
defineSubmenuProperties(200,"left","left",100,100,"","","","","","","");

addSubmenuItem("2010_june_release.html","the spring release","","");
addSubmenuItem("2010_work_of_bottling.html","the work of bottling","","");
addSubmenuItem("2010_pickup_party.html","the pickup party","","");
addSubmenuItem("2010_planning.html","we are now preparing","","");
addSubmenuItem("2010_thinning.html","spring shoot thinning","","");
addSubmenuItem("2010_pruning.html","pruning glos and guman","","");
addSubmenuItem("2010_odysseys.html","we travel","","");
addSubmenuItem("2010_florida.html","we travel to florida","","");

addSubmenuItem("2009_outside_broadcast.html","not in suisun valley","","");
addSubmenuItem("2009_ob_maury.html","not even in the US","","");
addSubmenuItem("2009_valentino_wine.html","wine for the Last Emperor","","");
addSubmenuItem("2009_big events.html","2009 big events","","");
addSubmenuItem("2009_guman_repruning.html","re-pruning guman 2009","","");
addSubmenuItem("2009_spring_bottling.html","the 2009 vernal bottling","","");
addSubmenuItem("2009_early_harvest.html","early harvest","","");
addSubmenuItem("2009_sep9_bottling.html","september bottling","","");
addSubmenuItem("pickup_party.html","the pickup party","","");
addSubmenuItem("2009_vernal_release.html","2009 spring release ","","");

addSubmenuItem("2008_harvest.html","2008 harvest report ","","");
addSubmenuItem("2008_summer_release.html","2008 summer releases ","","");
addSubmenuItem("2008_pirate_ship.html","the pirate ship ","","");
	  
	
	
	
	
	
	//
	
	
	
	

	
	
	
	//* DO NOT EDIT THIS BIT *
}//***********************
//************************


