
//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 --------- //

										
// About us Menu (0)

DQM_rollover_image0 = "/img/global_nav/header/navAboutUsOn.gif"
DQM_rollover_wh0 = "75,25"
DQM_sub_xy0 = "-75,25"
DQM_url0 = "/about_us/index.html"

DQM_subdesc0_0 = "Company profile" 
DQM_url0_0 = "/about_us/company_profile/index.html"

/*DQM_subdesc0_1 = "Why choose Cable & Wireless?"
DQM_url0_1 = "/why_cw/index.html"

DQM_subdesc0_2 = "Our capabilities"
DQM_url0_2 = "/why_cw/our_capabilities/index.html"

DQM_subdesc0_3 = "Purchasing & Supply Chain"
DQM_url0_3 = "/about_us/purchasing/index.html"*/

DQM_subdesc0_1 = "Contact us"
DQM_url0_1 = "/about_us/contact_us/index.html"


// Investor relations (1)

DQM_rollover_image1 = "/img/global_nav/header/navInvestorRelationsOn.gif"
DQM_rollover_wh1 = "133,25"
DQM_sub_xy1 = "-133,25"
DQM_url1 = "/about_us/investor_relations/index.html"

DQM_subdesc1_0 = "Share price"
DQM_url1_0 = "/about_us/investor_relations/shareprice/index.html"

DQM_subdesc1_1 = "Business overview"
DQM_url1_1 = "/about_us/investor_relations/business_overview/"

DQM_subdesc1_2 = "Shareholder information"
DQM_url1_2 = "/about_us/investor_relations/shareholder_information/"

DQM_subdesc1_3 = "Press releases"
DQM_url1_3 = "/about_us/investor_relations/ir_001pr.html"

DQM_subdesc1_4 = "Financial data"
DQM_url1_4 = "/about_us/investor_relations/financial_data/"

DQM_subdesc1_5 = "Presentations"
DQM_url1_5 = "/about_us/investor_relations/ir_presentations.html"

DQM_subdesc1_6 = "Calendar"
DQM_url1_6 = "/about_us/investor_relations/shareholder_information/dividend_information/ir_005cal.html"

DQM_subdesc1_7 = "IFRS"
DQM_url1_7 = "/about_us/investor_relations/ifrs.html"

DQM_subdesc1_8 = "FAQs"
DQM_url1_8 = "/about_us/investor_relations/ir_08_08_faq.html"

DQM_subdesc1_9 = "Unsolicited mailings"
DQM_url1_9 = "/about_us/investor_relations/unsolicited_mailings.html"

DQM_subdesc1_10 = "Contact Investor relations"
DQM_url1_10 = "/about_us/investor_relations/ir_007team.html"

DQM_subdesc1_11 = "List of analysts"
DQM_url1_11 = "/about_us/investor_relations/ir_analysts.html"  


// Career Menu (2)

DQM_rollover_image2 = "/img/global_nav/header/navButtonOn_careers.gif"
DQM_rollover_wh2 = "76,25"
DQM_sub_xy2 = "-76,25"
DQM_url2 = "/Careers/index.html"


DQM_subdesc2_0 = "Careers" 
DQM_url2_0 = "/Careers/index.html"



// Media and Events Menu (3)

DQM_rollover_image3 = "/img/global_nav/header/navMediaAndEventsOn.gif"
DQM_rollover_wh3 = "108,25"
DQM_sub_xy3 = "-108,25"
DQM_url3 = "/media_events/media_centre/worldindex.html"

DQM_subdesc3_0 = "News"
DQM_url3_0 = "/media_events/media_centre/worldindex.html"



/* // Network Menu (4)

DQM_rollover_image4 = "/img/global_nav/header/navNetworkOn.gif"
DQM_rollover_wh4 = "76,25"
DQM_sub_xy4 = "-76,25"
DQM_url4 = "/our_network/worldindex.html"

DQM_subdesc4_0 = "Network overview"
DQM_url4_0 = "/our_network/worldnetwork_overview.html"

DQM_subdesc4_1 = "Packet loss calculator"
DQM_url4_1 = "/our_network/packet_loss_calculator/worldindex.html"

DQM_subdesc4_2 = "Network maps"
DQM_url4_2 = "/our_network/network_maps/worldindex.html"

DQM_subdesc4_3 = "Peering policies"
DQM_url4_3 = "/our_network/peering/worldindex.html"

DQM_subdesc4_4 = "Solution centre virtual tours"
DQM_url4_4 = "/our_network/virtual_tours/worldindex.html"

*/



// Our customer Menu (4)

DQM_rollover_image4 = "/img/global_nav/header/navButtonOn_customers.jpg"
DQM_rollover_wh4 = "133,25"
DQM_sub_xy4 = "-133,25"
DQM_url4 = "/about_us/our_customers/index.html"

DQM_subdesc4_0 = "Our Customers" 
DQM_url4_0 = "/about_us/our_customers/index.html"