/*
* HierMenus provided by Peter Belesis. v4.0.12 010612
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
* Originally published and documented at http://www.dhtmlab.com
*/
HM_DOM = (document.getElementById) ? true : false;
HM_NS4 = (document.layers) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
HM_IE4M = HM_IE4 && HM_Mac;
HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);
HM_IsMenu = !HM_Opera && !HM_Konqueror && !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4);
HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";


if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;
function HM_f_CenterMenu(topmenuid) {
var MinimumPixelLeft = 0;
var TheMenu = HM_DOM ? document.getElementById(topmenuid) : HM_IE4 ? document.all(topmenuid) : eval("window." + topmenuid);
var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
var TheWindowWidth = HM_IE ? document.body.clientWidth : window.innerWidth;
return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}


HM_GL_MenuWidth            = 160;
HM_GL_FontFamily           = "Arial, Verdana, Helvetica";
HM_GL_FontSize             = 10;
HM_GL_FontBold             = 1;
HM_GL_FontItalic           = 0;
HM_GL_FontColor            = "#eeeeee";
HM_GL_FontColorOver        = "#000000";
HM_GL_BGColor              = "#336699";
HM_GL_BGColorOver          = "#336699";
HM_GL_BorderColor          = "White";
HM_GL_ItemPadding          = 5;
HM_GL_BorderWidth          = 1;
HM_GL_BorderStyle          = "solid";
HM_GL_SeparatorSize        = 1;
HM_GL_SeparatorColor       = "White";
HM_GL_ImageSrc             = "images/MoreOff.gif";
HM_GL_ImageSrcLeft         = "images/MoreOff.gif";
HM_GL_ImageSrcOver         = "images/MoreOn.gif";
HM_GL_ImageSrcLeftOver     = "images/MoreOn.gif";
HM_GL_ImageSize            = 9;
HM_GL_ImageHorizSpace      = 0;
HM_GL_ImageVertSpace       = 2;
HM_GL_KeepHilite           = false;
HM_GL_ClickStart           = false;
HM_GL_ClickKill            = 0;
HM_GL_ChildOverlap         = 0;
HM_GL_ChildOffset          = 12;
HM_GL_ChildPerCentOver     = 15;
HM_GL_TopSecondsVisible    = .5;
HM_GL_ChildSecondsVisible  = .3;
HM_GL_StatusDisplayBuild   = 0;
HM_GL_StatusDisplayLink    = 0;
HM_GL_UponDisplay          = null;
HM_GL_UponHide             = null;
HM_GL_RightToLeft          = false;
HM_GL_CreateTopOnly        = HM_NS4 ? true : false;
HM_GL_ShowLinkCursor       = true;


if(HM_IsMenu) {
HM_Array1 = [
[  "116",  "-1",  "160",  ,  ,  ,  ,  ,  ,  1,  0,  0,  0,  1,  1,  ,  ,  ,  0],
 ["Home","default.asp",1,0,0],
 ["Features","Features.asp",1,0,0], 
 ["Reports","Reports.asp",1,0,0],
 ["Samples","Samples.asp",1,0,1],
 ["Contact Us","Contactus.asp",1,0,0]
]

HM_Array1_4 = [
[],
 ["Sample Survey","http://inquiry.opquest.com/default.asp?restart=inquiry",1,0,0],
 ["The Weather Survey","http://weather.opquest.com/default.asp?restart=weather",1,0,0]
]

  document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='menu/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
  }
