

<!--

function reverse()

{

	history.back();

}

//-->







<!--

img1=new Image()

img1.src="/include/navigation/wineries.gif"

img2=new Image()

img2.src="/include/navigation/wineries2.gif"

img3=new Image()

img3.src="/include/navigation/map.gif"

img4=new Image()

img4.src="/include/navigation/map2.gif"

img5=new Image()

img5.src="/include/navigation/news.gif"

img6=new Image()

img6.src="/include/navigation/news2.gif"

img7=new Image()

img7.src="/include/navigation/touring-leelanau.gif"

img8=new Image()

img8.src="/include/navigation/touring-leelanau2.gif"

img9=new Image()

img9.src="/include/navigation/press.gif"

img10=new Image()

img10.src="/include/navigation/press2.gif"

img11=new Image()

img11.src="/include/navigation/about.gif"

img12=new Image()

img12.src="/include/navigation/about2.gif"

img13=new Image()

img13.src="/include/navigation/brochure.gif"

img14=new Image()

img14.src="/include/navigation/brochure2.gif"

//-->







<!--

function reverse()

{

	history.back();

}

//-->



/***********************************************

* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit http://www.dynamicdrive.com/ for full source code

***********************************************/



//TITLE

var menu1=new Array()

menu1[1] ='<a href="/wineries/">Leelanau Winery Listing</a>'

menu1[2] ='<a href="/wineries/bellago/">Bel Lago Vineyard & Winery</a>'

menu1[3] ='<a href="/wineries/blackstar/">Black Star Farms</a>'

menu1[4] ='<a href="/wineries/chateaudeleelanau/">Chateau de Leelanau Vineyard & Winery</a>'

menu1[5] ='<a href="/wineries/chateaufontaine/">Chateau Fontaine</a>'

menu1[6] ='<a href="/wineries/cherryrepublic/">Cherry Republic Winery</a>'

menu1[7] ='<a href="/wineries/ciccone/">Ciccone Vineyard & Winery</a>'

menu1[9] ='<a href="/wineries/fortyfivenorth/">Forty-Five North Vineyard & Winery</a>'

menu1[10] ='<a href="/wineries/gillspier/">Gill\'s Pier Vineyard & Winery</a>'

menu1[11] ='<a href="/wineries/goodharbor/">Good Harbor Vineyards</a>'

menu1[12] ='<a href="/wineries/goodneighbor/">Good Neighbor Organic  Vineyard & Winery</a>'

menu1[13] ='<a href="/wineries/mawby/">L. Mawby</a>'

menu1[14] ='<a href="/wineries/leelanau/">Leelanau Cellars</a>'

menu1[15] ='<a href="/wineries/longview/">Longview Vineyard & Winery</a>'

menu1[16] ='<a href="/wineries/shadylane/">Shady Lane Cellars</a>'

menu1[17] ='<a href="/wineries/silverleaf/">Silver Leaf Vineyard & Winery</a>'

menu1[18] ='<a href="/wineries/tandemciders/">Tandem Ciders</a>'

menu1[19] ='<a href="/wineries/willow/">Willow Vineyard</a>'



//TITLE

var menu2=new Array()

menu2[1] ='<a href="/touring/">Leelanau Wine Touring Links!</a>'

menu2[2] ='<a href="/touring/accommodations/">Accommodations & Lodging</a>'

menu2[3] ='<a href="/touring/bed-breakfasts/">Bed &amp; Breakfasts</a>'

menu2[4] ='<a href="/touring/art-galleries/">Galleries &amp; Entertainment</a>'

menu2[5] ='<a href="/touring/media-internet">Media / Internet</a>'

menu2[6] ='<a href="/touring/restaurants/">Restaurants & Dining</a>'

menu2[7] ='<a href="/touring/specialty-foods-wines/">Specialty Foods / Wines</a>'

menu2[8] ='<a href="/touring/specialty-shopping/">Specialty Shopping</a>'

menu2[9] ='<a href="/touring/tours-limousines/">Tours / Limousines</a>' 

menu2[10] ='<a href="/touring/weddings-event-planning/">Weddings / Event Planning</a>'

menu2[11] ='<a href="/touring/local-information/">Visitor & Area Information</a>'



//TITLE

var menu3=new Array()

menu3[1] ='<a href="/news-events/">News & Events Page</a>'

menu3[2] ='<a href="/harvest/">Harvest Stompede</a>'

menu3[3] ='<a href="/toast/">Toast the Season</a>'

menu3[4] ='<a href="/taste/">Taste the Passion</a>'

menu3[5] ='<a href="/spring/">Spring Sip & Savor</a>'

menu3[6] ='<a href="/premium/">Premium Pour</a>'

				

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)

var horizontaloffset=0 //horizontal offset of menu from default location. (0-5 is a good value)



/////No further editting needed



var ie4=document.all

var ns6=document.getElementById&&!document.all



if (ie4||ns6)

document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')



function getposOffset(what, offsettype){

var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;

var parentEl=what.offsetParent;

while (parentEl!=null){

totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;

parentEl=parentEl.offsetParent;

}

return totaloffset;

}







function showhide(obj, e, visible, hidden, menuwidth){

if (ie4||ns6)

dropmenuobj.style.left=dropmenuobj.style.top=-500

dropmenuobj.widthobj=dropmenuobj.style

dropmenuobj.widthobj.width=menuwidth

if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")

obj.visibility=visible

else if (e.type=="click")

obj.visibility=hidden

}



function iecompattest(){

return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

}



function clearbrowseredge(obj, whichedge){

var edgeoffset=0

if (whichedge=="rightedge"){

var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15

dropmenuobj.contentmeasure=dropmenuobj.offsetWidth

if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)

edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth

}

else{

var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset

var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18

dropmenuobj.contentmeasure=dropmenuobj.offsetHeight

if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?

edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight

if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)

edgeoffset=dropmenuobj.y

}

}

return edgeoffset

}



function populatemenu(what){

if (ie4||ns6)

dropmenuobj.innerHTML=what.join("")

}







function dropdownmenu(obj, e, menucontents, menuwidth){

if (window.event) event.cancelBubble=true

else if (e.stopPropagation) e.stopPropagation()

clearhidemenu()

dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv

populatemenu(menucontents)



if (ie4||ns6){

showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")

dropmenuobj.y=getposOffset(obj, "top")

dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"

dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"

}



return clickreturnvalue()

}



function clickreturnvalue(){

if (ie4||ns6) return false

else return true

}



function contains_ns6(a, b) {

while (b.parentNode)

if ((b = b.parentNode) == a)

return true;

return false;

}



function dynamichide(e){

if (ie4&&!dropmenuobj.contains(e.toElement))

delayhidemenu()

else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))

delayhidemenu()

}



function hidemenu(e){

if (typeof dropmenuobj!="undefined"){

if (ie4||ns6)

dropmenuobj.style.visibility="hidden"

}

}



function delayhidemenu(){

if (ie4||ns6)

delayhide=setTimeout("hidemenu()",disappeardelay)

}



function clearhidemenu(){

if (typeof delayhide!="undefined")

clearTimeout(delayhide)

}



<!--

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 MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->







/***********************************************

* Textarea Maxlength script- © Dynamic Drive (www.dynamicdrive.com)

* This notice must stay intact for legal use.

* Visit http://www.dynamicdrive.com/ for full source code

***********************************************/



function ismaxlength(obj){

var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""

if (obj.getAttribute && obj.value.length>mlength)

obj.value=obj.value.substring(0,mlength)

}



var bo_ns_id = 0;



function startIeFix(){

  if(isIE()){

    document.write('<div style="display: none;" id="bo_ns_id_' + bo_ns_id + '">');

  }

}



function endIeFix(){

  if(isIE()){

    document.write('</div>');

    var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);

    if(theObject.firstChild.data){

      theObject.firstChild.removeAttribute('data');

    }

    var theParams = theObject.getElementsByTagName("param");

    var theParamsLength = theParams.length;

    for (var j = 0; j < theParamsLength; j++) {

      if(theParams[j].name.toLowerCase() == 'flashvars'){

        var theFlashVars = theParams[j].value;

      }

    }

    var theInnnerHTML = theObject.innerHTML;

    var re = /<param name="FlashVars" value="">/ig;

    theInnnerHTML = theInnnerHTML.replace(re, "<param name='FlashVars' value='" + theFlashVars + "'>");

    theObject.outerHTML = theInnnerHTML;

  }

}



function isIE(){

  var strBrwsr = navigator.userAgent.toLowerCase();

  if(strBrwsr.indexOf("msie") > -1 && strBrwsr.indexOf("mac") < 0){

    return true;

  }else{

    return false;

  }

}// JavaScript Document







var imagenumber = 15 ;

var randomnumber = Math.random() ;

var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;

images = new Array

images[1] = "cathead-sunset.jpg";

images[2] = "willow-view.jpg";

images[3] = "chateau-tasting-bar.jpg";

images[4] = "cherry-glass.jpg";

images[5] = "fontaine-tastingroom.jpg";

images[6] = "green-grapes.jpg";

images[7] = "mawby-sunset.jpg";

images[8] = "medals.jpg";

images[9] = "post-and-grapevine.jpg";

images[10] = "red-grapes.jpg";

images[11] = "vine-and-sunset.jpg";

images[12] = "vines-and-bay.jpg";

images[13] = "vineyards-and-sky.jpg";

images[14] = "willow-tasting.jpg";

images[15] = "taste-the-passion.jpg";

var image = images[rand1]

// -->












