// *****************************************************************************
// **                                SETTINGS OF MENU                                  **
// *****************************************************************************

// '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 'html'
linka='../html/';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='menu.html';

// 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='jsmenu/images/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='open.gif';			// open image name
lev1OpHeight='14';				// image height
lev1OpWidth='10';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='14';			// image height
lev1ClosWidth='10';				// image width

// do you want to use images for the sub-category bullets?
lev2img='yes';		// insert yes or no

// give image names and dimensions
lev2Name='bullet.gif';			// image name
lev2Height='12';				// image height
lev2Width='16';					// 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 = 'main';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************
function startTable() {
	document.write('<span align="left"><table width="200" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="../webimages/support_images/menu.gif"></td> <td valign="top">' );
}

function writeStills() {
	document.write( '<span class="stills"><img src="'+ imgPath +'still.gif"><a href="../contact/contact.htm" target="main"> Contact </a> <br> <img src="'+ imgPath +'still.gif"><a href="../sitemap/sitemap.htm" target="main"> Sitemap </a> <br> <img src="'+ imgPath +'still.gif"><a </span>' );
}

function endTable() {

	document.write( '</td></tr><tr> <td>&nbsp;</td> ' );
	document.write( '</tr> </table></span>' );
}
	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);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<base target="' + base + '">');



// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************

// Prometheus Proflie
if (page=='profile') {
thisMenu = new Array();
thisMenu[0] = new subMenu('What We Do','../profile/welcome.htm');
thisMenu[1] = new subMenu('Company Overview','../profile/about.htm');
//thisMenu[2] = new subMenu('Clients','../profile/clients.htm');
thisMenu[2] = new subMenu('Our Team','../profile/team.htm');
}

// Provision
if (page=='prov') {
thisMenu = new Array();
thisMenu[0] = new subMenu('What is Prometheus BI?', '../pbi/whatis.htm');
thisMenu[1] = new subMenu('What is BI?', '../pbi/bi.htm' );
thisMenu[2] = new subMenu('PBI Overview', '../pbi/overview.htm');
thisMenu[3] = new subMenu('PBI Components', '../pbi/components.htm');
//thisMenu[3] = new subMenu('ProVision vs OLAP', '../pbi/vs.htm');
<!--thisMenu[4] = new subMenu('PBI Web Access', '../pbi/online.htm');-->
thisMenu[4] = new subMenu('PBI Whitepaper', '../pbi/papers.htm');
<!--thisMenu[6] = new subMenu('PBI Examples', '../pbi/examples.htm');-->


}

// Projects
if (page=='products') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Health Funds','../products/prometheus4healthfunds.htm');
thisMenu[1] = new subMenu('HealthWIZ','../products/healthwiz.htm');
<!--thisMenu[3] = new subMenu('Data Services','../products/data.htm');-->

}

// Downloads
//if (page=='down') {
//thisMenu = new Array();
//thisMenu[0] = new subMenu('Available Products','../downloads/available.htm');
//thisMenu[1] = new subMenu('Trials','../downloads/trials.htm');
//thisMenu[2] = new subMenu('All Documentation','../downloads/docs.htm');
//}

