
linka='';

thisPage='left.htm';

imgPath='../images/';

lev1img='no';

lev1OpName='arrow.gif';
lev1OpHeight='10';
lev1OpWidth='10';

lev1ClosName='arrow.gif';
lev1ClosHeight='10';
lev1ClosWidth='10';

lev2img='yes';

lev2Name='arrow.gif';
lev2Height='10';
lev2Width='10';					

lev2Char='no';

bullet = '&nbsp;&#155; ';

base = 'main';

	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// Ett
if (page=='ett') {
thisMenu = new Array();
thisMenu[0] = new subMenu('KP flowchart','kpflow.htm');
thisMenu[1] = new subMenu('Summary of  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables','svar.htm');
}

// Tva
if (page=='tva') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Steering group','steering.htm');
thisMenu[3] = new subMenu('Medicine','medicine.htm');
thisMenu[5] = new subMenu('Psychology','psychology.htm');
thisMenu[4] = new subMenu('Pharmacoepidem','pharmacoep.htm');
thisMenu[6] = new subMenu('Social sci','social.htm');
thisMenu[2] = new subMenu('Health econ','health.htm');
thisMenu[1] = new subMenu('Database', 'database.htm');
}

// Tre
//if (page=='tre') {
//thisMenu = new Array();
//thisMenu[0] = new subMenu('Ur Årsrapport -01','research.htm');
//}

//fyra
if (page=='fyra') {
thisMenu = new Array();
thisMenu[1] = new subMenu('Publications','publ.htm');
thisMenu[0] = new subMenu('Doctoral Theses','avh.htm');
}

//fem
if (page=='fem') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Collaborations','coll.htm');
//thisMenu[1] = new subMenu('Links to other &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;project','#');
}

//sex
if (page=='sex') {
thisMenu = new Array();
thisMenu[2] = new subMenu('Stockholm Ger Res &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Center','http://www.aldrecentrum.se');
thisMenu[1] = new subMenu('Karolinska &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Institutet/NVS','http://www.nvs.ki.se');
thisMenu[0] = new subMenu('Aging Research &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Center','http://www.ki-su-arc.se');
}

