//UDMv3.5
//**DO NOT EDIT THIS *****
if (!exclude) { //********
//************************



///////////////////////////////////////////////////////////////////////////
//
//  ULTIMATE DROPDOWN MENU VERSION 3.5 by Brothercake
//  This is a special version for Dynamic Drive (http://www.dynamicdrive.com)
//
//  Link-wrapping routine by Brendan Armstrong
//  Original KDE modifications by David Joham
//  Opera reload/resize based on a routine by Michael Wallner
//  Select-element hiding routine by Huy Do
//
///////////////////////////////////////////////////////////////////////////



// *** POSITIONING AND STYLES *********************************************

var menuALIGN = "left";		// alignment
var absLEFT = 0;		// absolute left or right position (if menu is left or right aligned)
var absTOP = 	0; 		// absolute top position

var staticMENU = false;		// static positioning mode (ie5,ie6 and ns4 only)

var stretchMENU = false;		// show empty cells
var showBORDERS = false;		// show empty cell borders

var baseHREF = "js/menu/";	// base path to .js files for the script (ie: resources/)
var zORDER = 	1000;		// base z-order of nav structure (not ns4)

var mCOLOR = 	"#A02214";	// main nav cell color
var rCOLOR = 	"#6F0014";	// main nav cell rollover color
var bSIZE = 	1;		// main nav border size
var bCOLOR = 	"white"	// main nav border color
var aLINK = 	"#FFFFFF";	// main nav link color
var aHOVER = 	"#FFFFFF";		// main nav link hover-color (dual purpose)
var aDEC = 	"none";		// main nav link decoration
var fFONT = 	"verdana";	// main nav font face
var fSIZE = 	10;		// main nav font size (pixels)
var fWEIGHT = 	"bold"		// main nav font weight
var tINDENT = 	0;		// main nav text indent (if text is left or right aligned)
var vPADDING = 	2;		// main nav vertical cell padding
var vtOFFSET = 	0;		// main nav vertical text offset (+/- pixels from middle)

var keepLIT =	true;		// keep rollover color when browsing menu
var vOFFSET = 	7;		// shift the submenus vertically
var hOFFSET = 	0;		// shift the submenus horizontally

var smCOLOR = 	"#6F0014";	// submenu cell color

var srCOLOR = 	"#6F0014";	// submenu cell rollover color
var sbSIZE = 	0;		// submenu border size
var sbCOLOR = 	"white"	// submenu border color
var saLINK = 	"#FFFFFF";	// submenu link color
var saHOVER = 	"#FFFFFF";		// submenu link hover-color (dual purpose)
var saDEC = 	"none";		// submenu link decoration
var sfFONT = 	"verdana";// submenu font face
var sfSIZE = 	10;		// submenu font size (pixels)
var sfWEIGHT = 	"normal"	// submenu font weight
var stINDENT = 	5;		// submenu text indent (if text is left or right aligned)
var svPADDING = 1;		// submenu vertical cell padding
var svtOFFSET = 0;		// submenu vertical text offset (+/- pixels from middle)

var shSIZE =	0;		// submenu drop shadow size
var shCOLOR =	"#6F0014";	// submenu drop shadow color
var shOPACITY = 50;		// submenu drop shadow opacity (not ie4,ns4 or opera)

var keepSubLIT = true;		// keep submenu rollover color when browsing child menu
var chvOFFSET = -12;		// shift the child menus vertically
var chhOFFSET = 7;		// shift the child menus horizontally

var openTIMER = 5;		// [** new **] menu opening delay time (not ns4/op5/op6)
var openChildTIMER = 10;	// [** new **] child-menu opening delay time (not ns4/op5/op6)
var closeTIMER = 330;		// menu closing delay time

var cellCLICK = true;		// links activate on TD click
var aCURSOR = "hand";		// cursor for active links (not ns4 or opera)

var altDISPLAY = "";		// where to display alt text
var allowRESIZE = mu;		// allow resize/reload

var redGRID = false;		// show a red grid
var gridWIDTH = 760;		// override grid width
var gridHEIGHT = 500;		// override grid height
var documentWIDTH = 0;		// override document width

var hideSELECT = false;		// auto-hide select boxes when menus open (ie only)
var allowForSCALING = false;	// allow for text scaling in gecko browsers
var allowPRINTING = false;	// allow the navbar and menus to print (not ns4)

var arrWIDTH = 16;		// [** new **] arrow width (not ns4/op5/op6)
var arrHEIGHT = 16;		// [** new **] arrow height (not ns4/op5/op6)

var arrHOFFSET = -1;		// [** new **] arrow horizontal offset (not ns4/op5/op6)
var arrVOFFSET = 1;		// [** new **] arrow vertical offset (not ns4/op5/op6)
var arrVALIGN = "middle";	// [** new **] arrow vertical align (not ns4/op5/op6)

var arrLEFT = "«";		// [** new **] left arrow (not ns4/op5/op6)
var arrRIGHT = "»";		// [** new **] right arrow (not ns4/op5/op6)
/*
//add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER") [** last four are new **]
addMainItem("montarPaginaSecao.do?id=10&sigla=Institucional&retorno=paginaIphan","O IPHAN |",60,"left","","",0,-5,"","","","","");

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER") [** last six are new **]
	defineSubmenuProperties(230,"left","left",-8,-2,"","","","","","","");
		<c:forEach items="${pagina.listaMenu.oIphan}" var="oIphan">
			<c:set var="tipoRetorno" value="Iphan"/>
				<c:set value="${oIphan.id}" var="id" scope="request"/>
				<c:if test="${oIphan.id == 1600}">
				   <c:set var="tipoRetorno" value="Relatorio"/>
				</c:if>
				<c:url value="montarPaginaSecao.do" var="link">
				   <c:param name="id" value="${id}"/>
				   <c:param name="retorno" value="pagina${tipoRetorno}" />
				</c:url>
				addSubmenuItem('<c:out value="${link}" />','<c:out value="${oIphan.titulo}" />',"","");
		 </c:forEach>


		addMainItem("montarPaginaSecao.do?id=20&sigla=PatrimonioCultural&retorno=paginaPatrimonioCultural","Patrimônio Cultural |",120,"left","","",0,55,"","","","","");
		
		defineSubmenuProperties(240,"left","left",-8,-5,"","","","","","","");
		
		<c:forEach items="${pagina.listaMenu.patrimonioCultural}" var="patrimonioCultural" varStatus="index">
			<c:set value="${patrimonioCultural.id}" var="id" scope="request"/>
			<c:url value="montarPaginaSecao.do" var="link">
			   <c:param name="id" value="${id}"/>
			   <c:param name="retorno" value="paginaPatrimonioCultural" />
			</c:url>
			addSubmenuItem('<c:out value="${link}" />','<c:out value="${patrimonioCultural.titulo}" />',"","");
		 </c:forEach>

addMainItem("","A&ccedil;&atilde;o Institucional |",110,"left","","",0,180,"","","","","");

	defineSubmenuProperties(180,"right","left",-8,0,"","","","","","","");

	addSubmenuItem("exemplo.htm","Relat&oacute;rios de Gest&atilde;o","","");
	addSubmenuItem("exemplo.htm","Turismo Cultural","","");
	addSubmenuItem("exemplo.htm","Diretrizes","","");
	addSubmenuItem("exemplo.htm","Instrumentos de Preserva&ccedil;&atilde;o","","");
	addSubmenuItem("exemplo.htm","Instrumentos de Gest&atilde;o","","");
	addSubmenuItem("exemplo.htm","Plano de A&ccedil;&atilde;o","","");
	addSubmenuItem("exemplo.htm","Sistema Brasileiro de Museus","","");
	addSubmenuItem("exemplo.htm","Programas","","");
	addSubmenuItem("exemplo.htm","Projetos","","");
	addSubmenuItem("exemplo.htm","Educa&ccedil;&atilde;o Patrimonial","","");
	addSubmenuItem("exemplo.htm","Premia&ccedil;&otilde;es","","");
	addSubmenuItem("exemplo.htm","Parcerias","","");
	addSubmenuItem("exemplo.htm","Linhas de Financiamento","","");




		addMainItem("montarPaginaSecao.do?id=50&sigla=Documento&retorno=paginaBibliotecaVirtual","Biblioteca",62,"left","","",0,285,"","","","","");
		
		defineSubmenuProperties(265,"right","left",-8,0,"","","","","","","");
		
		<c:forEach items="${pagina.listaMenu.bibliotecaVirtual}" var="lista" varStatus="index">
			<c:set value="${lista.id}" var="id" scope="request"/>
			<c:set value="Documento" var="retorno" />
			<c:set value="Documento" var="sigla"/>
			<c:if test="${id == 5140}">
			   <c:set value="PatrimonioCultural" var="retorno"/>
			   <c:set value="Documento" var="sigla"/>
			</c:if>
			<c:if test="${id == 5160}">
			   <c:set value="Glossario" var="retorno"/>
			   <c:set value="Glossario" var="sigla"/>
			</c:if>
			<c:if test="${id == 5020}">
			   <c:set value="Institucional" var="retorno"/>
			   <c:set value="Institucional" var="sigla"/>
			</c:if>
			<c:url value="montarPaginaSecao.do" var="link">
			   <c:param name="id" value="${id}"/>
			   <c:param name="sigla" value="${sigla}" />
			   <c:param name="retorno" value="pagina${retorno}" />
			</c:url>
			addSubmenuItem('<c:out value="${link}" />','<c:out value="${lista.titulo}" />',"","");
		</c:forEach>

// add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","mCOLOR","rCOLOR","aLINK","aHOVER") [** last four are new **]
addMainItem("o_iphan2.htm","Notícias |",50,"left","","",20,0,"","","","","");

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","smCOLOR","srCOLOR","sbCOLOR","shCOLOR","saLINK","saHOVER") [** last six are new **]
	defineSubmenuProperties(230,"left","left",-8,0,"","","","","","","");

	// add submenu link items ("url","Link name","_target","alt text")
	addSubmenuItem("exemplo.htm","Hist&oacute;rico","","");
	addSubmenuItem("exemplo.htm","Estrutura Organizacional ","","");
	addSubmenuItem("exemplo.htm","Arquivo e Biblioteca Noronha Santos","","");
	addSubmenuItem("exemplo.htm","Arquivo e Biblioteca Alo&iacute;sio Magalh&atilde;es","","");
	addSubmenuItem("exemplo.htm","Superintend&ecirc;ncias Regionais","","");
	addSubmenuItem("exemplo.htm","Sub-regionais","","");
	addSubmenuItem("exemplo.htm","Escrit&oacute;rios T&eacute;cnicos","","");
	addSubmenuItem("exemplo.htm","Museus e Centros Culturais","","");
	addSubmenuItem("exemplo.htm","Casa Hist&oacute;ricas","","");
	addSubmenuItem("exemplo.htm","Parques Hist&oacute;ricos","","");
	addSubmenuItem("exemplo.htm","Marcas e Manual","","");
	addSubmenuItem("exemplo.htm","Centro Nacional de Cultura Popular","","");
*/

//**DO NOT EDIT THIS *****
}//***********************
//************************
