redbullet = '<img src="http://www.azibo.org/images/redbullet.gif" width="5" height="13" border="0" alt="">&nbsp;';
smlredbullet = '<img src="http://www.azibo.org/images/smlredbullet.gif" width="7" height="18" border="0" alt="" align="left">';
redarrow = 'http://www.azibo.org/images/redarrow.gif';

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)
}

effect = ""

timegap = 500
followspeed = 5
followrate = 40
suboffset_top = 10;
suboffset_left = 10;


function MenuStyle()
{
this.textNormal = "FFFF66"; this.textRollover = "white";
this.bgNormal = "DDE6EA"; this.bgRollover = "white";
this.borderColor = "006699";
this.textSize = 13; this.textStyle = "normal"; this.textWeight = "normal"
this.textFont = "Arial"; this.padding = 0; this.subImage = "arrow.gif";
this.border3d = ""; this.border3dHColor = ""; this.border3dLColor = "";
this.textActiveItem = ""; this.bgActiveItem = ""; this.topbarImg = "";
this.textHeader = ""; this.bgHeader = ""; this.seperator = "";
}

MenuStyle.prototype.applyStyle = function()
{
this.style = new Array();
this.style[0] = this.textNormal; this.style[1] = this.bgNormal;
this.style[2] = this.textRollover; this.style[3] = this.bgRollover;
this.style[4] = this.borderColor; this.style[5] = this.textSize;
this.style[6] = this.textStyle; this.style[7] = this.textWeight;
this.style[8] = this.textFont; this.style[9] = this.padding;
this.style[10] = this.subImage; this.style[11] = this.border3d;
this.style[12] = this.border3dHColor; this.style[13] = this.border3dLColor;
this.style[14] = this.textActiveItem; this.style[15] = this.bgActiveItem;
this.style[16] = this.topbarImg; this.style[17] = this.textHeader;
this.style[18] = this.bgHeader; this.style[19] = this.seperator;

}

topStyle = new MenuStyle();
topStyle.bgNormal = "transparent";
topStyle.bgRollover = "transparent";
topStyle.borderColor = "95B1BF";
topStyle.textStyle = "normal";
topStyle.textWeight = "normal";
topStyle.seperator = "transparent";
topStyle.subImage = "";
topStyle.applyStyle();

itemStyle = new MenuStyle();
itemStyle.bgNormal = "DDE6EA";
itemStyle.bgRollover = "999999";
itemStyle.borderColor = "95B1BF";
itemStyle.textNormal = "black";
itemStyle.textSize = 10;
itemStyle.textStyle = "normal";
itemStyle.textWeight = "normal";
itemStyle.seperator = "transparent";
itemStyle.subImage = redarrow; 
itemStyle.applyStyle();


// a seguir a main menu posicionamento  

addmenu(menu=["mainmenu",9,15,menuitemwidths,0,,topStyle.style,1,"left",effect,,1,,,,,,,,,,
,"&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Portuguese"+"&nbsp;","http://www.azibo.org/intro.html id=3399",,"",10
,"&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+""+"&nbsp;","",,"",10
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Home"+"&nbsp;&nbsp;&nbsp;","http://www.azibo.org/eng/introeng.html id=99",,"",10
,"&nbsp;&nbsp;"+"&nbsp;"+"Leisure"+"&nbsp;"+"&"+"&nbsp;"+"Culture"+"&nbsp;&nbsp;","show-menu=o meio","http://www.azibo.org/eng/leisureculture.html id=2","",10 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;"+"Fauna"+"&nbsp;"+"&"+"&nbsp;"+"Flora"+"&nbsp;","show-menu=fauna","http://www.azibo.org/eng/faunaflora.html id=1","",10 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Activities"+"&nbsp;","http://www.azibo.org/eng/activities.html id=1",,"",10 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Contacts"+"&nbsp;","http://www.azibo.org/eng/contacts.html",,"",10
]);

addmenu(menu=["o meio",,,140,1,"",itemStyle.style,,"left",effect,,,,"middle",,,,,,,,
,"&nbsp;&nbsp;"+"MAP","http://www.azibo.org/eng/mapaeng.html#mapa id=3","http://www.azibo.org/mapaeng.html#mapa id=3",,1
,"&nbsp;&nbsp;"+"HYDROGRAPHICAL BASIN","http://www.azibo.org/eng/hidroeng.html id=5","http://www.azibo.org/eng/hidroeng.html id=5",,1
,"&nbsp;&nbsp;"+"GEOLOGY","http://www.azibo.org/eng/geology.html id=7","http://www.azibo.org/eng/geology.html id=7",,1
,"&nbsp;&nbsp;"+"LOCAL WEATHER","http://www.azibo.org/eng/climate.html id=6","http://www.azibo.org/eng/climate.html id=6",,1
,"&nbsp;&nbsp;"+"PROTECTION ZONES","http://www.azibo.org/eng/zones.html id=66","http://www.azibo.org/eng/zones.html id=66",,1
,"&nbsp;&nbsp;"+"PEOPLE & CULTURE","show-menu=aldeias","http://www.azibo.org/eng/peopleculture.html id=8",,1
,"&nbsp;&nbsp;"+"INFRASTRUCTURES","show-menu=infraestruturas","http://www.azibo.org/eng/infraeng.html id=9",,1
,"&nbsp;&nbsp;"+"LODGING","http://www.azibo.org/eng/lodging.html id=7","http://www.azibo.org/eng/lodging.html id=7",,1
]);


addmenu(menu=["fauna",,,110,1,"",itemStyle.style,,"left",effect,,,,"middle",,,,,,,,
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"FLORA","http://www.azibo.org/eng/floraeng.html id=33",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"FISH","http://www.azibo.org/eng/fish.html id=3333",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"AMPHIBIANS","http://www.azibo.org/eng/amphibians.html id=14",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"REPTILES","http://www.azibo.org/eng/reptiles.html id=5","http://www.azibo.org/eng/reptiles.html id=5",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"BIRDS","http://www.azibo.org/eng/birds.html id=11",,"",1
,"&nbsp;&nbsp;&nbsp;&nbsp;"+"MAMALS","http://www.azibo.org/eng/mamals.html id=93",,"",1
]);






addmenu(menu=["aldeias",,,115,1,"",itemStyle.style,,"left",effect,,,,"middle",,,,,,,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"PODENCE","http://www.azibo.org/eng/podenceeng.html id=94","http://www.azibo.org/eng/podenceeng.html id=94",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"SALSELAS","http://www.azibo.org/eng/salselaseng.html  id=21","http://www.azibo.org/eng/salselaseng.html id=21",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"Stª COMBINHA","http://www.azibo.org/eng/combinhaeng.html id=95","http://www.azibo.org/eng/combinhaeng.html id=95",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"VALE da PORCA","http://www.azibo.org/eng/valeporcaeng.html id=97","http://www.azibo.org/eng/valeporcaeng.html id=97",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"VALE de PRADOS","http://www.azibo.org/eng/valepradoseng.html id=98","http://www.azibo.org/eng/valepradoseng.html id=98",,1
]);

addmenu(menu=["infraestruturas",,,120,1,"",itemStyle.style,,"left",effect,,,,"middle",,,,,,,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"BEACHES","http://www.azibo.org/eng/beaches.html id=6694","http://www.azibo.org/eng/beaches.html id=6694",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"CENTRAL CORE","http://www.azibo.org/eng/centraleng.html  id=6621","http://www.azibo.org/eng/centraleng.html id=6621",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"RURAL MUSEUM","http://www.azibo.org/eng/ruraleng.html id=6695","http://www.azibo.org/eng/ruraleng.html id=6695",,1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+"CARETO'S HOUSE","http://www.azibo.org/eng/caretoseng.html id=6697","http://www.azibo.org/eng/caretoseng.html id=6697",,1

]);

dumpmenus();
