﻿//this file contains all the web page references for the accessmeds section.
//ensure any web page to be included in the CR Report PDF Builder (in the accessmeds 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 accessmedseate a new chapter, a new checkbox needs to be accessmedseated 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 initaccessmeds() function as outlined at the end of this file.

var accessmedsChapter0 =
[
'http://10.5.22.33:31102/responsibility/access/index.htm',
];

var accessmedsChapter1 =
[
'http://10.5.22.33:31102/responsibility/access/our-approach.htm',
'http://10.5.22.33:31102/responsibility/access/improving-access-developing-countries.htm',
'http://10.5.22.33:31102/responsibility/access/our-approach-to-intellectual-property.htm',
];

var accessmedsChapter2 =
[
'http://10.5.22.33:31102/responsibility/access/new-approach-to-HIV.htm',
'http://10.5.22.33:31102/responsibility/access/more-about-viiv-healthcare.htm',
'http://10.5.22.33:31102/responsibility/access/hiv-aids-research.htm',
'http://10.5.22.33:31102/responsibility/access/pricing-of-hiv-aids-medicines.htm',
'http://10.5.22.33:31102/responsibility/access/voluntary-licensing.htm',
];

var accessmedsChapter3 =
[
'http://10.5.22.33:31102/responsibility/access/rnd-for-developing-world.htm',
'http://10.5.22.33:31102/responsibility/access/rnd-neglected-tropical-diseases.htm',
'http://10.5.22.33:31102/responsibility/access/products-and-formulations.htm',
'http://10.5.22.33:31102/responsibility/access/proprietary-knowledge-pool.htm',
'http://10.5.22.33:31102/responsibility/access/medicines-for-developing-world.htm',
'http://10.5.22.33:31102/responsibility/access/vaccines-for-developing-world.htm',
];

var accessmedsChapter4 =
[
'http://10.5.22.33:31102/responsibility/access/flexible-pricing.htm',
'http://10.5.22.33:31102/responsibility/access/least-developed-countries.htm',
'http://10.5.22.33:31102/responsibility/access/least-developed-countries-performance.htm',
'http://10.5.22.33:31102/responsibility/access/middle-income-countries.htm',
'http://10.5.22.33:31102/responsibility/access/middle-income-countries-performance.htm',
'http://10.5.22.33:31102/responsibility/access/developed-countries.htm',
'http://10.5.22.33:31102/responsibility/access/developed-countries-performance.htm',
];

var accessmedsChapter5 =
[
'http://10.5.22.33:31102/responsibility/access/partnerships-n-acquisitions.htm',
'http://10.5.22.33:31102/responsibility/access/technology-transfers-n-joint-ventures.htm',
'http://10.5.22.33:31102/responsibility/access/portfolio-expansion.htm',
'http://10.5.22.33:31102/responsibility/access/portfolio-expansion-performance.htm',
];

var accessmedsChapter6 =
[
'http://10.5.22.33:31102/responsibility/access/advocacy-government-relations.htm',
];

var accessmedsChapter7 =
[
'http://10.5.22.33:31102/responsibility/access/access-to-medicines-case-studies.htm',
];

var accessmedsChapter8 =
[
'http://10.5.22.33:31102/responsibility/access/access-to-medicines-Q&As.htm',
];
//function initaccessmeds:  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('accessmedsChapter1').value = accessmedsChapter1.join();
//                          - sets the checkbox value with ID 'accessmedsChapter1' to the contents of the above 'accessmedsChapter1' array.

function initAccessMeds() {
    document.getElementById('accessmedsChapter0').value = accessmedsChapter0.join();
	document.getElementById('accessmedsChapter1').value = accessmedsChapter1.join();
    document.getElementById('accessmedsChapter2').value = accessmedsChapter2.join();
    document.getElementById('accessmedsChapter3').value = accessmedsChapter3.join();
    document.getElementById('accessmedsChapter4').value = accessmedsChapter4.join();
    document.getElementById('accessmedsChapter5').value = accessmedsChapter5.join();
    document.getElementById('accessmedsChapter6').value = accessmedsChapter6.join();
    document.getElementById('accessmedsChapter7').value = accessmedsChapter7.join();
    document.getElementById('accessmedsChapter8').value = accessmedsChapter8.join();
}
