document.write('<Div style="position:absolute; left:0; top:76; width:'+myWidth+'; height:22; z-index:1;">');
//
// Navigator Menu Amitron
//
var menu = new Array();
var links = new Array();
var itemx = new Array();
//
// Items voor hoofdmenu
//
var hoofdmenu = new Array("Amitron","Oplossingen","Partners","Support","Training","Referentie");
//
// Items voor menu
//
menu[0] = new Array("Adres Gegevens", "Bedrijfsprofiel","Informatie aanvraag","Vacature","Route beschrijving","Nieuwsbrief/Persbericht","Event","Home");
links[0] = new Array("amitron/adres.html","amitron/bedrijfsprofiel.html","amitron/informatieaanvraag.html",6,7,"amitron/nieuwsbrieven.html","amitron/event.html","index.html");

menu[1] = new Array("Anti-Virus","Archivering","Backup & Recovery","Backup to Disk","Disaster Recovery & Replicatie","Email Management","High-Availability","Security","Storage Resource Management","Download","Prijslijst");
links[1] = new Array(8,9,10,11,12,13,14,29,15,27,"producten/prijslijst.html");

menu[2] = new Array("Arkivio","Asigra","BakBone","CaminoSoft","Commvault","EMC","Exagrid","NetApp","Plasmon","Quantum","QStar","Trend Micro","VMWare","Reseller Pagina");
links[2] = new Array("arkivio.html","asigra.html","bakbone.html","caminosoft.html","commvault.html","emc.html","exagrid.html","netapp.html","plasmon.html","quantum.html","qstar.html","producten/trend/EE_producten.html","vmware.html","reseller/password.html");

menu[3] = new Array("Service","On-line support","Registratie/validatie",  "Trend Micro Case-Diagnostic-tool");
links[3] = new Array("support/service.html","support/onlinesupport.html","support/validatie.html","support/cdt.html");

menu[4] = new Array("Kalender & Informatie");
links[4] = new Array("trainingen/informatietraining.html");

menu[5] = new Array("Referentie Overzicht");
links[5] = new Array("referenties/referenties.html");

//
// Items voor submenu
//

// er mag geen 1 submenu in een menu staat, voorbeeld 
// menu[13] = new Array("NAS storage");
// links[13] = new Array(14);

menu[6] = new Array("Account Manager ICT","System Consultant","Pre Sales Consultant","Stagair");
links[6] = new Array("amitron/vacature.html","amitron/vacature2.html","amitron/vacature2.html","../documents/vacature/stage2.pdf");

menu[7] = new Array("Vanuit Den Haag","Vanuit Dordrecht","Vanuit Utrecht","Met openbaar vervoer");
links[7] = new Array("amitron/denhaag.html","amitron/dordrecht.html","amitron/utrecht.html","amitron/ov.html");

menu[8] = new Array("Trend Enterprise Solutions","Trend Small Medium Business","Appliances");
links[8] = new Array(16,17,28);

menu[29] = new Array("Trend Enterprise Solutions","Trend Small Medium Business","Appliances");
links[29] = new Array(30,31,32);

menu[9] = new Array("Email Archivering","File Archivering","Hardware Appliances");
links[9] = new Array(18,19,20);

menu[10] = new Array("Backup Software","Backup to Disk","Notebook Backup","Remote Backup");
links[10] = new Array(21,22,23,24);

menu[11] = new Array("Exagrid","Quantum Dxi","NetAPP");
links[11] = new Array("exagrid.html","producten/quantum/DXi350055007500.html","producten/netapp/netapp_fas2000.html");

menu[12] = new Array("CommVault Replication","EMC Replistor");
links[12] = new Array("producten/commvault/replication.html","producten/emc/replistor.html");

menu[13] = new Array("CommVault Archive","EMC EmailXtender","Trend Micro Message Archiver");
links[13] = new Array("producten/commvault/archive.html","producten/emc/emailxtender.html","producten/trend/TMMA.html");

menu[14] = new Array("Clustering software","Replicatie software");
links[14] = new Array(25,26);

menu[15] = new Array("Arkivio Auto-View","CommVault Storage Manager","EMC Visual SRM");
links[15] = new Array("producten/emc/visualsrm.html","producten/commvault/resource.html","producten/emc/visualsrm.html");

menu[16] = new Array("<B>Overview Enterprise<B>","Enterprise Suites","Enterprise Protection Strategy","InterScan Web Protect ISA","InterScan Web Security Suite","InterScan Messaging Security Suite","Core Protection for Virtual Machines","Deep Security","InterScan Messaging Hosted Security","InterScan VirusWall","Spam Prevention Solution","ScanMail","ServerProtect","Portal Protect","OfficeScan Client/Server Edition","Control Manager","Trend Micro Message Archiver");
links[16] = new Array("producten/trend/EE_producten.html","producten/trend/EE_Suites.html","producten/trend/eps.html","producten/trend/ISWP.html","producten/trend/IWSS.html","producten/trend/IMSS.html","producten/trend/Core_Protection.html","producten/trend/Deep_Security.html","producten/trend/IMHS.html","producten/trend/ISVW.html","producten/trend/SPS.html","producten/trend/SMEX.html","producten/trend/SPNT.html","producten/trend/PP.html","producten/trend/OSCE.html","producten/trend/TMCM.html","producten/trend/TMMA.html");

menu[30] = new Array("<B>Overview Enterprise<B>","Enterprise Suites","Enterprise Protection Strategy","InterScan Web Protect ISA","InterScan Web Security Suite","InterScan Messaging Security Suite","Core Protection for Virtual Machines","Deep Security","InterScan Messaging Hosted Security","InterScan VirusWall","Spam Prevention Solution","ScanMail","ServerProtect","Portal Protect","OfficeScan Client/Server Edition","Control Manager","Trend Micro Message Archiver");
links[30] = new Array("producten/trend/EE_producten.html","producten/trend/EE_Suites.html","producten/trend/eps.html","producten/trend/ISWP.html","producten/trend/IWSS.html","producten/trend/IMSS.html","producten/trend/Core_Protection.html","producten/trend/Deep_Security.html","producten/trend/IMHS.html","producten/trend/ISVW.html","producten/trend/SPS.html","producten/trend/SMEX.html","producten/trend/SPNT.html","producten/trend/PP.html","producten/trend/OSCE.html","producten/trend/TMCM.html","producten/trend/TMMA.html");

menu[17] = new Array("<B>Overview SMB<B>","Worry-Free Business Security Standard","Worry-Free Business Security Advanced","InterScan Messaging Hosted Security","InterScan VirusWall","Trend Micro Message Archiver");
links[17] = new Array("producten/trend/EE_smb.html","producten/trend/worryfree_standard.html","producten/trend/worryfree_advanced.html","producten/trend/IMHS.html","producten/trend/ISVW.html","producten/trend/TMMA.html");

menu[31] = new Array("<B>Overview SMB<B>","Worry-Free Business Security Standard","Worry-Free Business Security Advanced","InterScan Messaging Hosted Security","InterScan VirusWall","Trend Micro Message Archiver");
links[31] = new Array("producten/trend/EE_smb.html","producten/trend/worryfree_standard.html","producten/trend/worryfree_advanced.html","producten/trend/IMHS.html","producten/trend/ISVW.html","producten/trend/TMMA.html");

menu[18] = new Array("CommVault Data Archiver","EMC EmailXtender","Trend Micro Message Archiver");
links[18] = new Array("producten/commvault/archive.html","producten/emc/emailxtender.html","producten/trend/TMMA.html");

menu[19] = new Array("Arkivio Auto-Stor","CommVault Data Archiver","EMC DiskXtender","CaminoSoft HSM");
links[19] = new Array("producten/arkivio/arkivio_auto-stor.html","producten/commvault/archive.html","producten/emc/diskxtender.html","producten/caminosoft/managedserverhsm.html");

menu[20] = new Array("Plasmon Archive Appliance");
links[20] = new Array("producten/plasmon/plasmon_udo.html");

menu[21] = new Array("BakBone","CommVault Simpana","EMC NetWorker");
links[21] = new Array("bakbone.html","commvault.html","producten/emc/networker.html");

menu[22] = new Array("Exagrid","Quantum Dxi","NetAPP");
links[22] = new Array("exagrid.html","producten/quantum/DXi350055007500.html","producten/netapp/netapp_fas2000.html");

menu[23] = new Array("IronMountain");
links[23] = new Array("producten/ironmountain/dataprotector_pc.html");

menu[24] = new Array("Asigra");
links[24] = new Array("asigra.html");

menu[25] = new Array("CaminoSoft Standbyserver for Netware","EMC AutoStart for Windows/Unix");
links[25] = new Array("producten/caminosoft/standbyserver.html","producten/emc/autostart.html");

menu[26] = new Array("CommVault Replication","EMC RepliStor");
links[26] = new Array("producten/commvault/replication.html","producten/emc/replistor.html");

menu[27] = new Array("EMC","CaminoSoft","Trend Micro");
links[27] = new Array ("download/invul_emc.html","download/invul_caminosoft.html","download/invul_trend.html");

menu[28] = new Array("InterScan Web Security Virtual Appliance","InterScan Messaging Security Virtual Appliance","Network Viruswall Enforcer");
links[28] = new Array ("producten/trend/IWSVA.html","producten/trend/IMSVA.html","producten/trend/TMNVWE.html");

menu[32] = new Array("InterScan Web Security Virtual Appliance","InterScan Messaging Security Virtual Appliance","Network Viruswall Enforcer");
links[32] = new Array ("producten/trend/IWSVA.html","producten/trend/IMSVA.html","producten/trend/TMNVWE.html");



// Variabelen voor menuopbouw
var achtergrondkleur = '#444444';
var randkleur = '#333333';
var randkleurmenus = '#333333';
var passiefkleur = '#EEEEEE';
var aktiefkleur = '#F3AD3B';
var aktiefkleur = '#87a5d4';
var x_begin = 150;
var y_begin = 0;
var hoofdmenu_width = 95;
var hoofdmenu_heigth = 19;
var menu_width = 185;
var hoogteoffsetfont = 19;

var links_left = new Array();var links_top = new Array();var submenuparent = new Array();
var nummerold =0;var muisovermenu = false;var timerid;

for (var tel=0; tel < menu.length; tel++)
{
	submenuparent[tel] = -1;
	itemx[tel] = -1;
}

function bouwallemenus()
{
	//balk onder menu
	document.write('<img style="position:absolute; left:0; top:0; width:'+myWidth+';" src="'+hoofddir+'/../images/main/navigator_back.gif" border="0" height="19" width="'+myWidth+'">');

	// navi menu balk open	
	document.write('<table width="61" border="0" cellspacing="0" cellpadding="0" style="position:absolute; left:0; top:1; border-width:0;"><TR><TD width="61"><img src="'+hoofddir+'/../images/main/navigator_start.gif" border="0"></TD></TR></table>');
	
	//navi menu balk sluiten
	document.write('<table width="79" border="0" cellspacing="0" cellpadding="0" style="position:absolute; left:'+((hoofdmenu_width*hoofdmenu.length)+x_begin+1)+'; top:1; border-width:0;"><TR><TD width="79"><img src="'+hoofddir+'/../images/main/navigator_end.gif" border="0"></TD></TR></table>');
	
	//Lijn onder menu
  document.write('<Table style="position:absolute; left:0; top:18" Width="100%" Border="0" cellspacing="0" cellpadding="0" BGColor="#444444"><TR><TD width="100%" Height="3"><IMG Src="'+hoofddir+'/../images/main/lijn.gif" Width="100%" Height="3"></TD></TR></Table>');
	
	//
	//Hoofdmenu
	//
	document.write('<TABLE border="0" cellspacing="1" cellpadding="0" style="cursor: pointer; font-family:arial; font-size:12; position:absolute; top:'+y_begin+'; left:'+x_begin+'; width:'+((hoofdmenu.length*hoofdmenu_width)+1)+'; background-color:#f5f5f5;">');
	document.write('<TR>');

	for (var i=0; i < hoofdmenu.length; i++)
	{document.write('<TD width="'+hoofdmenu_width+'" onmouseover="mv(\'menu'+i+' \');" onmouseout="allesi();" style="color:FFFFFF; border:solid; border-color:' +randkleur+ ';background-color:'+achtergrondkleur+'; border-width:1; border-color:#000000;"><B>&nbsp;'+hoofdmenu[i]+'&nbsp;</B></TD>');}

	document.write('</TR>');document.write('</TABLE>');

	//menus & submenus opbouwen (onzichtbaar)
	var k;
	for (var i=0; i < menu.length; i++)
	{
		//table defenitie
		var top1;var left1;var subm;var pijl;
		left1=(x_begin+(i*hoofdmenu_width));top1=y_begin+hoofdmenu_heigth;
		if (links_left[i])
			{top1=links_top[i];left1=links_left[i];}
		document.write ('<TABLE width="'+menu_width+'" id="menu'+i+'" cellspacing="0" cellpadding="0" style="position:absolute;top:'+top1+';left:'+left1+';border:solid;border-width:1;border-color:#000000; background-color:'+passiefkleur+';visibility:hidden;">')
		for (var j=0; j < menu[i].length; j++)	
			{
			subm='';pijl='';
			if (isNaN(links[i] [j]))
				{// is een link
				subm = ' onmouseover="mv(\'menu' + i + ' \'); lu(\''+i+'_'+j+'\');" onmouseout="ld(\''+i+'_'+j+'\');"';
				}
			else
				{// onmouseover voor submenu maken
				submenuparent[links[i] [j]] = i;itemx[links[i] [j]] = 'item'+i+'_'+j;pijl='<img src="'+hoofddir+'/../images/navi/pijl.gif" align="right">';
				subm='onmouseover="mv(\'menu' + links[i] [j] + ' \'); lu(\''+i+'_'+j+'\');" onmouseout="ld(\''+i+'_'+j+'\');"';
				}
			document.write('<TR><TD id="item'+i+'_'+j+'" ' + subm + ' onclick="gnl(\'' +links[i] [j]+ ' \' );" style="font-family:arial; font-size:11; width:' +menu_width+ '; padding: 2; border-style:solid; border-width:1px 0px 0px 0px; border-color:#888888; cursor: pointer;">'+ pijl + menu[i][j] + '</TD></TR>');
		
			if (isNaN(links[i] [j]))
				{//is een link
				}
			else
				{//is een submenu
				links_left[links[i] [j]]=left1+menu_width-8;links_top[links[i] [j]]=top1+(j*hoogteoffsetfont)+3;
				}
			k++
			}
		//einde table
		document.write ('</TABLE>');
	}
}
bouwallemenus();
document.write('</Div>');

function gnl(delink)
{
	if (isNaN(delink)){muisovermenu = false;allesi();clearTimeout(timerid);window.location.href = hoofddir +'/'+ delink;}
}


function mv(welke)
{
			 
	var nummer;var tussen;
	mi(nummerold);
	//allesi();
	nummer = parseInt(welke.substring(4,welke.length));	nummerold = nummer;
	document.getElementById("menu"+nummer).style.visibility = 'visible';
	
	// subparentmenu
	if (submenuparent[nummer] != -1)
	{
	do {
		 	document.getElementById(itemx[nummer]).style.backgroundColor = aktiefkleur;
		 	nummer = submenuparent[nummer];
			document.getElementById("menu"+nummer).style.visibility = 'visible';
			
		 }
	while (submenuparent[nummer] != -1)
	}
}


function mi(nummerold2)
{
		muisovermenu=true;clearTimeout(timerid);
		document.getElementById("menu"+nummerold2).style.visibility = 'hidden';
	
		if (submenuparent[nummerold2] != -1)
		{
		 do {
		 		  document.getElementById(itemx[nummerold2]).style.backgroundColor = passiefkleur;	
		 			nummerold2 = submenuparent[nummerold2];
					document.getElementById("menu"+nummerold2).style.visibility = 'hidden';					
				}
		 while (submenuparent[nummerold2] != -1)
		}		
}

function allesi()
	{

	if (muisovermenu == false)
	{
		for (var teller=0; teller < menu.length; teller++) 
			{document.getElementById("menu"+teller).style.visibility = 'hidden';}	
		clearTimeout(timerid);
	}
	
	else
		{muisovermenu = false;timerid = setTimeout("allesi()",800);}
}


function lu(wat)
{
document.getElementById("item"+wat).style.backgroundColor = aktiefkleur;muisovermenu = true;
}


function ld(wat)
{document.getElementById("item"+wat).style.backgroundColor = passiefkleur;muisovermenu = true;allesi();
}



