//----------------------------------------------------------------------------------------------------------------------------------------------------
//  This file is used to describe your navigation tree's structure, behavior and apperance.
//
//  The first section of this file describes the navigation tree's behavior and apperance.  
//  Notes above each configuration parameter detail what that parameter's posible values are
// and how the different values affect the behaivor or apperance of the navigation tree.
//
//  The second section of this file describes the structure of the navigation tree.  The tree is
// composed of two types of objects, folders and documents.  Folders will be capable of expanding
//  to reveal a list of contents.  Documents are not capable of expanding, they simply icnos that, 
//  when clicked by the user, change the URL of the target frame or window.
//
//  There are two types of folders.  The first type looks like a folder and as the navigation tree is
//  expanded or collapsed the icon will show either and open or closed yellow folder.  The second
//  type of folder is a WEB page link, and has a navigator icon.  As the tree expands and collapses 
//  this icon won't change, however the icon itself is a link to an HTML page.  Notes above the
// second section of this file will explain the syntax.
//
//  ntconfig.js
//----------------------------------------------------------------------------------------------------------------------------------------------------

//--------------------------------------------------------------------------
//  Decide if the names are links or just the icons.
//  1 = text names are also http links.
//  0 = only the icon is an http link.
//--------------------------------------------------------------------------
USETEXTLINKS = 1  
ICONPATH = '../navTree/'

//---------------------------------------------------------------------------------------------------
// Decide if the tree is to start all open or just showing the root folders
//  0 = The navigation tree starts closed.
//  1 = The navigation tree starts with  all levels expanded.
//---------------------------------------------------------------------------------------------------
STARTALLOPEN = 0 




//--------------------------------------------------------------------------------------------------------------------------------------
//  This section describes the contents of the navigation tree.
//
//  The first line establishes the parent directory for the navigation tree and is required to assign 
//  the variable foldersTree to either gWeb() or gFld().  
//
//    gWeb()
//    gFld()
//    insFld()
//    insDoc()
//    gLnk()
//	0 => Target is the 'basefrm'
//	1 => Target is a new window.
//--------------------------------------------------------------------------------------------------------------------------------------
foldersTree = gFld("<b>Robotics & Electronics</b>", "robo_main.html")
fld1 = insFld(foldersTree, gFld("Projects"))	


prj1 = insFld(fld1, gFld("6808 Bench", "6808_bench/6808_bench.html"))
	pic1 = insFld(prj1, gFld("Pictures", "6808_bench/6808_bench_pic.html"))
		doc1 = insDoc(pic1, gLnk("B", "Picture1", "6808_bench/6808_bench1.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
		doc2 = insDoc(pic1, gLnk("B", "Picture2", "6808_bench/6808_bench2.jpg"))
		doc2.iconSrc = "../navTree/bmp2.gif"
		doc3 = insDoc(pic1, gLnk("B", "Picture3", "6808_bench/6808_bench3.jpg"))
		doc3.iconSrc = "../navTree/bmp2.gif"
		doc4 = insDoc(pic1, gLnk("B", "Picture4", "6808_bench/6808_bench4.jpg"))
		doc4.iconSrc = "../navTree/bmp2.gif"
	sch1 = insFld(prj1, gFld("Schematics", "6808_bench/6808_bench_sch.html"))
		doc1 = insDoc(sch1, gLnk("B",  "CPU-RAM-ROM", "6808_bench/6808_CPU_RAM_ROM.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
		doc2 = insDoc(sch1, gLnk("B", "Display Driver", "6808_bench/6808_Display_driver.jpg"))
		doc2.iconSrc = "../navTree/bmp2.gif"
		doc3 = insDoc(sch1, gLnk("B", "Decoders", "6808_bench/Keyboard_Display_Decode.jpg"))
		doc3.iconSrc = "../navTree/bmp2.gif"
		doc4 = insDoc(sch1, gLnk("B", "Memory Map", "6808_bench/memory_map.doc"))
		doc4.iconSrc = "../navTree/word2.gif"
		doc5 = insDoc(sch1, gLnk("B", "ROM Routines", "6808_bench/ROM_routines.doc"))
		doc5.iconSrc = "../navTree/word2.gif"
	ds1 = insFld(prj1, gFld("Data Sheets","6808_bench/6808_bench_ds.html"))
		ds6800 =  insFld(ds1, gFld("6800 Datasheets", "javascript:parent.op()"))
			doc1 = insDoc(ds6800, gLnk("B", "Page1", "datasheets/CPUs/6808/6800_ds1.jpg"))
			doc1.iconSrc = "../navTree/bmp2.gif"
			doc2 = insDoc(ds6800, gLnk("B", "Page2", "datasheets/CPUs/6808/6800_ds2.jpg"))
			doc2.iconSrc = "../navTree/bmp2.gif"
			doc3 = insDoc(ds6800, gLnk("B", "Page3", "datasheets/CPUs/6808/6800_ds3.jpg"))
			doc3.iconSrc = "../navTree/bmp2.gif"
			doc4 = insDoc(ds6800, gLnk("B", "Page4", "datasheets/CPUs/6808/6800_ds4.jpg"))
			doc4.iconSrc = "../navTree/bmp2.gif"
			doc5 = insDoc(ds6800, gLnk("B", "Page5", "datasheets/CPUs/6808/6800_ds5.jpg"))
			doc5.iconSrc = "../navTree/bmp2.gif"
			doc6 = insDoc(ds6800, gLnk("B", "Page6", "datasheets/CPUs/6808/6800_ds6.jpg"))
			doc6.iconSrc = "../navTree/bmp2.gif"
			doc7 = insDoc(ds6800, gLnk("B", "Page7", "datasheets/CPUs/6808/6800_ds7.jpg"))
			doc7.iconSrc = "../navTree/bmp2.gif"
			doc8 = insDoc(ds6800, gLnk("B", "Page8", "datasheets/CPUs/6808/6800_ds8.jpg"))
			doc8.iconSrc = "../navTree/bmp2.gif"
			doc9 = insDoc(ds6800, gLnk("B", "Page9", "datasheets/CPUs/6808/6800_ds9.jpg"))
			doc9.iconSrc = "../navTree/bmp2.gif"
			doc10 = insDoc(ds6800, gLnk("B", "Page10", "datasheets/CPUs/6808/6800_ds10.jpg"))
			doc10.iconSrc = "../navTree/bmp2.gif"
			doc11 = insDoc(ds6800, gLnk("B", "Page11", "datasheets/CPUs/6808/6800_ds11.jpg"))
			doc11.iconSrc = "../navTree/bmp2.gif"
		dseprom =  insFld(ds1, gFld("EPROM Datasheets"))
			doc1 = insDoc(dseprom, gLnk("B", "2716", "datasheets/EPROMS/EPROM_2716.pdf"))
			doc1.iconSrc = "../navTree/pdf2.gif"
			doc2 = insDoc(dseprom, gLnk("B", "2732", "datasheets/EPROMS/EPROM_2732.pdf"))
			doc2.iconSrc = "../navTree/pdf2.gif"
			doc3 = insDoc(dseprom, gLnk("B", "2764", "datasheets/EPROMS/EPROM_2764.pdf"))
			doc3.iconSrc = "../navTree/pdf2.gif"
	comp1 = insFld(prj1, gFld("Compiler", "6808_bench/6808_bench_comp.html"))
		doc1 = insDoc(comp1, gLnk("B", "Cross Compiler", "6808_bench/AS0.EXE"))
		doc1.iconSrc = "../navTree/explorer.gif"
		doc2 = insDoc(comp1, gLnk("B", "Cross Compiler Manual", "6808_bench/ASREF.MAN"))
		doc2.iconSrc = "../navTree/text2.gif"
		doc3 = insDoc(comp1, gLnk("B", "Needhams Electronics", "http://www.needhams.com"))
		doc3.iconSrc = "../navTree/ie2.gif"
		doc4 = insDoc(comp1, gLnk("B", "Digikey Electronics", "http://www.digikey.com"))
		doc4.iconSrc = "../navTree/ie2.gif"


prj2 = insFld(fld1, gFld("DMC Display", "dmc_display/dmc_display.html"))
	pic2 = insFld(prj2, gFld("Pictures", "dmc_display/dmc_display_pic.html"))
		doc1 = insDoc(pic2, gLnk("B", "Picture1", "dmc_display/DMC_display1.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
		doc2 = insDoc(pic2, gLnk("B", "Picture2", "dmc_display/DMC_display2.jpg"))
		doc2.iconSrc = "../navTree/bmp2.gif"
		doc3 = insDoc(pic2, gLnk("B", "Picture3", "dmc_display/DMC_display3.jpg"))
		doc3.iconSrc = "../navTree/bmp2.gif"
	sch2 = insFld(prj2, gFld("Schematics", "dmc_display/dmc_display_sch.html"))
		doc1 = insDoc(sch2, gLnk("B", "Schematic1", "dmc_display/dmc_display.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
	ds2 = insFld(prj2, gFld("Data Sheets", "dmc_display/dmc_display_ds.html"))
		doc1 = insDoc(ds2, gLnk("B", "Display Specs", "datasheets/DMC_displays/16249bhe.pdf"))
		doc1.iconSrc = "../navTree/pdf2.gif"
		doc2 = insDoc(ds2, gLnk("B", "User Manual", "datasheets/DMC_displays/Dmcman_full.pdf"))
		doc2.iconSrc = "../navTree/pdf2.gif"
		doc3 = insDoc(ds2, gLnk("B", "Optrex America", "http://optrex.com/splash.asp"))
		doc3.iconSrc = "../navTree/ie2.gif"

	src2 = insFld(prj2, gFld("Source Code", "dmc_display/dmc_display_src.html"))
		doc1 = insDoc(src2, gLnk("B", "dmc_lib.asm", "dmc_display/dmc_lib.asm"))
		doc1.iconSrc = "../navTree/text2.gif"
		doc2 = insDoc(src2, gLnk("B", "dmc_main.asm", "dmc_display/dmc_main.asm"))
		doc2.iconSrc = "../navTree/text2.gif"
		doc3 = insDoc(src2, gLnk("B", "Make file", "dmc_display/make.bat"))
		doc3.iconSrc = "../navTree/explorer.gif"

prj3 = insFld(fld1, gFld("Robot", "turtle/turtle.html"))
	pic3 = insFld(prj3, gFld("Pictures", "turtle/turtle_pic.html"))
		doc1 = insDoc(pic3, gLnk("B", "Full View", "turtle/turtle1.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
		doc2 = insDoc(pic3, gLnk("B", "Motor Deck1", "turtle/m-deck1.html"))
		doc2.iconSrc = "../navTree/bmp2.gif"
		doc3 = insDoc(pic3, gLnk("B", "Motor Deck2", "turtle/m-deck2.jpg"))
		doc3.iconSrc = "../navTree/bmp2.gif"
		doc4 = insDoc(pic3, gLnk("B", "Motor Deck3", "turtle/m-deck3.jpg"))
		doc4.iconSrc = "../navTree/bmp2.gif"
		doc5 = insDoc(pic3, gLnk("B", "Motor Deck CPU", "turtle/cpu1.jpg"))
		doc5.iconSrc = "../navTree/bmp2.gif"
		doc6 = insDoc(pic3, gLnk("B", "Motor Deck H-bridge", "turtle/Hbridge1.jpg"))
		doc6.iconSrc = "../navTree/bmp2.gif"
		doc7 = insDoc(pic3, gLnk("B", "Motor Deck Display", "turtle/display1.jpg"))
		doc7.iconSrc = "../navTree/bmp2.gif"

		doc8 = insDoc(pic3, gLnk("B", "Shaft Encoders 1", "turtle/IMGP0651.jpg"))
		doc8.iconSrc = "../navTree/bmp2.gif"
		doc9 = insDoc(pic3, gLnk("B", "Shaft Encoders 2", "turtle/IMGP0655.jpg"))
		doc9.iconSrc = "../navTree/bmp2.gif"
		doc10 = insDoc(pic3, gLnk("B", "Shaft Encoders 3", "turtle/IMGP0661.jpg"))
		doc10.iconSrc = "../navTree/bmp2.gif"
		doc11 = insDoc(pic3, gLnk("B", "Shaft Encoders 4", "turtle/IMGP0663.jpg"))
		doc11.iconSrc = "../navTree/bmp2.gif"

	sch3 = insFld(prj3, gFld("Schematics", "turtle/turtle_sch.html"))
		doc1 = insDoc(sch3, gLnk("B", "Wiring Diagram", "turtle/chassis_wiring.jpg"))
		doc1.iconSrc = "../navTree/bmp2.gif"
		doc2 = insDoc(sch3, gLnk("B", "Motor Deck CPU", "turtle/mdeck_CPU_schematic.jpg"))
		doc2.iconSrc = "../navTree/bmp2.gif"
		doc3 = insDoc(sch3, gLnk("B", "H-Bridge", "turtle/hbridge_schematic.jpg"))
		doc3.iconSrc = "../navTree/bmp2.gif"
	ds3 = insFld(prj3, gFld("Data Sheets", "turtle/turtle_ds.html"))
	src3 = insFld(prj3, gFld("Source Code", "turtle/turtle_src.html"))
		doc1 = insDoc(src3, gLnk("B", "turtle_main.asm", "turtle/turtle_main.asm"))
		doc1.iconSrc = "../navTree/text2.gif"
		doc2 = insDoc(src3, gLnk("B", "turtle_pia_init.asm", "turtle/turtle_pia_init.asm"))
		doc2.iconSrc = "../navTree/text2.gif"
		doc3 = insDoc(src3, gLnk("B", "turtle_fore.asm", "turtle/turtle_fore.asm"))
		doc3.iconSrc = "../navTree/text2.gif"
		doc4 = insDoc(src3, gLnk("B", "turtle_back.asm", "turtle/turtle_back.asm"))
		doc4.iconSrc = "../navTree/text2.gif"
		doc5 = insDoc(src3, gLnk("B", "turtle_stop.asm", "turtle/turtle_stop.asm"))
		doc5.iconSrc = "../navTree/text2.gif"
		doc6 = insDoc(src3, gLnk("B", "turtle_wk.asm", "turtle/turtle_wk.asm"))
		doc6.iconSrc = "../navTree/text2.gif"
		doc7 = insDoc(src3, gLnk("B", "dmc_lib.asm", "turtle/dmc_lib.asm"))
		doc7.iconSrc = "../navTree/text2.gif"
		doc8 = insDoc(src3, gLnk("B", "turtle_IRQ.asm", "turtle/turtle_IRQ.asm"))
		doc8.iconSrc = "../navTree/text2.gif"
		doc9 = insDoc(src3, gLnk("B", "int_vect.asm", "turtle/int_vect.asm"))
		doc9.iconSrc = "../navTree/text2.gif"
		doc10 = insDoc(src3, gLnk("B", "Make file", "turtle/turtle.bat"))
		doc10.iconSrc = "../navTree/explorer.gif"
		doc11 = insDoc(src3, gLnk("B", "S19 File", "turtle/turtle.s19"))
		doc11.iconSrc = "../navTree/text2.gif"

fld2 = insFld(foldersTree, gFld("Data Sheet Lib"))
ds1 = insFld(fld2, gFld("CPUs"))
	cpu1 = insFld(ds1, gFld("6808"))
			doc1 = insDoc(cpu1, gLnk("B", "Page1", "datasheets/CPUs/6808/6800_ds1.jpg"))
			doc1.iconSrc = "../navTree/bmp2.gif"
			doc2 = insDoc(cpu1, gLnk("B", "Page2", "datasheets/CPUs/6808/6800_ds2.jpg"))
			doc2.iconSrc = "../navTree/bmp2.gif"
			doc3 = insDoc(cpu1, gLnk("B", "Page3", "datasheets/CPUs/6808/6800_ds3.jpg"))
			doc3.iconSrc = "../navTree/bmp2.gif"
			doc4 = insDoc(cpu1, gLnk("B", "Page4", "datasheets/CPUs/6808/6800_ds4.jpg"))
			doc4.iconSrc = "../navTree/bmp2.gif"
			doc5 = insDoc(cpu1, gLnk("B", "Page5", "datasheets/CPUs/6808/6800_ds5.jpg"))
			doc5.iconSrc = "../navTree/bmp2.gif"
			doc6 = insDoc(cpu1, gLnk("B", "Page6", "datasheets/CPUs/6808/6800_ds6.jpg"))
			doc6.iconSrc = "../navTree/bmp2.gif"
			doc7 = insDoc(cpu1, gLnk("B", "Page7", "datasheets/CPUs/6808/6800_ds7.jpg"))
			doc7.iconSrc = "../navTree/bmp2.gif"
			doc8 = insDoc(cpu1, gLnk("B", "Page8", "datasheets/CPUs/6808/6800_ds8.jpg"))
			doc8.iconSrc = "../navTree/bmp2.gif"
			doc9 = insDoc(cpu1, gLnk("B", "Page9", "datasheets/CPUs/6808/6800_ds9.jpg"))
			doc9.iconSrc = "../navTree/bmp2.gif"
			doc10 = insDoc(cpu1, gLnk("B", "Page10", "datasheets/CPUs/6808/6800_ds10.jpg"))
			doc10.iconSrc = "../navTree/bmp2.gif"
			doc11 = insDoc(cpu1, gLnk("B", "Page11", "datasheets/CPUs/6808/6800_ds11.jpg"))
			doc11.iconSrc = "../navTree/bmp2.gif"
	cpu2 = insDoc(ds1, gLnk("B", "GTE65 ", "datasheets/CPUs/gte65/65sc816.html"))
	cpu2.iconSrc = "../navTree/ie2.gif"
ds2 = insFld(fld2, gFld("DMC_displays"))
		doc1 = insDoc(ds2, gLnk("B", "Display Specs", "datasheets/DMC_displays/16249bhe.pdf"))
		doc1.iconSrc = "../navTree/pdf2.gif"
		doc2 = insDoc(ds2, gLnk("B", "User Manual", "datasheets/DMC_displays/Dmcman_full.pdf"))
		doc2.iconSrc = "../navTree/pdf2.gif"
ds3 = insFld(fld2, gFld("EPROMS"))
			doc1 = insDoc(ds3, gLnk("B", "2716", "datasheets/EPROMS/EPROM_2716.pdf"))
			doc1.iconSrc = "../navTree/pdf2.gif"
			doc2 = insDoc(ds3, gLnk("B", "2732", "datasheets/EPROMS/EPROM_2732.pdf"))
			doc2.iconSrc = "../navTree/pdf2.gif"
			doc3 = insDoc(ds3, gLnk("B", "2764", "datasheets/EPROMS/EPROM_2764.pdf"))
			doc3.iconSrc = "../navTree/pdf2.gif"
ds4 = insFld(fld2, gFld("Photo-Transistors"))
			doc1 = insDoc(ds4, gLnk("B", "4N2X", "datasheets/phototrans/4N2X.pdf"))
			doc1.iconSrc = "../navTree/pdf2.gif"
			doc2 = insDoc(ds4, gLnk("B", "L14G3", "datasheets/phototrans/L14G3.pdf"))
			doc2.iconSrc = "../navTree/pdf2.gif"
			doc3 = insDoc(ds4, gLnk("B", "nte3100", "datasheets/phototrans/nte3100.pdf"))
			doc3.iconSrc = "../navTree/pdf2.gif"
			doc4 = insDoc(ds4, gLnk("B", "nte3101", "datasheets/phototrans/nte3101.pdf"))
			doc4.iconSrc = "../navTree/pdf2.gif"
			doc5 = insDoc(ds4, gLnk("B", "nte3102", "datasheets/phototrans/nte3102.pdf"))
			doc5.iconSrc = "../navTree/pdf2.gif"
			doc6 = insDoc(ds4, gLnk("B", "nte3103", "datasheets/phototrans/nte3103.pdf"))
			doc6.iconSrc = "../navTree/pdf2.gif"
			doc7 = insDoc(ds4, gLnk("B", "nte3104", "datasheets/phototrans/nte3104.pdf"))
			doc7.iconSrc = "../navTree/pdf2.gif"
			doc8 = insDoc(ds4, gLnk("B", "nte3105", "datasheets/phototrans/nte3105.pdf"))
			doc8.iconSrc = "../navTree/pdf2.gif"

