
//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 = 165      //default sub menu widths
DQM_sub_xy = "0,0"            //default sub x,y coordinates

DQM_codebase = "inc/global_nav/header/"             //relative location of .js files
DQM_urltarget = "_self"       //set to: _self, _parent, _new, or "my frame name"

DQM_border_width = 1
DQM_divider_height = 0

DQM_border_color = "#666666"  //Hex color value or 'transparent'
DQM_menu_bgcolor = "#505050"  //Hex color value or 'transparent'
DQM_hl_bgcolor = "#FFDB4C"    //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 = true

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 = "Verdana"            //Any available system font     
DQM_fontsize = 10		         //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 = "#362F14"
DQM_hl_textdecoration = "none"   //set to: 'normal', or 'underline'

DQM_margin_top = 4
DQM_margin_bottom = 4
DQM_margin_left = 14
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 = false
   
//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_code4 = "setVisibility('countryWrapper', false);"
DQM_hidemenu_code4 = "setVisibility('countryWrapper', true);"
	
										
// About Us Menu (0)

DQM_rollover_image0 = "img/global_nav/header/navAboutUsOn.gif"
DQM_rollover_wh0 = "133,25"
DQM_sub_xy0 = "-133,25"
DQM_url0 = "about_us/index-2.html"

DQM_subdesc0_0 = "Company profile"
DQM_url0_0 = "about_us/profile.html"

DQM_subdesc0_1 = "Why choose Cable & Wireless"
DQM_url0_1 = "about_us/choose.html"

DQM_subdesc0_2 = "Our capabilities"
DQM_url0_2 = "about_us/capabilities.html"

DQM_subdesc0_3 = "How to pay your bill"
DQM_url0_3 = "about_us/pay_your_bill.html"

// Products & services Menu (1)

DQM_rollover_image1 = "img/global_nav/header/navServicesOn.gif"
DQM_rollover_wh1 = "133,25"
DQM_sub_xy1 = "-133,25"
DQM_url1 = "products_services/index-2.html"

DQM_subdesc1_0 = "Residential services"
DQM_url1_0 = "products_services/residential/index.html"

DQM_subdesc1_1 = "Business services"
DQM_url1_1 = "products_services/business/index.html"

// Media Menu (2)

DQM_rollover_image2 = "img/global_nav/header/navMediaOn.gif"
DQM_rollover_wh2 = "133,25"
DQM_sub_xy2 = "-133,25"
DQM_url2 = "media_centre/index-2.html"



// eAccount (3)

DQM_rollover_image3 = "img/global_nav/header/naveAccountOn.gif"
DQM_rollover_wh3 = "133,25"
DQM_sub_xy3 = "-133,25"
DQM_url3 = "http://www.eaccount.bm/"



// Network Menu (4)

DQM_rollover_image4 = "img/global_nav/header/navNetworkOn.gif"
DQM_rollover_wh4 = "133,25"
DQM_sub_xy4 = "-133,25"
DQM_url4 = "network/index-2.html"

DQM_subdesc4_0 = "Network overview"
DQM_url4_0 = "network/network_overview.html"

DQM_subdesc4_1 = "Network maps"
DQM_url4_1 = "network/network_maps/index.html"

DQM_subdesc4_2 = "Solution centre virtual tour"
DQM_url4_2 = "network/virtual_tours/index.html"