DQM_Notice = "DHTML QuickMenu, Copyright (c) - 2002, OpenCube Inc. - www.opencube.com"

/* -------------------------------
Custom Functions



getObj_ATM(name) = Used to get an div object from the page.
Has code to support Netscape 7 > and IE 5 >



checkDiv(name, property) = Used to set the visibility property
of an object.



You should never need to modify the code of these function.
To use these function refer to the DQM_showmenu and DQM_hidemenu
variables below.  Use these function to hide and show drop down
form elements.  Remember to add the div tag around your drop down box.



<div id="name"><select ...><option>...</select></div>


---------------------------------*/

function getObj_ATM(name){

	if (document.getElementById){
		if (document.getElementById(name) != null){
			this.obj = document.getElementById(name);
			this.style = document.getElementById(name).style;
			this.found = true;
		}else{
			this.found = false;
		}
	}else if (document.all){
		if (document.all[name] != null){
			this.obj = document.all[name];
			this.style = document.all[name].style;
			this.found = true;
		}else{
			this.found = false;
		}
	}else if (document.layers){
		if (document.layers[name] != null){
			this.obj = document.layers[name];
			this.style = document.layers[name];
			this.found = true;
		}else{
			this.found = false;
		}
	}
}

function checkDiv(name,property){

	var obj = new getObj_ATM(name);
	if (obj.found){
		obj.style.visibility = property;
	}
}


/*---------------------------------------
General Settings
----------------------------------------*/

DQM_sub_menu_width = 153
DQM_sub_xy = "0,0"
   

DQM_codebase = "/script/"
DQM_urltarget = "_self"

DQM_border_width = 1
DQM_divider_height = 1
DQM_border_color = "#003333"
DQM_menu_bgcolor = "#FFFFFF"
DQM_hl_bgcolor = "#CCFFFF"

DQM_mouse_off_delay = 100


/*---------------------------------------
Browser Bug Fixes
----------------------------------------*/
   
DQM_os9_ie5mac_offset_X = 10
DQM_os9_ie5mac_offset_Y = 15

DQM_osx_ie5mac_offset_X = 0
DQM_osx_ie5mac_offset_Y = 0

DQM_ie4mac_offset_X = -8
DQM_ie4mac_offset_Y = -50
   
DQM_nn4_reaload_after_resize = true
DQM_nn4_resize_prompt_user = false
DQM_nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."


/*---------------------------------------
Transition Effects (ie5.5 &up)
----------------------------------------*/

DQM_sub_menu_effect = "none"
DQM_sub_item_effect = "none"
DQM_sub_menu_effect_duration = .4
DQM_sub_item_effect_duration = .4

DQM_effect_pixelate_maxsqare = 25
DQM_effect_iris_irisstyle = "CIRCLE"
DQM_effect_checkerboard_squaresx = 14
DQM_effect_checkerboard_squaresY = 14
DQM_effect_checkerboard_direction = "RIGHT"
   
DQM_sub_menu_opacity = 100
DQM_dropshadow_color = "none"
DQM_dropshadow_offx = 5
DQM_dropshadow_offy = 5	


/*---------------------------------------
Font, Margin, and Alignment
----------------------------------------*/

DQM_textcolor = "#000000"
DQM_fontfamily = "Arial"
DQM_fontsize = 11
DQM_fontsize_ie4 = 9
DQM_textdecoration = "normal"
DQM_fontweight = "normal"
DQM_fontstyle = "normal"
DQM_hl_textcolor = "#000000"
DQM_hl_textdecoration = "normal"

DQM_margin_top = 2
DQM_margin_bottom = 3
DQM_margin_left = 5
DQM_margin_right = 4
DQM_text_alignment = "left"


/*---------------------------------------------
Optional event triggered custom function calls
----------------------------------------------*/

// showmenu_code# is for the # index menu item
// checkDiv(name, property)
// name = the id of the div tag
// property = the value of the visibility property.



// In this site:
//  <div id="mydiv"> is for the drop down at the top of a page.
//

DQM_showmenu_code1 = "checkDiv('mydiv', 'hidden')"
DQM_hidemenu_code1 = "checkDiv('mydiv', 'visible')"
DQM_showmenu_code2 = "checkDiv('mydiv', 'hidden')"
DQM_hidemenu_code2 = "checkDiv('mydiv', 'visible')"
DQM_showmenu_code3 = "checkDiv('mydiv', 'hidden')"
DQM_hidemenu_code3 = "checkDiv('mydiv', 'visible')"
DQM_showmenu_code5 = "checkDiv('mydiv', 'hidden')"
DQM_hidemenu_code5 = "checkDiv('mydiv', 'visible')"


//DQM_onload_code = "alert('custom function - onload')"

//DQM_showmenu_code0 = "status = 'custom show menu function call - menu0'"
//DQM_showmenu_code1 = "status = 'custom show menu function call - menu1'"
//DQM_hidemenu_code0 = "status = 'custom hide menu function call - menu0'"
//DQM_hidemenu_code1 = "status = 'custom hide menu function call - menu1'"

//DQM_clickitem_code0_0 = "alert('custom Function - Menu Item 0_0')"
//DQM_clickitem_code2_0 = "alert('custom Function - Menu Item 2_0')"


/*---------------------------------------
Relative Positioned Icons
----------------------------------------*/   

//DQM_icon_image0 = "images/blue1.gif"
//DQM_icon_rollover0 = "images/blue1.gif"
//DQM_icon_image_wh0 = "1,1"

//DQM_icon_image1 = "images/arrow.gif"
//DQM_icon_rollover1 = "images/arrow.gif"
//DQM_icon_image_wh1 = "13,10"


/*---------------------------------------
Absolute positioned Icons
----------------------------------------*/

//DQM_2nd_icon_image0 = "images/arrow.gif"
//DQM_2nd_icon_rollover0 = "images/arrow.gif"
//DQM_2nd_icon_image_wh0 = "13,10"
//DQM_2nd_icon_image_xy0 = "0,4"



/*---------------------------------------------
Optional Status Bar Text
-----------------------------------------------*/

DQM_show_urls_statusbar = false
   
//DQM_status_text0 = "Sample text - Main Menu Item 0"
//DQM_status_text1 = "Sample text - Main Menu Item 1"

//DQM_status_text2_0 = "Sample text - Main Menu Item 1, Sub Item 0"	
//DQM_status_text2_0 = "Sample text - Main Menu Item 1, Sub Item 1"	


/*---------------------------------------------
Main Menu Settings
-----------------------------------------------*/
  
DQM_rollover_image0 = "/images/nav-roll-about.gif"
DQM_rollover_wh0 = "68,24"
DQM_url0 = "/about-us.shtml";   

DQM_rollover_image1 = "/images/nav-roll-visitor-info.gif"
DQM_rollover_wh1 = "75,24"
DQM_url1 = "/visitor-info.shtml";

DQM_rollover_image2 = "/images/nav-roll-exhibitions.gif" 
DQM_rollover_wh2 = "78,24"
DQM_url2 = "/exhibitions.shtml"; 

DQM_rollover_image3 = "/images/nav-roll-resources.gif" 
DQM_rollover_wh3 = "74,24"
DQM_url3 = "/resources.shtml";  

DQM_rollover_image4 = "/images/nav-roll-educators.gif" 
DQM_rollover_wh4 = "134,24"
DQM_url4 = "/educators-students.shtml";  

DQM_rollover_image5 = "/images/nav-roll-get-involved.gif" 
DQM_rollover_wh5 = "84,24"
DQM_url5 = "/get-involved.shtml";  

DQM_rollover_image6 = "/images/nav-roll-facility.gif" 
DQM_rollover_wh6 = "99,24"
DQM_url6 = "/facility-rentals.shtml";  

DQM_rollover_image7 = "/images/nav-roll-news.gif" 
DQM_rollover_wh7 = "99,24"
DQM_url7 = "/news-events.shtml";  

DQM_rollover_image8 = "/images/nav-roll-contact.gif" 
DQM_rollover_wh8 = "59,24"
DQM_url8 = "/contact-hem-usa.shtml";   
  
   


/*---------------------------------------------
Sub Menu Settings
-----------------------------------------------*/  


DQM_sub_xy0 = "-68,23"
DQM_sub_menu_width0 = 120
DQM_subdesc0_0 = "History"
DQM_subdesc0_1 = "Mission Statement"
DQM_subdesc0_2 = "Staff"
DQM_subdesc0_3 = "Board of Directors"

DQM_icon_index0_0 = 0
DQM_icon_index0_1 = 0
DQM_icon_index0_2 = 0
DQM_icon_index0_3 = 0

DQM_url0_0 = "/history.shtml"
DQM_url0_1 = "/mission-statement.shtml"
DQM_url0_2 = "/staff.shtml"
DQM_url0_3 = "/board-of-directors.shtml"


DQM_sub_xy1 = "-75,23"
DQM_sub_menu_width1 = 120
DQM_subdesc1_0 = "Hours, Admission, Directions and Parking"
DQM_subdesc1_1 = "Tours"
DQM_subdesc1_2 = "Plan your Visit"
DQM_subdesc1_3 = "Frequently Asked Questions"

DQM_icon_index1_0 = 0
DQM_icon_index1_1 = 0
DQM_icon_index1_2 = 0
DQM_icon_index1_3 = 0

DQM_url1_0 = "/hours-directions-parking.shtml"
DQM_url1_1 = "/tours.shtml"
DQM_url1_2 = "/plan-your-visit.shtml"
DQM_url1_3 = "/frequently-asked-questions.shtml"


DQM_sub_xy2 = "-78,23"
DQM_sub_menu_width2 = 150
DQM_subdesc2_0 = "Fundamentals Gallery"
DQM_subdesc2_1 = "Communications Gallery"
DQM_subdesc2_2 = "Early Radar Gallery"
DQM_subdesc2_3 = "Cold War Radar Gallery"
DQM_subdesc2_4 = "Modern Radar Gallery"
DQM_subdesc2_5 = "Countermeasures Gallery"
DQM_subdesc2_6 = "Under Seas Gallery"
DQM_subdesc2_7 = "Electro-optical Gallery"
DQM_subdesc2_8 = "Space Sensor Gallery"
DQM_subdesc2_9 = "Past Gallery"
DQM_subdesc2_10 = "Web Gallery"
DQM_subdesc2_11 = "WWII Radar Kiosk"
DQM_subdesc2_12 = "Cold War Radar Kiosk"

DQM_icon_index2_0 = 0
DQM_icon_index2_1 = 0
DQM_icon_index2_2 = 0
DQM_icon_index2_3 = 0
DQM_icon_index2_4 = 0
DQM_icon_index2_5 = 0
DQM_icon_index2_6 = 0
DQM_icon_index2_7 = 0
DQM_icon_index2_8 = 0
DQM_icon_index2_9 = 0
DQM_icon_index2_10 = 0
DQM_icon_index2_11 = 0
DQM_icon_index2_12 = 0

DQM_url2_0 = "/fundamentals-gallery.shtml"
DQM_url2_1 = "/wireless-telegraph-by-marconi.shtml"
DQM_url2_2 = "/radar-during-ww2.shtml"
DQM_url2_3 = "/military-radar-research.shtml"
DQM_url2_4 = "/military-radar-systems.shtml"
DQM_url2_5 = "/chaff-development.shtml"
DQM_url2_6 = "/under-seas-gallery.shtml"
DQM_url2_7 = "/norden-bomb-sight.shtml"
DQM_url2_8 = "/growth-in-space-electronics.shtml"
DQM_url2_9 = "/past-gallery.shtml"
DQM_url2_10 = "/web-gallery.shtml"
DQM_url2_11 = "/wwii-radar-kiosk.shtml"
DQM_url2_12 = "coldwar-radar-kiosk.shtml"


DQM_sub_xy3 = "-74,23"
DQM_sub_menu_width3 = 120
DQM_subdesc3_0 = "Collections"
DQM_subdesc3_1 = "Library and Archives"
DQM_subdesc3_2 = "Research"
DQM_subdesc3_3 = "What is it?"
DQM_subdesc3_4 = "Related Links"
DQM_subdesc3_5 = "Special Collections"
DQM_subdesc3_6 = "Oral History"

DQM_icon_index3_0 = 0
DQM_icon_index3_1 = 0
DQM_icon_index3_2 = 0
DQM_icon_index3_3 = 0
DQM_icon_index3_4 = 0
DQM_icon_index3_5 = 0
DQM_icon_index3_6 = 0

DQM_url3_0 = "/collections.shtml"
DQM_url3_1 = "/library-and-archives.shtml"
DQM_url3_2 = "/research.shtml"
DQM_url3_3 = "/what-is-it.shtml"
DQM_url3_4 = "/related-links.shtml"
DQM_url3_5 = "/specialcollections.shtml"
DQM_url3_6 = "/oral-history.shtml"


DQM_sub_xy4 = "-134,23"
DQM_sub_menu_width4 = 134
DQM_subdesc4_0 = "YESS Program"
DQM_subdesc4_1 = "Robot Fest"
DQM_subdesc4_2 = "Additional Programs"

DQM_icon_index4_0 = 0
DQM_icon_index4_1 = 0
DQM_icon_index4_2 = 0
DQM_icon_index4_3 = 0

DQM_url4_0 = "/yess-program.shtml"
DQM_url4_1 = "/robot-fest.shtml"
DQM_url4_2 = "/additional-programs.shtml"


DQM_sub_xy5 = "-84,23"
DQM_sub_menu_width5 = 140
DQM_subdesc5_0 = "Membership"
DQM_subdesc5_1 = "Volunteers"
DQM_subdesc5_2 = "Interns and Fellowships"
DQM_subdesc5_3 = "Scholarship"
DQM_subdesc5_4 = "Employment"
DQM_subdesc5_5 = "Donations"
DQM_subdesc5_6 = "Corporate Membership"

DQM_icon_index5_0 = 0
DQM_icon_index5_1 = 0
DQM_icon_index5_2 = 0
DQM_icon_index5_3 = 0
DQM_icon_index5_4 = 0
DQM_icon_index5_5 = 0
DQM_icon_index5_6 = 0

DQM_url5_0 = "/membership.shtml"
DQM_url5_1 = "/volunteers.shtml"
DQM_url5_2 = "/interns-and-fellowships.shtml"
DQM_url5_3 = "/scholarship.shtml"
DQM_url5_4 = "/employment.shtml"
DQM_url5_5 = "/donations.shtml"
DQM_url5_6 = "/corporate-membership.shtml"



DQM_sub_xy6 = "-99,23"
DQM_sub_menu_width6 = 99
DQM_subdesc6_0 = "Pioneer Hall"
DQM_subdesc6_1 = "Conference Room"

DQM_icon_index6_0 = 0
DQM_icon_index6_1 = 0

DQM_url6_0 = "/pioneer-hall.shtml"
DQM_url6_1 = "/conference-room.shtml"


DQM_sub_xy7 = "-99,23"
DQM_sub_menu_width7 = 99
DQM_subdesc7_0 = "Events Calendar"
DQM_subdesc7_1 = "Press Room"
DQM_subdesc7_2 = "Newsletter"

DQM_icon_index7_0 = 0
DQM_icon_index7_1 = 0
DQM_icon_index7_2 = 0

DQM_url7_0 = "/events-calendar.shtml"
DQM_url7_1 = "/pressroom"
DQM_url7_2 = "/newsletter.shtml"

