
// Custom Code

var webroot = "";
var baseroot = "";
var path = location.pathname;
var proto = location.protocol;
var host = location.host;
var re = /\/markets\/.*/;
if (re.test(path)) {
	path = path.replace(/\/markets\/.*/, '');
	webroot = proto + "//" + host + path;
	baseroot = path;
}


//DOM Code

var isDHTML = 0;
var isLayers = 0;
var isAll = 0;
var isID = 0;

if (document.getElementById) {isID = 1; isDHTML = 1;}
else {
browserVersion = parseInt(navigator.appVersion);
if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) {isLayers = 1; isDHTML = 1;}
else {
if (document.all) {isAll = 1; isDHTML = 1;}
}}

function setVisibility(objectID, visible) 
{
		if (isID) 
		{ 
			document.getElementById(objectID).style.visibility = visible ? "visible" : "hidden"; 
		}
		else 
		{ 
			if (isAll) 
			{ 
				document.all[objectID].style.visibility = visible ? "visible" : "hidden";
			}
			else 
			{
				//if (isLayers) 
				//{ 
				//	if (visible)
				//		document.layers[objectID + "Layer"].visibility = "show";
				//	else
				//		document.layers[objectID + "Layer"].visibility = "hide"; 
				//}
			}
		}
}

// Required Menu Settings

DQM_sub_menu_width = 195      //default sub menu widths
DQM_sub_xy = "0,-1"            //default sub x,y coordinates

DQM_onload_code = "MM_preloadImages('" + webroot + "/images/nav/global_retail_pharmacies_over.gif','" + webroot + "/images/nav/global_health_systems_over.gif','" + webroot + "/images/nav/global_alternate_care_over.gif','" + webroot + "/images/newsbox/events_over.gif','" + webroot + "/images/newsbox/news_over.gif','" + webroot + "/images/nav/tool_print_over.gif','" + webroot + "/images/nav/tool_email_over.gif','" + webroot + "/images/nav/tool_contact_over.gif','" + webroot + "/images/nav/topnav_investors_over.gif','" + webroot + "/images/nav/topnav_suppliers_over.gif','" + webroot + "/images/nav/topnav_careers_over.gif','" + webroot + "/images/nav/topnav_contact_us_over.gif','" + webroot + "/images/nav/topnav_about_us_over.gif','" + webroot + "/images/nav/topnav_search_btn_over.gif','" + webroot + "/images/global/login_btn_over.gif')"
DQM_codebase = baseroot + "/inc/menu/"             //relative location of .js files
DQM_urltarget = "_self"       //set to: _self, _parent, _new, or "my frame name"

DQM_border_width = 1
DQM_divider_height = 1

DQM_border_color = "#FFFFFF"  //Hex color value or 'transparent'
DQM_menu_bgcolor = "#0C2D83"  //Hex color value or 'transparent'
DQM_hl_bgcolor = "#CC0033"    //Hex color value

DQM_mouse_off_delay = 10

DQM_os9_ie5mac_offset_X = 5
DQM_os9_ie5mac_offset_Y = 5

DQM_osx_ie5mac_offset_X = 5
DQM_osx_ie5mac_offset_Y = 5

DQM_ie4mac_offset_X = -8
DQM_ie4mac_offset_Y = -50

DQM_nn4_reaload_after_resize = false

DQM_nn4_resize_prompt_user = false
DQM_nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."

DQM_use_opera_div_detect_fix = true;

// Options include: none | fade | pixelate | iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch

DQM_sub_menu_effect = "none"
DQM_sub_item_effect = "none"

DQM_sub_menu_effect_duration = .2
DQM_sub_item_effect_duration = .2

DQM_effect_pixelate_maxsqare = 1
DQM_effect_iris_irisstyle = "CIRCLE"          //CROSS, CIRCLE, PLUS, SQUARE, or STAR
DQM_effect_checkerboard_squaresx = 14
DQM_effect_checkerboard_squaresY = 14
DQM_effect_checkerboard_direction = "UP"   //UP, DOWN, LEFT, RIGHT

DQM_sub_menu_opacity = 100

DQM_dropshadow_color = "none"                //Hex color value or 'none'

limit_multiple_users = true; // unlock key

// Font Settings (Required)

DQM_textcolor = "#FFFFFF"
DQM_fontfamily = "Arial, Helvetica, Sans-Serif"            //Any available system font     
DQM_fontsize = 11		         //Defined with pixel sizing  	
DQM_fontsize_ie4 = 9		         //Defined with point sizing
DQM_textdecoration = "normal"         //set to: 'normal', or 'underline'
DQM_fontweight = "normal"             //set to: 'normal', or 'bold'
DQM_fontstyle = "normal"	         //set to: 'normal', or 'italic' 	
DQM_hl_textcolor = "#FFFFFF"
DQM_hl_textdecoration = "none"   //set to: 'normal', or 'underline'

DQM_margin_top = 4
DQM_margin_bottom = 4
DQM_margin_left = 8
DQM_margin_right = 4

DQM_text_alignment = "left"           //set to: 'left', 'center' or 'right'

// Icon Definitions

//DQM_icon_image0 = "images/iconWebsite.gif"
//DQM_icon_rollover0 = "images/iconWebsite.gif"
//DQM_icon_image_wh0 = "14,12"

// Status Bar Text

DQM_show_urls_statusbar = true
   
//DQM_status_text0 = "Sample text - Main Menu Item 0"
//DQM_status_text1 = "Sample text - Main Menu Item 1"

//DQM_status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 0"	
//DQM_status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 1"	
  

// -------- Menu Definitions --------- //


//DQM_showmenu_code5 = "setVisibility('countryWrapper', false);"
//DQM_hidemenu_code5 = "setVisibility('countryWrapper', true);"
	
										

// Health Systems Solutions (0)

DQM_rollover_image0 = webroot + "/images/nav/leftnav_hs_solutions_over.gif"
DQM_rollover_wh0 = "164,24"
DQM_url0 = webroot + "/markets/health_systems/health_systems/solutions/index.jsp"

DQM_subdesc0_0 = "&raquo; Medication Errors"
DQM_url0_0 = webroot + "/markets/health_systems/health_systems/solutions/med_errors/index.jsp"

DQM_subdesc0_1 = "&raquo; Staffing Shortages"
DQM_url0_1 = webroot + "/markets/health_systems/health_systems/solutions/staff_short/index.jsp"

DQM_subdesc0_2 = "&raquo; Rising Costs"
DQM_url0_2 = webroot + "/markets/health_systems/health_systems/solutions/rising_costs/index.jsp"

DQM_subdesc0_3 = "&raquo; Case Studies"
DQM_url0_3 = webroot + "/markets/health_systems/health_systems/solutions/case_studes/index.jsp"

DQM_subdesc0_4 = "&raquo; Continuing Education"
DQM_url0_4 = webroot + "/markets/health_systems/health_systems/solutions/continued_ed/index.jsp"


// Order Management (1)

DQM_rollover_image1 = webroot + "/images/nav/leftnav_order_man_over.gif"
DQM_rollover_wh1 = "164,21"
DQM_url1 = webroot + "/markets/health_systems/health_systems/order_man/index.jsp"

DQM_subdesc1_0 = "&raquo; Online Ordering"
DQM_url1_0 = webroot + "/markets/health_systems/health_systems/order_man/online_cat_entry/index.jsp"

DQM_subdesc1_1 = "&raquo; Desktop Ordering Software"
DQM_url1_1 = webroot + "/markets/health_systems/health_systems/order_man/desk_order/index.jsp"

DQM_subdesc1_2 = "&raquo; Mobile Computing"
DQM_url1_2 = webroot + "/markets/health_systems/health_systems/order_man/mobile_comput/index.jsp"

DQM_subdesc1_3 = "&raquo; Electronic Data Interchange (EDI)"
DQM_url1_3 = webroot + "/markets/health_systems/health_systems/order_man/edi/index.jsp"


// Analysis & Reporting Tools (2)

DQM_rollover_image2 = webroot + "/images/nav/leftnav_analysis_over.gif"
DQM_rollover_wh2 = "164,21"
DQM_url2 = webroot + "/markets/health_systems/health_systems/analysis/index.jsp"

DQM_subdesc2_0 = "&raquo; Purchase History Reporting"
DQM_url2_0 = webroot + "/markets/health_systems/health_systems/analysis/purchase_report/index.jsp"

DQM_subdesc2_1 = "&raquo; Market Share Reporting"
DQM_url2_1 = webroot + "/markets/health_systems/health_systems/analysis/market_report/index.jsp"

DQM_subdesc2_2 = "&raquo; Contract Management"
DQM_url2_2 = webroot + "/markets/health_systems/health_systems/analysis/contract_man/index.jsp"

DQM_subdesc2_3 = "&raquo; Custom Report Writing"
DQM_url2_3 = webroot + "/markets/health_systems/health_systems/analysis/custom_report/index.jsp"

DQM_subdesc2_4 = "&raquo; Group Reporting"
DQM_url2_4 = webroot + "/markets/health_systems/health_systems/analysis/group_report/index.jsp"

DQM_subdesc2_5 = "&raquo; Drug Therapy Optimization"
DQM_url2_5 = webroot + "/markets/health_systems/health_systems/analysis/drug_therapy_opt/index.jsp"


// Packaging Options (3)

DQM_rollover_image3 = webroot + "/images/nav/leftnav_packaging_over.gif"
DQM_rollover_wh3 = "164,20"
DQM_url3 = webroot + "/markets/health_systems/health_systems/packaging/index.jsp"

DQM_subdesc3_0 = "&raquo; On-site Packaging"
DQM_url3_0 = webroot + "/markets/health_systems/health_systems/packaging/onsite_pack/index.jsp"

DQM_subdesc3_1 = "&raquo; Off-Site Packaging"
DQM_url3_1 = webroot + "/markets/health_systems/health_systems/packaging/offsite_pack/index.jsp"


// Inventory Management (4)

DQM_rollover_image4 = webroot + "/images/nav/leftnav_inventory_management_over.gif"
DQM_rollover_wh4 = "164,21"
DQM_url4 = webroot + "/markets/health_systems/health_systems/inventory_man/index.jsp"

DQM_subdesc4_0 = "&raquo; Inventory Optimization"
DQM_url4_0 = webroot + "/markets/health_systems/health_systems/inventory_man/inventory_opt/index.jsp"

DQM_subdesc4_1 = "&raquo; Materials Management"
DQM_url4_1 = webroot + "/markets/health_systems/health_systems/inventory_man/materials_man/index.jsp"

DQM_subdesc4_2 = "&raquo; Dimension21<sup>®</sup>"
DQM_url4_2 = webroot + "/markets/health_systems/health_systems/packaging/onsite_pack/dimension21.jsp"


// Clinical Information & Tools (5)

DQM_rollover_image5 = webroot + "/images/nav/leftnav_clinical_info_over.gif"
DQM_rollover_wh5 = "164,21"
DQM_url5 = webroot + "/markets/health_systems/health_systems/clinical_info/index.jsp"

DQM_subdesc5_0 = "&raquo; Drug Therapy Optimization"
DQM_url5_0 = webroot + "/markets/health_systems/health_systems/clinical_info/drug_optimization/index.jsp"

DQM_subdesc5_1 = "&raquo; Formulary Management"
DQM_url5_1 = webroot + "/markets/health_systems/health_systems/clinical_info/formulatory_man/index.jsp"


// Automation & Technology (6)

DQM_rollover_image6 = webroot + "/images/nav/leftnav_automation_over.gif"
DQM_rollover_wh6 = "164,20"
DQM_url6 = webroot + "/markets/health_systems/health_systems/automation/index.jsp"

DQM_subdesc6_0 = "&raquo; Pharmacy Management Software"
DQM_url6_0 = webroot + "/markets/health_systems/health_systems/automation/remote_disp/index.jsp"

DQM_subdesc6_1 = "&raquo; Barcode Ordering"
DQM_url6_1 = webroot + "/markets/health_systems/health_systems/automation/barcode_order/index.jsp"

DQM_subdesc6_2 = "&raquo; Barcode Receiving"
DQM_url6_2 = webroot + "/markets/health_systems/health_systems/automation/barcode_receive/index.jsp"

DQM_subdesc6_3 = "&raquo; Barcode Inventory"
DQM_url6_3 = webroot + "/markets/health_systems/health_systems/automation/barcode_inven/index.jsp"

DQM_subdesc6_4 = "&raquo; Inpatient Automated Dispensing"
DQM_url6_4 = webroot + "/markets/health_systems/health_systems/automation/inpatient_autodisp/index.jsp"

DQM_subdesc6_5 = "&raquo; Outpatient Automated Dispensing"
DQM_url6_5 = webroot + "/markets/health_systems/health_systems/automation/outpatient_autodisp/index.jsp"

DQM_subdesc6_6 = "&raquo; WorkFlow Software"
DQM_url6_6 = webroot + "/markets/health_systems/health_systems/automation/workflow_soft/index.jsp"


// Staffing Solutions (7)

DQM_rollover_image7 = webroot + "/images/nav/leftnav_staffing_over.gif"
DQM_rollover_wh7 = "164,21"
DQM_url7 = webroot + "/markets/health_systems/health_systems/staffing/index.jsp"

DQM_subdesc7_0 = "&raquo; Staffing"
DQM_url7_0 = webroot + "/markets/health_systems/health_systems/staffing/staffing/index.jsp"

DQM_subdesc7_1 = "&raquo; Recruiting and Retention"
DQM_url7_1 = webroot + "/markets/health_systems/health_systems/staffing/recruit_retention/index.jsp"

DQM_subdesc7_2 = "&raquo; Mentoring"
DQM_url7_2 = webroot + "/markets/health_systems/health_systems/staffing/monitor/index.jsp"

DQM_subdesc7_3 = "&raquo; Interim Leadership"
DQM_url7_3 = webroot + "/markets/health_systems/health_systems/staffing/interim_lead/index.jsp"


// Consulting Services (8)

DQM_rollover_image8 = webroot + "/images/nav/leftnav_consulting_over.gif"
DQM_rollover_wh8 = "164,21"
DQM_url8 = webroot + "/markets/health_systems/health_systems/consulting/index.jsp"

DQM_subdesc8_0 = "&raquo; Operational Site Assessment"
DQM_url8_0 = webroot + "/markets/health_systems/health_systems/consulting/op_site_assess/index.jsp"

DQM_subdesc8_1 = "&raquo; Optimal Drug Utilization/Benchmarking"
DQM_url8_1 = webroot + "/markets/health_systems/health_systems/consulting/opt_drug_utilize/index.jsp"

DQM_subdesc8_2 = "&raquo; Drug Cost Analysis"
DQM_url8_2 = webroot + "/markets/health_systems/health_systems/consulting/drug_cost_analy/index.jsp"

DQM_subdesc8_3 = "&raquo; Inventory Optimization"
DQM_url8_3 = webroot + "/markets/health_systems/health_systems/consulting/inventory_opt/index.jsp"

DQM_subdesc8_4 = "&raquo; Compliance Audit and Review"
DQM_url8_4 = webroot + "/markets/health_systems/health_systems/consulting/comp_audit_review/index.jsp"

DQM_subdesc8_5 = "&raquo; Med Use Risk Assessment"
DQM_url8_5 = webroot + "/markets/health_systems/health_systems/consulting/med_use_risk_assess/index.jsp"

DQM_subdesc8_6 = "&raquo; Indigent Drug Recovery"
DQM_url8_6 = webroot + "/markets/health_systems/health_systems/consulting/indigent_drug_recov/index.jsp"

DQM_subdesc8_7 = "&raquo; CDM Assessment"
DQM_url8_7 = webroot + "/markets/health_systems/health_systems/consulting/cdm_assess/index.jsp"


// Specialty Distribution (9)

DQM_rollover_image9 = webroot + "/images/nav/leftnav_specialty_distribution_over.gif"
DQM_rollover_wh9 = "164,21"
DQM_url9 = webroot + "/markets/health_systems/health_systems/distribution/index.jsp"

DQM_subdesc9_0 = "&raquo; Plasma Distribution"
DQM_url9_0 = webroot + "/markets/health_systems/health_systems/distribution/plasma_dist/index.jsp"

DQM_subdesc9_1 = "&raquo; Physician Offices"
DQM_url9_1 = webroot + "/markets/health_systems/health_systems/distribution/physician_offices/index.jsp"

DQM_subdesc9_2 = "&raquo; Oncology Supply"
DQM_url9_2 = webroot + "/markets/health_systems/health_systems/distribution/oncology_supply/index.jsp"


// Pharmaceutical Contract Admin (10)

DQM_rollover_image10 = webroot + "/images/nav/leftnav_pharma_contract_admin_over.gif"
DQM_rollover_wh10 = "164,34"
DQM_url10 = webroot + "/markets/health_systems/health_systems/pharma_contract_admin/index.jsp"


// Strategic Partnerships (11)

DQM_rollover_image11 = webroot + "/images/nav/leftnav_partnerships2_over.gif"
DQM_rollover_wh11 = "164,21"
DQM_url11 = webroot + "/markets/health_systems/health_systems/partnerships/index.jsp"

DQM_subdesc11_0 = "&raquo; Owens & Minor"
DQM_url11_0 = webroot + "/markets/health_systems/health_systems/partnerships/owens_minor/index.jsp"

