// JavaScript Document
//Variables to set
between=18 //The pixel between the menus and the submenus
mainheight=18 //The height of the mainmenus
subheight=18 //The height of the submenus
pxspeed=13 //The pixel speed of the animation
timspeed=15 //The timer speed of the animation
menuy=0 //The top placement of the menu.
menux=0 //The left placement of the menu
//Images - Play with these
level0_regular="/img/bullet.gif"
level0_round="/img/bullet.gif"
level1_regular="/img/bullet_peq.gif"
level1_round="/img/bullet_peq.gif"
level1_sub="/img/bullet_peq.gif"
level1_sub_round="/img/bullet_peq.gif"
level1_round2="/img/bullet_peq.gif"
level2_regular="/img/bullet_peq2.gif"
level2_round="/img/bullet_peq2.gif"

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round)


//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet

//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')

//Menu 0 
makeMenu('top','Testemunhos')
	makeMenu('sub','Testemunhos','/testemunhos/testemunhos.asp')
	makeMenu('sub','Enviar Testemunho','/testemunhos/inserir_testemunho.asp')
	makeMenu('sub','Todos Testemunhos','/testemunhos/lista_testemunhos.asp')

//Menu 1
makeMenu('top','Boas Notícias','/novidades/lista_novidades.asp')

//Menu 2
makeMenu('top','Eventos')
  makeMenu('sub','Próximos Eventos','/eventos/proximos_eventos.asp')
  makeMenu('sub','Eventos Realizados','/eventos/eventos_realizados.asp')
  makeMenu('sub','Envie seu Evento ','/eventos/inserir_evento_cadastro1_form.asp')

//Menu 3
makeMenu('top','Links','/links/link.asp')


//Menu 4  
makeMenu('top','Reze Conosco ')
	 	makeMenu('sub','Pedidos de Oração','/reze_conosco/reze_conosco.asp')
	 	makeMenu('sub','Enviar Pedido','/reze_conosco/envia_email_form.asp')
//makeMenu('sub','Consagração a Maria','#')
//makeMenu('sub','Ramalhete Espiritual','#')
  		makeMenu('sub','Terço Virtual','/reze_conosco/terco_virtual.asp','','')
		makeMenu('sub','Orações','/reze_conosco/oracoes.asp')

//Menu 5
makeMenu('top','Galeria de Fotos','/galeria_fotos/galeria_fotos.asp')

//Menu 6
makeMenu('top','Vídeos','#')
	 	makeMenu('sub','O Milagre das Rosas','/videos/rosas_web.asp')
	 	makeMenu('sub','O Mensageiro','/videos/mensageiro.asp')		
		makeMenu('sub','A Aparição','/videos/aparicao.asp')
//Menu 7
makeMenu('top','Contato','/contato/envia_contato_form.asp')



//Starting the menu

//*************************** inicio do menu 2 *************************

var verspacetoplevel=0
var verspacesublevel=0
var horspace=0
var minusimg=new Image()
minusimg.src="img/bullet.gif"//imagem
var plusimg=new Image()
plusimg.src="img/bullet.gif"//imagem
var plusminusimgsrc=plusimg.src
var classtop="top"
var classsub="sub"
var i_level=new Array(0,0,1,2,0,1)
var i_url=new Array(	"#","#","#","#","#","#","#","#","#","#","#","#","#","#","#","#","#")
var i_text=new Array(	"News","Segundo","Sub Primeiro", "Terceiro","Quarto","Sub Terceiro")
var i_target=new Array(	"_blank",  "_blank","_blank","_blank","_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank", "_blank")
var whichi_opened=-1
var i_opened=false
var hassubmenus=false
var istoppageitem=true

//*************************** fim do menu 2 *************************

