/* ===== Macromedia Functions ===== */

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];}
}


/* ===== DQM Menu Settings ===== */

DQM_onload_code = "MM_preloadImages('images/ui/nav_whereweare_over.gif','images/ui/nav_photogallery_over.gif','images/ui/nav_news_over.gif','images/ui/nav_contactus_over.gif')"

DQM_Notice = "DHTML QuickMenu, Copyright (c) - 2002, OpenCube Inc. - www.opencube.com"

//----- General Settings -----

DQM_sub_menu_width = 150
DQM_sub_xy = "100, 0"
DQM_codebase = "resources/scripts/"
DQM_urltarget = "_self"
DQM_border_width = 1
DQM_divider_height = 1
DQM_mouse_off_delay = 200

//----- Browser Bug Fixes -----
  
DQM_os9_ie5mac_offset_X = 10
DQM_os9_ie5mac_offset_Y = 15
DQM_osx_ie5mac_offset_X = 10
DQM_osx_ie5mac_offset_Y = 15
DQM_ie4mac_offset_X = 10
DQM_ie4mac_offset_Y = 15
DQM_nn4_reaload_after_resize = true
DQM_nn4_resize_prompt_user = false
DQM_nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."
DQM_use_opera_div_detect_fix = false;

//----- Transition Effects (ie5.5+) -----

DQM_sub_menu_effect = "none"
DQM_sub_item_effect = "none"
DQM_sub_menu_effect_duration = .4
DQM_sub_item_effect_duration = .4
DQM_effect_pixelate_maxsqare = 25
DQM_effect_iris_irisstyle = "CIRCLE"
DQM_effect_checkerboard_squaresx = 14
DQM_effect_checkerboard_squaresY = 14
DQM_effect_checkerboard_direction = "RIGHT"
DQM_sub_menu_opacity = 100
DQM_dropshadow_color = "none"
DQM_dropshadow_offx = 5
DQM_dropshadow_offy = 5	

//----- Font, Margin, and Alignment -----

DQM_fontfamily = "Verdana"
DQM_fontsize = 11
DQM_fontsize_ie4 = 9
DQM_fontweight = "normal"
DQM_fontstyle = "normal"
DQM_textdecoration = "normal"
DQM_hl_textdecoration = "none"
DQM_hl_bgcolor = "#999999"
DQM_textcolor = "#FFFFFF"
DQM_hl_textcolor = "#f30"
DQM_border_color = "#f30"
DQM_menu_bgcolor = "#393E3F"
DQM_margin_top = 2
DQM_margin_bottom = 3
DQM_margin_left = 5
DQM_margin_right = 4
DQM_text_alignment = "left"

//----- Sub Menus ------

// Wines
DQM_sub_xy0 = "-69,30"
//DQM_sub_menu_width0 = 125
DQM_subdesc0_0 = "Cellar Door"
DQM_subdesc0_1 = "Chardonnay"
DQM_subdesc0_2 = "Shiraz"
DQM_subdesc0_3 = "Triple Crown"
DQM_subdesc0_4 = "Cabernet Sauvignon"
DQM_subdesc0_5 = "Sovereign"
DQM_subdesc0_6 = "Spartacus"
DQM_subdesc0_7 = "Vintage"
DQM_subdesc0_8 = "Order Wine"
DQM_subdesc0_9 = "Our Awards"
DQM_subdesc0_10 = "Stockists"
DQM_url0_0 = "cellardoor.html"
DQM_url0_1 = "chardonnay.html"
DQM_url0_2 = "shiraz.html"
DQM_url0_3 = "triplecrown.html"
DQM_url0_4 = "cabsauv.html"
DQM_url0_5 = "sovereign.html"
DQM_url0_6 = "spartacus.html"
DQM_url0_7 = "vintage.html"
DQM_url0_8 = "orderwine.html"
DQM_url0_9 = "awards.html"
DQM_url0_10 = "stockists.html"
DQM_rollover_image0 = "resources/gui_images/button/wines_ov.gif"
DQM_rollover_wh0 = "69,30"
DQM_url0 = "wines.html"

// The Retreat
DQM_sub_xy1 = "-103,30"
//DQM_sub_menu_width1 = 125
DQM_subdesc1_0 = "Availability"
DQM_subdesc1_1 = "Bookings"
DQM_url1_0 = "available.aspx"
DQM_url1_1 = "bookings.html"
DQM_rollover_image1 = "resources/gui_images/button/retreat_ov.gif"
DQM_rollover_wh1 = "103,30"
DQM_url1 = "retreat.html"

// Coonawarra
DQM_sub_xy2 = "-105,30"
//DQM_sub_menu_width2 = 125
DQM_subdesc2_0 = "News & Events"
DQM_url2_0 = "news.html"
DQM_rollover_image2 = "resources/gui_images/button/coonawarra_ov.gif"
DQM_rollover_wh2 = "105,30"
DQM_url2 = "coonawarra.html"