function HM_fc_AdjustImage() {
if(!document.getElementById&&!document.all) return;
var theImage=document.getElementById?
document.getElementById(this.hmc_ImgName):
document.all(this.hmc_ImgName);
var theOffset=(this.ne=="hm_m_main1")?0:10;
if(theImage) {
theImage.style.width=(HM_f_GetMenuDimension(this.ne,1)+theOffset)+"px";
theImage.style.height=(HM_f_GetMenuDimension(this.ne,0)+theOffset)+"px";
}
}
function HM_f_DoNothing() {return;}
if(typeof(HM_f_UpdateDefaults)=="undefined") {
HM_f_UpdateDefaults=HM_f_DoNothing;
HM_f_SetMenuTemplate=HM_f_DoNothing;
HM_f_SetMenus=HM_f_DoNothing;
HM_f_SetItems=HM_f_DoNothing;
HM_NS4=HM_IE4=false;
}
HM_f_SetMenuTemplate({
MenuWidth:400,
FontFamily:"MS Sans Serif",
FontSize:"10px",
FontWeight:"normal",
FontColor:"black",
FontColorOver:(window.HM_NS4||window.HM_IE4)?"white":"black",
FontColorSelected:(window.HM_NS4||window.HM_IE4)?"white":"black",
BGColor:"#cccccc",
BGColorOver:(window.HM_NS4||window.HM_IE4)?"navy":"#cccccc",
BGColorSelected:(window.HM_NS4||window.HM_IE4)?"navy":"#cccccc",
BorderColor:(window.HM_NS4)?"black":"#eeeeee",
BorderStyle:"outset",
ButtonClass:"hbutton1",
ButtonClassOver:"hbutton1over",
ButtonClassSelected:"hbutton1select",
MenuPaddingTop:2,
MenuPaddingRight:2,
MenuPaddingBottom:2,
MenuPaddingLeft:2,
MenuBGColor:"#cccccc",
SeparatorSize:0,
IsVariableWidth:true,
MoreImagesVisible:false,
ItemPadding:(window.HM_NS4||window.HM_IE4)?3:0,
TopKeepInWindowY:false,
TopKeepInWindowX:false,
StatusDisplayLink:false,
ClickStart:true,
KeepHilite:true,
ChildMenuY:"HM_default_y_position-3",
CreateOnLoad:false,
ScrollEnabled:false,
ShowLinkCursor:true
});
HM_f_SetMenus({
TopMenuX:"HM_f_GetElementXY('hm_i_main1','x')",
TopMenuY:"HM_f_GetElementXY('hm_i_main1','y')",
IsPermanent:1,
IsHorizontal:1,
PositionChild:"below",
CreateOnLoad:true,
HM_OnMenuCreated:HM_fc_AdjustImage,
hmc_ImgName:"hm_i_main1",
MenuID:"hm_m_main1"
});
HM_f_SetMenus(
{MenuID:"hm_m_bulletins1"},
{MenuID:"hm_m_docs1",VariableWidthMinimum:100},
{MenuID:"hm_m_samples1"}
);
HM_f_SetItems(
{MenuID:"hm_m_main1",DisplayText:"Latest",LinkURL:"/latest/"},
{MenuID:"hm_m_main1",DisplayText:"Bulletins",LinkURL:"/bulletins/",ChildID:"hm_m_bulletins1"},
{MenuID:"hm_m_main1",DisplayText:"About",LinkURL:"/about/"},
{MenuID:"hm_m_main1",DisplayText:"Documentation",LinkURL:"/documentation/",ChildID:"hm_m_docs1"},
{MenuID:"hm_m_main1",DisplayText:"FAQ",LinkURL:"/faq/"},
{MenuID:"hm_m_main1",DisplayText:"Samples",LinkURL:"/samples/",ChildID:"hm_m_samples1"},
{MenuID:"hm_m_main1",DisplayText:"Issues",LinkURL:"/issues/"}
);
HM_f_SetItems(
{MenuID:"hm_m_bulletins1",DisplayText:"Release Notes",ChildID:"hm_m_rnotes1"},
{MenuID:"hm_m_bulletins1",DisplayText:"Tutorials",ChildID:"hm_m_tutorials1"}
);
HM_f_SetMenus(
{MenuID:"hm_m_archive1"},
{MenuID:"hm_m_ref1"},
{MenuID:"hm_m_setup1"},
{MenuID:"hm_m_rnotes1"},
{MenuID:"hm_m_tutorials1"}
);
HM_f_SetItems(
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 6",LinkURL:"/bulletins/14/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.3.1",LinkURL:"/bulletins/10/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.3",LinkURL:"/bulletins/9/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.2.1",LinkURL:"/bulletins/8/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.2",LinkURL:"/bulletins/7/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.1",LinkURL:"/bulletins/5/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.0.1",LinkURL:"/bulletins/3/"},
{MenuID:"hm_m_rnotes1",DisplayText:"HierMenus 5.0",LinkURL:"/bulletins/2/"}
);
HM_f_SetItems(
{MenuID:"hm_m_tutorials1",DisplayText:"Version 6 Preview",LinkURL:"/bulletins/13/"},
{MenuID:"hm_m_tutorials1",DisplayText:"Synchronized Rollovers",LinkURL:"/bulletins/12/"},
{MenuID:"hm_m_tutorials1",DisplayText:"When TLC Isn't Enough",LinkURL:"/bulletins/11/"},
{MenuID:"hm_m_tutorials1",DisplayText:"Hiding Page Elements",LinkURL:"/bulletins/6/"},
{MenuID:"hm_m_tutorials1",DisplayText:"Conditional Parameters",LinkURL:"/bulletins/4/"},
{MenuID:"hm_m_tutorials1",DisplayText:"Adding Opera (HM5)",LinkURL:"/bulletins/1/"}
);
HM_f_SetItems(
{MenuID:"hm_m_docs1",DisplayText:"Setting Up",LinkURL:"/documentation/setup/",ChildID:"hm_m_setup1"},
{MenuID:"hm_m_docs1",DisplayText:"Reference",LinkURL:"/documentation/reference/",ChildID:"hm_m_ref1"},
{MenuID:"hm_m_docs1",DisplayText:"Archive",LinkURL:"/documentation/archive/",ChildID:"hm_m_archive1"},
{MenuID:"hm_m_docs1",DisplayText:"Upgrading",LinkURL:"/documentation/upgrade/"},
{MenuID:"hm_m_docs1",DisplayText:"Compatibility",LinkURL:"/documentation/compatibility/"}
);
HM_f_SetItems(
{MenuID:"hm_m_archive1",DisplayText:"HM Version 4",LinkURL:"/documentation/archive/v4/"},
{MenuID:"hm_m_archive1",DisplayText:"HM Version 5",LinkURL:"/documentation/archive/v5/"}
);
HM_f_SetItems(
{MenuID:"hm_m_ref1",TextAlign:"center",DisplayText:"Parameter Reference",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_ref1",DisplayText:"By Topic",LinkURL:"/documentation/reference/index.html#topical"},
{MenuID:"hm_m_ref1",DisplayText:"Alphabetically",LinkURL:"/documentation/reference/index.html#alpha"},
{MenuID:"hm_m_ref1",TextAlign:"center",DisplayText:"Mini-Tutorials",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_ref1",DisplayText:"Menu Positioning",LinkURL:"/documentation/reference/menupositioning.html"},
{MenuID:"hm_m_ref1",DisplayText:"Using Classes",LinkURL:"/documentation/reference/usingclasses.html"},
{MenuID:"hm_m_ref1",DisplayText:"Custom Transitions",LinkURL:"/documentation/reference/customtransitions.html"},
{MenuID:"hm_m_ref1",DisplayText:"Menu Event Hooks",LinkURL:"/documentation/reference/menueventhooks.html"}
);
HM_f_SetItems(
{MenuID:"hm_m_setup1",DisplayText:"Installing the Scripts",LinkURL:"/documentation/setup/installing.html"},
{MenuID:"hm_m_setup1",DisplayText:"Creating a Configuration File",LinkURL:"/documentation/setup/configuring.html"},
{MenuID:"hm_m_setup1",DisplayText:"Applying HM to Pages",LinkURL:"/documentation/setup/applying.html"},
{MenuID:"hm_m_setup1",TextAlign:"center",DisplayText:"Advanced Topics",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_setup1",DisplayText:"Custom Code",LinkURL:"/documentation/setup/customcode.html"},
{MenuID:"hm_m_setup1",DisplayText:"HM and Databases",LinkURL:"/documentation/setup/database.html"},
{MenuID:"hm_m_setup1",DisplayText:"Disabling a Browser",LinkURL:"/documentation/setup/disabling.html"},
{MenuID:"hm_m_setup1",DisplayText:"Using v4/5 Arrays",LinkURL:"/documentation/setup/usingarrays.html"},
{MenuID:"hm_m_setup1",DisplayText:"Page Specific Variables",LinkURL:"/documentation/setup/pagespecific.html"},
{MenuID:"hm_m_setup1",DisplayText:"Earlier Image Preloading",LinkURL:"/documentation/setup/pagepreload.html"}
);
HM_f_SetItems(
{MenuID:"hm_m_samples1",DisplayText:"Popup Menus",LinkURL:"/samples/popups.html"},
{MenuID:"hm_m_samples1",DisplayText:"Permanent Menus",LinkURL:"/samples/permmenus.html"},
{MenuID:"hm_m_samples1",DisplayText:"Cross Frames",LinkURL:"/samples/crossframes.html"},
{MenuID:"hm_m_samples1",DisplayText:"Transitions and Filters",LinkURL:"/samples/transfilters.html"},
{MenuID:"hm_m_samples1",DisplayText:"Image Rollovers",LinkURL:"/samples/imagerollovers.html"},
{MenuID:"hm_m_samples1",DisplayText:"Background Images",LinkURL:"/samples/bgimages.html"},
{MenuID:"hm_m_samples1",DisplayText:"Buttons",LinkURL:"/samples/buttons.html"},
{MenuID:"hm_m_samples1",DisplayText:"Fixed Position /
Reposition On Scroll",LinkURL:"/samples/fixedscroll.html"},
{MenuID:"hm_m_samples1",DisplayText:"Sliding Menus",LinkURL:"/samples/sliding.html"},
{MenuID:"hm_m_samples1",DisplayText:"IFRAME Masking",LinkURL:"/samples/iframe.html"}
);
HM_f_SetMenuTemplate({
MenuWidth:145,
FontFamily:"MS Sans Serif",
FontSize:"14px",
FontWeight:"normal",
FontColor:"black",
FontColorOver:(window.HM_NS4||window.HM_IE4)?"white":"black",
FontColorSelected:(window.HM_NS4||window.HM_IE4)?"white":"black",
BGColor:"#FFCC99",
BGColorOver:(window.HM_NS4||window.HM_IE4)?"#996633":"#FFCC99",
BGColorSelected:(window.HM_NS4||window.HM_IE4)?"#996633":"#FFCC99",
BorderColor:"#996633",
BorderStyle:"solid",
ButtonClass:"hbutton2",
ButtonClassOver:"hbutton2over",
ButtonClassSelected:"hbutton2select",
MenuPaddingTop:2,
MenuPaddingRight:2,
MenuPaddingBottom:2,
MenuPaddingLeft:2,
MenuBGColor:"#FFCC99",
SeparatorSize:0,
MoreImagesVisible:true,
ItemPadding:(window.HM_NS4||window.HM_IE4)?3:0,
TopKeepInWindowY:false,
TopKeepInWindowX:false,
StatusDisplayLink:true,
ClickStart:false,
KeepHilite:true,
ChildOverlap:10,
ChildOffset:3,
ImageHorizSpace:6,
ImageWidth:5,
ImageHeight:9,
ScrollEnabled:false,
ShowLinkCursor:true
});
HM_f_SetMenus({
TopMenuX:"HM_f_GetElementXY('hm_i_main2','x')",
TopMenuY:"HM_f_GetElementXY('hm_i_main2','y')",
IsPermanent:1,
CreateOnLoad:true,
HM_OnMenuCreated:HM_fc_AdjustImage,
hmc_ImgName:"hm_i_main2",
MenuID:"hm_m_main2"
});
HM_f_SetMenus(
{MenuID:"hm_m_bulletins2"},
{MenuID:"hm_m_docs2"},
{MenuID:"hm_m_samples2"}
);
HM_f_SetItems(
{MenuID:"hm_m_main2",DisplayText:"Latest",LinkURL:"/latest/"},
{MenuID:"hm_m_main2",DisplayText:"Bulletins",LinkURL:"/bulletins/",ChildID:"hm_m_bulletins2"},
{MenuID:"hm_m_main2",DisplayText:"About",LinkURL:"/about/"},
{MenuID:"hm_m_main2",DisplayText:"Documentation",LinkURL:"/documentation/",ChildID:"hm_m_docs2"},
{MenuID:"hm_m_main2",DisplayText:"FAQ",LinkURL:"/faq/"},
{MenuID:"hm_m_main2",DisplayText:"Samples",LinkURL:"/samples/",ChildID:"hm_m_samples2"},
{MenuID:"hm_m_main2",DisplayText:"Issues",LinkURL:"/issues/"}
);
HM_f_SetItems(
{MenuID:"hm_m_bulletins2",DisplayText:"Release Notes",ChildID:"hm_m_rnotes2"},
{MenuID:"hm_m_bulletins2",DisplayText:"Tutorials",ChildID:"hm_m_tutorials2"}
);
HM_f_SetMenus(
{MenuID:"hm_m_archive2"},
{MenuID:"hm_m_ref2"},
{MenuID:"hm_m_setup2"},
{MenuID:"hm_m_rnotes2"},
{MenuID:"hm_m_tutorials2"}
);
HM_f_SetItems(
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 6",LinkURL:"/bulletins/14/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.3.1",LinkURL:"/bulletins/10/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.3",LinkURL:"/bulletins/9/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.2.1",LinkURL:"/bulletins/8/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.2",LinkURL:"/bulletins/7/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.1",LinkURL:"/bulletins/5/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.0.1",LinkURL:"/bulletins/3/"},
{MenuID:"hm_m_rnotes2",DisplayText:"HierMenus 5.0",LinkURL:"/bulletins/2/"}
);
HM_f_SetItems(
{MenuID:"hm_m_tutorials2",DisplayText:"Version 6 Preview",LinkURL:"/bulletins/13/"},
{MenuID:"hm_m_tutorials2",DisplayText:"Synchronized Rollovers",LinkURL:"/bulletins/12/"},
{MenuID:"hm_m_tutorials2",DisplayText:"When TLC Isn't Enough",LinkURL:"/bulletins/11/"},
{MenuID:"hm_m_tutorials2",DisplayText:"Hiding Page Elements",LinkURL:"/bulletins/6/"},
{MenuID:"hm_m_tutorials2",DisplayText:"Conditional Parameters",LinkURL:"/bulletins/4/"},
{MenuID:"hm_m_tutorials2",DisplayText:"Adding Opera (HM5)",LinkURL:"/bulletins/1/"}
);
HM_f_SetItems(
{MenuID:"hm_m_docs2",DisplayText:"Setting Up",LinkURL:"/documentation/setup/",ChildID:"hm_m_setup2"},
{MenuID:"hm_m_docs2",DisplayText:"Reference",LinkURL:"/documentation/reference/",ChildID:"hm_m_ref2"},
{MenuID:"hm_m_docs2",DisplayText:"Archive",LinkURL:"/documentation/archive/",ChildID:"hm_m_archive2"},
{MenuID:"hm_m_docs2",DisplayText:"Upgrading",LinkURL:"/documentation/upgrade/"},
{MenuID:"hm_m_docs2",DisplayText:"Compatibility",LinkURL:"/documentation/compatibility/"}
);
HM_f_SetItems(
{MenuID:"hm_m_archive2",DisplayText:"HM Version 4",LinkURL:"/documentation/archive/v4/"},
{MenuID:"hm_m_archive2",DisplayText:"HM Version 5",LinkURL:"/documentation/archive/v5/"}
);
HM_f_SetItems(
{MenuID:"hm_m_ref2",TextAlign:"center",DisplayText:"Parameter Reference",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_ref2",DisplayText:"By Topic",LinkURL:"/documentation/reference/index.html#topical"},
{MenuID:"hm_m_ref2",DisplayText:"Alphabetically",LinkURL:"/documentation/reference/index.html#alpha"},
{MenuID:"hm_m_ref2",TextAlign:"center",DisplayText:"Mini-Tutorials",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_ref2",DisplayText:"Menu Positioning",LinkURL:"/documentation/reference/menupositioning.html"},
{MenuID:"hm_m_ref2",DisplayText:"Using Classes",LinkURL:"/documentation/reference/usingclasses.html"},
{MenuID:"hm_m_ref2",DisplayText:"Custom Transitions",LinkURL:"/documentation/reference/customtransitions.html"},
{MenuID:"hm_m_ref2",DisplayText:"Menu Event Hooks",LinkURL:"/documentation/reference/menueventhooks.html"}
);
HM_f_SetItems(
{MenuID:"hm_m_setup2",DisplayText:"Installing the Scripts",LinkURL:"/documentation/setup/installing.html"},
{MenuID:"hm_m_setup2",DisplayText:"Creating a Configuration File",LinkURL:"/documentation/setup/configuring.html"},
{MenuID:"hm_m_setup2",DisplayText:"Applying HM to Pages",LinkURL:"/documentation/setup/applying.html"},
{MenuID:"hm_m_setup2",TextAlign:"center",DisplayText:"Advanced Topics",IsPermHilite:1,IsRollover:0},
{MenuID:"hm_m_setup2",DisplayText:"Custom Code",LinkURL:"/documentation/setup/customcode.html"},
{MenuID:"hm_m_setup2",DisplayText:"HM and Databases",LinkURL:"/documentation/setup/database.html"},
{MenuID:"hm_m_setup2",DisplayText:"Disabling a Browser",LinkURL:"/documentation/setup/disabling.html"},
{MenuID:"hm_m_setup2",DisplayText:"Using v4/5 Arrays",LinkURL:"/documentation/setup/usingarrays.html"},
{MenuID:"hm_m_setup2",DisplayText:"Page Specific Variables",LinkURL:"/documentation/setup/pagespecific.html"},
{MenuID:"hm_m_setup2",DisplayText:"Earlier Image Preloading",LinkURL:"/documentation/setup/pagepreload.html"}
);
HM_f_SetItems(
{MenuID:"hm_m_samples2",DisplayText:"Popup Menus",LinkURL:"/samples/popups.html"},
{MenuID:"hm_m_samples2",DisplayText:"Permanent Menus",LinkURL:"/samples/permmenus.html"},
{MenuID:"hm_m_samples2",DisplayText:"Cross Frames",LinkURL:"/samples/crossframes.html"},
{MenuID:"hm_m_samples2",DisplayText:"Transitions and Filters",LinkURL:"/samples/transfilters.html"},
{MenuID:"hm_m_samples2",DisplayText:"Image Rollovers",LinkURL:"/samples/imagerollovers.html"},
{MenuID:"hm_m_samples2",DisplayText:"Background Images",LinkURL:"/samples/bgimages.html"},
{MenuID:"hm_m_samples2",DisplayText:"Buttons",LinkURL:"/samples/buttons.html"},
{MenuID:"hm_m_samples2",DisplayText:"Fixed Position /
Reposition On Scroll",LinkURL:"/samples/fixedscroll.html"},
{MenuID:"hm_m_samples2",DisplayText:"Sliding Menus",LinkURL:"/samples/sliding.html"},
{MenuID:"hm_m_samples2",DisplayText:"IFRAME Masking",LinkURL:"/samples/iframe.html"}
);