/* ------------------------------------------------------------------------------------------------
 * This is the DOQQ98 IR Mosaic Javascript for Data.
 * This File contains all the Data for the DOQQMosaic web page and subpages to separate Content from 
 * Code.  Loaded after this file is the DOQQM_Func.js file which contains the functions that help
 * operate the web pages.
 * 
 * This Javascript is called by the GISDOQQMosaic.html file.
 ----------------------------------------------------------------------------------------------- */ 

	// * Non-GIS Frame Title
	// * THe GIS Frame is the Frame work provided by the IT dept. (look and feel)
	// * This is simply a String for which we want to express the first letter.
	subTitle = "Digital Bicycle Maps & Route Information";

	// * Lead in Text by Paragraphs.
	// * An Array of Arrays
	// * The array of paragraphs: each item is the Paragraph "Spen" Designation, and the Paragraph Text.
	openText = new Array(); n=0;
	openText[n++] = ['text3','The North Carolina Department of Transportation provides a variety of information on North Carolina bicycle routes online.  These include:'];
	openText[n++] = ['text3','1. <a href="#digitalMapImages">Digital map images</a> for viewing and download.'];
	openText[n++] = ['text3','2. <a href="#gisData">GIS Data Shapefile and Full State Image</a> of all bicycle routes.'];
	//openText[n++] = ['text3','<hr>'];

	// * Lead in Text by Paragraphs.
	// * An Array of Arrays
	// * The array of paragraphs: each item is the Paragraph "Spen" Designation, and the Paragraph Text.
	openTextThumb = new Array(); n=0;
	openTextThumb[n++] = ['text3','From this page you may download a digital copy of the specific map you have selected. If you have any questions about the map, please contact <A href="MAILTO:bikeped_transportation@dot.state.nc.us">bikeped_transportation</a> or go to <a href="http://www.ncdot.org/transit/bicycle/">http://www.ncdot.org/transit/bicycle/</a>.'];
	//openText[n++] = ['text3','Information about the original 1998 Color IR DOQQs can be found at <a href="http://www.geology.enr.state.nc.us/doqq.html">http://www.geology.enr.state.nc.us/doqq.html</a>.'];
	//openText[n++] = ['text3','Click on a link below to access the images by county, city, NCDOT division, or using an interactive map.'];

	// * Links Jumping to Associated Pages
	// * An Array of Arrays
	// * The array of Links: each item is link Destination, and the link Text. 3rd Entry (kind of Optional) is a definition of Link (leave blank '' for no definition
	jLinkText = new Array(); n=0;
	jLinkText[n++] = ['../default.html','Back to Data Distribution',''];
	//jLinkText[n++] = ['GISCountyMapBP.html','Image Map of Counties with Bicycle Routes',''];
	
	// * Links Jumping to Associated Pages
	// * An Array of Arrays
	// * The array of Links: each item is link Destination, and the link Text. 3rd Entry (kind of Optional) is a definition of Link
	jLinkTextThumb = new Array(); n=0;
	jLinkTextThumb[n++] = ['DataDist.html','Data / Maps Home',''];
	jLinkTextThumb[n++] = ['GISBikeMaps.html','Bike Maps',''];

	// * All the available bike mpas
	// * An Array of Arrays
	// * The array of Items: each item is:
	//		Type, Name, directory, 				JPG (Front, Back 1, Back 2), PDF (Front, Back, Full), Thumbnails
	//		0,      1,      	        		 2, 3, 4, 5, 6, 7, 	8
	var BPMs = new Array(); n=0;
	BPMs[n++] = ['County', 'Asheville - Buncombe', 'Buncombe',	 1, 1, 0, 0, 0, 0, 	1];
	BPMs[n++] = ['County', 'Cabarrus', 'Cabarrus',	 		 1, 1, 0, 1, 1, 1, 	1];
	BPMs[n++] = ['City', 'Cary', 'Cary',				 1, 1, 0, 1, 1, 0, 	1];
	BPMs[n++] = ['County', 'Chatham', 'Chatham',			 1, 1, 1, 0, 0, 0, 	1];
	BPMs[n++] = ['Other', 'Dare', 'Dare',			 	 1, 0, 0, 0, 0, 1, 	1]; // 0

	BPMs[n++] = ['City', 'Durham', 'Durham',			 1, 1, 0, 0, 0, 0, 	1];
	BPMs[n++] = ['County', 'Gaston', 'Gaston',			 1, 1, 0, 1, 1, 1, 	1];
	BPMs[n++] = ['Other', 'Greensboro', 'Greensboro',		 1, 1, 0, 1, 1, 0, 	1];
	BPMs[n++] = ['County', 'Henderson', 'Henderson',		 1, 1, 1, 1, 1, 1, 	1];
	BPMs[n++] = ['City', 'High Point', 'High Point',		 1, 1, 0, 0, 0, 0, 	1];
	BPMs[n++] = ['Other', 'Lake Norman Maps', 'Lake Norman Maps', 	 1, 0, 0, 0, 0, 1, 	1]; // 0

	BPMs[n++] = ['City', 'Raleigh', 'Raleigh',			 1, 1, 0, 0, 0, 1, 	1];
	BPMs[n++] = ['County', 'Randolph', 'Randolph',			 1, 1, 0, 1, 1, 1, 	1];
	BPMs[n++] = ['County', 'Richmond', 'Richmond',			 1, 1, 1, 0, 0, 0, 	1];
	BPMs[n++] = ['County', 'Rowan', 'Rowan',			 1, 1, 0, 1, 1, 1, 	1];
	BPMs[n++] = ['County', 'Stanly', 'Stanly',			 1, 1, 1, 0, 0, 0, 	1];
	BPMs[n++] = ['County', 'Transylvania', 'Transylvania',		 1, 1, 1, 0, 0, 0, 	1];

	BPMs[n++] = ['City', 'Wilmington', 'Wilmington',		 1, 1, 0, 0, 0, 1, 	1];
	BPMs[n++] = ['County', 'Winston-Salem - Forsyth', 'Forsyth',	 1, 1, 0, 1, 1, 0, 	1];
	