// filename: /docs/js/support-tree1.js
// description: two navigation trees for the support page; tree-button2 is yellow
// last edit: 1-24-06 by rc [numbers url]

/* FORMATTING  */

// yellow tree
var SUPPORT_TREE_FORMAT =
[
//0. left position, top position
	100, 200,
//1. IGNORE unused settings for + - Buttons
	false, ["", "", ""], [16,16,0], false, ["", "", ""], [39,37],[0,0],
//2. tree background color ("" - transparent)
	"#FFFFFF",
//3. default CSS style for all nodes
	"clsNode",
//4. styles for each level of menu (default style will be used for undefined levels)
	["clsNode1", "clsNode", "clsNode", "clsNode"],
//5. true if only one branch can be opened at same time
	true,
//6. item padding and spacing
	[0,0],
];

// second tree (not commented)
var SUPPORT_TREE2_FORMAT =
[
	330, 200, false, ["", "", ""], [16,16,0], false, ["", "", ""], [16,16], [0,0], "", "clsNode", ["clsNode1", "clsNode", "clsNode", "clsNode"], true, [0,0],
];

/* VARIABLES  */

//these three provide indentation for netscape browsers
var tt1 = '         ';
var tt2 = '             ';
var tt3 = '                 ';
//var ar and up are used for dropdown arrows and popup symbols, respectively
var ar = '<img src="/graphics/arrows.gif" border="0"> <b>';
var up = '<img src="/graphics/popsym.gif" border="0">';
var raquo = '&#8595;';

/* TREE ARRAY */
/* all links in the tree array must have the following formatting or else the script will break! 
[ttLEVEL+'LINKNAME', "URL", null],
Uppercase is what you replace.
Replace null with "_blank" if you want it to open in a new window.
*/

var SUPPORT_TREE_LINKS = [
	     ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> The Internet Account \"FAQ\"', "/support/faq/index.shtml", null],
		 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Using Your Webspace', "/support/webfaq/websetup.shtml", null],  

	 	['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Email & Spam  '+raquo, null, null,
			[tt1+'SpamFAQ', "/support/faq/c4a.shtml", null],
			[tt1+'EmailFAQ', "/support/faq/c4.shtml", null],
			[tt1+'Using SSL with Email', "/support/faq/c3g.shtml", null],
		 	[tt1+'Expanding Headers', "/support/faq/expandheader.shtml", null],
		 	[tt1+'Setup your email filtering '+raquo, null, null,
			    [tt2+'Outlook Filtering', "/support/faq/outlookrules.shtml", null],
		 		[tt2+'Eudora Filtering', "/support/faq/eudorarules.shtml", null],
			],
			[tt1+'Reporting spam', "/support/faq/c4a.shtml#report", null], 
			[tt1+'Anti-spam software', "/support/faq/c4a.shtml#software", null], 
			[tt1+'Using the Spam Controls', "/support/faq/c4a.shtml#controls", null],
			[tt1+'Mailing Lists', "/docs/mailinglists.shtml", null],
	    ],
	 	['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Configuring Connection Software  '+raquo, null, null,	
		[tt1+'Dialup Configuring '+raquo, null, null,
			    [tt2+'Basics & Shell Connections', "/support/faq/c3.shtml", null],
				[tt2+'Macs pre-OS X', "/support/faq/c3b.shtml", null],
				[tt2+'Macs OS X', "/support/faq/c3b.shtml#osx", null],
				[tt2+'Win98', "/support/faq/c3a1.shtml", null],
				[tt2+'Win ME/2000, XP', "/support/faq/c3e.shtml", null],
				[tt2+'Red Hat LINUX (\'00)', "/support/faq/c3d.shtml", null],
				[tt2+'Dialup Accelerator', "/support/faq/accelguide.shtml", null],
				[tt2+'Roaming', "/docs/roam_configs.shtml", null],
				],
		[tt1+'DSL Setup', "/support/faq/dsl.shtml", null],
		],
		['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Support for ValleyNet Accounts', "/vnet/support/index.shtml", null],
		['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Find Dialup Numbers',"https://corp.sover.net/accounttools/index.php?option=com_soverdialups&Itemid=69", "return pop(this,'','width=750,height=400,left=125,top=100,x=125,y=100,scrollbars,resizable,status')"],
];

var SUPPORT_TREE2_LINKS = [
     	 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Telephone Services Help & Info', "/support/voice/index.shtml", null],
		 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Telephone Docs  '+raquo, null, null,
		  [tt1+'LifeLine/LinkUp (PDF)', "/support/voice/LifeLine-Linkup-04.pdf", "return pop_on(this)"],
		 [tt1+'What Is Local Measured Service? (PDF)', "/support/voice/Local_Measured-Service.pdf", "return pop_on(this)"],
		 [tt1+'What is ID-Blocking? (PDF)', "/support/voice/ID-Blocking.pdf", "return pop_on(this)"],
		 [tt1+'E911 Disabled Person Notice (PDF)', "/support/voice/DisabilityDesignationV.pdf", "return pop_on(this)"],
		 [tt1+'E911 Private Citizen Desig. (PDF)', "/support/voice/PrivateCitizenDesignationV.pdf", "return pop_on(this)"],
		 [tt1+'Slamming (PDF)', "/support/voice/Slamming.pdf", "return pop_on(this)"],
		 [tt1+'TTY & other Specialized Equipment (PDF)', "/support/voice/VT-EDP.pdf", "return pop_on(this)"],
		 [tt1+'National Do Not Call List', "/support/voice/index.shtml#reducetele", null],
		 [tt1+'Continuous Emergency Access (PDF)', "/support/voice/Continuous_Emergency_Access.pdf", "return pop_on(this)"],
		 [tt1+'Consumers Rights (PDF)', "/support/voice/ConsumersRights.pdf", "return pop_on(this)"],
		 [tt1+'VT\'s Telemarketing Law', "/support/voice/act120.html", null],
	],
		['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> School Closings '+raquo, null, null,
		[tt1+'VT', "/schoolclosings/index.phtml", "return pop(this)"],
		[tt1+'NH', "http://nhpr.org/static/snow/", "return pop_off(this)"],
	],		
];