﻿// constants
var initX = document.getElementById('table_topmenu').offsetLeft + document.getElementById('table_topmenu').offsetWidth - 1;
var initY = document.getElementById('table_topmenu').offsetTop + document.getElementById('table_topmenu').offsetHeight - 2;
//var initX       = 267;
//var initY       = 74;
var borderColor = '425582';
var borderSize  = '1';
var itemHeight  = 22;
var xOverlap    = -1;
var yOverlap    = 2;

menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, 
-1,
137,
40,
-1,
new Array (
'Company Profile', 'http://www.agensoft.com/company.html',
'News &amp; Events', 'http://www.agensoft.com/forums/index.php?c=2',
'Awards', 'http://www.agensoft.com/awards.html',
'Reviews', 'http://www.agensoft.com/reviews.html',
'Affiliate Program', 'http://www.agensoft.com/affiliate.html',
'Our Customers', 'http://www.agensoft.com/clients.html',
'Contact AgenSoft', 'http://www.agensoft.com/support.html',
'Site Map', 'http://www.agensoft.com/sitemap.html'
));

menuContent [1] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
132, // the width of current menu list 
145, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'PatchFactory &nbsp; &nbsp; &raquo;', 'http://www.agensoft.com/patchfactory.html',
'DF SDK', 'http://www.agensoft.com/dfsdk.html',
'=Our Partners=', '#',
'Fairdell Software', 'http://www.agensoft.com/hexcmp.html'
));

menuContent [5] = new Array ( 
1, 
0,
110,
-1,
-1,
new Array (
'Overview', 'http://www.agensoft.com/patchfactory.html',
'Key Benefits', 'http://www.agensoft.com/benefits.html',
'Features List', 'http://www.agensoft.com/features.html',
'ScreenShots', 'http://www.agensoft.com/screenshots.html',
'Flash Tutorial', 'http://www.agensoft.com/pftutor.html'
));

menuContent [2] = new Array ( 
-1,
-1,
135,
260,
-1,
new Array (
'Free Downloads', 'http://www.agensoft.com/download.html#patchfactory',
'Updates&amp;Patches', 'http://www.agensoft.com/download.html#updates',
'Language Packs', 'http://www.agensoft.com/download.html#langpacks',
'Installation Tips', 'http://www.agensoft.com/download.html#tips'
));

menuContent [3] = new Array ( 
-1, 
-1,
160,
375,
-1,
new Array (
'Ordering Information', 'http://www.agensoft.com/order.html',
'License Agreement', 'http://www.agensoft.com/license.html',
'Ordering Problem', 'http://www.agensoft.com/problem.html'
));

menuContent [4] = new Array ( 
-1, 
-1,
187,
525,
-1,
new Array (
'Support Information', 'http://www.agensoft.com/support.html',
'Contact Support Team', 'http://www.agensoft.com/feedback.html',
'FAQs', 'http://www.agensoft.com/faq.html',
'PatchFactory Online Help', 'http://www.agensoft.com/help/pf/index.html',
'DF SDK Online Help', 'http://www.agensoft.com/help/dfsdk/index.html'
));