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

// green tree
var SETUPS_TREE_FORMAT =
[
//0. left position, top position
	100, 220,
//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 SETUPS_TREE2_FORMAT =
[
	320, 220, 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 SETUPS_TREE_LINKS = [
	 
		['<span class="quick" style="font-size:15px">Account Setups</span>', null, null],
		['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom">Telephone Calling Features</span>', "/support/voice/features.shtml", null],
	 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Dialup Setup  '+raquo, null, null,
	  [tt1+'Access 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')"],
	  [tt1+'Local Dialup Configuration', "/support/faq/index.shtml", null], 
      [tt1+'Roaming Dialup Configuration', "/docs/roam_configs.shtml", null],
	  [tt1+'Email Settings', "/support/faq/c4.shtml", null],
	  [tt1+'Additional Services', "/services/index.shtml#addsvc", null],
  ],
	 ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> Residential DSL (PHSA)  '+raquo, null, null,	 
		 [tt1+'PHSA-Basic, PHSA-Plus Setup', "/support/faq/dsl.shtml", null],
		 [tt1+'Email Settings', "/support/faq/c4.shtml", null],
		 [tt1+'Additional Services', "/services/index.shtml#addsvc", null],
	],
];
var SETUPS_TREE2_LINKS = [
	   ['<span class="quick" style="font-size:15px">Other Account Info</span>', null, null],   
	   ['<img src="/graphics/tree-button2.jpg" alt=" " width=16 height=16 border=0 align="absbottom"> What\'s Included in Internet Accounts', "#included", 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"> Online Internet Account 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"> About Telephone Accounts', "/support/voice/phone-accounts.shtml", 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],
		  ],
	],
]; 