CheckImages();function CheckImages() { GetImageName('overviewRoot1', 'None');GetImageName('about_usRoot2', 'None');GetImageName('customersRoot3', 'None');GetImageName('p_and_sRoot4', 'None');GetImageName('careersRoot5', 'None');}function GetImageName( strMenuName, strEvent ) { var strRootDir, strImageName;if (strEvent == 'MouseOver'){strImageName = document.images[strMenuName].src;if ( strImageName.indexOf('_out.gif') >= 0 ){strImageName = strImageName.substring( 0, strImageName.indexOf('_out.gif'));document.images[strMenuName].src = strImageName + '_over.gif';}return;}strRootDir = window.location.pathname;strRootDir = strRootDir.substring( 0, strRootDir.indexOf('/', 1)+1 );if ((strRootDir == '/be/') || (strRootDir == '/de/') || (strRootDir == '/fr/') || (strRootDir == '/nl/') || (strRootDir == '/uk/') || (strRootDir == '/us/')){ strRootDir = window.location.pathname;strRootDir = strRootDir.substring( 0, strRootDir.indexOf('/', 4)+1 );}if (strMenuName == 'overviewRoot1') {if (strRootDir == '/') { document.overviewRoot1.src = '/menuimages/overview_in.gif';}else{document.overviewRoot1.src = '/menuimages/overview_out.gif';}}if (strMenuName == 'about_usRoot2') {switch( strRootDir ) {case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;case '/about_us/':strImageName = '/menuimages/about_us_in.gif';break;default:strImageName = '/menuimages/about_us_out.gif';break;}document.about_usRoot2.src = strImageName;}if (strMenuName == 'customersRoot3') {if (strRootDir == '/customers/') { document.customersRoot3.src = '/menuimages/customers_in.gif';}else{document.customersRoot3.src = '/menuimages/customers_out.gif';}}if (strMenuName == 'p_and_sRoot4') {switch( strRootDir ) {case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/contract_vehicles/':strImageName = '/menuimages/p_and_s_in.gif';break;case '/what_we_do/':strImageName = '/menuimages/p_and_s_in.gif';break;default:strImageName = '/menuimages/p_and_s_out.gif';break;}document.p_and_sRoot4.src = strImageName;}if (strMenuName == 'careersRoot5') {if (strRootDir == '/careers/') { document.careersRoot5.src = '/menuimages/careers_in.gif';}else{document.careersRoot5.src = '/menuimages/careers_out.gif';}}}