/***********************************************************************************
* (c) Ger Versluis 2000 version 5.41 24 December 2001 *
* For info write to menus@burmees.nl *
* You may remove all comments for faster loading *
***********************************************************************************/
var NoOffFirstLineMenus = 6;            // Number of first level items
var LowBgColor = '#848282';             // Background color when mouse is not over
var LowSubBgColor = '#848282';          // Background color when mouse is not over on subs
var HighBgColor = '#50081E';            // Background color when mouse is over
var HighSubBgColor = '#50081E';         // Background color when mouse is over on subs
var FontLowColor = 'black';             // Font color when mouse is not over
var FontSubLowColor = 'black';          // Font color subs when mouse is not over
var FontHighColor = 'white';            // Font color when mouse is over
var FontSubHighColor = 'white';         // Font color subs when mouse is over
var BorderColor = '#D4DDEC';            // Border color
var BorderSubColor = '#D4DDEC';         // Border color for subs
var BorderWidth = 1;                    // Border width
var BorderBtwnElmnts = 1;               // Border between elements 1 or 0
var FontFamily = "arial,comic sans ms,technical" // Font family menu items
var FontSize = 10;                      // Font size menu items
var FontBold = 1;                       // Bold menu items 1 or 0
var FontItalic = 0;                     // Italic menu items 1 or 0
var MenuTextCentered = 'left';          // Item text position 'left', 'center' or 'right'
var MenuCentered = 'center';            // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered = 'top';       // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap = .1;                  // horizontal overlap child/parent
var ChildVerticalOverlap = .1;          // vertical overlap child/parent
var StartTop = 195;                     // Menu offset x coordinate
var StartLeft;                          // Menu offset y coordinate
  if (IsNav) StartLeft = -287;
  else StartLeft = -280;
var VerCorrect = 5;                     // Multiple frames y correction
var HorCorrect = 10;                    // Multiple frames x correction
var LeftPaddng = 3;                     // Left padding
var TopPaddng = 2;                      // Top padding
var FirstLineHorizontal = 0;            // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical = 1;             // Frames in cols or rows 1 or 0
var DissapearDelay = 500;               // delay before menu folds in
var TakeOverBgColor = 1;                // Menu frame takes over background color subitem frame
var FirstLineFrame = 'navig';           // Frame where first level appears
var SecLineFrame = 'space';             // Frame where sub levels appear
var DocTargetFrame = 'space';           // Frame where target documents appear
var TargetLoc = '';                     // span id for relative positioning
var HideTop = 0;                        // Hide first level when loading new document 1 or 0
var MenuWrap = 1;                       // enables/disables menu wrap 1 or 0
var RightToLeft = 0;                    // enables/disables right to left unfold 1 or 0
var UnfoldsOnClick = 0;                 // Level 1 unfolds onclick/onmouseover
var WebMasterCheck = 0;                 // menu tree checking on or off 1 or 0
var ShowArrow = 0;                      // Uses arrow gifs when 1
var KeepHilite = 1;                     // Keep selected path highligthed
var Arrws = ['/tri.gif',5,10,'/tridown.gif',10,5,'/trileft.gif',5,10]; // Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

var SecureURLPrefix = '';               // Secure prefix for URLs in this page
var RegularURLPrefix = '';              // Regular prefix for URLs in this page

// Determine which set of pages we're embedded within: http; or https.
if (document.URL.match(/\/Billing\/(Scripts|Content)\//))
  { SecureURLPrefix = '/Billing/Content'; }

if (document.URL.match(/^https/))
  { RegularURLPrefix = 'http://arlingtontreasurer.com'; }

// Add menu items for switching between the various calendar tables, if this
// is Ms. Wizard maintaining due dates.
var CalMenus = 0;

if (document.URL.match(/TplURL=Calendar(%2F|\/)(Excise|RealEstate|Water)\.html/)
  || (typeof(WantCalendarTables) != 'undefined'))
  { CalMenus = 3; }

// Menu tree:
//      MenuX = new Array(Text to show, Link, background image (optional),
//        number of sub elements, height, width);
//      For rollover images set "Text to show" to:
//        "rollover:Image1.jpg:Image2.jpg"

Menu1 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuFAQ_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuFAQ_Rolled.gif',
  RegularURLPrefix+'/Documentation/FAQ.html', '', 5, 39, 184);
  Menu1_1 = new Array('Motor Vehicle Excise',
    RegularURLPrefix+'/Documentation/ExciseFAQ.html', '', 0, 22, 200);
  Menu1_2 = new Array('Parking Tickets',
    RegularURLPrefix+'/Documentation/ParkingFAQ.html', '', 0, 22, 200);
  Menu1_3 = new Array('Personal Property',
    RegularURLPrefix+'/Documentation/PersonalFAQ.html', '', 0, 22, 200);
  Menu1_4 = new Array('Real Estate',
    RegularURLPrefix+'/Documentation/RealEstateFAQ.html', '', 0, 22, 200);
  Menu1_5 = new Array('Water/Sewer',
    RegularURLPrefix+'/Documentation/WaterFAQ.html', '', 0, 22, 200);

Menu2 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuBillPay_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuBillPay_Rolled.gif',
  RegularURLPrefix+'/BillPay.html', '', 0, 39, 184);

Menu3 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuCalendar_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuCalendar_Rolled.gif',
  RegularURLPrefix+'/Calendar.html', '', CalMenus, 39, 184);
if (CalMenus > 0)
  {
  Menu3_1 = new Array('Excise Calendar',
    RegularURLPrefix+'/Billing/Scripts/EditDueDates.pl?' +
      'TplURL=Calendar/Excise.html', '', 0, 22, 200);
  Menu3_2 = new Array('Real Estate Calendar',
    RegularURLPrefix+'/Billing/Scripts/EditDueDates.pl?' +
      'TplURL=Calendar/RealEstate.html', '', 0, 22, 200);
  Menu3_3 = new Array('Water/Sewer Calendar',
    RegularURLPrefix+'/Billing/Scripts/EditDueDates.pl?' +
      'TplURL=Calendar/Water.html', '', 0, 22, 200);
  }

Menu4 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuDropBox_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuDropBox_Rolled.gif',
  RegularURLPrefix+'/DropBox.html', '', 0, 39, 184);

Menu5 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuScholar_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuScholar_Rolled.gif',
  RegularURLPrefix+'/Scholarship.html', '', 2, 39, 184);
  Menu5_1 = new Array('Arlington Dollars for Scholars',
    RegularURLPrefix+'/Scholarship/ACSFInfo.html', '', 1, 22, 200);
  Menu5_1_1 = new Array('Application Packet',
    RegularURLPrefix+'/Scholarship/ACSFCurrentYr/IndividualDocs.html', '',
      0, 22, 200);
  Menu5_2 = new Array('Set Up Your Own Program',
    RegularURLPrefix+'/Scholarship/NEDSInfo.html', '', 0, 22, 200);

Menu6 = new Array('rollover:'+SecureURLPrefix+'/Menu/MenuContact_Normal.gif:' +
  SecureURLPrefix+'/Menu/MenuContact_Rolled.gif',
  RegularURLPrefix+'/Contact.html', '', 0, 39, 184);
