//script para site kadampa

//nao mexer
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)}

//inicio de configuração menu
if(navigator.appVersion.indexOf("MSIE 4.0")>0)
{
//configuração duração de fade, opacidade(alfa), sombra(direçao, cor, tamanho)
	effect = "Fade(duration=3);Alpha(style=0,opacity=100);;Shadow(color='#DA8278', Direction=110, Strength=10)"
}
else
{
	effect = ";Shadow(color='#DA8278', Direction=110, Strength=1)" // Stop IE5.5 bug when using more than one filter
}
//fim da configuração acima


timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=5;		// Sub menu offset Left position

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",				// Mouse Off Font Color
"EDB52A",				// Mouse Off Background Color
"B42F0E",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
3,						// 3D Border & Separator bar
"#edb52a",				// 3D High Color
"F4C619",				// 3D Low Color
"ECC6A2",				// Current Page Item Font Color (leave this blank to disable)
"#ffffff",				// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
"",						// Menu Header Font Color (Leave blank if headers are not needed)
"",						// Menu Header Background Color (Leave blank if headers are not needed)
]



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
270,				// Menu Top - The Top position of the menu in pixels
,				    // Menu Left - The Left position of the menu in pixels
140,				// Menu Width - Menus width in pixels
1,					// Menu Border Width 
"center",			// 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)
"center",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// 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, 					// Menu horizontal ou vertical (1=on/0=off)
0,					// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

//inicio do menu (visual) 1º nível
,"INÍCIO","index.html",,"target=_self",1
,"AULAS COM MEDITAÇÃO","show-menu=2atividades",,"",1
,"PROFESSORES","pages/professores.html",,"target=_self",1
,"PROGRAMAÇÃO","show-menu=2programacao",,"",1
,"SAIBA MAIS","show-menu=4saibamais",,"",1
,"CONTATO","show-menu=5contato",,"",1
 
])

	addmenu(menu=["2atividades",
	,,130,1,"",style1,0,"left","randomdissolve(duration=1);;Shadow(color='#DA8278', Direction=110, Strength=7)",0,,,,,,,,,,,
	,"Botafogo (Sede) >>","show-menu=3aulas",,"",1
	,"Tijuca (Sala)","pages/pg_tijuca.html",,,1	
	,"Campos (Filial)","pages/pg_Campos.html",,,1
	,"Perto de Você","pages/perto_de_voce.html",,,1
	,"Visitas","pages/visitas.html",,,1
	])
	
	
	addmenu(menu=["2programacao",
	,,130,1,"",style1,0,"left","randomdissolve(duration=1);;Shadow(color='#DA8278', Direction=110, Strength=7)",0,,,,,,,,,,,
	,"Preces Cantadas","pages/preces.html",,,1	
	,"Retiros","pages/retiros_botafogo.html",,,1
	,"Aulas em Botafogo","pages/pg_botafogo.html",,,1
	,"Aulas na Tijuca","pages/pg_tijuca.html",,,1
	,"Aulas em Campos","pages/pg_Campos.html",,,1
	])
	
	addmenu(menu=["3aulas",
	,,150,1,"",style1,0,"left","randomdissolve(duration=1);;Shadow(color='#F4C619', Direction=90, Strength=0)",0,,,,,,,,,,,
	,">> Aulas Introdutórias","pages/pg_botafogo.html",,"",1
	,">> Aulas Intermediárias","pages/programa_fundamental.html",,"",1
	,">> Estudo a Distância","pages/pf_restrito/pf_login.html",,,1	
	
	])
	
	addmenu(menu=["5contato",
	,,130,1,"",style1,0,"left","randomdissolve(duration=1);;Shadow(color='#DA8278', Direction=110, Strength=7)",0,,,,,,,,,,,
	,"Como chegar","pages/mapa_compaixao.html",,,1
	//,"Fale Conosco","pages/contato.html",,,1
	,"Centros Kadampa no Brasil","pages/centros_no_brasil.html",,,1
	,"Centros Kadampa no Mundo ","http://kadampa.org/pt/ target=_blank",,,1
	])
	
	addmenu(menu=["4saibamais",
	,,130,1,"",style1,0,"left","randomdissolve(duration=1);;Shadow(color='#F4C619', Direction=110, Strength=7)",0,,,,,,,,,,,
	//,"Programação Mensal por e-mail","pages/form_programacao_ok/formulario_prog_ok.html",,"target=_self",1
	,"Pesquisa nos sites do Budismo Kadampa","pages/busca_google.html",,"target=_self",1
	,"Editora Tharpa","http://www.tharpa.com.br/ target=_blank",,,1
	,"Virtude Multimídia","pages/album.html",,"target=_self",1	
	
	])
	
	
		
dumpmenus()