﻿//this file contains all the web page references for the policy section.
//ensure any web page to be included in the CR Report PDF Builder (in the policy 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 policyeate a new chapter, a new checkbox needs to be policyeated 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 initpolicy() function as outlined at the end of this file.

var policyChapter0 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/index.htm',
];

var policyChapter1 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/our-approach-to-external-affairs.htm',
];

var policyChapter2 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/public-policy-activity-in-2009.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-healthcare-reform.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-healthcare-and-disease-prevention.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-research-practices.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-patient-safety.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-intellectual-property.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-on-pricing-and-competitiveness.htm',
];

var policyChapter3 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/political-contributions-and-lobbying-expenditures.htm',
];

var policyChapter4 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/patient-advocacy.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/transparency.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/understanding-patients.htm',
'http://10.5.22.33:31102/responsibility/policy-advocacy/advocacy-in-2009.htm',
];

var policyChapter5 =
[
'http://10.5.22.33:31102/responsibility/policy-advocacy/public-policy-patient-advocacy-QA.htm',
];


//function initpolicy:  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('policyChapter1').value = policyChapter1.join();
//                          - sets the checkbox value with ID 'policyChapter1' to the contents of the above 'policyChapter1' array.

function initPolicy() {
    document.getElementById('policyChapter0').value = policyChapter0.join();
	document.getElementById('policyChapter1').value = policyChapter1.join();
    document.getElementById('policyChapter2').value = policyChapter2.join();
    document.getElementById('policyChapter3').value = policyChapter3.join();
    document.getElementById('policyChapter4').value = policyChapter4.join();
    document.getElementById('policyChapter5').value = policyChapter5.join();
}
