
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[3] = new subMenu('SOCIAL GERONTOLOGY','sgssaeng.htm');
thisMenu[2] = new subMenu('PSYCHOLOGY','pssaeng.htm');
thisMenu[1] = new subMenu('GERIATRIC EPIDEM.','messaeng.htm');
//thisMenu[4] = new subMenu('SPECIFIC PROJECTS','proj.htm');
thisMenu[0] = new subMenu('GENERAL','resact general.htm');
}

// Tva
if (page=='tva') {
thisMenu = new Array();
//thisMenu[2] = new subMenu('Social Gerontology','sgs.htm');
thisMenu[2] = new subMenu('DOCTORAL THESES','docthes.htm');
thisMenu[3] = new subMenu('PUBLICATIONS BY TOPIC 2000-2008','ARCpublications_may2008.pdf');
thisMenu[4] = new subMenu('PUBLICATIONS 2007-2011','ARC publications 2007-2011 for homepage.pdf');
thisMenu[0] = new subMenu('ANNUAL REPORTS ','anualrep.htm');
thisMenu[1] = new subMenu('ACTIVITY REPORTS ','actrep.htm');
//thisMenu[3] = new subMenu('Annual Report 2002','areng.htm');
//thisMenu[4] = new subMenu('Annual Report 2003','ar3eng.htm');

}

// Tre
if (page=='tre') {
thisMenu = new Array();
thisMenu[0] = new subMenu('HISTORY','history.htm');
thisMenu[1] = new subMenu('GOALS','goals.htm');
thisMenu[2] = new subMenu('ORGANISATION','org.htm');
}

// Fyr
if (page=='fyr') {
thisMenu = new Array();
thisMenu[0] = new subMenu('ADDRESS','adr.htm');
thisMenu[1] = new subMenu('TRANSPORT','trans.htm');
}

// Fem
if (page=='fem') {
thisMenu = new Array();
thisMenu[0] = new subMenu('INTRODUCTION','forskskol.htm');
thisMenu[1] = new subMenu('ACTIVITIES 2012','aktiv.htm');
thisMenu[2] = new subMenu('CONTACT','crlen.htm');
thisMenu[3] = new subMenu('PREVIOUS ACTIVITIES','aktiv_prev.htm');
}
