var RowNum = 0;
var SubRowNum = 0;
var SiteRootFolder = ""; // leave blank if site not inside a folder
var MenuYOffset = "-20px";
//
// Menu functions
//
function MenuRow(in_Title, in_Link, in_MenuRowPopup)
{
var Style = '';
RowNum++;
if (RowNum % 2)
Style = 'TopMenuSub1';
else
Style = 'TopMenuSub2';
return '
'+in_Title+''+in_MenuRowPopup+'';
}
function StartMenu(in_MenuName, in_Width, in_Height, in_Link, in_MenuRowWidth)
{
RowNum = 0;
return ''
+'
'
+'';
}
function EndMenu()
{
return '
';
}
function StartMenuNoRows(in_MenuName, in_Width, in_Height, in_Link, in_MenuRowWidth)
{
RowNum = 0;
return ''
+'
';
}
// Submenu functions
function SubMenuRow(in_Title, in_Link)
{
var Style = '';
SubRowNum++;
if (SubRowNum % 2)
Style = 'TopMenuSub1';
else
Style = 'TopMenuSub2';
return ''+in_Title+'';
}
function StartSubMenu(in_Width, in_LeftOffset)
{
SubRowNum = 0;
return '';
}
function EndSubMenu()
{
return '
';
}
//
// Display popup menu if not AOL Mac
//
IsAolMac = false;
Browser = navigator.userAgent;
if ((Browser.indexOf("Macintosh") != -1) && (Browser.indexOf("AOL") != -1))
IsAolMac = true;
if (IsAolMac)
{
document.write('');
}
else
{
//background-image:url(mainnav.gif);
document.write('');
/*
Tips & Tricks
1: Adjust the "function menudata0()" numeric id in the statement below to match the numeric id of
the id='imenus0' statement within the menu structure and links secion above. The numbers must
match for the menu to work, multiple menus may be used on a single page by adding new sections
with new id's.
2: To specifically define settings for an individual item or container, apply classes or inline styles
directly to the UL and A tags in the HTML tags which define your menus structure and links above.
3: Use the parameter options below to define borders and padding. Borders and padding specified
within the menus HTML structure may cause positioning and actual sizing to be offset a bit in
some browsers.
*/
/*-------------------------------------------------
************* Parameter Settings ******************
---------------------------------------------------*/
function imenus_data0(){
this.enable_visual_design_mode = false //turns the visual design pad option on or off
this.main_is_horizontal = true
this.menu_showhide_delay = 180
/*---------------------------------------------
Expand Icon Images
---------------------------------------------*/
this.main_expand_image = ""
this.main_expand_image_hover = ""
this.main_expand_image_width = ""
this.main_expand_image_height = ""
this.main_expand_image_offx = ""
this.main_expand_image_offy = ""
this.sub_expand_image = SiteRootFolder+"/images/arrow_sub.gif"
this.sub_expand_image_hover = SiteRootFolder+"/images/arrow_sub.gif"
this.sub_expand_image_width = "10"
this.sub_expand_image_height = "13"
this.sub_expand_image_offx = "0"
this.sub_expand_image_offy = "0"
/*---------------------------------------------
Global Menu Styles
---------------------------------------------*/
//Main Menu
//background-color:#06437d;
this.main_container_styles = "border-style:solid; border-color:#010088; border-width:1px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; "
this.main_item_styles = "background-color:; background-image:; color:#e6e6e6; text-align:center; font-family:Arial; font-size:12px; font-weight:bold; text-decoration:none; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-style:none; border-color:#000000; border-width:0px; "
this.main_item_hover_styles = "color:#FFFFFF; "
this.main_item_active_styles = ""
//Sub Menu
//background-color:#FBF6EA;
this.subs_container_styles = "border-style:solid; border-color: #666D92; border-width:1px 1px 1px 1px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; margin-left:1px;"
this.subs_item_styles = "background-color:#F0F5FF;color:#020169; text-align:left; font-family:arial; font-size:11px; font-weight:normal; text-decoration:none; padding-top:3px; padding-right:5px; padding-bottom:3px; padding-left:7px;"
this.subs_item_hover_styles = "background-color:#010088;font-weight:;text-decoration:;"
this.subs_item_active_styles = "background-color:#010088; color:#FFFFFF; font-weight:; text-decoration:;"
}
} // end if IsAolMac