// CONFIG.JS updated by installer
//GENERAL CONFIGURATION
//====================================
//Enhancements:
// 5.1.5- 7/05:
//- added special handling for Safari
//- added corporate logo tracking
//====================================
// 5.1.6- 01/06
//- expiry date fix
//====================================

//ActivDirectory Version
var version = "5.1.6";

//-Geographic name of directory, publisher, and product to appear on titlebar and results page
var title = "O'ahu";
var trakVal = "HITOAH07"; //- Insert book code
var traip = "hawaiitel.innovectra.net";
var spinecode = trakVal;	// - Don't touch!, same as trakVal
var bookloc = trakVal;		// - Don't touch!, same as trakVal
var issuedate = "11";
var year = "2007";
var corp = "Hawaiian Telcom Services, Inc";
var publisher = "Hawaiian Telcom";
var brandname = "Electronic Directory";
var product = "Electronic Directory";
var corplink = "www.hawaiiantel.com";
var orderNumber = "800-851-5841"
var atkOff = 0;
var uniqueID = "LAN-{AD6E5657-BC19-4E66-B7AC-FDC32895228C}";

//--- ADD SECTIONS IN THE DROP-DOWN HERE (IF YOU NEED TO ADD A SECTION THAT IS NOT HERE, ---
//--- ADD IT HERE, IN TREE.HTM AND IN TREE.JS. ALSO IN THE SEARCH.JS FILES IF IT IS      ---
//--- A WHITE OR YELLOW SECTION)						         ---

//-- The 20 Popular Headings Section is static. Comment out in tree.htm if it not needed --

//- Emergency Numbers
	var emerSection = new Array();
	emerSection[0] = new Array("Emergency Numbers", "emerg", 1, 1);			//- Main link

//- Customer Pages
	var custSection = new Array();
	custSection[0] = new Array("Hawaiian Telcom Information", "cust", 1, 1);			//- Main link
	custSection[1] = new Array("Table of Contents", "cust", 1, 1);			//- Subsection
	custSection[2] = new Array("Contact Numbers", "cust", 2, 1);			//- Subsection
	custSection[3] = new Array("The Basics & Beyond", "cust", 4, 1);	//- Subsection
	custSection[4] = new Array("General Information", "cust", 11, 1);		//- Subsection
	custSection[5] = new Array("Disaster Preparedness", "cust", 51, 1);		//- Subsection
		
//- Community Pages
	var commSection = new Array();
	commSection[0] = new Array("Community Information", "comm", 1, 1);			//- Main link
	commSection[1] = new Array("Aloha!", "comm", 0, 1);			//- Subsection
	commSection[2] = new Array("New Mover's Guide", "comm", 2, 1);			//- Subsection
	commSection[3] = new Array("Calendar of Events", "comm", 3, 1);			//- Subsection
	commSection[4] = new Array("Attractions", "comm", 4, 1);			//- Subsection
	commSection[5] = new Array("Island Adventure", "comm", 9, 1);			//- Subsection
	commSection[6] = new Array("Beaches", "comm", 11, 1);			//- Subsection
	commSection[7] = new Array("Center Stage", "comm", 15, 1);			//- Subsection
	commSection[8] = new Array("Game Day", "comm", 18, 1);			//- Subsection
	commSection[9] = new Array("Golf Courses", "comm", 20, 1);			//- Subsection
	commSection[10] = new Array("Airport", "comm", 22, 1);			//- Subsection
	commSection[11] = new Array("University of Hawaii", "comm", 23, 1);			//- Subsection
	commSection[12] = new Array("Area Maps & Street Guide", "comm", 25, 1);			//- Subsection
	commSection[13] = new Array("Great Aloha Run", "comm", 50, 1);			//- Subsection
	commSection[14] = new Array("WikiWiki Voters Registration", "comm", 51, 1);			//- Subsection
	commSection[15] = new Array("Tide Charts", "comm", 53, 1);			//- Subsection
	commSection[16] = new Array("Shopping", "comm", 59, 1);			//- Subsection
	
//- Area Maps & Street Guide
	var mapsSection = new Array();
	mapsSection[0] = new Array("Area Maps & Street Guide", "comm", 1, 1);			//- Main link
	mapsSection[1] = new Array("O'ahu", "comm", 25, 1);			//- Subsection
	mapsSection[2] = new Array("Street Guide", "comm", 26, 1);		//- Subsection
	mapsSection[3] = new Array("West Honolulu", "comm", 35, 1);		//- Subsection
	mapsSection[4] = new Array("Honolulu", "comm", 36, 1);			//- Subsection
	mapsSection[5] = new Array("Waikiki", "comm", 38, 1);			//- Subsection
	mapsSection[6] = new Array("Hawai'i Kai", "comm", 39, 1);		//- Subsection
	mapsSection[7] = new Array("Wai'alae & Kahala", "comm", 39, 1);		//- Subsection
	mapsSection[8] = new Array("Kailua", "comm", 40, 1);			//- Subsection
	mapsSection[9] = new Array("Kane'ohe", "comm", 41, 1);			//- Subsection
	mapsSection[10] = new Array("Windward Shore", "comm", 42, 1);		//- Subsection
	mapsSection[11] = new Array("Leeward Shore", "comm", 43, 1);		//- Subsection
	mapsSection[12] = new Array("'Ewa", "comm", 44, 1);			//- Subsection
	mapsSection[13] = new Array("Pearl City/Waipahu", "comm", 45, 1);	//- Subsection
	mapsSection[14] = new Array("Wahiawa & Mililani Town", "comm", 46, 1);	//- Subsection
	mapsSection[15] = new Array("Maui", "comm", 47, 1);			//- Subsection
	mapsSection[16] = new Array("Kaua'i", "comm", 48, 1);			//- Subsection
	mapsSection[17] = new Array("Hawai'i", "comm", 49, 1);			//- Subsection

//- Guide Pages
	var guideSection = new Array();
	guideSection[0] = new Array("Yellow Pages Specialty Guides", "comm", 1, 1);			//- Main link
	guideSection[1] = new Array("Attorneys Guide", "yp01", 65, 1);			//- Subsection
	guideSection[2] = new Array("Dentists Guide", "yp01", 529, 1);			//- Subsection
	guideSection[3] = new Array("Home Improvement Guide", "yp01", 779, 1);		//- Subsection
	guideSection[4] = new Array("Physicians & Surgeons Guide", "yp01", 1096, 1);	//- Subsection
	guideSection[4] = new Array("O'ahu Real Estate Finder", "yp01", 1225, 1);	//- Subsection
	guideSection[5] = new Array("Restaurant Finder", "yp01", 1255, 1);		//- Subsection
	guideSection[6] = new Array("Disaster Preparedness", "cust", 51, 1);		//- Subsection
	guideSection[7] = new Array("Area Maps", "comm", 25, 1);			//- Subsection
		
//- Restaurant Finder
	var restaurantSection = new Array();
	restaurantSection[0] = new Array("Restaurant Finder", "yp01", 1255, 1);		//- Main link
	restaurantSection[1] = new Array("Restaurants A-Z", "yp01", 1255, 1);		//- Subsection
	restaurantSection[2] = new Array("Locator Map", "yp01", 1280, 1);		//- Subsection
	restaurantSection[3] = new Array("Feature Finder", "yp01", 1284, 1);		//- Subsection
	restaurantSection[4] = new Array("Menu Pages", "yp01", 1288, 1);		//- Subsection
		
//- luxury Pages
	var luxurySection = new Array();
	luxurySection[0] = new Array("Luxury Life", "luxury", 1, 1);			//- Main link
	luxurySection[1] = new Array("Emergency Numbers", "emerg", 1, 0);		//- Subsection
	luxurySection[2] = new Array("Table of Contents", "cust", 1, 0);		//- Subsection

//- Yellow Page Index sections -- usually just one. Switch on others, if nec.
	var indexSection = new Array();
	indexSection[0] = new Array("Yellow Pages Categories Index", "index", 1, 1);			//- Generally needed
	indexSection[1] = new Array("Second Headings Index", "index02", 1, 0);		//- Switch on if nec.
	indexSection[2] = new Array("Third Headings Index", "index03", 1, 0);		//- Switch on if nec.

//- Coupons -- insert the yp01 page the coupons start on
	var couponSection = new Array();
	couponSection[0] = new Array("Coupons", "coupon", 1, 1);				//- Turn on if there are coupons

//- Government Pages
	var govSection = new Array();
	govSection[0] = new Array("Government", "gov", 1 , 1);					//- Main link
	govSection[1] = new Array("Federal Government Services", "gov", 2 , 1);				//- in SW books
	govSection[2] = new Array("State Offices", "gov", 9 , 1)				//- in West books
	govSection[3] = new Array("City and County Offices", "gov", 28 , 1);
	govSection[4] = new Array("Regional", "gov", 6 , 0);					//- in a few SW books
	govSection[5] = new Array("County", "gov", 6 , 0);
	govSection[6] = new Array("State", "gov", 8 , 0);
	govSection[7] = new Array("Federal", "gov", 10 , 0);

//- White Pages - Switch on and name the white pages sections.
//- If you need more than 20 sections, they must be added here, in tree.htm, tree.js, tab.htm, and search.js files
	var whiteSection = new Array();
	whiteSection[0] = new Array("White Pages", "b01", 1, 0);
	whiteSection[1] = new Array("White Pages", "w01", 1, 1);
	whiteSection[2] = new Array("White Pages", "w02", 1, 0);
	whiteSection[3] = new Array("White Pages", "w03", 1, 0);
	whiteSection[4] = new Array("White Pages", "w04", 1, 0);
	whiteSection[5] = new Array("White Pages", "w05", 1, 0);
	whiteSection[6] = new Array("White Pages", "w06", 1, 0);
	whiteSection[7] = new Array("White Pages", "w07", 1, 0);
	whiteSection[8] = new Array("White Pages", "w08", 1, 0);
	whiteSection[9] = new Array("White Pages", "w09", 1, 0);
	whiteSection[10] = new Array("White Pages", "w10", 1, 0);
	whiteSection[11] = new Array("White Pages", "w11", 1, 0);
	whiteSection[12] = new Array("White Pages", "w12", 1, 0);
	whiteSection[13] = new Array("White Pages", "w13", 1, 0);
	whiteSection[14] = new Array("White Pages", "w14", 1, 0);
	whiteSection[15] = new Array("White Pages", "w15", 1, 0);
	whiteSection[16] = new Array("White Pages", "w16", 1, 0);
	whiteSection[17] = new Array("White Pages", "w17", 1, 0);
	whiteSection[18] = new Array("White Pages", "w18", 1, 0);
	whiteSection[19] = new Array("White Pages", "w19", 1, 0);
	whiteSection[20] = new Array("White Pages", "w20", 1, 0);

//- Yellow Sections (Although generally not in the drop-down, these may used by other areas of the GUI, so do not touch)
	var ypSection = new Array();
	ypSection[0] = new Array("Yellow Pages", "yp01", 1, 1);
	ypSection[1] = new Array("Yellow Pages", "yp02", 1, 0);
	ypSection[2] = new Array("Yellow Pages", "yp03", 1, 0);
	

// --- SET THESE ONCE PER PUBLISHER ---
//-Rotating logos & associated links
var link = new Array();
link[0] = new Array("www.hawaiiantelcom.com", 1);
link[1] = new Array("www.hawaiiantelcom.com", 2);
link[2] = new Array("www.hawaiiantelcom.com", 3);

//-Background GUI color; tab colors
var color = "93c16d";
var tabbkg = "C2D3FC";
var tabtext = "9EBCFA";
var noTabSections = new Array('comm',
				'cover',
				'coupon',
				'cust',
				'emerg',
				'gov',
				'featured',
				'luxury',
				'extras'); 

//-Default GUI text color
var guiTextColor = "333333";

//GUI and results links text sizes (in pts) and colors
var links800 = 7;
var links = 7;
var categoryColor= "000099"; //Match text color in keyword searches
var activeLinksColor = "FFFF00";  //Color of active sub-sections in section list
var linksColor = "333333";  //Color of sub-sections in section list
var resultColor = "333333"; //Color of matches in searches
var headingColor= "FFFFFF"; // Color of heading below results
var nomatchColor= "FFFF00"; //Color of text if no matches found
var searchItemColor = "CCFFCC"; //Search item in keyword searches
var doubleTruckResultColor = "FFCEFF"; //Search item in keyword searches for DT ads
var secColor0 = "FFFFCE";
var secColor1 = "FFFFFF";
var secColor2 = "000000";
var secColor3 = "99FFFF";
var secColor4 = "FFCCCC";
var secColor5 = "99FF99";
var secColor6 = "FFCCFF";
var secColor7 = "FFFF66";
var secColor8 = "FFCC99";
var secColor9 = "CCFFCC";
var secColor10 = "CCCC33";
var secColor11 = "FF99FF";
var secColor12 = "FF9999";
var secColor13 = "996600";
var secColor14 = "00FF00";
var secColor15 = "CC0033";
var secColor16 = "FFFF00";
var secColor17 = "FFFF66";
var secColor18 = "FFCC99";
var secColor19 = "CCFFCC";
var secColor20 = "CCCC33";
var secColor21 = "FF99FF";
var secColor22 = "FF9999";
var secColor23 = "996600";
var secColor24 = "00FF00";
var secColor25 = "CC0033";
var secColor26 = "FFFF00";

//-Featured Advertisers links color
var featuredColor = "FFFF00";

//-PAGE WIDTH
var pageWidth = 693;

//-Featured Advertisers
// Enter number of banner ads (not including Superpages) or maxFeaturedAdvertisers
var bannernumber = 23;

// as the last featured advertiser
var advertisers = new Array();
advertisers[0] = new Array("1", 1);
advertisers[1] = new Array("2", 2);
advertisers[2] = new Array("3", 3);
advertisers[3] = new Array("4", 4);
advertisers[4] = new Array("5", 5);
advertisers[5] = new Array("6a", 6);
advertisers[6] = new Array("6b", 6);
advertisers[7] = new Array("7", 7);
advertisers[8] = new Array("8", 8);
advertisers[9] = new Array("9", 9);
advertisers[10] = new Array("10", 10);
advertisers[11] = new Array("11", 11);
advertisers[12] = new Array("12", 12);
advertisers[13] = new Array("13", 13);
advertisers[14] = new Array("14", 14);
advertisers[15] = new Array("15", 15);
advertisers[16] = new Array("16", 16);
advertisers[17] = new Array("17", 17);
advertisers[18] = new Array("18", 18);
advertisers[19] = new Array("19", 19);
advertisers[20] = new Array("20", 20);
advertisers[21] = new Array("21", 21);
advertisers[22] = new Array("22", 22);
advertisers[23] = new Array("26", 23);


//Double truck ads
var doubleTrucks = new Array(); //Enter page numbers separated by commas

// Enter first page and number before first page of Yellow Page section here
var twobeforefirst = 0;
var beforefirst = 0;
var firstpage = 1;

//- Yellow Pages end page number, default section selection
var section="cover";
var number = 1;
var page = 0;
var emergSection = 'emerg';
var numCouponIndex = 4;
var doubleCoupon = true;

//USERHELP PAGE CONFIGURATION
var textcolor = "000000"

//NUMBER OF BACK/FORWARD STEPS
var maxNumSpots = 10;

// PAGE RANGES START HERE
var maxCover = -1;
var minCover = -1;
// Enter first page and number before first page of Yellow Page section here
var twobeforefirst = 0;
var beforefirst = 0;
var firstpage = 1;
var maxYP01 = 1705;
var minYP01 = 1;
var maxW01 = 824;
var minW01 = 1;
var maxCust = 10;
var minCust = 1;
var maxIndex = 61;
var minIndex = 1;
var maxCoupon = 74;
var minCoupon = 1;
var maxGov = 32;
var minGov = 1;
var maxEmerg = 1;
var minEmerg = 1;
var maxFeatured = 25;
var minFeatured = 1;
var maxComm = 64;
var minComm = 0;
var maxLuxury = 8;
var minLuxury = 1;
