
// 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);"
	
										

// Building your Business (0)

DQM_rollover_image0 = webroot + "/images/nav/leftnav_building_business_over.gif"
DQM_rollover_wh0 = "164,24"
DQM_url0 = webroot + "/markets/retail_pharmacies/chain/building_business/index.jsp"

DQM_subdesc0_0 = "&raquo; Programs For Managing Your Business"
DQM_url0_0 = webroot + "/markets/retail_pharmacies/chain/building_business/managing_business/index.jsp"

DQM_subdesc0_1 = "&raquo; Solutions that Reduce Costs"
DQM_url0_1 = webroot + "/markets/retail_pharmacies/chain/building_business/reduce_costs/index.jsp"

DQM_subdesc0_2 = "&raquo; Solutions that Build Customer Relationships"
DQM_url0_2 = webroot + "/markets/retail_pharmacies/chain/building_business/building_relationships/index.jsp"

DQM_subdesc0_3 = "&raquo; Continuing Education"
DQM_url0_3 = webroot + "/markets/retail_pharmacies/chain/building_business/continued_ed/index.jsp"


// Inventory Management (1)

DQM_rollover_image1 = webroot + "/images/nav/leftnav_inventory_management_over.gif"
DQM_rollover_wh1 = "164,21"
DQM_url1 = webroot + "/markets/retail_pharmacies/chain/inventory_man/index.jsp"

DQM_subdesc1_0 = "&raquo; Private Label Products"
DQM_url1_0 = webroot + "/markets/retail_pharmacies/chain/inventory_man/private_label/index.jsp"

DQM_subdesc1_1 = "&raquo; Pharmaceutical Repackaging"
DQM_url1_1 = webroot + "/markets/retail_pharmacies/chain/inventory_man/brand_advantage/index.jsp"

DQM_subdesc1_2 = "&raquo; Generics"
DQM_url1_2 = webroot + "/markets/retail_pharmacies/chain/inventory_man/progenerics/index.jsp"

DQM_subdesc1_3 = "&raquo; Custom Reports"
DQM_url1_3 = webroot + "/markets/retail_pharmacies/chain/inventory_man/interlinx/index.jsp"

DQM_subdesc1_4 = "&raquo; Pharmacy Data Services"
DQM_url1_4 = webroot + "/markets/retail_pharmacies/chain/inventory_man/pharm_data/index.jsp"

DQM_subdesc1_5 = "&raquo; Electronic Data Interchange"
DQM_url1_5 = webroot + "/markets/retail_pharmacies/chain/inventory_man/edi/index.jsp"

DQM_subdesc1_6 = "&raquo; Online Ordering"
DQM_url1_6 = webroot + "/markets/retail_pharmacies/chain/inventory_man/catalog_order/index.jsp"

DQM_subdesc1_7 = "&raquo; Barcode Ordering"
DQM_url1_7 = webroot + "/markets/retail_pharmacies/chain/inventory_man/edi/index.jsp"

DQM_subdesc1_8 = "&raquo; Barcode Receiving"
DQM_url1_8 = webroot + "/markets/retail_pharmacies/chain/inventory_man/barcode_receiving/index.jsp"

DQM_subdesc1_9 = "&raquo; Barcode Inventory"
DQM_url1_9 = webroot + "/markets/retail_pharmacies/chain/inventory_man/barcode_inven/index.jsp"

DQM_subdesc1_10 = "&raquo; Desktop Ordering Software"
DQM_url1_10 = webroot + "/markets/retail_pharmacies/chain/inventory_man/desk_order/index.jsp"

DQM_subdesc1_11 = "&raquo; Market Share Report"
DQM_url1_11 = webroot + "/markets/retail_pharmacies/chain/inventory_man/market_report/index.jsp"

DQM_subdesc1_12 = "&raquo; New Product Placement"
DQM_url1_12 = webroot + "/markets/retail_pharmacies/chain/inventory_man/new_prod_place/index.jsp"


// Technology and Automation (2)

DQM_rollover_image2 = webroot + "/images/nav/leftnav_techonology_automation_over.gif"
DQM_rollover_wh2 = "164,21"
DQM_url2 = webroot + "/markets/retail_pharmacies/chain/automation/index.jsp"

DQM_subdesc2_0 = "&raquo; Desktop Ordering Software"
DQM_url2_0 = webroot + "/markets/retail_pharmacies/chain/automation/desk_order/index.jsp"

DQM_subdesc2_1 = "&raquo; Automation"
DQM_url2_1 = webroot + "/markets/retail_pharmacies/chain/automation/automed/index.jsp"

DQM_subdesc2_2 = "&raquo; Online Ordering"
DQM_url2_2 = webroot + "/markets/retail_pharmacies/chain/automation/catalog_order/index.jsp"

DQM_subdesc2_3 = "&raquo; Pharmacy Management Software"
DQM_url2_3 = webroot + "/markets/retail_pharmacies/chain/automation/telepharm_sol/index.jsp"

DQM_subdesc2_4 = "&raquo; Data Services"
DQM_url2_4 = webroot + "/markets/retail_pharmacies/chain/automation/pharm_data/index.jsp"

DQM_subdesc2_5 = "&raquo; Barcode Ordering"
DQM_url2_5 = webroot + "/markets/retail_pharmacies/chain/automation/barcode_ordering/index.jsp"

DQM_subdesc2_6 = "&raquo; Barcode Receiving"
DQM_url2_6 = webroot + "/markets/retail_pharmacies/chain/automation/barcode_receiving/index.jsp"

DQM_subdesc2_7 = "&raquo; Barcode Inventory"
DQM_url2_7 = webroot + "/markets/retail_pharmacies/chain/automation/barcode_inven/index.jsp"

DQM_subdesc2_8 = "&raquo; Account Review"
DQM_url2_8 = webroot + "/markets/retail_pharmacies/chain/automation/account_review/index.jsp"


// Patient Care (3)

DQM_rollover_image3 = webroot + "/images/nav/leftnav_patient_care_over.gif"
DQM_rollover_wh3 = "164,20"
DQM_url3 = webroot + "/markets/retail_pharmacies/chain/patient_care/index.jsp"

DQM_subdesc3_0 = "&raquo; Home Healthcare"
DQM_url3_0 = webroot + "/markets/retail_pharmacies/chain/patient_care/home_health/index.jsp"


// Pharmacy Support (4)

DQM_rollover_image4 = webroot + "/images/nav/leftnav_pharmacy_support_over.gif"
DQM_rollover_wh4 = "164,21"
DQM_url4 = webroot + "/markets/retail_pharmacies/chain/pharmacy_support/index.jsp"

DQM_subdesc4_0 = "&raquo; Certificate Programs"
DQM_url4_0 = webroot + "/markets/retail_pharmacies/chain/pharmacy_support/certificate_prog/index.jsp"

DQM_subdesc4_1 = "&raquo; Continuing Education"
DQM_url4_1 = webroot + "/markets/retail_pharmacies/chain/pharmacy_support/continued_ed/index.jsp"


// Pharma Contract Admin (5)

DQM_rollover_image5 = webroot + "/images/nav/leftnav_pharma_contract_admin_over.gif"
DQM_rollover_wh5 = "164,34"
DQM_url5 = webroot + "/markets/retail_pharmacies/chain/pharma_contract_admin/index.jsp"


// Market Share Growth (6)

DQM_rollover_image6 = webroot + "/images/nav/leftnav_market_share2_over.gif"
DQM_rollover_wh6 = "164,21"
DQM_url6 = webroot + "/markets/retail_pharmacies/chain/market_share/index.jsp"

DQM_subdesc6_0 = "&raquo; Online Ordering"
DQM_url6_0 = webroot + "/markets/retail_pharmacies/chain/market_share/catalog_order/index.jsp"

DQM_subdesc6_1 = "&raquo; Custom Reporting"
DQM_url6_1 = webroot + "/markets/retail_pharmacies/chain/market_share/interlinx/index.jsp"

DQM_subdesc6_2 = "&raquo; Market Share Report"
DQM_url6_2 = webroot + "/markets/retail_pharmacies/chain/market_share/market_report/index.jsp"

DQM_subdesc6_3 = "&raquo; Contract Compliance Exception Report"
DQM_url6_3 = webroot + "/markets/retail_pharmacies/chain/market_share/contract_comp/index.jsp"

DQM_subdesc6_4 = "&raquo; Contract Management Tools (CMT)"
DQM_url6_4 = webroot + "/markets/retail_pharmacies/chain/market_share/contract_man/index.jsp"

DQM_subdesc6_5 = "&raquo; Desktop Ordering Software"
DQM_url6_5 = webroot + "/markets/retail_pharmacies/chain/market_share/desk_order/index.jsp"


