//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 = 	"#f2f5d3";	// submenu cell color
var srCOLOR = 	"#e5e5ce";	// submenu cell rollover color
var sbSIZE = 	1;		// submenu border size
var sbCOLOR = 	"#e5e5ce"	// submenu border color
var saLINK = 	"#c30800";	// submenu link color 000000
var saHOVER = 	"#000000";	// 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 = 	"bold"	// 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 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("2011_river_release.html","our present release","","");
addSubmenuItem("2011_vernal_tastings.html","spring barrel tastings","","");
addSubmenuItem("commerce.html","how do I buy wine?","","");
addSubmenuItem("maps.html","where are the vineyards?","","");
addSubmenuItem("factor.html","who are you?","","");
addSubmenuItem("venues.html","venues","","");
addSubmenuItem("2011_harvest_report.html","2011 (terrifying) harvest report","","");
addSubmenuItem("2011_post_harvest_report.html","end of harvest report","","");



	
//1 add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("contact.php","contact",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(180,"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 ","","");
	
	//2 add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER")
	addMainItem("contact.php","contact",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?","","");
	

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


