<!--
// *****************************************************************************
// **      JavaScript Tree Menu Copyright Net Explorers Ltd 2001              **
// *****************************************************************************

// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************

// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='sidebar.asp';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='_themes/';

// do you want to use images for the category bullets?
lev1img=true;					// insert yes or no

// give image names and dimensions
lev1NormalName='normal2.gif';	// normal image name
lev1NormalHeight='20';			// image height
lev1NormalWidth='20';			// image width
lev1OpName='min2.gif';			// open image name
lev1OpHeight='20';				// image height
lev1OpWidth='20';				// image width

lev1ClosName='plus2.gif';		// closed image name
lev1ClosHeight='20';			// image height
lev1ClosWidth='20';				// image width

// do you want to use images for the sub-category bullets?
lev2img=true;		// insert yes or no

// give image names and dimensions
lev2Name='stipjes2.gif';			// image name
lev2Height='20';				// image height
lev2Width='32';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='no';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '&#155; ';

// base target - the frame that the links are targetting
//base = 'top';
base = 'main';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// ophalen 'page' variable uit de URL - do not alter
//--------------------------------------------------
var x = 0;
var page = '';var pass = '';
var qpage = new Array();qpage = location.search.substr(1).split('&');
for (x=0;x<qpage.length;x++) {
	if (qpage[x].substr(0, 4)=='page') {		page = qpage[x].substr(5);	}	if (qpage[x].substr(0, 4)=='pass') {		pass = qpage[x].substr(5);	}}

// do not alter this bit
function subMenu(name,linkb,target) {
	this.name = name;	this.linkb = linkb;	this.target = target;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************

// Algemeen Menu
if (page=='aaland') {
	thisMenu = new Array();
	//thisMenu[0] = new subMenu('Algemeen','Information.asp?menu=1',base);
	//thisMenu[1] = new subMenu('Waar vind ik Aaland','Information.asp?menu=2',base);
}
// Ik wil een baan Menu
if (page=='baan') {
	thisMenu = new Array();
	thisMenu[0] = new subMenu('Arbeidsvoorwaarden','Information.asp?menu=7',base);
	thisMenu[1] = new subMenu('Vacatures','Vacatures.asp?FunctieGroepId=-1&RecentId=1',base);
	thisMenu[2] = new subMenu('Aanmelden','Information.asp?menu=9',base);
}
// Ik zoek personeel Menu
if (page=='personeel') {
	thisMenu = new Array();
	thisMenu[0] = new subMenu('Vacature plaatsen','Information.asp?menu=4',base);
	thisMenu[1] = new subMenu('Algemene voorwaarden','Documenten/090304 Algemene Voorwaarden Aaland.pdf','_new');
}

if (page=='contact') {
	thisMenu = new Array();	thisMenu[0] = new subMenu('Vacature plaatsen','emailform.asp?formtype=1',base);
	thisMenu[1] = new subMenu('Aanmelden','emailform.asp?formtype=3',base);
	thisMenu[2] = new subMenu('Routebeschrijving','Route.asp',base);
}
// Werkbriefjes Menu
if (page=='werkbriefje') {
	thisMenu = new Array();
}

//-->
