// Decide if the names are links or just the icons
USETEXTLINKS = 1  // Replace 0 with 1 for hyperlinks

// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 0  // Replace 0 with 1 to show the whole tree

// Decide if the tree is to to be shown on a separate frame of its own
USEFRAMES = 0

// Remove the folder and link icons
USEICONS = 0

// Make the folder and link labels wrap into multiple lines
WRAPTEXT = 0

// Folders reopen to previous state across page loads
PERSERVESTATE = 1

HIGHLIGHT = 1
HIGHLIGHT_COLOR = "#f19c8d"
HIGHLIGHT_BG = "#db2c1d"


ICONPATH = "http://wingchunassoc.com/menu/"

FS = "<font size=2>"

foldersTree = gFld ('<b><font color="#ffdfdf"><span style="background-color: #d20000">Contents</span></b>', "http://wingchunassoc.com")
foldersTree.treeID = "wingchunassoc"
	about = insFld (foldersTree, gFld (FS + "About Wing Chun", "http://wingchunassoc.com/about/"))
	aboutid = 1
		hist = insFld (about, gFld (FS + "History & Lineage", "http://wingchunassoc.com/about/history/"))
		histid = aboutid + 1
			insDoc (hist, gLnk ("S", FS + "The Five Elders", "http://wingchunassoc.com/about/history/fiveelders.htm"))
			insDoc (hist, gLnk ("S", FS + "Yim Wing Chun to Chan Wah Soon", "http://wingchunassoc.com/about/history/ywctocws.htm"))
			insDoc (hist, gLnk ("S", FS + "Chan Wah Soon", "http://wingchunassoc.com/about/history/chanwahsoon.htm"))
			insDoc (hist, gLnk ("S", FS + "Yip Man", "http://wingchunassoc.com/about/history/yipman.htm"))
			insDoc (hist, gLnk ("S", FS + "Wong Chok", "http://wingchunassoc.com/about/history/wongchok.htm"))
			insDoc (hist, gLnk ("S", FS + "Wong Long Ching", "http://wingchunassoc.com/about/history/wonglongching.htm"))
			insDoc (hist, gLnk ("S", FS + "Robert Yeung", "http://wingchunassoc.com/about/history/robertyeung.htm"))
			insDoc (hist, gLnk ("S", FS + "The Robert Yeung Wing Chun Assoc.", "http://wingchunassoc.com/about/history/rywckfassoc.htm"))
		insDoc (about, gLnk ("S", FS + "Features", "http://wingchunassoc.com/about/features.htm"))
		insDoc (about, gLnk ("S", FS + "Health & Fitness", "http://wingchunassoc.com/about/health.htm"))
		insDoc (about, gLnk ("S", FS + "Weapons", "http://wingchunassoc.com/about/weapons.htm"))
		insDoc (about, gLnk ("S", FS + "Training Techniques", "http://wingchunassoc.com/about/training.htm"))
		lore = insFld (about, gFld (FS + "The Lore of Wing Chun", "http://wingchunassoc.com/about/lore/"))
		loreid = histid + 13
			insDoc (lore, gLnk ("S", FS + "Ch. 1:  The 1st Year", "http://wingchunassoc.com/about/lore/1.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 2:  The 2nd Year", "http://wingchunassoc.com/about/lore/2.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 3:  The 3rd Year", "http://wingchunassoc.com/about/lore/3.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 4:  The 4th Year", "http://wingchunassoc.com/about/lore/4.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 5:  The 5th Year", "http://wingchunassoc.com/about/lore/5.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 6:  The 6th Year", "http://wingchunassoc.com/about/lore/6.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 7:  The 7th Year", "http://wingchunassoc.com/about/lore/7.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 8:  The 8th Year", "http://wingchunassoc.com/about/lore/8.htm"))
			insDoc (lore, gLnk ("S", FS + "Ch. 9:  The Other Martial Arts Styles", "http://wingchunassoc.com/about/lore/9.htm"))
	insDoc (foldersTree, gLnk ("S", FS + "F.A.Q.", "http://wingchunassoc.com/faq.htm"))
	glossary = insFld (foldersTree, gFld (FS + "Glossary", "http://wingchunassoc.com/glossary/"))
	glossaryid = loreid + 11
		insDoc (glossary, gLnk ("S", FS + "Concepts/General Terms", "http://wingchunassoc.com/glossary/conceptsgenterms.htm"))
		insDoc (glossary, gLnk ("S", FS + "Footwork/Stances", "http://wingchunassoc.com/glossary/footworkstances.htm"))
		insDoc (glossary, gLnk ("S", FS + "Hand Forms", "http://wingchunassoc.com/glossary/handforms.htm"))
		insDoc (glossary, gLnk ("S", FS + "People/Places", "http://wingchunassoc.com/glossary/peopleplaces.htm"))
		insDoc (glossary, gLnk ("S", FS + "Weapon Forms", "http://wingchunassoc.com/glossary/weaponforms.htm"))
		insDoc (glossary, gLnk ("S", FS + "Wooden Dummy Forms", "http://wingchunassoc.com/glossary/woodendummyforms.htm"))
	schools = insFld (foldersTree, gFld (FS + "Schools", "http://wingchunassoc.com/schools/"))
	schoolsid = glossaryid + 7
		insDoc (schools, gLnk ("S", FS + "Hong Kong", "http://wingchunassoc.com/schools/hongkong.htm"))
		japan = insFld (schools, gFld (FS + "Japan", "http://wingchunassoc.com/schools/japan/"))
		japanid = schoolsid + 2
			insDoc (japan, gLnk ("S", FS + "Central", "http://wingchunassoc.com/schools/japan/central.htm"))
			insDoc (japan, gLnk ("S", FS + "Tokyo", "http://wingchunassoc.com/schools/japan/tokyo.htm"))
		usa = insFld (schools, gFld (FS + "U.S.A.", "http://wingchunassoc.com/schools/usa/"))
		usaid = japanid + 3
			calif = insFld (usa, gFld (FS + "California", "http://wingchunassoc.com/schools/usa/california/"))
			califid = usaid + 1
				insDoc (calif, gLnk ("S", FS + "Gallery", "http://wingchunassoc.com/schools/usa/california/gallery.htm"))
			hawaii = insFld (usa, gFld (FS + "Hawaii", "http://wingchunassoc.com/schools/usa/hawaii/"))
			hawaiiid = califid + 2
				insDoc (hawaii, gLnk ("S", FS + "Downtown Honolulu", "http://wingchunassoc.com/schools/usa/hawaii/dthonolulu.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Honolulu", "http://wingchunassoc.com/schools/usa/hawaii/honolulu.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Kahala", "http://wingchunassoc.com/schools/usa/hawaii/kahala.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Kailua", "http://wingchunassoc.com/schools/usa/hawaii/kailua.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Kaimuki", "http://wingchunassoc.com/schools/usa/hawaii/kaimuki.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Kaneohe", "http://wingchunassoc.com/schools/usa/hawaii/kaneohe.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Maui", "http://wingchunassoc.com/schools/usa/hawaii/maui.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Moiliili", "http://wingchunassoc.com/schools/usa/hawaii/moiliili.htm"))
				insDoc (hawaii, gLnk ("S", FS + "Private Instructors", "http://wingchunassoc.com/schools/usa/hawaii/private.htm"))
			insDoc (usa, gLnk ("S", FS + "Kentucky", "http://wingchunassoc.com/schools/usa/kentucky.htm"))
			washington = insFld (usa, gFld (FS + "Washington", "http://wingchunassoc.com/schools/usa/washington/"))
			washingtonid = hawaiiid + 11
				insDoc (washington, gLnk ("S", FS + "Bellingham", "http://wingchunassoc.com/schools/usa/washington/bellingham.htm"))
				insDoc (washington, gLnk ("S", FS + "Lynnwood", "http://wingchunassoc.com/schools/usa/washington/lynnwood.htm"))
	videos = insFld (foldersTree, gFld (FS + "Videos", "http://wingchunassoc.com/gallery/videos/"))
	videosid = washingtonid + 3
		insDoc (videos, gLnk ("S", FS + "Bak Fu Long Form MYJ", "http://wingchunassoc.com/gallery/videos/BakFuLongFormMYJ.wmv"))
		insDoc (videos, gLnk ("S", FS + "China Martial Art Tour Highlights", "http://wingchunassoc.com/gallery/videos/ChinaMartialArtTourHighlights.wmv"))
		insDoc (videos, gLnk ("S", FS + "China Wing Chun Trip Highlights", "http://wingchunassoc.com/gallery/videos/ChinaWCTripHighLights.wmv"))
		insDoc (videos, gLnk ("S", FS + "Hale Koa Bak Fu Baat Cham Do", "http://wingchunassoc.com/gallery/videos/HaleKoaBakFuBaatChamDo.wmv"))
		insDoc (videos, gLnk ("S", FS + "Hale Koa Bak Fu Biu Tse", "http://wingchunassoc.com/gallery/videos/HaleKoaBakFuBiuTse.wmv"))
		insDoc (videos, gLnk ("S", FS + "Hale Koa Bak Fu Chum Kil", "http://wingchunassoc.com/gallery/videos/HaleKoaBakFuChumKil.wmv"))
		insDoc (videos, gLnk ("S", FS + "Hale Koa Bak Fu Sil Lim Tao", "http://wingchunassoc.com/gallery/videos/HaleKoaBakFuSilLimTao.wmv"))
		insDoc (videos, gLnk ("S", FS + "H.W.C.K.F.A. Chi Sao", "http://wingchunassoc.com/gallery/videos/HWCKFAChiSao.wmv"))
		insDoc (videos, gLnk ("S", FS + "H.W.C.K.F.A. Distance Application", "http://wingchunassoc.com/gallery/videos/HWCKFADistanceApp.wmv"))
		insDoc (videos, gLnk ("S", FS + "H.W.C.K.F.A. Sets", "http://wingchunassoc.com/gallery/videos/HWCKFASets.wmv"))
		insDoc (videos, gLnk ("S", FS + "J.S. Chi Sao Drills", "http://wingchunassoc.com/gallery/videos/JSChiSaoDrills.wmv"))
		insDoc (videos, gLnk ("S", FS + "J.S. Distancing Drills", "http://wingchunassoc.com/gallery/videos/JSDistancingDrills.wmv"))
		insDoc (videos, gLnk ("S", FS + "J.S. Multiple Aggressors", "http://wingchunassoc.com/gallery/videos/JSMultipleAggressors.wmv"))
		insDoc (videos, gLnk ("S", FS + "L.F.W.C.K.F.A. 3 Sets Chi Sao", "http://wingchunassoc.com/gallery/videos/LFWCKFA3SetsChiSao.wmv"))
		insDoc (videos, gLnk ("S", FS + "Sifu A.R.V. Muk Yan Jong", "http://wingchunassoc.com/gallery/videos/SifuARVMukYanJong.wmv"))
		insDoc (videos, gLnk ("S", FS + "Wong Long", "http://wingchunassoc.com/gallery/videos/WongLong.wmv"))
		sets = insFld (videos, gFld (FS + "Sets", "http://wingchunassoc.com/gallery/videos/sets/"))
		setsid = videosid + 17
			insDoc (sets, gLnk ("S", FS + " 1. Centerline Punch", "http://wingchunassoc.com/gallery/videos/sets/01CenterlinePunch.wmv"))
			insDoc (sets, gLnk ("S", FS + " 2. Triple Punch", "http://wingchunassoc.com/gallery/videos/sets/02TriplePunch.wmv"))
			insDoc (sets, gLnk ("S", FS + " 3. Tan Dar", "http://wingchunassoc.com/gallery/videos/sets/03TanDar.wmv"))
			insDoc (sets, gLnk ("S", FS + " 4. Middle Punch", "http://wingchunassoc.com/gallery/videos/sets/04MiddlePunch.wmv"))
			insDoc (sets, gLnk ("S", FS + " 5. Gong Dar", "http://wingchunassoc.com/gallery/videos/sets/05GongDar.wmv"))
			insDoc (sets, gLnk ("S", FS + " 6. Step Pak Dar", "http://wingchunassoc.com/gallery/videos/sets/06StepPakDar.wmv"))
			insDoc (sets, gLnk ("S", FS + " 7. Tan Sao Step Two Punch", "http://wingchunassoc.com/gallery/videos/sets/07TanSaoStepTwoPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + " 8. Bamboo Step Two Punch", "http://wingchunassoc.com/gallery/videos/sets/08BambooStepTwoPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + " 9. Front Snap Kick", "http://wingchunassoc.com/gallery/videos/sets/09FrontSnapKick.wmv"))
			insDoc (sets, gLnk ("S", FS + "10. Bong Sao Cum Sao Punch", "http://wingchunassoc.com/gallery/videos/sets/10BongSaoCumSaoPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + "11. Pivot Gwan Sao Gwan Sao Double Punch", "http://wingchunassoc.com/gallery/videos/sets/11PivotGwanSaoGwanSaoDoublePunch.wmv"))
			insDoc (sets, gLnk ("S", FS + "12. Pivot Bong Sao Wu Sao Pivot Tan Sao Dai Wung Jung", "http://wingchunassoc.com/gallery/videos/sets/12PivotBongSaoWuSaoPivotTanSaoDaiWungJung.wmv"))
			insDoc (sets, gLnk ("S", FS + "13. Arrow Punch", "http://wingchunassoc.com/gallery/videos/sets/13ArrowPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + "14. Side Step Tan Sao Snap Kick", "http://wingchunassoc.com/gallery/videos/sets/14SideStepTanSaoSnapKick.wmv"))
			insDoc (sets, gLnk ("S", FS + "15. Gong Sao Cum Sao Punch", "http://wingchunassoc.com/gallery/videos/sets/15GongSaoCumSaoPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + "16. Low Punch", "http://wingchunassoc.com/gallery/videos/sets/16LowPunch.wmv"))
			insDoc (sets, gLnk ("S", FS + "Bak Fu Biu Tse", "http://wingchunassoc.com/gallery/videos/sets/BakFuBiuTse.wmv"))
			insDoc (sets, gLnk ("S", FS + "Bak Fu B.J.D.", "http://wingchunassoc.com/gallery/videos/sets/BakFuBJD.wmv"))
			insDoc (sets, gLnk ("S", FS + "Bak Fu Chum Kil", "http://wingchunassoc.com/gallery/videos/sets/BakFuChumKil.wmv"))
			insDoc (sets, gLnk ("S", FS + "Bak Fu Kwan", "http://wingchunassoc.com/gallery/videos/sets/BakFuKwan.wmv"))
			insDoc (sets, gLnk ("S", FS + "Bak Fu Sil Lim Tao", "http://wingchunassoc.com/gallery/videos/sets/BakFuSilLimTao.wmv"))
			insDoc (sets, gLnk ("S", FS + "Basic 1", "http://wingchunassoc.com/gallery/videos/sets/Basic1.wmv"))
			insDoc (sets, gLnk ("S", FS + "B.J.D.M. Lu", "http://wingchunassoc.com/gallery/videos/sets/BJDMLu.wmv"))
			insDoc (sets, gLnk ("S", FS + "Blindfolded Chi Sao", "http://wingchunassoc.com/gallery/videos/sets/BlindfoldedChiSao.wmv"))
			insDoc (sets, gLnk ("S", FS + "Jien Pao Kwan", "http://wingchunassoc.com/gallery/videos/sets/JienPaoKwan.wmv"))
			insDoc (sets, gLnk ("S", FS + "M. Lu Kwan", "http://wingchunassoc.com/gallery/videos/sets/MLuKwan.wmv"))
			insDoc (sets, gLnk ("S", FS + "M. Lu Kwan 2", "http://wingchunassoc.com/gallery/videos/sets/MLuKwan2.wmv"))
			insDoc (sets, gLnk ("S", FS + "M.Y.J.B.F.L.F. 1-3", "http://wingchunassoc.com/gallery/videos/sets/MYJBFLF123.wmv"))
			insDoc (sets, gLnk ("S", FS + "M.Y.J.B.F.L.F. 4-6", "http://wingchunassoc.com/gallery/videos/sets/MYJBFLF456.wmv"))
			insDoc (sets, gLnk ("S", FS + "M.Y.J.B.F.L.F. 7-10", "http://wingchunassoc.com/gallery/videos/sets/MYJBFLF78910.wmv"))
			insDoc (sets, gLnk ("S", FS + "Sifu A.R.V. Mook Yan Jong", "http://wingchunassoc.com/gallery/videos/sets/SifuARVMookYanJong.wmv"))
	insDoc (foldersTree, gLnk ("S", FS + "Other Resources", "http://wingchunassoc.com/otherresources.htm"))
