// *****************************************************************************
// **                                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='menu.htm';

// 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='open.gif';			// open image name
lev1OpHeight='10';				// image height
lev1OpWidth='10';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='10';			// 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='10';				// 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                             **
// *****************************************************************************

// 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                             **
// *****************************************************************************

// Getting Started
//if (page=='start') {
//thisMenu = new Array();
//thisMenu[0] = new subMenu('iBistro Overview','ibistro_overview.asp');
//}

// faqs
if (page=='faq') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Login/Logout?','faq10012.asp');
thisMenu[1] = new subMenu('Find an Item?','full_details.asp#holdings');
thisMenu[2] = new subMenu('Place a Hold?','faq10013.asp');
thisMenu[3] = new subMenu('Receive Notices','notices.asp');
thisMenu[4] = new subMenu('Get an ALT ID?','faq10012.asp#altid');
thisMenu[5] = new subMenu('Renew Material','faq10017.asp');
thisMenu[6] = new subMenu('Cancel a Hold?','faq10004.asp');
thisMenu[7] = new subMenu('Contact the Library?','faq10009.asp');
thisMenu[8] = new subMenu('Get Journal/Magazine Information','databases.asp');
thisMenu[9] = new subMenu('Access MyBistro?','faq10002.asp');
thisMenu[10] = new subMenu('Use "Create Bibliography"?','faq10003.asp');
thisMenu[11] = new subMenu('Review My Account','faq10019.asp');
thisMenu[12] = new subMenu('Change My Address?','faq10005.asp');
thisMenu[13] = new subMenu('Change My PIN?','faq10006.asp');
thisMenu[14] = new subMenu('Change the Display?','faq10007.asp');
thisMenu[15] = new subMenu('Limit a Search?','faq10011.asp');
thisMenu[16] = new subMenu('Recommend an Item for Purchase?','faq10016.asp');
thisMenu[17] = new subMenu('Search the Internet','faq10024.asp');
thisMenu[18] = new subMenu('Search by Genre','genres.asp');
thisMenu[19] = new subMenu('Search for AR books','AR.asp');
thisMenu[20] = new subMenu('Configure MyFavorites','faq10026.asp');
thisMenu[21] = new subMenu('View Library Messages & Requests','faq10029.asp');
thisMenu[22] = new subMenu('View Best Sellers Lists?','faq10031.asp');
thisMenu[23] = new subMenu('View Hot Sites?','faq10033.asp');
thisMenu[24] = new subMenu('View Library Information','faq10034.asp');
thisMenu[25] = new subMenu('View What Others are Reading','faq10032.asp');
thisMenu[26] = new subMenu('Use the Virtual Catalog','VirtCat.asp');
}


// Your Library Catalog
if (page=='catalog') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Your Library Catalog','library_catalog.asp');
thisMenu[1] = new subMenu('Contact Us','contact_us.asp');
thisMenu[2] = new subMenu('My Account','my_account.asp');
thisMenu[3] = new subMenu('Online Resources','knowledge_portal.asp');
thisMenu[4] = new subMenu('Kids Library','kids_library.asp');
thisMenu[5] = new subMenu('Digital Library','digital_library.asp');
thisMenu[6] = new subMenu('Browse Subjects','find_it_fast.asp');
thisMenu[7] = new subMenu('Reserves','reserves.asp');
}

// Enrichment
if (page=='enrichment') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Added Content','catalog_plus.asp');
}

// Information Hub
if (page=='infohub') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Information Hub','information_central.asp');
thisMenu[1] = new subMenu('Library Info','library_info.asp');
thisMenu[2] = new subMenu('Best Sellers List','bestseller_lists.asp');
thisMenu[3] = new subMenu('Recommended Reading Lists','recommended_read.asp');
thisMenu[4] = new subMenu('Hot Sites','hot_sites.asp');
thisMenu[5] = new subMenu('What Others Are Reading','what_others_read.asp');
}

// MyBistro
if (page=='mybistro') {
thisMenu = new Array();
thisMenu[0] = new subMenu('MyBistro','mybistro.asp');
thisMenu[1] = new subMenu('My Favorite...','my_favorite.asp');
thisMenu[2] = new subMenu('Tell Me When','tell_me_when.asp');
thisMenu[3] = new subMenu('Receive Notices','notices.asp');
}

// Navigation and Display
if (page=='nav') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Navigation and Display','navigation.asp');
}

// Searching
if (page=='searching') {
thisMenu = new Array();
thisMenu[0] = new subMenu('Searching','search.asp');
thisMenu[1] = new subMenu('Advanced Search','power_search.asp');
thisMenu[2] = new subMenu('Search Results','search_results.asp');
thisMenu[3] = new subMenu('Hit List of Titles','hitlist_catalog.asp');
thisMenu[4] = new subMenu('Hit List of URLs','search_results.asp');
thisMenu[5] = new subMenu('Full Details','full_details.asp');
thisMenu[6] = new subMenu('Search for AR Books','AR.asp');
}


