/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;

menu[1] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
/////////////////////////////////////
///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
/////////////////////////////////////
user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
user_defined_markup:false, //if true, prevents script from generating markup for this menu
design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
menutop:160,     // initial top offset - except for top menu, where it is meaningless
menuleft:'65%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
menuspeed:20,    // Speed of menu sliding smaller is faster (interval of milliseconds)
menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
d_colspan:3,     // Available columns in menu body as integer
allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
barwidth:20,     // bar (the vertical cell) width
wrapbar:false,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
hdingwidth:210,  // heading - non linked horizontal cells width
hdingheight:20,  // heading - non linked horizontal cells height
hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
linkheight:22,   // linked horizontal cells height
linktopad:3,     // linked horizontal cells top padding
borderwidth:2,   // inner border-width used for this menu
/////////////////////////// quote these properties: /////////////////////
bordercolor:'green', // inner border color
borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
outbrdcolor:'lightgreen',  // outer border color
outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
barcolor:'white',        // bar (the vertical cell) text color
barbgcolor:'green',   // bar (the vertical cell) background color
barfontweight:'bold',    // bar (the vertical cell) font weight
baralign:'center',       // bar (the vertical cell) right left or center text alignment
menufont:'verdana',      // menu font
fontsize:'90%',          // express as percentage with the % sign
hdingcolor:'white',      // heading - non linked horizontal cells text color
hdingbgcolor:'green',  // heading - non linked horizontal cells background color
hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
linktxtalign:'left',     // linked horizontal cells right left or center text alignment
linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
menupos:'top',         // set side that menu slides in from (right or left or top)
bartext:'VINHOS',       // bar text (the vertical cell) use text or img tag
///////////////////////////

menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["CAVIPOR"], //create header
["Verde Branco", "javascript:loadwindow('http://www.vilavinhos.com.br/mb_verde.htm',550,450)", ""],
["Encostas Do Douro", "javascript:loadwindow('http://www.vilavinhos.com.br/mb_encostas.htm',550,450)", ""],
["Bairrada Tinto Reserva", "javascript:loadwindow('http://www.vilavinhos.com.br/mb_bairrada.htm',550,450)",""],
["Dão Tinto", "javascript:loadwindow('http://www.vilavinhos.com.br/mb_dao.htm',550,450)", ""],
["Espumante Branco Monteiros", "javascript:loadwindow('http://www.vilavinhos.com.br/cp_espumante_bco.htm',550,450)", ""],
["Monte Largo", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_montelargo_tnt.htm',550,450)", ""],

["OURÉM", "", ""], //create header
["Dona Mécia Branco", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_mecia_BCO.htm',550,450)", ""],
["Dona Mécia Tinto", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_mecia_tnt.htm',550,450)", ""],
["Dona Mécia Reserva", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_mecia_reserva.htm',550,400)", ""],
["Conde D´Ourém Tinto", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_conde_tnt.htm',550,450)", ""],
["Colegiada", "javascript:loadwindow('http://www.vilavinhos.com.br/ao_colegiada_tnt.htm',550,450)", ""],

["DOM HERMANO", "", ""], //create header
["Rosé", "javascript:loadwindow('http://www.vilavinhos.com.br/dh_rose.htm',550,450)", ""],
["Cabernet Sauvignon", "javascript:loadwindow('http://www.vilavinhos.com.br/dh_cabernet_sauvignon.htm',550,450)", ""],
["Touriga Nacional e Syrah", "javascript:loadwindow('http://www.vilavinhos.com.br/dh_touriga_nacional.htm',550,450)", ""],//no comma after last entry

]}; // REQUIRED!! do not edit or remove

menu[2] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
id:'menu2', //use unique quoted id (quoted) REQUIRED!!
/////////////////////////////////////
///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
/////////////////////////////////////
user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
user_defined_markup:false, //if true, prevents script from generating markup for this menu
design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
menutop:160,     // initial top offset - except for top menu, where it is meaningless
menuleft:'35%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
menuspeed:20,    // Speed of menu sliding smaller is faster (interval of milliseconds)
menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
d_colspan:3,     // Available columns in menu body as integer
allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
barwidth:20,     // bar (the vertical cell) width
wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
hdingwidth:210,  // heading - non linked horizontal cells width
hdingheight:20,  // heading - non linked horizontal cells height
hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
linkheight:22,   // linked horizontal cells height
linktopad:3,     // linked horizontal cells top padding
borderwidth:2,   // inner border-width used for this menu
/////////////////////////// quote these properties: /////////////////////
bordercolor:'red', // inner border color
borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
outbrdcolor:'red',  // outer border color
outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
barcolor:'white',        // bar (the vertical cell) text color
barbgcolor:'red',   // bar (the vertical cell) background color
barfontweight:'bold',    // bar (the vertical cell) font weight
baralign:'center',       // bar (the vertical cell) right left or center text alignment
menufont:'verdana',      // menu font
fontsize:'90%',          // express as percentage with the % sign
hdingcolor:'white',      // heading - non linked horizontal cells text color
hdingbgcolor:'red',  // heading - non linked horizontal cells background color
hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
linktxtalign:'left',     // linked horizontal cells right left or center text alignment
linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
menupos:'top',         // set side that menu slides in from (right or left or top)
bartext:'MENU VILAVINHOS',       // bar text (the vertical cell) use text or img tag
///////////////////////////
menuItems:[
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Conheça a VILAVINHOS"], //create header
["Nossa Empresa", "javascript:loadwindow('http://www.vilavinhos.com.br/nossa_empresa.htm',550,350)",],
["Notícias", "javascript:loadwindow('http://www.vilavinhos.com.br/noticias.htm',550,480)",],
["Curiosidades", "javascript:loadwindow('http://www.vilavinhos.com.br/curiosidades.htm',550,480)",],
["Fale Conosco", "javascript:loadwindow('http://www.vilavinhos.com.br/fale_conosco.htm',550,350)",],
["Parceiros Comerciais", "javascript:loadwindow('http://www.vilavinhos.com.br/parceiros.htm',550,350)",],
["Clientes", "javascript:loadwindow('http://www.vilavinhos.com.br/clientes.htm',550,350)",],
["WebMail", "http://webmail.vilavinhos.com.br", "_new",],
["Vendas on line (BREVE)", "javascript:loadwindow('http://www.vilavinhos.com.br/vendas.asp',550,350)",],

["Sites de Busca"], //create header
["Google", "http://www.google.com.br/", "_new", 1, "no"], //create three column row, requires d_colspan:3
["Yahoo", "http://www.yahoo.com.br/", "_new", 1, "no"],
["UOL", "http://www.uol.com.br/", "_new", 1],

["Desenvolvimento", "", ""], //create header
["Propaganda", "javascript:loadwindow('http://www.vilavinhos.com.br/propaganda.htm',550,480)",],
["Digital Web & Arte", "javascript:loadwindow('http://www.vilavinhos.com.br/webmaster.htm',480,383)",]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove



////////////////////Stop Editing/////////////////

make_menus();