// filename: /test/docs/js/newaccounts-tree1.js
// description: two navigation trees for the newaccounts page
//  UPDATED:  1 24 '06  BY:  rc [numbers url]
/* FORMATTING  */

// green tree
var NEWACCOUNTS_TREE_FORMAT =
[
//0. left position, top position
	100, 370,
//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],
];

// blue tree (not commented)
var NEWACCOUNTS_TREE2_FORMAT =
[
	320, 370, 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 NEWACCOUNTS_TREE_LINKS = [
	 	['<span class="quick" style="font-size:15px">Internet Accounts</span>', null, null],
	['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Features & Options  '+raquo, null, null,
		 [tt1+'What\'s Included', "#included", null],
		 [tt1+'Additional Service add-ons', "/services/index.shtml#addsvc", null],
		 [tt1+'Roaming/Travel Access', "/services/index.shtml#remote", null],
		 [tt1+'Suspending/Vacation', "#suspend", null],
		 [tt1+'Dialup Discounts', "/services/index.shtml#pay", null],
		 [tt1+'Referral Program', "/services/index.shtml#refer", null],
		 [tt1+'Online Safety', "/support/faq/cybersafe.shtml", null],
	],
	['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Connection Setups  '+raquo, null, null,
	     [tt1+'For Local Access', "/support/faq/index.shtml#configuring", null], 
		 [tt1+'For Roaming', "/docs/roam_configs.shtml", null],
		 [tt1+'Dialup Accelerator', "/support/faq/c3f.shtml", null],
		 [tt1+'DSL (Residential)', "/support/faq/dsl.shtml", null], 
	],
	  ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> 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')"],
	    
	  ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> All About Email  '+raquo, null, null,
	     [tt1+'Email Info & Settings (FAQs)', "/support/faq/c4.shtml", null],
		 [tt1+'Spam FAQ', "/support/faq/c4a.shtml", null],
		 [tt1+'Use of Spam-Block Services', "#spamblock", null],
		 [tt1+'Anti-Virus Protection', "#av", null],
		 [tt1+'Filtering Rules', "/support/faq/c4a.shtml#rules", null],
		 [tt1+'Expanding Headers', "/support/faq/expandheader.shtml", null],
		 [tt1+'Scams & Hoaxes', "/support/voice/scams.shtml", null],
		 [tt1+'WebEmail Use', "#webmail", null],
	],
	 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Using Your Webspace  '+raquo, null, null,
		 [tt1+'Web Service Options', "/services/hosting.shtml", null],
		 [tt1+'Setting up Your Website', "/support/webfaq/websetup.shtml", null],		 
		 [tt1+'Using FrontPage', "/support/webfaq/fpsetup.shtml", null],
		 [tt1+'Domain Services', "/services/hosting.shtml#hosting", null],
		 [tt1+'Registering a Domain Name', "/services/domreg.shtml", null],
		 [tt1+'Customer Indexes--Get Listed!', "/support/webfaq/websetup.shtml#smallgraphic", null],
	],	 
	 
	 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Account Management Tools  '+raquo, null, null,
		 [tt1+'Spam Control', "#spam", null],
		 [tt1+'Change Challenge Question', "https://corp.sover.net/accounttools/", "return pop(this,'','width=750,height=400,left=125,top=100,x=125,y=100,scrollbars,resizable,status')"],
		 [tt1+'Add/Remove Server Space', "https://corp.sover.net/accounttools/", "return pop(this,'','width=750,height=400,left=125,top=100,x=125,y=100,scrollbars,resizable,status')"],
		 [tt1+'Change Password', "https://corp.sover.net/accounttools/", "return pop(this,'','width=750,height=400,left=125,top=100,x=125,y=100,scrollbars,resizable,status')"],
		 [tt1+'Account Forms', "/docs/formslist.html", "return pop(this)"],
		 [tt1+'Email Forwarding', "#forward", null],
		 [tt1+'Add/Remove Email Accounts', "#emailonly", null],
	],
	 	  ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Finding Help  '+raquo, null, null,
		[tt1+'via Phone & Email', "/docs/help.shtml", "return pop(this)"],
		[tt1+'Online '+raquo, null, null,
		  [tt2+'Internet Support Pages', "/support/index.shtml", null],
		  [tt2+'Telephone Account Help Pages', "/support/voice/index.shtml", null],
		  ],
	],
		  ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> For ValleyNet Accounts', "/vnet/index.shtml", null],
];
var NEWACCOUNTS_TREE2_LINKS = [
	   ['<span class="quick" style="font-size:15px">Telephone Accounts</span>', null, null],   
	   ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> General Information  '+raquo, null, null,
		  [tt1+'Main Phone Service Support', "/support/voice/index.shtml", null],
		  [tt1+'Account Info', "/support/voice/phone-accounts.shtml", null],
		  [tt1+'Basic Universal Service', "/support/voice/phone-accounts.shtml#universal", null],
		 [tt1+'Customers\' Bill of Rights', "/support/voice/phone-accounts.shtml#rights", null],
		 [tt1+'E911', "/support/voice/phone-accounts.shtml#911calea", null],
		 [tt1+'Troubleshooting', "/support/voice/index.shtml#troubleshoot", null],
		 [tt1+'Misc. rates & fees', "/support/voice/index.shtml#miscrates", null],
		 [tt1+'Disconnection/Reconnection', "/support/voice/index.shtml#disconnect", null],
		 [tt1+'Dispute resolution', "/support/voice/index.shtml#guide", null],
		  ], 
	      ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Calling Features  '+raquo, null, null,
		   [tt1+'Setup & Use', "/support/voice/features.shtml", null],
		 	 [tt1+'Features Available '+raquo, null, null,
			  [tt2+'Business', "/services/svc-Win/biz-CF.shtml", "return pop(this)"],
			  [tt2+'Residential', "/services/svc-Win/rez-CF.shtml", "return pop(this)"],
			  ],
		  ], 
	      ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Phone Directories  '+raquo, null, null,
		 	 [tt1+'Order Directory', "/docs/order-dir.shtml", "return pop(this)"],
		 	 [tt1+'Directory Correction', "/support/voice/phone-accounts.shtml#listerrors", null],
		  ], 
	      ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Carrier Verification  '+raquo, null, null,
		  	[tt1+'Local...........700-4141', null, null],
			[tt1+'In-State LD.....(802) 700-4141', null, null],
			[tt1+'Inter-State LD..(700) 555-4141', null, null],	
		  ], 
	      ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Important Numbers  '+raquo, null, null,
		    [tt1+'Call Center......... (877) 877-2120', null, null],
			[tt1+'Dir. Assistance..... (802) 555-1212', null, null],
			[tt1+'Emergency.............911', null, null],
		  ], 
		  ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Dialing Shortcuts  '+raquo, null, null,
		  	[tt1+'SoVerNet Repair Dept.....611', null, null],
			[tt1+'VT Emergency ..............911', null, null],
			[tt1+'VT Road Conditions.........511 (800-icy-road)', null, null],
			[tt1+'Community Services ......211', null, null],
			[tt1+'TTY service...................711', null, null],
			[tt1+'Directory Assistance .......411', null, null],
			//[tt1+'Dig-Safe......................811', null, null],
		  ], 
]; 