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({
SeparatorColor:"black",
FontWeight:"bold",
FontColor:"white",
FontColorOver:"white",
FontColorSelected:"#FFFF66",
BGColor:"#999689",
BGColorOver:"#663300",
BGColorSelected:"#663300",
ItemPadding:2,
FontFamily:"Verdana, Helvetica, sans-serif",
FontSize:"12px",
MilliSecondsVisible:0,
SeparatorSize:1
});
HM_f_SetMenus(
{MenuID:"hm_m_main1",IsHorizontal:1,IsVariableWidth:1,CreateOnLoad:1,IsPermanent:1,
HM_OnMenuCreated:HM_fc_AdjustImage,hmc_ImgName:"hm_i_main1",PositionChild:"below",
TopKeepInWindowX:0,TopKeepInWindowY:0,ScrollEnabled:0,
TopMenuX:"HM_f_GetElementXY('hm_i_main1','x')",
TopMenuY:"HM_f_GetElementXY('hm_i_main1','y')"},
{MenuID:"hm_m_main2",CreateOnLoad:1,IsPermanent:1,
HM_OnMenuCreated:HM_fc_AdjustImage,hmc_ImgName:"hm_i_main2",
TopKeepInWindowX:0,TopKeepInWindowY:0,ScrollEnabled:0,
TopMenuX:"HM_f_GetElementXY('hm_i_main2','x')",
TopMenuY:"HM_f_GetElementXY('hm_i_main2','y')"},
{MenuID:"hm_m_bulletins1"},
{MenuID:"hm_m_docs1"},
{MenuID:"hm_m_docs2"},
{MenuID:"hm_m_samples1"},
{MenuID:"hm_m_samples2",
TopKeepInWindowX:0,TopKeepInWindowY:0,
TopMenuX:"HM_f_GetElementXY('hm_l_samples2','x')+20",
TopMenuY:"HM_f_GetElementXY('hm_l_samples2','y')+4"}
);
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_main2",DisplayText:"Latest",LinkURL:"/latest/"},
{MenuID:"hm_m_main2",DisplayText:"Bulletins",LinkURL:"/bulletins/",ChildID:"hm_m_bulletins1"},
{MenuID:"hm_m_main2",DisplayText:"About",LinkURL:"/about/"},
{MenuID:"hm_m_main2",DisplayText:"Documentation",LinkURL:"/documentation/",ChildID:"hm_m_docs1"},
{MenuID:"hm_m_main2",DisplayText:"FAQ",LinkURL:"/faq/"},
{MenuID:"hm_m_main2",DisplayText:"Samples",LinkURL:"/samples/",ChildID:"hm_m_samples1"},
{MenuID:"hm_m_main2",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_docs2",DisplayText:"Setting Up",LinkURL:"/documentation/setup/",ChildID:"hm_m_setup1"},
{MenuID:"hm_m_docs2",DisplayText:"Reference",LinkURL:"/documentation/reference/",ChildID:"hm_m_ref1"},
{MenuID:"hm_m_docs2",DisplayText:"Archive",LinkURL:"/documentation/archive/",ChildID:"hm_m_archive1"},
{MenuID:"hm_m_docs2",DisplayText:"Upgrading",LinkURL:"/documentation/upgrade/"},
{MenuID:"hm_m_docs2",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_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"}
);