
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.5);Alpha(style=0,opacity=89);Shadow(color='000000', Direction=135, Strength=5)"
	dissolver="randomdissolve(duration=0.2);Shadow(color='#999999', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#000000', Direction=45, Strength=5)" // Stop IE5.5 bug when using more than one filter
	dissolver="randomdissolve(duration=0.5);Shadow(color='#000000', Direction=45, Strength=5)"
}


timegap=500			// Tempo em milissegundos
followspeed=100		// Follow Scrolling speed
followrate=1		// Follow Scrolling Rate
suboffset_top=1;	// Posicao do sub menu ao topo 
suboffset_left=0;	// Posicao do submenu à direita

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",			// Font Color over
"3C746B",			// Background Color over
"CFAF76",			// Font Color on
"3C746B",			// Background Color on
"3C746B",			// Menu Border Color 
11,					// Font Size
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"verdana",			// Font
,					// Menu height
"tri.gif",			// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
,					// Imgem do menu Principal(Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"3C746B",				// Menu Item Separator Color
]

  var um = screen.height
  um = parseInt(um)

if  (um  == 768 ){
var dois = 185	// posição do menu à direita
var tres = 82// largura do menu
  }
  else if  (um  == 600){
  var dois = 185
  var tres = 82
  }
  else if  (um  > 768){
  var dois = 185
  var tres = 82
  }
  else if  (um  < 1024){
var dois = 185
var tres = 82
  }

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
43,				// Distancia em relacao ao topo
dois,				// Menu Left - The Left position of the menu in pixels
tres,				// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use

,"Abertura","alvo.htm",,"Abertura",0
,"Apresentação","show-menu=apresentacao",,"Apresentação",17// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Apartamentos","show-menu=apartamentos",,"Apartamentos",17
,"Tarifário","tarifario.htm",,"Tarifário",0
,"Promoções","promocao.htm",,"Promoções",17
,"Contato","contato.htm",,"Contato",0
])


	addmenu(menu=["apartamentos",
	,,100,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Standard","standart.htm","","Apartamento Standard",0
	,"Luxo","luxo.htm",,"Apartamento Luxo",0
	,"Suite","suite.htm",,"Suite",0
	])

	addmenu(menu=["apresentacao",
	,,100,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"A Pousada","apousada.htm",,"A Pousada",0
	,"Nosso Café","cafe.htm",,"Nosso Café",0
	,"Localização","localizacao.htm",,"Localização",0
	])
dumpmenus()