// *****************************************************************************
// **                                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='index.php';

// 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='images/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='bullet_h1.gif';			// open image name
lev1OpHeight='13';				// image height
lev1OpWidth='17';				// image width

lev1ClosName='bullet_h1.gif';		// closed image name
lev1ClosHeight='13';			// image height
lev1ClosWidth='17';				// 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='spacer.gif';			// image name
lev2Height='8';				// image height
lev2Width='17';					// 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 = '_self';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	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                             **
// *****************************************************************************

// Home Menu
if (page=='home') {
thisMenu = new Array();

}

// News Menu
if (page=='news') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Headlines','http://www.ebalita.net/go/news/index.php');
thisMenu[1] = new subMenu('Articles','http://www.ebalita.net/go/news/articles.php');
thisMenu[2] = new subMenu('Editorials','http://www.ebalita.net/go/news/searchcat.php?cid=3');
}

// Channels Menu
if (page=='channels') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Store Finder','http://www.ebalita.net/go/bdirectory/index.php');
thisMenu[1] = new subMenu('Photos','http://fotos.ebalita.net/');
}

// Decorating Menu
if (page=='community') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Forum','http://www.ebalita.net/go/forum/board/index.php');
thisMenu[1] = new subMenu('Chat','http://chat.ebalita.net/');
thisMenu[2] = new subMenu('Recipes','http://www.ebalita.net/go/recipes/');
}

// Decorating Menu
if (page=='features') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Subscribe!!!','http://www.ebalita.net/site/forms/newsletter/subscription.html');
thisMenu[1] = new subMenu('Tell-a-friend','http://www.ebalita.net/site/forms/tellafriend/tellafriend.php');
thisMenu[2] = new subMenu('Get listed','http://www.ebalita.net/go/bdirectory/index.php');
}

// Decorating Menu
if (page=='company') {
thisMenu = new Array();
thisMenu[0] = new subMenu('About us','http://www.ebalita.net/site/info/index.php?id=2');
thisMenu[1] = new subMenu('Our goals','http://www.ebalita.net/site/info/index.php?id=3');
thisMenu[2] = new subMenu('Employment','http://www.ebalita.net/site/info/index.php?id=4');
thisMenu[3] = new subMenu('Press Release','http://www.ebalita.net/site/info/index.php?id=5');
thisMenu[4] = new subMenu('Legal Stuff','http://www.ebalita.net/site/info/index.php?id=6');
thisMenu[5] = new subMenu('Terms of Service','http://www.ebalita.net/site/info/index.php?id=7');
thisMenu[6] = new subMenu('Privacy Policy','http://www.ebalita.net/site/info/index.php?id=8');
}

// Decorating Menu
if (page=='contact') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Contact Info','http://www.ebalita.net/main/contact.php?id=15');
thisMenu[1] = new subMenu('Form','http://www.ebalita.net/site/forms/contact/emailform.php');
thisMenu[2] = new subMenu('Ad Inquiry','http://www.ebalita.net/main/adinfo.php');
}

// Decorating Menu
if (page=='help') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Forum Help','http://www.ebalita.net/go/forum/board/index.php?s=2f29067719624fc89d189142364f0be4&act=Help');
}