var menuHierarchy = [
	['Home', null,
		['Home', 'index.htm'],
		['RSI Corporate Home', '../index.htm'],
		['About Us', 'about.htm'],
	],
	['Products', null, 
           ['Cisco Compatible','compliantproducts.htm'],
	],
	['News & Events', null,
		['Press Releases', 'news.htm'],
	],
        ['Corporate',null,

	['Company', null,
		['Home', '../index.htm'],
                ['Sites by Manufacturer',null,
                       ['Nortel Compatible Products' ,'http://www.callaccountingsoftware.com'],
                       ['Avaya Compliant Solutions' ,'http://www.telecost.com/avaya'],
                       ['Adtran Complementary Solutions' ,'http://www.telecost.com/adtran'],
                       ['Cisco Compliant' ,'http://www.telecost.com/cisco'],
                       ['Siemens HiPath Ready' ,'http://www.telecost.com/siemens'],
                       ['Mitel MiSN' ,'http://www.telecost.com/mitel'],
                       ['Other Partners' ,'../vendors.htm'],
                       ['Multi Vendor Environments' ,'../m_multi.htm'],
                       ], 
 
		['About Us', '../about.htm'],
		['Contact Us', '../contact.htm'],
		['Mission', '../mission_statement.htm'],
		['Request Information', '../feedback.htm'],
		['Become A Partner', '../dealer.htm']

	],
	['Products', null, 
           ['by Solution',null,
  	      ['Call Accounting', null,
	  	   ['Web Enabled SMB', '../revcall_web.htm'],
		   ['Basic Desktop', '../revcall.htm'],
		   ['Hospitality', '../shadhosp.htm'],
		   ['Professional', '../shadow.htm'],
		   ['Enterprise', '../shadow.htm'],
		   ['Hosted / SaaS', '../managed.htm'],

              ],
	      ['Desktop Productivity', '../raptapi.htm',
              ],
	      ['Data Storage', '../winlink.htm',
              ],
	      ['Call Center', '../acdreporting.htm',
              ],
	      ['Call Control', '../tools.htm',
              ],
	      ['Other', '../download.htm',
              ]
           ],
	   ['by Manufacturer', null,
                       ['Nortel Compatible Products' ,'http://www.callaccountingsoftware.com'],
                       ['Avaya Compliant Solutions' ,'http://www.telecost.com/avaya'],
                       ['Adtran Complementary Solutions' ,'http://www.telecost.com/adtran'],
                       ['Cisco Compliant' ,'http://www.telecost.com/cisco'],
                       ['Siemens HiPath Ready' ,'http://www.telecost.com/siemens'],
                       ['Mitel MiSN' ,'http://www.telecost.com/mitel'],
                       ['Other Partners' ,'../vendors.htm'],
                       ['Multi Vendor Environments' ,'../m_multi.htm'],
           ], 
	   ['by Product Name', null,
 	        ['ACD Reporting', '../acdreporting.htm'],
	        ['tools CTI Pack', '../tools.htm'],
	        ['Revolution', '../revcall.htm'],
	        ['Revolution Web', '../revcall_web.htm'],
	        ['TELEALARM', '../telealarm.htm'],
	        ['TELECOST', '../telecost.htm'],
	        ['TELECOST Hospitality', '../telehosp.htm'],
	        ['SHADOW', '../shadow.htm'],
	        ['SHADOW Hospitality', '../shadhosp.htm'],
	        ['Visual Rapport', '../raptapi.htm'],
	        ['Winlink Data Storage', '../winlink.htm'],
	        ['More...', '../download.htm'],
           ] 
	],
	['Services', null,
		['Managed Services', '../managed.htm'],
		['Support Services', '../services.htm'],
		['Hosted Call Accounting', 'http://www.hostedcallaccounting.com']
                   ],
	['News & Events', null,
		['Press Releases', '../news.htm'],
		['Articles', '../articles.htm'],
		['Upcoming Public Webinars', 'http://ftp.telecost.com/data/webinar_public.asp'],
		['Blog', 'http://call-accounting.blogspot.com/']
	],
	['Resources', null,
		['Request Information', '../feedback.htm'],
		['Become A Partner', '../dealer.htm'],
		['Subscriber Login', '../login.htm'],
		['Live Help', '../livechat.htm'],
		['Area Code Lookup', '../area.htm'],
		['Tell A Friend', '../tellafriend.htm'],
		['Webinar Registration', '../webinar.htm'],
		['Upcoming Public Webinars', 'http://ftp.telecost.com/data/webinar_public.asp'],
		['Make Online Payment', '../payment.htm']
	],
	['Links', null,
                ['Sites by Manufacturer',null,
                       ['Nortel Compatible Products' ,'http://www.callaccountingsoftware.com'],
                       ['Avaya Compliant Solutions' ,'http://www.telecost.com/avaya'],
                       ['Adtran Complementary Solutions' ,'http://www.telecost.com/adtran'],
                       ['Cisco Compliant' ,'http://www.telecost.com/cisco'],
                       ['Siemens HiPath Ready' ,'http://www.telecost.com/siemens'],
                       ['Mitel MiSN' ,'http://www.telecost.com/mitel'],
                       ['Other Partners' ,'vendors.htm'],
                       ['Multi Vendor Environments' ,'m_multi.htm'],
                       ], 
		['Partners', '../links.htm'],
		['Tell A Friend', '../tellafriend.htm'],
		['Bookmark Us','javascript:bookmark("http://www.telecost.com/","Call Accounting Software")'],
		['Link To Us', '../linktous.htm'],
		['Links of Interest', '../otherlinks.htm']
	],




        ],

]



var mainItems = 6;
var itemWidth = Math.max(Math.floor((screen.width-120) / (mainItems)),65);
var menuConfig = [
{
	'height':  15,
	'width' : itemWidth,
	'firstX' : 17,
	'firstY' : 125,
	'nextX' : 1,
//	'nextY' : 1;
	'hideAfter' : 200,
	'css'   : 'gurtl0o',
	'trace' : true
},
{
	'height':  23,
	'width' : 155,
	'firstX' :  0,
	'firstY' : 25,
	'nextY' : -1,
	'css' : 'gurtl1o'
},
{
	'firstX' : 110,
	'firstY' : 0
}
];

