﻿//this file contains all the web page references for the sustainability section.
//ensure any web page to be included in the CR Report PDF Builder (in the sustainability section) appears in this list

//The arrays are ordered by chapter. To create a new chapter, copy a whole array and paste it in order of chapter
//If you sustainabilityeate a new chapter, a new checkbox needs to be sustainabilityeated in the CR Report PDF builder form.
//You will also need to hook up the checkbox value to the chapter array by adding a line into the initsustainability() function as outlined at the end of this file.

var sustainabilityChapter0 =
[
'http://10.5.22.33:31102/responsibility/environmental/index.htm',
];

var sustainabilityChapter1 =
[
'http://10.5.22.33:31102/responsibility/environmental/sustainability-at-GSK.htm',
];

var sustainabilityChapter2 =
[
'http://10.5.22.33:31102/responsibility/environmental/managing-EHS-and-sustainability.htm',
'http://10.5.22.33:31102/responsibility/environmental/plans-and-targets.htm',
'http://10.5.22.33:31102/responsibility/environmental/plans-and-targets-performance.htm',
'http://10.5.22.33:31102/responsibility/environmental/integration-business-principles.htm',
'http://10.5.22.33:31102/responsibility/environmental/awareness-and-recognition.htm',
'http://10.5.22.33:31102/responsibility/environmental/audits-and-compliance.htm',
'http://10.5.22.33:31102/responsibility/environmental/audits-and-compliance-performance.htm',
];

var sustainabilityChapter3 =
[
'http://10.5.22.33:31102/responsibility/environmental/climate-change-and-energy.htm',
'http://10.5.22.33:31102/responsibility/environmental/climate-change-energy-propellants.htm',
'http://10.5.22.33:31102/responsibility/environmental/facilities-and-processes.htm',
'http://10.5.22.33:31102/responsibility/environmental/climate-change-energy-transport.htm',
'http://10.5.22.33:31102/responsibility/environmental/climate-change-energy-performance-plans.htm',
];

var sustainabilityChapter4 =
[
'http://10.5.22.33:31102/responsibility/environmental/materials.htm',
'http://10.5.22.33:31102/responsibility/environmental/mass-efficiency.htm',
'http://10.5.22.33:31102/responsibility/environmental/mass-efficiency-performance.htm',
'http://10.5.22.33:31102/responsibility/environmental/input-materials.htm',
'http://10.5.22.33:31102/responsibility/environmental/REACH.htm',
'http://10.5.22.33:31102/responsibility/environmental/pharmaceuticals-in-environment.htm',
'http://10.5.22.33:31102/responsibility/environmental/packaging.htm',
];

var sustainabilityChapter5 =
[
'http://10.5.22.33:31102/responsibility/environmental/environmental-performance.htm',
'http://10.5.22.33:31102/responsibility/environmental/water.htm',
'http://10.5.22.33:31102/responsibility/environmental/water-performance-plans.htm',
'http://10.5.22.33:31102/responsibility/environmental/wastewater.htm',
'http://10.5.22.33:31102/responsibility/environmental/wastewater-performance.htm',
'http://10.5.22.33:31102/responsibility/environmental/waste.htm',
'http://10.5.22.33:31102/responsibility/environmental/waste-performance-plans.htm',
'http://10.5.22.33:31102/responsibility/environmental/emissions-to-air.htm',
'http://10.5.22.33:31102/responsibility/environmental/emissions-to-air-performance-plans.htm',
'http://10.5.22.33:31102/responsibility/environmental/land.htm',
'http://10.5.22.33:31102/responsibility/environmental/supplier-performance.htm',
];

var sustainabilityChapter6 =
[
'http://10.5.22.33:31102/responsibility/environmental/transparency.htm',
'http://10.5.22.33:31102/responsibility/environmental/summary-data.htm',
'http://10.5.22.33:31102/responsibility/environmental/stakeholder-engagement.htm',
'http://10.5.22.33:31102/responsibility/environmental/assurance.htm',
'http://10.5.22.33:31102/responsibility/environmental/GSK-response-assurance.htm',
];

var sustainabilityChapter7 =
[
'http://10.5.22.33:31102/responsibility/environmental/environmental-case-studies.htm',
];

var sustainabilityChapter8 =
[
'http://10.5.22.33:31102/responsibility/environmental/environmental-sustainability-QAs.htm',
];

//function initsustainability:  loads the contents of the above arrays into the corresponding checkboxes in the CR Report PDF builder form.
//INSTUCTIONS:              Each chapter above needs a corresponding line in this function to associate the PDF files with the correct checkbox.
//e.g:                      document.getElementById('sustainabilityChapter1').value = sustainabilityChapter1.join();
//                          - sets the checkbox value with ID 'sustainabilityChapter1' to the contents of the above 'sustainabilityChapter1' array.

function initSustainability() {
    document.getElementById('sustainabilityChapter0').value = sustainabilityChapter0.join();
	document.getElementById('sustainabilityChapter1').value = sustainabilityChapter1.join();
    document.getElementById('sustainabilityChapter2').value = sustainabilityChapter2.join();
    document.getElementById('sustainabilityChapter3').value = sustainabilityChapter3.join();
    document.getElementById('sustainabilityChapter4').value = sustainabilityChapter4.join();
    document.getElementById('sustainabilityChapter5').value = sustainabilityChapter5.join();
    document.getElementById('sustainabilityChapter6').value = sustainabilityChapter6.join();
	document.getElementById('sustainabilityChapter7').value = sustainabilityChapter7.join();
	document.getElementById('sustainabilityChapter8').value = sustainabilityChapter8.join();
}
