


var Nav = new Navigation();

	initialiseNav();


function initialiseNav() {
    //############### SET UP YOUR NAV OPTIONS FROM HERE ##################
    // PLEASE NOTE THAT YOU SHOULD TEST YOUR NAV IMPLEMENTATION IN ALL BROWSERS BEFORE RELEASING
    // you may leave some of the options, and default values will be used.
    /*general preferences and positioning*/
    Nav.top = 80;
    Nav.left = 19;
    Nav.instanceName = "Nav"; //VERY IMPORTANT
    Nav.childLevelItemWidth = 200;
    Nav.xSpacing = 0;
    Nav.ySpacing = 0;
    Nav.topLevelNavItemHeight = 25;
	Nav.topLevelBackgroundColour = "";
    Nav.childLevelBackgroundColour = "#ffffff";
    Nav.topLevelLinkClass = "firstlevelnav";
    Nav.childLevelLinkClass = "secondlevelnav";
    Nav.childGroupParagraph = "childGroupParagraph";
    Nav.letterSpacing = 0.5;
    Nav.lineHeight = 20;
    Nav.padding = 0;
    Nav.centeringOffset = 0; // 0 means completely center, anything else moves nav to the RIGHT
    /*border options (limited browser support)*/
    Nav.childLevelBorder = "solid"; // solid, dotted, dashed.. (probably others)
    Nav.childLevelBorderColour = "#000000";
    Nav.childLevelBorderWidth = 0;
    /*border options for child levels only (limited browser support)*/
    Nav.childShadowBodyColour = "#eeeeee";
    Nav.childShadowLineColour = "#eeeeee";
    Nav.childShadowDeltaX = -1;
    Nav.childShadowDeltaY = 1;
    Nav.nextButtonCode = "<img src=\"/EN/Images/im_next_level_tcm19-402.gif\" height=\"14\" width=\"14\" border=\"0\" align=\"right\">";
    Nav.leftSpacerImage = "<img src=\"/EN/Images/1x1_tcm19-907.gif\" width=\"6\" height=\"2\" align=\"left\"/>";
    Nav.cellMouseOverColour = "#98002e";
    Nav.cellMouseOutColour = Nav.childLevelBackgroundColour; // could make a colour "stick"..


    Nav.addTopLevelNavItem("tcm:19-37-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />About TNT", "/EN/about_tnt", 95 );Nav.addNavItem("tcm:19-37-4","TNT Newsfast","/EN/about_tnt/TNT_Newsfast" );Nav.addNavItem("tcm:19-37-4","TNT Network Logistics","/EN/about_tnt/TNT_Network_Logistics" );Nav.addNavItem("tcm:19-37-4","TNT Group","/EN/about_tnt/tpg_group" );Nav.addNavItem("tcm:19-37-4","Mission & Strategy","/EN/about_tnt/mission_and_strategy" );Nav.addNavItem("tcm:19-37-4","History","/EN/about_tnt/history" );Nav.addNavItem("tcm:19-37-4","Management","/EN/about_tnt/management" );Nav.addNavItem("tcm:19-37-4","Global FootPrint","/EN/about_tnt/global_footprint" );Nav.addNavItem("tcm:19-37-4","Locations","/EN/about_tnt/locations" );Nav.getNonTopLevelNavItem("Locations").addChild("Head Office", "/EN/about_tnt/locations/100Head_Office");Nav.addNavItem("tcm:19-37-4","Social Responsibility","/EN/about_tnt/social_responsibility" );Nav.getNonTopLevelNavItem("Social Responsibility").addChild("UN World Food Program", "/EN/about_tnt/social_responsibility/un_world_food_program");Nav.getNonTopLevelNavItem("Social Responsibility").addChild("Environment", "/EN/about_tnt/social_responsibility/environment");Nav.addTopLevelNavItem("tcm:19-38-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />Services & Technology", "/EN/services_technology", 165 );Nav.addNavItem("tcm:19-38-4","Supply Chain Services","/EN/services_technology/supply_chain_services" );Nav.addNavItem("tcm:19-38-4","Distribution Management","/EN/services_technology/distribution_management" );Nav.addNavItem("tcm:19-38-4","Subscription Mailing","/EN/services_technology/subscription_mailing" );Nav.addNavItem("tcm:19-38-4","Export","/EN/services_technology/Export" );Nav.addNavItem("tcm:19-38-4","Warehousing","/EN/services_technology/warehousing" );Nav.addNavItem("tcm:19-38-4","Systems Development","/EN/services_technology/systems_development" );Nav.addTopLevelNavItem("tcm:19-39-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />Products", "/EN/sectors", 78 );Nav.addNavItem("tcm:19-39-4","Dedicated","/EN/sectors/automotive" );Nav.addNavItem("tcm:19-39-4","Time Sensitive (Day 1)","/EN/sectors/tyres" );Nav.addNavItem("tcm:19-39-4","Time Sensitive (Day 2)","/EN/sectors/hitech_electronics" );Nav.addNavItem("tcm:19-39-4","Non Time Sensitive","/EN/sectors/consumer_goods" );Nav.addNavItem("tcm:19-39-4","Collections","/EN/sectors/collections" );Nav.addNavItem("tcm:19-39-4","Delivered In","/EN/sectors/delivered_in" );Nav.addNavItem("tcm:19-39-4","Printer to Finisher","/EN/sectors/printer2finisher" );Nav.addNavItem("tcm:19-39-4","Subs to Mailer","/EN/sectors/subs2mailer" );Nav.addTopLevelNavItem("tcm:19-40-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />People", "/EN/people", 73 );Nav.addNavItem("tcm:19-40-4","Careers","/EN/people/careers" );Nav.addNavItem("tcm:19-40-4","Investors In People","/EN/people/investors_in_people" );Nav.addNavItem("tcm:19-40-4","Training","/EN/people/training" );Nav.addTopLevelNavItem("tcm:19-41-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />Quality", "/EN/quality", 72 );Nav.addNavItem("tcm:19-41-4","Operational Excellence","/EN/quality/operational_excellence" );Nav.addNavItem("tcm:19-41-4","Awards","/EN/quality/awards" );Nav.addNavItem("tcm:19-41-4","Health & safety","/EN/quality/health_and_safety" );Nav.addTopLevelNavItem("tcm:19-42-4","<img src='/EN/Images/im_arrow_tcm19-357.gif' width='18' height='16'  border='0' />Press Office", "/EN/press_office", 102 );Nav.addNavItem("tcm:19-42-4","Press Release Archive","/EN/press_office/press_release_archive" );Nav.getNonTopLevelNavItem("Press Release Archive").addChild("2005", "/EN/press_office/press_release_archive/2005");Nav.getNonTopLevelNavItem("Press Release Archive").addChild("2004", "/EN/press_office/press_release_archive/2004");Nav.addNavItem("tcm:19-42-4","dialog","/EN/press_office/dialog" );Nav.addNavItem("tcm:19-42-4","Press Pack","/EN/press_office/press_pack" );
}

function drawNavItem(title, url, divClass) {
	document.write('<div class="leftnav '+divClass+'"><a href="'+url+'">'+title+'</a></div>');
}

function drawLeftNav(isNotGenerated) {
	var divClass = (isNotGenerated) ? "" : "generated";
	drawNavItem("send package" , ".html", divClass);
	drawNavItem("track package" , ".html", divClass);
	drawNavItem("check transit times" , ".html", divClass);
	drawNavItem("check price" , ".html", divClass);
	drawNavItem("my TNT" , ".html", divClass);
	drawNavItem("mobile solutions" , ".html", divClass);
	drawNavItem("collection" , ".html", divClass);
}