// Nokia Personal CR Reporting 2007
// 2007-01-15 Vesa Kivist�
// 2007-02-26 Mikko Kallio
//
// This file contains the settings necessary to implement personal reporting functionality
// 
// To distinguish from other JS variables and functions, we use prefix cr2007_ everywhere

// Buttons in popupwindow
cr2007_ShowPDFButton = true;
cr2007_ShowPrintButton = true;
cr2007_ShowEmailButton = true;

// Image URL prefix
cr2007_ImageURLPrefix = 'http://www.nokia.com';

// Email settings
cr2007_RemoteServerEmailUrlPrefix = 'http://80.88.177.162/cr2007/?command=emailCrReport';
cr2007_EmailFormLocation = 'http://80.88.177.162/cr2007/emailCrReport.html';

// Feedback image url
cr2007_FeedbackImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/feedback.png';

// Questionaire remote server prefix
cr2007_QRemoteServerUrlPrefix = 'http://80.88.177.162/cr2007/?command=registerQuestionaire';

// Questionaire cookie lifetime
cr2007_QcookieLifetime = 30;

// Questionaire cookie name stored in clients computer
cr2007_QcookieName = 'cr2007_questionaire';

// Questionaire text
cr2007_QuestionaireVoteAdded = '<span style="color: red;">Your vote has been registered.</span><br/>Thanks for your input!<br/><br/>';
cr2007_QuestionaireVotesLow = '';

// Questionaire buttons
cr2007_QuestionaireBtnYes = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/yes_bt.gif';
cr2007_QuestionaireBtnYesTags = 'style="cursor: pointer; float: none;"';
cr2007_QuestionaireBtnNo = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/no_bt.gif';
cr2007_QuestionaireBtnNoTags = 'style="cursor: pointer; float: none;"';

// Percent texts
cr2007_QuestionairePercentYesTags = 'style="font-size: medium;"';
cr2007_QuestionairePercentYesTextTags = 'style="font-size: x-small;"';
cr2007_QuestionairePercentNoTags = 'style="font-size: medium;"';
cr2007_QuestionairePercentNoTextTags = 'style="font-size: x-small;"';

// Questionaire table settings
cr2007_Qtabletags = 'cellpadding=0 cellspacing=1 border=0 width=196 style="margin: 3px; font-size: x-small;"';
cr2007_Qtabletr1tags = '';
cr2007_Qtabletd1tags = 'style="padding: 3px;" bgcolor="#E5E5DD"';
cr2007_Qtabletr2tags = '';
cr2007_Qtabletd2tags = 'style="padding: 3px;" bgcolor="#CECDBB"';

// CORE URL
// Last character must be forward slash
cr2007_coreUrl = 'http://80.88.177.162/cr2007/';

// Cookie name stored in clients computer
cr2007_cookieName = 'cr2007_ContentIds';

// Cookie lifetime in days
cr2007_cookieLifetime = 365;

// Add and Remove -buttons visible
cr2007_AddAndRemoveButtonsAreVisible = true;

// Error message, if cookie cannot be loaded
cr2007_NoCookieAlertMessage = 'You must have cookies enabled.';

// Styles for buttons
cr2007_AddAndRemoveButtonStyle = 'cursor: pointer; float: none;';
cr2007_ViewButtonStyle = 'cursor: pointer; float: none;';

// Button image URLs
cr2007_SaveAsPDFImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/save_as_pdf_bt.gif';
cr2007_PrintImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/print_bt.gif';
cr2007_EmailImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/email_bt.gif';

cr2007_AddButtonImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/add_to_per_report_bt.gif';
cr2007_RemoveButtonImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/remove_from_per_report_bt.gif';

cr2007_ViewButtonImageUrl = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/view_my_per_report_bt.gif';
cr2007_ViewButtonImageUrlDisabled = '/NOKIA_COM_1/Corporate_Responsibility/CR_Report_2006/Common_Items/pics/view_my_per_report_bt_grey.gif';
cr2007_ViewButtonAlertMessage = 'You need to select at least one content item to your personal report!';

// Button ID prefix
cr2007_AddAndRemoveButtonsPrefix = 'cr2007_arbtn_';

// Remote server prefix
cr2007_RemoteServerUrlPrefix = 'http://80.88.177.162/cr2007/?command=createHtmlReport&cr2007_contentIds=';
cr2007_RemoteServerPDFUrlPrefix = 'http://80.88.177.162/cr2007/?command=createPDFReport&cr2007_contentIds=';

// Popup window settings
cr2007_PopupSettings = 'resizable=1,location=0,status=1,scrollbars=1,width=700,height=700';

// Table settings
// Tags inside <table>
cr2007_AddRemoveSelectionTableStyle = 'border=0, cellpadding=5, cellspacing=5, width=522';

// Tags inside <tr>
cr2007_AddRemoveSelectionTableRowStyle = '';

// Tags inside <td>
cr2007_AddRemoveSelectionTableCellStyle = 'valign="top"';

// Data to insert before header text
cr2007_AddRemoveSelectionTableHeaderStart = '<b>';

// Data to insert after header text
cr2007_AddRemoveSelectionTableHeaderEnd = '</b><br>';

// Extra tags used in inputboxes, for ex. class="something"
cr2007_AddRemoveSelectionTableInputTags = '';

// Extra tags used in inputbox labels.
cr2007_AddRemoveSelectionTableInputLabelTags = '';

// CATEGORY AND PAGE MAXIMUM IDs
//
// First Id is 1
//
// The MaxId values must be checked/updated when this file is modified
cr2007_categoryMaxId = 13;
cr2007_contentMaxId  = 88;
//
// Do not modify following two lines
cr2007_category = new Array(cr2007_categoryMaxId + 1);
cr2007_content  = new Array(cr2007_contentMaxId + 1);


// MAPPINGS FOR CATEGORIES syntax
//  cr2007_category[CategoryId] = "IsVisible Y/N|CategoryName|OptionalBaseURL";
//
// MAPPINGS FOR CONTENT IDS, ELEMENTS, AND URLS syntax
//  cr2007_content[ContentId] = "IsVisible Y/N|CategoryId|IsVisibleContentName|BaseURL1|OptionalBaseURL2|OptionalBaseURL3|...";



// CATEGORY: CR Report 2007
cr2007_category[1] = "Y|CR Report 2007|/A4942311";

// CATEGORY: CEO message
cr2007_category[2] = "Y|CEO Message|/A4942317";
//
cr2007_content[1] = "Y|2|CEO Message|/A4942317";

// CATEGORY: Our impacts and values
cr2007_category[3] = "Y|Our impacts and values|/A4942323";
//
cr2007_content[2] = "Y|3|Our impacts and values|/A4942323";
cr2007_content[3] = "Y|3|Our operations|/A4942324";
cr2007_content[4] = "Y|3|Economic impacts|/A4942325";
cr2007_content[5] = "Y|3|Corporate governance|/A4944511";
cr2007_content[6] = "Y|3|Managing risk|/A4942550";

// CATEGORY: Our approach to CR
cr2007_category[4] = "Y|Our approach to CR|/A4942321";
//
cr2007_content[7] = "Y|4|Our approach to CR|/A4942321";
cr2007_content[8] = "Y|4|CR strategy|/A4942551";
cr2007_content[9] = "Y|4|Managing CR|/A4942552";
cr2007_content[10] = "Y|4|Key issues|/A4942585";
cr2007_content[11] = "Y|4|Ethics|/A4942588";

// CATEGORY: Society
cr2007_category[5] = "Y|Stakeholder Engagement|/A4942590";
//
cr2007_content[12] = "Y|5|Stakeholder Engagement|/A4942590";
cr2007_content[13] = "Y|5|Investors|/A4942594";
cr2007_content[14] = "Y|5|Customers|/A4942599";
cr2007_content[15] = "Y|5|Non-govermental organizations|/A4942606";
cr2007_content[16] = "Y|5|Governments|/A4942607";
cr2007_content[17] = "Y|5|Engaging on environment and accessibility public policy|/A41001227";
cr2007_content[18] = "Y|5|Industry organizations|/A4942615";
cr2007_content[19] = "Y|5|Universities|/A41001226";

// CATEGORY: Customers
cr2007_category[6] = "Y|Customers|/A4942617";
//
cr2007_content[20] = "Y|6|Customers|/A4942617";
cr2007_content[21] = "Y|6|Quality and product safety|/A4942621";
cr2007_content[22] = "Y|6|Customer satisfaction|/A4942624";
cr2007_content[23] = "Y|6|Accessibility|/A4942625";
cr2007_content[24] = "Y|6|Responsible product and service use|/A4942626";
cr2007_content[25] = "Y|6|Privacy and security|/A4942627";
cr2007_content[26] = "Y|6|Product development|/A4942628";
cr2007_content[27] = "Y|6|Handsets and health|/A4942629";

// CATEGORY: Employees
cr2007_category[7] = "Y|Employees|/A4942630";
//
cr2007_content[28] = "Y|7|Employees|/A4942630";
cr2007_content[29] = "Y|7|Embedding our values|/A4942631";
cr2007_content[30] = "Y|7|Labor practices|/A4942632";
cr2007_content[31] = "Y|7|Inclusion|/A4942634";
cr2007_content[32] = "Y|7|Training and development|/A4942635";
cr2007_content[33] = "Y|7|Rewarding performance|/A4942636";
cr2007_content[34] = "Y|7|Consultation and communication|/A4942637";
cr2007_content[35] = "Y|7|Ways of working summit|/A4942639";
cr2007_content[36] = "Y|7|Reorganization|/A4942641";
cr2007_content[37] = "Y|7|Health, safety, and wellbeing|/A4942642";
cr2007_content[38] = "Y|7|Medical evaluations|/A4942643";

// CATEGORY: Supply Chain
cr2007_category[8] = "Y|Supply Chain|/A4942649";
//
cr2007_content[39] = "Y|8|Supply Chain|/A4942649";
cr2007_content[40] = "Y|8|Progress against targets|/A4942651";
cr2007_content[41] = "Y|8|Supplier requirements|/A4942652";
cr2007_content[42] = "Y|8|Supplier assessments|/A4942679";
cr2007_content[43] = "Y|8|Learning and capability building|/A4946160";
cr2007_content[84] = "Y|8|A supplier's view|/A41009216"; 
cr2007_content[44] = "Y|8|Supplier diversity|/A4946161";

// CATEGORY: Community involvement
cr2007_category[9] = "Y|Society|/A4942649";
//
cr2007_content[45] = "Y|9|Society|/A4942649";
cr2007_content[46] = "Y|9|Mobile technology for development|/A4946163";
cr2007_content[47] = "Y|9|Total cost of ownership|/A41003042";
cr2007_content[48] = "Y|9|Village phone|/A4946164";
cr2007_content[49] = "Y|9|BridgeIT|/A41003043";
cr2007_content[50] = "Y|9|Banking to the unbanked|/A41003044";
cr2007_content[51] = "Y|9|Mobile phone data collection|/A41003047";
cr2007_content[52] = "Y|9|Youth development|/A4946167";
cr2007_content[53] = "Y|9|Youth employability|/A4946175";
cr2007_content[54] = "Y|9|Music training for street children, Indonesia|/A41003048";
cr2007_content[55] = "Y|9|Civic engagement program, Hungary|/A41003049";
cr2007_content[56] = "Y|9|Children's radio, Africa|/A41003050";
cr2007_content[57] = "Y|9|Mobile technology training for disadvantaged youth, US|/A41003058";
cr2007_content[58] = "Y|9|Disaster relief|/A4946176";
cr2007_content[59] = "Y|9|Employee volunteering|/A4946178";


// CATEGORY: Environment
cr2007_category[10] = "Y|Environment|/A4995052";
//
cr2007_content[60] = "Y|10|Environment|/A4995052";
cr2007_content[61] = "Y|10|Products and services|/A4995054";
cr2007_content[62] = "Y|10|Environmental Services|/A4995057";
cr2007_content[63] = "Y|10|Energy efficiency|/A4995058";
cr2007_content[64] = "Y|10|Materials|/A4995059";
cr2007_content[68] = "Y|10|Packaging|/A4995064";
cr2007_content[69] = "Y|10|Take-back and recycling|/A4995066";
cr2007_content[70] = "Y|10|Operations|/A4995055";
cr2007_content[71] = "Y|10|Energy efficiency|/A4995067";
cr2007_content[74] = "Y|10|Other environmental impacts|/A4995070";
cr2007_content[75] = "Y|10|Performance|/A4995071";
cr2007_content[77] = "Y|10|Case study: Komarom, Hungary|/A41003064";
cr2007_content[78] = "Y|10|Environmental management|/A4995056";
cr2007_content[79] = "Y|10|Training and Development|/A4995074";
cr2007_content[80] = "Y|10|Case study: Chennai, India|/A4995075";
cr2007_content[85] = "Y|10|Goals|/A4995084";

// CATEGORY: Performance
cr2007_category[11] = "Y|Performance|/A41027096";
//
cr2007_content[81] = "Y|11|Performance|/A41027096";

// CATEGORY: Indexes
cr2007_category[12] = "Y|Indexes|/A4995082";
//
cr2007_content[82] = "Y|12|Indexes|/A4995082";
cr2007_content[87] = "Y|12|GRI|/A41027108";
cr2007_content[88] = "Y|12|Global Compact|/A41027109";

// CATEGORY: About the report
cr2007_category[13] = "Y|About the report|/A41003066";
//
cr2007_content[83] = "Y|13|About the report|/A41003066";
