diff --git a/extractives/about_extractives_mn.html b/extractives/about_extractives_mn.html new file mode 100644 index 0000000..4c057e2 --- /dev/null +++ b/extractives/about_extractives_mn.html @@ -0,0 +1,131 @@ + + + + + + + + + + Mining in Mongolia - About + + + + + + + + + + + + +
+
+ +
+
+
+ +

About the Extractive Industries Map of Mongolia

+ +

The Extractive Industries Map of Mongolia is an online, publicly-accessible, interactive mapping application focused on the extractive industries of oil, gas and mining. With this tool, users can map an array of data about the sector, including the statistics about mining and petroleum licenses, company activities, socioeconomic indicators such as unemployment and infant mortality rates, government revenues, and civil society activities. The goal is to create a tool that advocates and policy-makers can use to understand issues in the mining and oil sectors and advocate for solutions. The platform was piloted in Ghana and has been scaled out to Mongolia based on new demands there. By allowing users to create their own maps of this information, the relationships between mining, socioeconomic factors and other related data can be better explored and understood than through the sole use of tables and text, and provides a central space through which a variety of information can be accesssed.

+ +
+ +

Click here to go to the map page.

+ +
+ +

Data Sources

+

Various data sources were used to create the Extractive Industries Map. These individual sources and the way the data were processed to create the mapped information is described below. Wherever possible, links to the original sources are provided. As additional updates and additions are made, they will be recorded here as well.

+

Data Categories:

+
+
  • Mineral Exploration and Production Licenses
  • + +
  • Extractive Industries Transparency Initiative Data
  • + +
  • Development Indicators
  • + +
  • Geographic Boundaries
  • + +
  • Disclaimer
  • + +

    + + + + + +

    Mineral Exploration and Production Licenses

    +
    +

    Information about license granted for mineral exploration and production in Mongolia were extracted from spatial data provided by the Mineral Resources Authority of Mongolia. Data were provided in spatial format for both produciton licenses and exploration licenses. These datasets were merged to create a dataset of all licenses. These three datasets were then intersected with soum boundaries and summary statistics were generated from the resulting overlaps. The data accuracy is limited by the precision of the soum boundaries and the license boundaries, which should be taken into account when assessing the results. The data was current as of May 2012.

    +
    +

    Percent of soum area covered by licenses

    +

    Area was calculated on each of the three intersected license datasets after projecting to a modified Albers Equal Area Conic projection and this calculated area was then compared to the total area of the soum. The result is reported as a percent of soum area, and users can see the total area in hectares in the underlying data.

    +
    +

    Percent of soum area covered by licenses

    +

    A spatial join was used with each license dataset to count the number of licenses overlapping each soum. The result is reported as the number of licenses in a soum.

    +
    + + +

    Extractive Industries Transparency Initiative Data

    +
    +

    The Extractive Industries Transparency Initiative (EITI) reconciles payments and receipts between governments and companies. The 2010 report by EITI Mongolia was the source of the following information for 150 companies: total payments to the central budget by company, total payments to local budgets by company, and resources being extracted by each company. Additional reports are available since 2006, and additional reports will be coming out soon.

    +
    +

    In addition, where available investment agreements and other supporting documents for companies were collected from company websites and other sources.

    +
    +

    Data on companies was extracted from the reports. The soums the companies worked in were identified, and joined to the company data. To calculate total payments for all companies in each soum, it was necessary to restrict the companies for consideration. First, all exploration companies were excluded, as their operations covered large areas, such as whole aimags. Next, any companies working in more than one soum had to be excluded, as it was impossible to tell how much of the total payments was generated in each separate soum. This means the soum-level statistics of EITI data represent only those companies operating in one soum. However, when displaying the soums of operations for companies, all soums in which a company worked in production are shown.

    + +
    + +

    Development Indicators

    +

    Socioeconomic indicators were gathered from National Statistics Office of Mongolia reports. Where possible, the latest data was gathered from quarterly reports, and otherwise come from the most recent yearly release of data.

    +
    +

    Population

    +
    +

    The number of people in each aimag in 2010 is reported for each aimag. The data comes from yearly statistics released for 2010 by the National Statistical Office of Mongolia.

    + +

    Unemployment

    +
    +

    Unemployment is represented as the number of people in each aimag not employed in the first half of 2012. Data was gathered from the August Bulletin available from the website of the National Statistical Office of Mongolia.

    +
    + +

    Number of Households

    +
    +

    The number of households in each aimag in 2010 were gathered from survey data. This data is available to download from the National Statistical Office of Mongolia.

    +
    + +

    Infant Mortality

    +
    +

    Data were reported as the number of infant deaths per 1,000 live births in each aimag, and represents statistics from the second quarter of 2012. Data was gathered from the August Bulletin available from the website of the National Statistical Office of Mongolia.

    +
    + +

    Number of Physicians

    +
    +

    The number of physicians present in each aimag was determined by survey for year 2010. This data is available to download from the National Statistical Office of Mongolia.

    +
    + + + +

    Geographic Boundaries

    +
    +

    The maps displayed on the World Bank web site are for reference only. The boundaries, colors, denominations and any other information shown on these maps do not imply, on the part of the World Bank Group, any judgment on the legal status of any territory, or any endorsement or acceptance of such boundaries.

    +
    + +

    Soum and aimag boundaries for Mongolia

    +
    +

    Soum and aimag boundaries were obtained from the Environmental Information Center, an agency within the Mongolia Ministry of Nature, Environment and Green Development. There are some deviations from other boundaries, but to the best of our knowledge, these are the most accurate official boundaries publicly available as of now. please see disclaimer below.

    +
    + + +

    Disclaimer

    +
    +

    In addition to the disclaimer on boundary representations presented above, this map is constructed of best available data and it was not possible to verify the precise locations of boundaries of licenses and other datasets. This has implications both for the spatial analysis and the illustration of boundaries and locations. As a result, this platform is intended for general informational and reference uses only, and does not represent the official status of licenses or statistics for the country of Mongolia.

    +
    + + +
    + + + \ No newline at end of file diff --git a/extractives/eap/mongolia/css/img/_notes/dwsync.xml b/extractives/eap/mongolia/css/img/_notes/dwsync.xml new file mode 100755 index 0000000..299d12f --- /dev/null +++ b/extractives/eap/mongolia/css/img/_notes/dwsync.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extractives/eap/mongolia/css/img/bg_hdr2.png b/extractives/eap/mongolia/css/img/bg_hdr2.png new file mode 100755 index 0000000..42613b9 Binary files /dev/null and b/extractives/eap/mongolia/css/img/bg_hdr2.png differ diff --git a/extractives/eap/mongolia/css/img/bg_menu-country-options.jpg b/extractives/eap/mongolia/css/img/bg_menu-country-options.jpg new file mode 100755 index 0000000..a41f8ee Binary files /dev/null and b/extractives/eap/mongolia/css/img/bg_menu-country-options.jpg differ diff --git a/extractives/eap/mongolia/css/img/bg_menu-regions.jpg b/extractives/eap/mongolia/css/img/bg_menu-regions.jpg new file mode 100755 index 0000000..03217ca Binary files /dev/null and b/extractives/eap/mongolia/css/img/bg_menu-regions.jpg differ diff --git a/extractives/eap/mongolia/css/img/bg_th.png b/extractives/eap/mongolia/css/img/bg_th.png new file mode 100755 index 0000000..5751626 Binary files /dev/null and b/extractives/eap/mongolia/css/img/bg_th.png differ diff --git a/extractives/eap/mongolia/css/img/btn-worldmenu.gif b/extractives/eap/mongolia/css/img/btn-worldmenu.gif new file mode 100755 index 0000000..7f8b123 Binary files /dev/null and b/extractives/eap/mongolia/css/img/btn-worldmenu.gif differ diff --git a/extractives/eap/mongolia/css/img/extractives-icons.gif b/extractives/eap/mongolia/css/img/extractives-icons.gif new file mode 100644 index 0000000..f806949 Binary files /dev/null and b/extractives/eap/mongolia/css/img/extractives-icons.gif differ diff --git a/extractives/eap/mongolia/css/img/fb_like.png b/extractives/eap/mongolia/css/img/fb_like.png new file mode 100755 index 0000000..51619c4 Binary files /dev/null and b/extractives/eap/mongolia/css/img/fb_like.png differ diff --git a/extractives/eap/mongolia/css/img/map.console.png b/extractives/eap/mongolia/css/img/map.console.png new file mode 100755 index 0000000..a44c80e Binary files /dev/null and b/extractives/eap/mongolia/css/img/map.console.png differ diff --git a/extractives/eap/mongolia/css/img/map.nav.header.gif b/extractives/eap/mongolia/css/img/map.nav.header.gif new file mode 100755 index 0000000..730d1a6 Binary files /dev/null and b/extractives/eap/mongolia/css/img/map.nav.header.gif differ diff --git a/extractives/eap/mongolia/css/img/sector-icons.gif b/extractives/eap/mongolia/css/img/sector-icons.gif new file mode 100755 index 0000000..2594859 Binary files /dev/null and b/extractives/eap/mongolia/css/img/sector-icons.gif differ diff --git a/extractives/eap/mongolia/css/img/share_closed.png b/extractives/eap/mongolia/css/img/share_closed.png new file mode 100755 index 0000000..4a1179e Binary files /dev/null and b/extractives/eap/mongolia/css/img/share_closed.png differ diff --git a/extractives/eap/mongolia/css/img/share_open.png b/extractives/eap/mongolia/css/img/share_open.png new file mode 100755 index 0000000..76c7173 Binary files /dev/null and b/extractives/eap/mongolia/css/img/share_open.png differ diff --git a/extractives/eap/mongolia/css/img/sprite.png b/extractives/eap/mongolia/css/img/sprite.png new file mode 100755 index 0000000..09014d5 Binary files /dev/null and b/extractives/eap/mongolia/css/img/sprite.png differ diff --git a/extractives/eap/mongolia/css/img/sprite2.png b/extractives/eap/mongolia/css/img/sprite2.png new file mode 100755 index 0000000..98c21c9 Binary files /dev/null and b/extractives/eap/mongolia/css/img/sprite2.png differ diff --git a/extractives/eap/mongolia/css/img/th-proj-title.png b/extractives/eap/mongolia/css/img/th-proj-title.png new file mode 100755 index 0000000..812d416 Binary files /dev/null and b/extractives/eap/mongolia/css/img/th-proj-title.png differ diff --git a/extractives/eap/mongolia/css/mapping.css b/extractives/eap/mongolia/css/mapping.css new file mode 100644 index 0000000..7118f88 --- /dev/null +++ b/extractives/eap/mongolia/css/mapping.css @@ -0,0 +1,954 @@ +/******************** +reset +********************/ +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,form,table,caption,tbody,tfoot,thead,tr,th,td,tr.even,tr.odd,tr.drag,tbody,tbody th,thead th,.breadcrumb,.error,div.error,tr.error,.warning,div.warning,tr.warning,.ok,div.ok,tr.ok,.item-list .icon,.item-list .title,.item-list ul,.item-list ul li,ol.task-list li.active,.form-item,tr.odd .form-item,tr.even .form-item,tr.merge-down,tr.merge-up,.form-item .description,.form-item label,.form-item label.option,.form-checkboxes,.form-radios,.form-checkboxes .form-item,.form-radios .form-item,.marker,.form-required,.more-link,.more-help-link,.item-list .pager,.item-list .pager li,.pager-current,.tips,dl.multiselect dd.b,dl.multiselect dd.b .form-item,dl.multiselect dd.b select,dl.multiselect dd.a,dl.multiselect dd.a .form-item,dl.multiselect dt,dl.multiselect dd,dl.multiselect .form-item,ul.primary,ul.primary li,ul.primary li a,ul.primary li.active a,ul.primary li a:hover,ul.secondary,ul.secondary li,ul.secondary a,ul.secondary a.active,.resizable-textarea{margin:0px;padding:0px;border:0px;outline:0px;font-size:100%;vertical-align:baseline;background:transparent;line-height:inherit;}ol,ul,.item-list ul,.item-list ul li{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}:focus{outline:0px;}ins{text-decoration:none;}del{text-decoration:line-through;}table{border-collapse:collapse;border-spacing:0px;}input,select,textarea,body{font:13px/20px Arial,Helvetica,sans-serif;} +html{ + background: #d9dccf; + padding: 0 10px 10px; + min-width: 1230px; +} +html.ie7{ + width: expression( document.body.clientWidth < 1231 ? "1230px" : "auto" ); /* set min-width for IE */ +} +body{ + background: #fff; + color: #333; + padding: 0 10px 10px; +} +a, a:visited{ + color: #840202; + text-decoration: none; +} + +.ie7 tbody th{ + vertical-align: top; +} +a:hover { + color: #850000; + text-decoration: underline; + cursor: pointer; +} +.main{ + float: left; + width: 77%; +} +.rightCol{ + float: left; + min-width: 290px; + width: 22%; +} +.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;} +.clearfix, .container {display:block;} +.clear {clear:both;} +.txtRight{ + text-align: right; +} +.txtCenter{ + text-align: center; +} +.txtGeorgia{ + font-family: Georgia, "Times New Roman", Times, serif; +} +.txtRed, a.txtRed, a .txtRed{ + color: #900; +} +.bgRed{ + color: #fff; + background: #900; +} +.bigNumber { + font-family: Georgia, serif; + font-size: 16px; + color: #970001; + font-weight: bold; + margin-top: 16px; +} +.network-name { + background: url("img/sprite.png") no-repeat scroll 10px 20px transparent; + float: left; + height: 80px; + margin: 0 0 23px; + overflow: hidden; + text-indent: -999px; + width: 300px; +} +ul.links li, ul.links li a{ + float: left; +} +.network-language-links{ + clear: right; + float: right; + font-size: 11px; + padding: 5px 0; +} +.network-language-links a { + border-left: 1px solid #EEEEEE; + font-weight: bold; + padding: 0 8px; +} +.network-language-links .first a { + border: 0 none; +} +.network-language-links a.active { + background: none repeat scroll 0 0 #F6F8F4; + border: 0 none; + color: #222222; + margin-right: -1px; + padding: 0 9px; + position: relative; + z-index: 1; +} +.network-search { + float: right; + clear: right; + padding-top: 20px; + position: relative; + width: 240px; +} +.network-search .form-item { + border: 0 none; + float: right; + margin: 0; + padding: 0; + width: 220px; +} +.network-search input.form-submit, .network-search input.form-submit:hover { + color: #989A94; + font-size: 11px; + text-transform: uppercase; +} +.network-search input.form-text { + background: url("img/sprite.png") no-repeat scroll 0 -399px transparent; + border: 1px solid #CCCCCC; + float: right; + margin-right: -1px; + min-height: 20px; + padding-left: 20px; + width: 200px; +} +.network-search input.form-submit{ + background: none repeat scroll 0 0 transparent; + border: 0 none; + cursor: pointer; + padding: 0; + position: absolute; + right: 3px; + top: 3px; + width: 30px; +} +.ie8 .network-search input.form-submit{ + top: 2px; +} +.ie7 .network-search input.form-submit{ + top: 20px; +} +.navigation { + background: url("img/sprite.png") repeat-x scroll 0 -70px transparent; + clear: both; + font-size: 11px; + font-weight: bold; + height: 27px; + margin-bottom: 7px; + text-transform: uppercase; + -moz-text-shadow: 0 1px 0 rgba(33,33,33,0.5); + -webkit-text-shadow: 0 1px 0 rgba(33,33,33,0.5); + text-shadow: 0 1px 0 rgba(33,33,33,0.5); + width: 960px; +} +.navigation a { + color: #fff; + position: relative; +} +.navigation li a .point{ + display: none;l +} +.navigation li a.active .point{ + background: url("img/sprite.png") no-repeat right bottom transparent; + bottom: -4px; + display: block; + height: 4px; + left: 50%; + margin-left: -5px; + position: absolute; + width: 9px; +} +.navigation .bgRedHome{ +/* background: #900;*/ + float: left; white-space:height: 27px; + width: 27px; +} +.navigation .network-home, .navigation .links { + float: left; + height: 27px; + line-height: 27px; +} +.navigation .network-home { + background: url("img/sprite.png") no-repeat scroll 6px -375px transparent; + border-right: 2px solid #fff; + overflow: hidden; + text-indent: -999px; + width: 27px; +} +.navigation .links a { + border-right: 1px solid #848884; + line-height: 15px; + margin: 6px 0 0; + padding: 0 19px 0 20px; +} +.navigation .links .last a { + border: 0 none; +} +.navigation .links a.active{ + background: url("img/sprite.png") repeat scroll 0 -130px transparent; + border-left: 1px solid #CC4433; + border-right: 1px solid #CC4433; + margin: 0 0 0 -1px; + padding-bottom: 6px; + padding-top: 6px; +} +.navigation .network-special-links { + background: url("img/sprite.png") repeat-x scroll 0 -100px transparent; + border-left: 2px solid #fff; + float: right; +} +.navigation .network-special-links a { + border-color: #6E6E6A; +} +.socialLinks{ + color: #E3E5DB; + clear: right; + float: right; + height: 16px; + line-height: 16px; + margin: 10px 0; + text-align: right; + width: 56px; + word-spacing: 2px; +} +.socialLinks a{ + position: relative; + top: 3px; +} +#local { + background: url("img/sprite.png") repeat-x scroll 0 -170px transparent; + clear: both; + height: 60px; +} +#local a { + color: #fff; +} +#local .site-name { + float: left; + color: white; + font-size: 28px; + font-weight: normal; + line-height: 60px; + padding: 0 15px; +} +#share { + float: right; + margin: 0; + padding: 0; +} + +#share ul { + float: right; + list-style: none outside none; + margin: 0 0 10px 0; + padding: 0; +} + +#main-map{ + padding-right: 290px; + z-index: 100; +} +#map-summary-container{ + font-size: 25px; + padding: 11px 0; + height: 23px; +} +.ie7 #map-summary-container{ + margin: -5px 0 7px 0; +} +#map-summary .smallHdr{ + color: #666; + font-size: 16px; +} +#map-content-header { + background: #d9dbcd url("img/map.nav.header.gif") no-repeat 0 0; + border: medium none; + z-index: 10; + clear: both; +} +.ie7 #map-content-header{ + padding-top: 5px; +} +#map-content-title { + color: #000; + float: left; + font-family: arial; + font-size: 13px; + margin-left: 15px; + margin-top: 10px; + padding-top: 6px; + white-space: normal; +} +#map-content-sectors { + color: #777876; + float: right; + font-family: arial; + font-size: 13px; + margin-left: 15px; + margin-right: 25px; + margin-top: 10px; + padding-top: 6px; + white-space: normal; +} +#map-content-hdr2,#map-content-hdr3{ + background: url('img/bg_hdr2.png') repeat-x; + clear: both; + height: 47px; + margin: 0; + position: absolute; + width: inherit; + z-index: 10; +} +#map-content-hdr3 { margin-top:45px; z-index: 9;} + +.ie7 #map-content-hdr2{ + margin-top: -5px; +} + +#map-content-icons { + float: left; + margin: 0 10px 0 20px; +} +#map-content-regions { + float: left; + margin: 0 10px 0 20px; +} + +#map-content-icons ul { + float: left; + list-style: none outside none; + margin: 0; + padding: 13px 0 0; +} +#map-content-icons ul li { + float: left; +} +#map-content-icons ul li.s11{ +/* padding-top: 2px;*/ +} +.ie7 #map-content-icons ul li.s11{ + padding-top: 0; +} +#infodiv {padding: 5px; top: -1000; left: -1000; + display: block; + min-width: 140px; + position: absolute; + background-color: #92948C; + opacity:0; + filter:alpha(opacity=90); + text-align: center; + -moz-border-radius: 15x; + border-radius: 5px; + } +.tipsy { opacity: 0.9; } +.tipsy-inner { background-color: #92948C; } +#infodiv span {opacity: 1.0; color: #FFF; } +#infodiv span#info_country { font-size: 17px; font-weight: bold; color: white;} +.radio-prov{ + color: #777876; + float: left; + font:11px/17px Arial,Helvetica,sans-serif; + margin: 0 0 0 10px; + padding: 12px 0 0; +} +.radio-prov li{ + float: left; + margin: 4px 10px 0 0; +} +.radio-prov input, .radio-prov label{ + float: left; + margin: 0 6px 0 0; +} +.radio-prov input{ + margin-top: 1px; +} +.ie7 .radio-prov{ + padding-top: 9px; +} +.ie7 .radio-prov input{ + margin-top: 0; +} +.ie7 .radio-prov label{ + margin-top: 1px; +} +.control, .control label { cursor: pointer;} +#map-content-icons ul li a { + background: url("img/sector-icons.gif") no-repeat scroll 0 0 transparent; + color: #FFFFFF; + display: block; + height: 19px; + width: 280px; + margin: 0; + text-decoration: none; + text-indent: -9999px; +} +#map-content-icons ul li.sectors { + color: #777876; + float: left; + font-family: arial; + font-size: 13px; + margin-top: 3px; + width: 130px; +} +#map-content-icons ul li.all { + color: #777876; + float: left; + font-family: arial; + font-size: 11px; + padding: 0 0 2px 5px; +} +#map-content-icons ul li.s1 a { + background: url("img/sector-icons.gif") no-repeat scroll 0 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s1 a:hover, #map-content-icons ul li.s1 a.active { + background: url("img/sector-icons.gif") no-repeat scroll 0 -19px transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s2 a { + background: url("img/sector-icons.gif") no-repeat scroll -30px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s2 a:hover, #map-content-icons ul li.s2 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -30px -19px transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s3 a { + background: url("img/sector-icons.gif") no-repeat scroll -60px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s3 a:hover, #map-content-icons ul li.s3 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -60px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s4 a { + background: url("img/sector-icons.gif") no-repeat scroll -90px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s4 a:hover, #map-content-icons ul li.s4 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -90px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s5 a { + background: url("img/sector-icons.gif") no-repeat scroll -120px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s5 a:hover, #map-content-icons ul li.s5 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -120px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s6 a { + background: url("img/sector-icons.gif") no-repeat scroll -150px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s6 a:hover, #map-content-icons ul li.s6 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -150px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s7 a { + background: url("img/sector-icons.gif") no-repeat scroll -180px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s7 a:hover, #map-content-icons ul li.s7 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -180px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s8 a { + background: url("img/sector-icons.gif") no-repeat scroll -210px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s8 a:hover, #map-content-icons ul li.s8 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -210px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s9 a { + background: url("img/sector-icons.gif") no-repeat scroll -240px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s9 a:hover, #map-content-icons ul li.s9 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -240px -19px transparent; + width: 19px; +} +#map-content-icons ul li.s10 a { + background: url("img/sector-icons.gif") no-repeat scroll -270px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.s10 a:hover, #map-content-icons ul li.s10 a.active { + background: url("img/sector-icons.gif") no-repeat scroll -270px -19px transparent; + width: 19px; +} +#map-content-icons ul li.egolddeposit a { + background: url("img/extractives-icons.gif") no-repeat scroll -100px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.egolddeposit a:hover, #map-content-icons ul li.egolddeposit a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -100px -19px transparent; + width: 19px; +} +#map-content-icons ul li.egoldmine a { + background: url("img/extractives-icons.gif") no-repeat scroll 0px 0 transparent; + margin-right: 11px; + width: 20px; +} +#map-content-icons ul li.egoldmine a:hover, #map-content-icons ul li.egoldmine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll 0px -19px transparent; + width: 20px; +} + +#map-content-icons ul li.ebauxitedeposit a { + background: url("img/extractives-icons.gif") no-repeat scroll -125px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.ebauxitedeposit a:hover, #map-content-icons ul li.ebauxitedeposit a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -125px -19px transparent; + width: 19px; +} +#map-content-icons ul li.ecoppermine a { + background: url("img/extractives-icons.gif") no-repeat scroll -25px 0 transparent; + margin-right: 11px; + width: 20px; +} +#map-content-icons ul li.ecoppermine a:hover, #map-content-icons ul li.ecoppermine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -24px -19px transparent; + width: 20px; +} + +#map-content-icons ul li.emanganesedeposit a:hover, #map-content-icons ul li.emanganesedeposit a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -150px -19px transparent; + width: 19px; +} +#map-content-icons ul li.eironmine a { + background: url("img/extractives-icons.gif") no-repeat scroll -50px 0 transparent; + margin-right: 11px; + width: 20px; +} +#map-content-icons ul li.eironmine a:hover, #map-content-icons ul li.eironmine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -50px -19px transparent; + width: 20px; +} +#map-content-icons ul li.ecoalmine a { + background: url("img/extractives-icons.gif") no-repeat scroll -76px 0 transparent; + margin-right: 11px; + width: 20px; +} +#map-content-icons ul li.ecoalmine a:hover, #map-content-icons ul li.ecoalmine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -76px -19px transparent; + width: 20px; +} +#map-content-icons ul li.eoildeposit a { + background: url("img/extractives-icons.gif") no-repeat scroll -100px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.eoildeposit a:hover, #map-content-icons ul li.eoildeposit a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -200px -19px transparent; + width: 19px; +} +#map-content-icons ul li.epetroleummine a { + background: url("img/extractives-icons.gif") no-repeat scroll -100px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.epetroleummine a:hover, #map-content-icons ul li.epetroleummine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -100px -19px transparent; + width: 19px; +} + +#map-content-icons ul li.eotherdeposit a { + background: url("img/extractives-icons.gif") no-repeat scroll -175px 0 transparent; + margin-right: 11px; + width: 19px; +} +#map-content-icons ul li.eotherdeposit a:hover, #map-content-icons ul li.eotherdeposit a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -175px -19px transparent; + width: 19px; +} +#map-content-icons ul li.eothermine a { + background: url("img/extractives-icons.gif") no-repeat scroll -124px 0 transparent; + margin-right: 11px; + width: 20px; +} +#map-content-icons ul li.eothermine a:hover, #map-content-icons ul li.eothermine a.active { + background: url("img/extractives-icons.gif") no-repeat scroll -124px -19px transparent; + width: 20px; +} +#map_console { + background-image: url("img/map.console.png"); + border-top: 1px solid #D9DBCD; + float: left; + height: 97px; + margin-top: -97px; + position: absolute; + width: 960px; +} +.console-title { + color: #A52A2A; + float: left; + font-family: georgia; + font-size: 24px; + font-weight: bold; + line-height: 25px; + margin: 20px 0 0 25px; + text-align: right; +} +.console-info { + color: #7F7F7F; + float: left; + font-family: georgia; + font-size: 18px; + line-height: 26px; + margin: 20px 0 0 10px; + text-align: left; +} +.console-title p, .console-info p { + margin: 0; + padding: 0; +} + +#map-area{z-index: 1; zoom: 1;} +#map-content { + background: none repeat scroll 0 0 #FFFFFF; + border-bottom: 1px solid #D9DBCD; + border-left: 1px solid #D9DBCD; + border-right: 1px solid #D9DBCD; + height: 514px; + min-height: 514px; +} +a.legend{ + background: #666 url('img/sprite.png') no-repeat 100% -524px; + background: rgba(102,102,102,0.8) url('img/sprite.png') no-repeat 100% -524px; + bottom: -3px; + color: #fff; + display: block; + padding: 2px 80px 2px 10px; + text-decoration: none; + position: absolute; + right: 0; + z-index: 10; +} +a.moreData{ + background: #666 url('img/sprite.png') 100% -508px; + clear: both; + color: #fff; + float: right; + padding: 2px 60px 2px 10px; + text-decoration: none; +} +#main-wrap{ + padding-right: 300px; + z-index: 3; +} +#main-map{ + padding: 0 10px 0 0; + min-width: 900px; + width: 100%; +} +#rightCol{ + background: #fff; + font: 13px/20px Arial, Helvetica, sans-serif; + margin-right: -300px; + width: 290px; + z-index: 2; +} +.ie7 #main-map{ + /*clear: both;*/ + margin-right: -300px; +} +.ie7 #rightCol{ + margin: 0; + position: absolute; + right: 0; + top: 239px; +} + +#map-table{ + clear: both; + margin-top: 10px; +} +#project-info{ + margin-bottom: 10px; + width: 100%; +} +#map-table { + height: 370px; + overflow-x: hidden; + overflow-y: auto; +} +#project-info th{ + background: #F5F6F3; /* old browsers */ + background: -moz-linear-gradient(top, #F5F6F3 0%, #EAEBE5 100%); /* firefox */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F5F6F3), color-stop(100%,#EAEBE5)); /* webkit */ + border-top: 1px solid #dbddd2; + border-right: 1px solid #fff; + font-weight: normal; + text-align: left; +} +#project-info th#th-header-0{ + background: #E2E4D9; /* old browsers */ + background: -moz-linear-gradient(top, #E2E4D9 0%, #CCD0C1 100%); /* firefox */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E2E4D9), color-stop(100%,#CCD0C1)); /* webkit */ + width: 50%; +} +#project-info td{ + padding: 12px; +} +#project-info th{ + padding: 20px 6px 12px; + position: relative; +} + +#project-info th a{ + color: #000; +} +#share_window {z-index: 10000; padding: 10px 10px; background-color: #888; position: absolute; top:20px; left: 80px; max-width: 800px;} +#share_window textarea, #share_window input {font-size: 1.2em; width: 700px; padding: 8px 4px;} +#close_embed { + background: url('img/sprite2.png') no-repeat -285px -705px; + text-indent: -500em; + height: 10px; + width: 10px; + color: #FFF; float: right +} +a.mag-glass{ + background: url('img/sprite2.png') no-repeat right top; + color: #000; + height: 20px; + position: absolute; + right: 0; + top: 0; + width: 20px; + display:none; +} +.ie7 .worldmenuholder .mag-glass{ + top: 8px; +} +#project-info a span{ + background: url('img/sprite.png') no-repeat 100% -615px; + display: block; + float: left; + height: 7px; + margin: 7px 6px 10px 0; + width: 11px +} +#project-info a.ascending span{ + background: url('img/sprite.png') no-repeat 100% -585px; +} +#project-info tr { + cursor: pointer; +} + +#project-info tr:hover { + background-color: #D9DBCD; +} +tr.row_even td{ + background: #eeefe9; +} +.pagination{ + font-size: 11px; + text-transform: uppercase; + width: 100%; +} +.pagination, .pagination li, .pagination a, .pagination span{ + float: left; +} +.pagination a{ + color: #7c7c7c; + padding: 1px 5px; + text-decoration: none; +} +.pagination a.active, .pagination a:hover{ + background: #d5d5d5; +} +.pagination span{ + color: #d5d5d5; + float: left; + padding: 1px 0; +} +#rightCol div{ + border: 1px solid #dadccf; + padding: 10px; +} +#rightCol div#chart-left-pie-chart { border: none; padding: 0px;} +#rightCol div#rightHdr{ + background: url("img/map.nav.header.gif") right top no-repeat; + border: none; + height: 26px; +} +#rightCol #rightDesc{ + border-top: none; +} +/*#rightCol h3, #rightCol h4{ + color: #000; + font: 13px/18px Arial, Helvetica, sans-serif; + margin: 0 0 10px 0; +} +*/ +#rightCol h3 .rightHdr{ + float: left; + margin-right: 6px; +} +/*#rightCol h4{ + color: #900; + font: 13px/18px Georgia, 'Times NewRoman', serif; +} +*/#rightCol .disc{ + list-style: disc outside; + margin: 0 0 10px; +} +#rightCol .disc li{ + margin-left: 20px; + padding-left: 5x; +} +#rightCol #rightDesc p{ + margin: 0 20px 10px; +} +#chart-left-pie-chart { + width: 340px; + height: 195px; + margin-left: -10px; + padding-top: 20px; +} +#network-breadcrumb { + clear: both; + margin: 20px 0 2px; +} +#network-breadcrumb .limiter { + background: url("img/sprite.png") repeat-x scroll 0 -170px transparent; + color: #FFFFFF; + font-size: 11px; + font-weight: bold; + height: 35px; + line-height: 35px; +} +#network-breadcrumb a { + color: #FFFFFF; +} +#network-breadcrumb .breadcrumb-link { + float: left; +} +#network-breadcrumb .breadcrumb-link { + background: url("img/sprite.png") no-repeat scroll 100% -290px transparent; + float: left; + padding: 0 20px 0 15px; +} + +#network-breadcrumb .breadcrumb-last { + background: none repeat scroll 0 0 transparent; +} +#network-breadcrumb .feed-icons { + float: right; + padding: 0 5px; +} +#network-breadcrumb .feed-icons label { + float: left; +} +#network-breadcrumb .feed-icons img { + display: block; +} +#network-breadcrumb .feed-icons a.feed-icon { + float: left; + padding: 10px 10px 0; +} +#network-footer { + float: left; + margin-bottom: 20px; + width: 100%; +} +#network-footer a { + color: #D8DCD4; +} +#network-footer .limiter { + background: url("img/sprite.png") repeat-x scroll 0 -230px transparent; + color: #92948C; + font-size: 11px; + height: 40px; + line-height: 20px; + padding: 10px 0; +} +#network-footer a:hover { + color: #FFFFFF; + text-decoration: none; +} +#network-footer .network-name, #network-footer .network-footer-nav { + float: left; +} +#network-footer .network-name { + background: url("img/sprite.png") no-repeat scroll 15px -347px transparent; + height: 30px; + margin: 5px 0 0; + overflow: hidden; + padding: 0; + text-indent: -999px; + width: 170px; +} +#network-footer .network-footer-nav { + border-left: 1px solid #92948C; +} +#network-footer .network-footer-nav, #network-footer .network-footer-legal, #network-footer .network-footer-links a { + padding: 0 10px; +} +#network-footer .network-footer-legal{ + clear: left; +} +#network-footer .network-footer-hotline { + float: right; + padding-right: 15px; + text-align: right; +} +#container{ + margin: 0 0 10px; +} +#footnote { + color: #989A94; + float: right; +} + + +#download_data, #share_options { + -moz-border-radius: 2px 2px 2px 2px; + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #DDDDDD; + color: #989A94; + cursor: pointer; + display: block; + font-size: 10px; + line-height: 18px; + padding: 0 4px 0 0; +} +#share ul li a#download_data {background:#fff url("img/sprite2.png") 0px -20px no-repeat;padding-left:19px;} +#share a#share_options {background: url("img/sprite2.png") no-repeat scroll 0 -61px #FFFFFF;padding-left: 19px;} +.download{ margin-right: 5px;float:right;} +#share .simpleshare_link a { + background: url("img/sprite2.png") no-repeat scroll 0 -61px #FFFFFF; + padding-left: 19px; +} +.subtotal {color: rgb(136, 136, 136); font-size: 0.8em; cursor: pointer;} +.panel { display: none;} diff --git a/extractives/eap/mongolia/css/menu.css b/extractives/eap/mongolia/css/menu.css new file mode 100644 index 0000000..58f8669 --- /dev/null +++ b/extractives/eap/mongolia/css/menu.css @@ -0,0 +1,294 @@ +.worldmenu { + float: left; + margin: 0 30px 0 0; + padding: 0; + position: relative; + width: 273px; + z-index: 11; + zoom: 1; +} +.ie7 .worldmenu{ + height: 49px; + margin-top: -5px; +} +.worldmenu > li { + float: left; + list-style: none outside none; + position: relative; + width: 210px; +} +.worldmenu > li > a { + background: url("img/btn-worldmenu.gif") no-repeat scroll 0 1px transparent; + color: #333; + display: block; + font-family: Arial,Helvetica,sans-serif; + font-size: 13px; + padding: 15px 15px 11px 30px; + text-decoration: none; + text-transform: uppercase; +} +#world_menu.worldmenu > li > a,#region_menu.worldmenu > li > a { padding-bottom: 16px;} +.menu-world-options{ + background: #d9dccf; + font-size: 12px; +/* padding: 5px 0;*/ + position: absolute; + top: 47px; + width: 210px; + z-index: 20; + zoom: 1; +} +.menu-regions{ + background: #d9dccf; + font-size: 12px; + padding: 5px 0; + position: absolute; +/* top: 47px;*/ + width: 210px; + z-index: 20; + zoom: 1; +/* margin: 3px 0;*/ + z-index: 21; + zoom: 1; +} +.menu-regions > li{ + float: left; + clear: both; + overflow: visible; + position: relative; + width: 100%; +} +.menu-regions > li > a{ + background: url('img/sprite.png') no-repeat -281px -329px; + display: block; + position: relative; + padding: 2px 20px 2px 20px; + zoom: 1; + line-height: 20px; +} +.menu-regions > li.first > a{ + background: none; + color: #333; + float: left; +} +.menu-regions li.active{ + +} +.menu-regions li.active > a{ + background: #7a7979 url('img/sprite.png') no-repeat -281px -364px; + color: #fff; +} +.menu-regions li.active span{ + background: url('img/sprite.png') no-repeat -293px -370px; + display: block; +} +.menu-regions a span.pointer{ + background: url('img/sprite.png') no-repeat 100% -337px; + display: none; + height: 6px; + margin-top: -3px; + position: absolute; + right: -10px; + top: 50%; + width: 10px; + z-index: 100; +} +.menu-regions li.active span.pointer{ + display: block; +} +.menu-country-options, .menu-province-options{ + background: #d9dccf url('img/bg_menu-country-options.jpg') repeat-y 0 0; + float: left; + left: 210px; + margin-top: -27px; + position: absolute; + top: 100%; + width: 400px; + z-index: 30; +} +.ie7 .menu-country-options{ + padding-bottom: 3px; +} +.menu-countries, .menu-provinces{ + float: left; + width: 100%; + z-index: 1; +} +.menu-countries > li, .menu-provinces > li{ + float: left; + position: relative; + width: 100px; + z-index: 1; +} +.menu-countries a, .menu-provinces a{ + background: url('img/sprite.png') no-repeat -290px -328px; + display: block; + padding: 1px 0 1px 10px; +} +.menu-countries a.active, .worldmenu .menu-countries a.active { + background: #7a7979 url('img/sprite.png') no-repeat -281px -364px; + color: #fff; + margin-left: -10px; + padding-left: 20px; +} +.ie7 .menu-countries a.active { + background: #7a7979 url('img/sprite.png') no-repeat -270px -364px; + left: -10px; + margin-left: -10px; + padding-left: 30px; + padding-right: 10px; + position: relative; + top: 2px; +} +.menu-province-options{ + display: none; + left: 130px; + margin-top: -10px; + top: 0; + width: auto; + z-index: 50; +} +.ie7 .menu-province-options{ + left: 110px; + padding-bottom: 3px; + z-index: 100; +} +.menu-countries a.active span.pointer{ + margin-top: -13px; +} +.menu-provinces{ + width: 540px; + z-index: 20; +} +.menu-provinces li{ + border-left: 1px solid #ccc; + width: 24%; +} +.menu-countries .menu-provinces a{ + background: none; + display: block; + padding: 1px 0 1px 10px; + position: relative; +} +.menu-provinces a.active{ + background: #7a7979 url('img/sprite.png') no-repeat -281px -364px; + color: #fff; +} +.worldmenu a{color: #989A94} +/*.dropmenu li a { + display: block;font-family: Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; color: #fff; padding:5px; background-color: #97382a;text-decoration: none; background-image:url(../images/btn-dropmenu.gif); background-repeat:no-repeat; border:#5f2017 solid 1px; text-transform:uppercase} */ +.map-options li ul { + background-color: #9A3C2E; + border-bottom: 1px solid #D9DBCD; + border-left: 1px solid #D9DBCD; + border-right: 1px solid #D9DBCD; +} +.dropmenu_category { color: #FFF; margin: 2px 0 2px 4px; background-color: #B94737;} +.dropmenu_options, .menu-country-options { display: none; } +.dropmenu li ul.menu-countries { display: block; + background: none repeat scroll 0 0 #D9DCCF; + margin: 0px 10px 0px 20px; + padding-top: 10px; + padding-bottom: 10px; + } +.dropmenu li:hover ul, .worldmenu li:hover ul { + display: block; +} +.map-options li:hover ul { + position: absolute; + margin: 0; + padding: 0; + } + +.map-options li:hover li { + float: none; } + + +.map-options li:hover li a { + background-color: #f4f5f1; + border:none; + text-transform:none; + font-weight:normal; + background-image:none; + padding:5px; + color: #000;width:116px; +} +map-options.dropmenu li a { + background-color: #97382A; +/* border: #5F2017 solid 1px; */ +} +.map-options li a { + font-family: Arial, Helvetica, sans-serif; + font-size: 11px; + font-weight: bold; + color: white; + text-decoration: none; + /*background-image: url(../images/btn-dropmenu.gif);*/ + background-repeat: no-repeat; + text-transform: uppercase; +} +.dropmenu li a { + display: block; +} +.map-options li { + list-style: none; + float: left; +} +.map-options li li a:hover { + background-color: #d9dccf; + } +.dropmenu li ul.dropmenu_options { +/* margin-top: 20px;*/ + z-index:10; +} +.dropmenu_options a:hover {color:#aa2222} +.map-options{ + float: left; + font:11px/17px Arial,Helvetica,sans-serif; + padding: 14px 0 0 12px; + text-transform: uppercase; +} +.map-options li, .map-options span{ + float: left; +} +.arwOrange, .arwOrange:hover{ + background: #b94737 url("img/sprite.png") no-repeat 100% -510px; + color: #fff; + float: left; + margin: 0 20px 0 5px; + padding: 0 20px 0 5px; +} + +#share { + float: right; + margin: 0; + margin-top: 10px; + padding: 0; +} + +#share ul { + float: right; + list-style: none outside none; + margin: 0 0 10px 0; + padding: 0; + z-index: 100; +} +#download_data, #share_options, #about_link { + -moz-border-radius: 2px 2px 2px 2px; + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #DDDDDD; + color: #989A94; + cursor: pointer; + display: block; + font-size: 10px; + line-height: 18px; + padding: 0 4px 0 0; +} +#about_link {padding: 0 9px; margin-right: 4px;} +#share ul li a#download_data {background:#fff url("img/sprite2.png") 0px -20px no-repeat;padding-left:19px;} +#share a#share_options {background: url("img/sprite2.png") no-repeat scroll 0 -61px #FFFFFF;padding-left: 19px;} +.download{ margin-right: 5px;float:right;} +#share .simpleshare_link a { + background: url("img/sprite2.png") no-repeat scroll 0 -61px #FFFFFF; + padding-left: 19px; +} diff --git a/extractives/eap/mongolia/css/tipsy.css b/extractives/eap/mongolia/css/tipsy.css new file mode 100644 index 0000000..b12b012 --- /dev/null +++ b/extractives/eap/mongolia/css/tipsy.css @@ -0,0 +1,3 @@ +.tipsy { padding: 5px; font-size: 10px; position: absolute; z-index: 100000; } + .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; } + .tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; } \ No newline at end of file diff --git a/extractives/eap/mongolia/images/arrow-languages.gif b/extractives/eap/mongolia/images/arrow-languages.gif new file mode 100644 index 0000000..d3d679b Binary files /dev/null and b/extractives/eap/mongolia/images/arrow-languages.gif differ diff --git a/extractives/eap/mongolia/images/background-images/fauxcol-filler-white.gif b/extractives/eap/mongolia/images/background-images/fauxcol-filler-white.gif new file mode 100644 index 0000000..f0bb62d Binary files /dev/null and b/extractives/eap/mongolia/images/background-images/fauxcol-filler-white.gif differ diff --git a/extractives/eap/mongolia/images/background-images/fauxcol-filler2.gif b/extractives/eap/mongolia/images/background-images/fauxcol-filler2.gif new file mode 100644 index 0000000..6c276a0 Binary files /dev/null and b/extractives/eap/mongolia/images/background-images/fauxcol-filler2.gif differ diff --git a/extractives/eap/mongolia/images/background-images/overview-bullets.gif b/extractives/eap/mongolia/images/background-images/overview-bullets.gif new file mode 100644 index 0000000..b9935eb Binary files /dev/null and b/extractives/eap/mongolia/images/background-images/overview-bullets.gif differ diff --git a/extractives/eap/mongolia/images/background-images/overview-drop-arrow-color.gif b/extractives/eap/mongolia/images/background-images/overview-drop-arrow-color.gif new file mode 100644 index 0000000..c77d8ea Binary files /dev/null and b/extractives/eap/mongolia/images/background-images/overview-drop-arrow-color.gif differ diff --git a/extractives/eap/mongolia/images/background-images/overview-drop-arrow-open-color.gif b/extractives/eap/mongolia/images/background-images/overview-drop-arrow-open-color.gif new file mode 100644 index 0000000..d6abf47 Binary files /dev/null and b/extractives/eap/mongolia/images/background-images/overview-drop-arrow-open-color.gif differ diff --git a/extractives/eap/mongolia/images/btn-dropmenu.gif b/extractives/eap/mongolia/images/btn-dropmenu.gif new file mode 100644 index 0000000..d5bac59 Binary files /dev/null and b/extractives/eap/mongolia/images/btn-dropmenu.gif differ diff --git a/extractives/eap/mongolia/images/btn-worldmenu.gif b/extractives/eap/mongolia/images/btn-worldmenu.gif new file mode 100644 index 0000000..7f8b123 Binary files /dev/null and b/extractives/eap/mongolia/images/btn-worldmenu.gif differ diff --git a/extractives/eap/mongolia/images/bullet-brown.gif b/extractives/eap/mongolia/images/bullet-brown.gif new file mode 100755 index 0000000..4ecbf42 Binary files /dev/null and b/extractives/eap/mongolia/images/bullet-brown.gif differ diff --git a/extractives/eap/mongolia/images/country-top-block-new.jpg b/extractives/eap/mongolia/images/country-top-block-new.jpg new file mode 100644 index 0000000..87994dd Binary files /dev/null and b/extractives/eap/mongolia/images/country-top-block-new.jpg differ diff --git a/extractives/eap/mongolia/images/down-arrow-black.gif b/extractives/eap/mongolia/images/down-arrow-black.gif new file mode 100644 index 0000000..44c9a6d Binary files /dev/null and b/extractives/eap/mongolia/images/down-arrow-black.gif differ diff --git a/extractives/eap/mongolia/images/footer-grey-bg.gif b/extractives/eap/mongolia/images/footer-grey-bg.gif new file mode 100755 index 0000000..57c4412 Binary files /dev/null and b/extractives/eap/mongolia/images/footer-grey-bg.gif differ diff --git a/extractives/eap/mongolia/images/footer-logo.gif b/extractives/eap/mongolia/images/footer-logo.gif new file mode 100755 index 0000000..52d43cd Binary files /dev/null and b/extractives/eap/mongolia/images/footer-logo.gif differ diff --git a/extractives/eap/mongolia/images/footer.jpg b/extractives/eap/mongolia/images/footer.jpg new file mode 100755 index 0000000..094ff11 Binary files /dev/null and b/extractives/eap/mongolia/images/footer.jpg differ diff --git a/extractives/eap/mongolia/images/go-btn.gif b/extractives/eap/mongolia/images/go-btn.gif new file mode 100644 index 0000000..57882ed Binary files /dev/null and b/extractives/eap/mongolia/images/go-btn.gif differ diff --git a/extractives/eap/mongolia/images/grey-footer-logo.gif b/extractives/eap/mongolia/images/grey-footer-logo.gif new file mode 100755 index 0000000..3886a0e Binary files /dev/null and b/extractives/eap/mongolia/images/grey-footer-logo.gif differ diff --git a/extractives/eap/mongolia/images/grey-footer-logo.png b/extractives/eap/mongolia/images/grey-footer-logo.png new file mode 100755 index 0000000..0f0507a Binary files /dev/null and b/extractives/eap/mongolia/images/grey-footer-logo.png differ diff --git a/extractives/eap/mongolia/images/header_search.jpg b/extractives/eap/mongolia/images/header_search.jpg new file mode 100755 index 0000000..7f5f55d Binary files /dev/null and b/extractives/eap/mongolia/images/header_search.jpg differ diff --git a/extractives/eap/mongolia/images/icon_fb.png b/extractives/eap/mongolia/images/icon_fb.png new file mode 100644 index 0000000..a204433 Binary files /dev/null and b/extractives/eap/mongolia/images/icon_fb.png differ diff --git a/extractives/eap/mongolia/images/icon_twitter.png b/extractives/eap/mongolia/images/icon_twitter.png new file mode 100644 index 0000000..728eff5 Binary files /dev/null and b/extractives/eap/mongolia/images/icon_twitter.png differ diff --git a/extractives/eap/mongolia/images/icons/round/M4R Round Icons.zip b/extractives/eap/mongolia/images/icons/round/M4R Round Icons.zip new file mode 100644 index 0000000..2da95f1 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/M4R Round Icons.zip differ diff --git a/extractives/eap/mongolia/images/icons/round/agriculture-12.png b/extractives/eap/mongolia/images/icons/round/agriculture-12.png new file mode 100644 index 0000000..9cc792f Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/agriculture-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/agriculture-16.png b/extractives/eap/mongolia/images/icons/round/agriculture-16.png new file mode 100644 index 0000000..6d6a7b0 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/agriculture-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/agriculture-off.png b/extractives/eap/mongolia/images/icons/round/agriculture-off.png new file mode 100644 index 0000000..70bee8d Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/agriculture-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/agriculture-on.png b/extractives/eap/mongolia/images/icons/round/agriculture-on.png new file mode 100644 index 0000000..8904b51 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/agriculture-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/communication-12.png b/extractives/eap/mongolia/images/icons/round/communication-12.png new file mode 100644 index 0000000..c44bdec Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/communication-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/communication-16.png b/extractives/eap/mongolia/images/icons/round/communication-16.png new file mode 100644 index 0000000..b456eca Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/communication-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/communication-8.png b/extractives/eap/mongolia/images/icons/round/communication-8.png new file mode 100644 index 0000000..c44bdec Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/communication-8.png differ diff --git a/extractives/eap/mongolia/images/icons/round/communication-off.png b/extractives/eap/mongolia/images/icons/round/communication-off.png new file mode 100644 index 0000000..7e2cc92 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/communication-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/communication-on.png b/extractives/eap/mongolia/images/icons/round/communication-on.png new file mode 100644 index 0000000..bb14ade Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/communication-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/education-12.png b/extractives/eap/mongolia/images/icons/round/education-12.png new file mode 100644 index 0000000..88e73f9 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/education-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/education-16.png b/extractives/eap/mongolia/images/icons/round/education-16.png new file mode 100644 index 0000000..3bd3b3b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/education-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/education-8.png b/extractives/eap/mongolia/images/icons/round/education-8.png new file mode 100644 index 0000000..32ab050 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/education-8.png differ diff --git a/extractives/eap/mongolia/images/icons/round/education-off.png b/extractives/eap/mongolia/images/icons/round/education-off.png new file mode 100644 index 0000000..3ff85f0 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/education-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/education-on.png b/extractives/eap/mongolia/images/icons/round/education-on.png new file mode 100644 index 0000000..e80bbd8 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/education-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/energy-12.png b/extractives/eap/mongolia/images/icons/round/energy-12.png new file mode 100644 index 0000000..ebc96bd Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/energy-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/energy-16.png b/extractives/eap/mongolia/images/icons/round/energy-16.png new file mode 100644 index 0000000..f94e3ae Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/energy-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/energy-off.png b/extractives/eap/mongolia/images/icons/round/energy-off.png new file mode 100644 index 0000000..e567501 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/energy-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/energy-on.png b/extractives/eap/mongolia/images/icons/round/energy-on.png new file mode 100644 index 0000000..dc89988 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/energy-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/finance-12.png b/extractives/eap/mongolia/images/icons/round/finance-12.png new file mode 100644 index 0000000..8189c73 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/finance-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/finance-16.png b/extractives/eap/mongolia/images/icons/round/finance-16.png new file mode 100644 index 0000000..13144b4 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/finance-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/finance-off.png b/extractives/eap/mongolia/images/icons/round/finance-off.png new file mode 100644 index 0000000..57b8732 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/finance-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/finance-on.png b/extractives/eap/mongolia/images/icons/round/finance-on.png new file mode 100644 index 0000000..3e33888 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/finance-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/geoiq.15.png b/extractives/eap/mongolia/images/icons/round/geoiq.15.png new file mode 100644 index 0000000..528fc70 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/geoiq.15.png differ diff --git a/extractives/eap/mongolia/images/icons/round/health-12.png b/extractives/eap/mongolia/images/icons/round/health-12.png new file mode 100644 index 0000000..38f470b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/health-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/health-16.png b/extractives/eap/mongolia/images/icons/round/health-16.png new file mode 100644 index 0000000..680da92 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/health-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/health-off.png b/extractives/eap/mongolia/images/icons/round/health-off.png new file mode 100644 index 0000000..b2ed455 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/health-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/health-on.png b/extractives/eap/mongolia/images/icons/round/health-on.png new file mode 100644 index 0000000..0dffd74 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/health-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/industry-12.png b/extractives/eap/mongolia/images/icons/round/industry-12.png new file mode 100644 index 0000000..7212da9 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/industry-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/industry-16.png b/extractives/eap/mongolia/images/icons/round/industry-16.png new file mode 100644 index 0000000..f6d2e90 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/industry-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/industry-off.png b/extractives/eap/mongolia/images/icons/round/industry-off.png new file mode 100644 index 0000000..b9a6312 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/industry-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/industry-on.png b/extractives/eap/mongolia/images/icons/round/industry-on.png new file mode 100644 index 0000000..1d2ab15 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/industry-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/public-12.png b/extractives/eap/mongolia/images/icons/round/public-12.png new file mode 100644 index 0000000..44a1b63 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/public-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/public-16.png b/extractives/eap/mongolia/images/icons/round/public-16.png new file mode 100644 index 0000000..6887507 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/public-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/public-off.png b/extractives/eap/mongolia/images/icons/round/public-off.png new file mode 100644 index 0000000..a584665 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/public-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/public-on.png b/extractives/eap/mongolia/images/icons/round/public-on.png new file mode 100644 index 0000000..0ce071d Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/public-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/transportation-12.png b/extractives/eap/mongolia/images/icons/round/transportation-12.png new file mode 100644 index 0000000..6e69d53 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/transportation-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/transportation-16.png b/extractives/eap/mongolia/images/icons/round/transportation-16.png new file mode 100644 index 0000000..01e0125 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/transportation-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/transportation-off.png b/extractives/eap/mongolia/images/icons/round/transportation-off.png new file mode 100644 index 0000000..db1c369 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/transportation-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/transportation-on.png b/extractives/eap/mongolia/images/icons/round/transportation-on.png new file mode 100644 index 0000000..059a28b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/transportation-on.png differ diff --git a/extractives/eap/mongolia/images/icons/round/water-12.png b/extractives/eap/mongolia/images/icons/round/water-12.png new file mode 100644 index 0000000..4f011c3 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/water-12.png differ diff --git a/extractives/eap/mongolia/images/icons/round/water-16.png b/extractives/eap/mongolia/images/icons/round/water-16.png new file mode 100644 index 0000000..6b3f524 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/water-16.png differ diff --git a/extractives/eap/mongolia/images/icons/round/water-off.png b/extractives/eap/mongolia/images/icons/round/water-off.png new file mode 100644 index 0000000..ac6a4c3 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/water-off.png differ diff --git a/extractives/eap/mongolia/images/icons/round/water-on.png b/extractives/eap/mongolia/images/icons/round/water-on.png new file mode 100644 index 0000000..dbd57b1 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/round/water-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/OilWell-14.png b/extractives/eap/mongolia/images/icons/worldbank/OilWell-14.png new file mode 100644 index 0000000..d3ca6e5 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/OilWell-14.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/agriculture-12.png b/extractives/eap/mongolia/images/icons/worldbank/agriculture-12.png new file mode 100644 index 0000000..6dfa891 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/agriculture-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/agriculture-8.png b/extractives/eap/mongolia/images/icons/worldbank/agriculture-8.png new file mode 100644 index 0000000..b56feb9 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/agriculture-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/agriculture-off.gif b/extractives/eap/mongolia/images/icons/worldbank/agriculture-off.gif new file mode 100644 index 0000000..82f0a9f Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/agriculture-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.gif b/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.gif new file mode 100644 index 0000000..ecc66f6 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.png b/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.png new file mode 100644 index 0000000..1a9e2ec Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/agriculture-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/bauxite-14.png b/extractives/eap/mongolia/images/icons/worldbank/bauxite-14.png new file mode 100644 index 0000000..81445fa Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/bauxite-14.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/communication-12.png b/extractives/eap/mongolia/images/icons/worldbank/communication-12.png new file mode 100644 index 0000000..4f8fcce Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/communication-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/communication-8.png b/extractives/eap/mongolia/images/icons/worldbank/communication-8.png new file mode 100644 index 0000000..330ca0c Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/communication-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/communication-off.gif b/extractives/eap/mongolia/images/icons/worldbank/communication-off.gif new file mode 100644 index 0000000..3f6128b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/communication-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/communication-on.gif b/extractives/eap/mongolia/images/icons/worldbank/communication-on.gif new file mode 100644 index 0000000..7fedacc Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/communication-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/communication-on.png b/extractives/eap/mongolia/images/icons/worldbank/communication-on.png new file mode 100644 index 0000000..62e367c Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/communication-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/education-12.png b/extractives/eap/mongolia/images/icons/worldbank/education-12.png new file mode 100644 index 0000000..163328b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/education-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/education-8.png b/extractives/eap/mongolia/images/icons/worldbank/education-8.png new file mode 100644 index 0000000..dc92606 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/education-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/education-off.png b/extractives/eap/mongolia/images/icons/worldbank/education-off.png new file mode 100644 index 0000000..0f82d7a Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/education-off.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/education-on.png b/extractives/eap/mongolia/images/icons/worldbank/education-on.png new file mode 100644 index 0000000..049eefa Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/education-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/energy-12.png b/extractives/eap/mongolia/images/icons/worldbank/energy-12.png new file mode 100644 index 0000000..78b1e22 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/energy-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/energy-8.png b/extractives/eap/mongolia/images/icons/worldbank/energy-8.png new file mode 100644 index 0000000..9bf57dd Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/energy-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/energy-off.gif b/extractives/eap/mongolia/images/icons/worldbank/energy-off.gif new file mode 100644 index 0000000..ff185ee Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/energy-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/energy-on.gif b/extractives/eap/mongolia/images/icons/worldbank/energy-on.gif new file mode 100644 index 0000000..5c6fce1 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/energy-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/energy-on.png b/extractives/eap/mongolia/images/icons/worldbank/energy-on.png new file mode 100644 index 0000000..9abaa3a Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/energy-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/extractives/small_bauxite.png b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_bauxite.png new file mode 100644 index 0000000..d45868b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_bauxite.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/extractives/small_gold.png b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_gold.png new file mode 100644 index 0000000..9061e7b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_gold.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/extractives/small_manganese.png b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_manganese.png new file mode 100644 index 0000000..06bdaa8 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_manganese.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/extractives/small_other.png b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_other.png new file mode 100644 index 0000000..b96e888 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/extractives/small_other.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/finance-12.png b/extractives/eap/mongolia/images/icons/worldbank/finance-12.png new file mode 100644 index 0000000..46e9e85 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/finance-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/finance-8.png b/extractives/eap/mongolia/images/icons/worldbank/finance-8.png new file mode 100644 index 0000000..a790693 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/finance-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/finance-off.gif b/extractives/eap/mongolia/images/icons/worldbank/finance-off.gif new file mode 100644 index 0000000..7a000f8 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/finance-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/finance-on.gif b/extractives/eap/mongolia/images/icons/worldbank/finance-on.gif new file mode 100644 index 0000000..838a4e0 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/finance-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/finance-on.png b/extractives/eap/mongolia/images/icons/worldbank/finance-on.png new file mode 100644 index 0000000..54498fc Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/finance-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/gold-14.png b/extractives/eap/mongolia/images/icons/worldbank/gold-14.png new file mode 100644 index 0000000..9b9565b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/gold-14.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-12.png b/extractives/eap/mongolia/images/icons/worldbank/health-12.png new file mode 100644 index 0000000..139a781 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-8.png b/extractives/eap/mongolia/images/icons/worldbank/health-8.png new file mode 100644 index 0000000..698e7e8 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-off.gif b/extractives/eap/mongolia/images/icons/worldbank/health-off.gif new file mode 100644 index 0000000..5f9665d Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-off.png b/extractives/eap/mongolia/images/icons/worldbank/health-off.png new file mode 100644 index 0000000..e74d407 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-off.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-on.gif b/extractives/eap/mongolia/images/icons/worldbank/health-on.gif new file mode 100644 index 0000000..8dc1bb0 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/health-on.png b/extractives/eap/mongolia/images/icons/worldbank/health-on.png new file mode 100644 index 0000000..b398d00 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/health-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/industry-12.png b/extractives/eap/mongolia/images/icons/worldbank/industry-12.png new file mode 100644 index 0000000..30895eb Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/industry-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/industry-8.png b/extractives/eap/mongolia/images/icons/worldbank/industry-8.png new file mode 100644 index 0000000..7200bfb Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/industry-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/industry-off.gif b/extractives/eap/mongolia/images/icons/worldbank/industry-off.gif new file mode 100644 index 0000000..a44ab81 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/industry-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/industry-on.gif b/extractives/eap/mongolia/images/icons/worldbank/industry-on.gif new file mode 100644 index 0000000..c767093 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/industry-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/industry-on.png b/extractives/eap/mongolia/images/icons/worldbank/industry-on.png new file mode 100644 index 0000000..568cdcd Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/industry-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/manganese-14.png b/extractives/eap/mongolia/images/icons/worldbank/manganese-14.png new file mode 100644 index 0000000..afd7ac6 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/manganese-14.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/other-14.png b/extractives/eap/mongolia/images/icons/worldbank/other-14.png new file mode 100644 index 0000000..8176dd5 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/other-14.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/public-12.png b/extractives/eap/mongolia/images/icons/worldbank/public-12.png new file mode 100644 index 0000000..f8e0cc8 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/public-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/public-8.png b/extractives/eap/mongolia/images/icons/worldbank/public-8.png new file mode 100644 index 0000000..0a5618b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/public-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/public-off.gif b/extractives/eap/mongolia/images/icons/worldbank/public-off.gif new file mode 100644 index 0000000..975ddfc Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/public-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/public-on.gif b/extractives/eap/mongolia/images/icons/worldbank/public-on.gif new file mode 100644 index 0000000..3fbcb83 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/public-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/public-on.png b/extractives/eap/mongolia/images/icons/worldbank/public-on.png new file mode 100644 index 0000000..5208ae7 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/public-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/transportation-12.png b/extractives/eap/mongolia/images/icons/worldbank/transportation-12.png new file mode 100644 index 0000000..2344a48 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/transportation-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/transportation-8.png b/extractives/eap/mongolia/images/icons/worldbank/transportation-8.png new file mode 100644 index 0000000..9ff3ba3 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/transportation-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/transportation-off.gif b/extractives/eap/mongolia/images/icons/worldbank/transportation-off.gif new file mode 100644 index 0000000..ac910b2 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/transportation-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/transportation-on.gif b/extractives/eap/mongolia/images/icons/worldbank/transportation-on.gif new file mode 100644 index 0000000..78837b0 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/transportation-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/transportation-on.png b/extractives/eap/mongolia/images/icons/worldbank/transportation-on.png new file mode 100644 index 0000000..8055345 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/transportation-on.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/water-12.png b/extractives/eap/mongolia/images/icons/worldbank/water-12.png new file mode 100644 index 0000000..788b74b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/water-12.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/water-8.png b/extractives/eap/mongolia/images/icons/worldbank/water-8.png new file mode 100644 index 0000000..706cca3 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/water-8.png differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/water-off.gif b/extractives/eap/mongolia/images/icons/worldbank/water-off.gif new file mode 100644 index 0000000..cbc602c Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/water-off.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/water-on.gif b/extractives/eap/mongolia/images/icons/worldbank/water-on.gif new file mode 100644 index 0000000..654cd8b Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/water-on.gif differ diff --git a/extractives/eap/mongolia/images/icons/worldbank/water-on.png b/extractives/eap/mongolia/images/icons/worldbank/water-on.png new file mode 100644 index 0000000..656fc28 Binary files /dev/null and b/extractives/eap/mongolia/images/icons/worldbank/water-on.png differ diff --git a/extractives/eap/mongolia/images/light-bullets-gray.png b/extractives/eap/mongolia/images/light-bullets-gray.png new file mode 100644 index 0000000..2229fac --- /dev/null +++ b/extractives/eap/mongolia/images/light-bullets-gray.png @@ -0,0 +1,14 @@ + + +401 Authorization Required + +

    Authorization Required

    +

    This server could not verify that you +are authorized to access the document +requested. Either you supplied the wrong +credentials (e.g., bad password), or your +browser doesn't understand how to supply +the credentials required.

    +

    Additionally, a 404 Not Found +error was encountered while trying to use an ErrorDocument to handle the request.

    + diff --git a/extractives/eap/mongolia/images/magnify.gif b/extractives/eap/mongolia/images/magnify.gif new file mode 100644 index 0000000..51892ff Binary files /dev/null and b/extractives/eap/mongolia/images/magnify.gif differ diff --git a/extractives/eap/mongolia/images/mainbg.png b/extractives/eap/mongolia/images/mainbg.png new file mode 100644 index 0000000..c14d3f7 Binary files /dev/null and b/extractives/eap/mongolia/images/mainbg.png differ diff --git a/extractives/eap/mongolia/images/map.console.png b/extractives/eap/mongolia/images/map.console.png new file mode 100644 index 0000000..a44c80e Binary files /dev/null and b/extractives/eap/mongolia/images/map.console.png differ diff --git a/extractives/eap/mongolia/images/map.factbox.png b/extractives/eap/mongolia/images/map.factbox.png new file mode 100644 index 0000000..16c9298 Binary files /dev/null and b/extractives/eap/mongolia/images/map.factbox.png differ diff --git a/extractives/eap/mongolia/images/map.header.gif b/extractives/eap/mongolia/images/map.header.gif new file mode 100755 index 0000000..30a06c5 Binary files /dev/null and b/extractives/eap/mongolia/images/map.header.gif differ diff --git a/extractives/eap/mongolia/images/map.header.right.gif b/extractives/eap/mongolia/images/map.header.right.gif new file mode 100755 index 0000000..8d41a00 Binary files /dev/null and b/extractives/eap/mongolia/images/map.header.right.gif differ diff --git a/extractives/eap/mongolia/images/map.header.slice.gif b/extractives/eap/mongolia/images/map.header.slice.gif new file mode 100755 index 0000000..dbc4846 Binary files /dev/null and b/extractives/eap/mongolia/images/map.header.slice.gif differ diff --git a/extractives/eap/mongolia/images/map.nav.header.gif b/extractives/eap/mongolia/images/map.nav.header.gif new file mode 100644 index 0000000..18121be Binary files /dev/null and b/extractives/eap/mongolia/images/map.nav.header.gif differ diff --git a/extractives/eap/mongolia/images/mask_95.png b/extractives/eap/mongolia/images/mask_95.png new file mode 100644 index 0000000..b98a300 Binary files /dev/null and b/extractives/eap/mongolia/images/mask_95.png differ diff --git a/extractives/eap/mongolia/images/nav-background.gif b/extractives/eap/mongolia/images/nav-background.gif new file mode 100644 index 0000000..0bc4582 Binary files /dev/null and b/extractives/eap/mongolia/images/nav-background.gif differ diff --git a/extractives/eap/mongolia/images/nav-background.png b/extractives/eap/mongolia/images/nav-background.png new file mode 100644 index 0000000..3b847b6 Binary files /dev/null and b/extractives/eap/mongolia/images/nav-background.png differ diff --git a/extractives/eap/mongolia/images/nav.gif b/extractives/eap/mongolia/images/nav.gif new file mode 100644 index 0000000..9235f6e Binary files /dev/null and b/extractives/eap/mongolia/images/nav.gif differ diff --git a/extractives/eap/mongolia/images/nav.jpg b/extractives/eap/mongolia/images/nav.jpg new file mode 100755 index 0000000..96cc779 Binary files /dev/null and b/extractives/eap/mongolia/images/nav.jpg differ diff --git a/extractives/eap/mongolia/images/nav.png b/extractives/eap/mongolia/images/nav.png new file mode 100644 index 0000000..d0bc827 Binary files /dev/null and b/extractives/eap/mongolia/images/nav.png differ diff --git a/extractives/eap/mongolia/images/project-bar-bg.gif b/extractives/eap/mongolia/images/project-bar-bg.gif new file mode 100644 index 0000000..fdaedde Binary files /dev/null and b/extractives/eap/mongolia/images/project-bar-bg.gif differ diff --git a/extractives/eap/mongolia/images/projects_search.jpg b/extractives/eap/mongolia/images/projects_search.jpg new file mode 100644 index 0000000..a8d665e Binary files /dev/null and b/extractives/eap/mongolia/images/projects_search.jpg differ diff --git a/extractives/eap/mongolia/images/red-footer-arrow.gif b/extractives/eap/mongolia/images/red-footer-arrow.gif new file mode 100755 index 0000000..cfc4f65 Binary files /dev/null and b/extractives/eap/mongolia/images/red-footer-arrow.gif differ diff --git a/extractives/eap/mongolia/images/red-footer-bg.gif b/extractives/eap/mongolia/images/red-footer-bg.gif new file mode 100755 index 0000000..a7d703b Binary files /dev/null and b/extractives/eap/mongolia/images/red-footer-bg.gif differ diff --git a/extractives/eap/mongolia/images/search-roundbox.gif b/extractives/eap/mongolia/images/search-roundbox.gif new file mode 100644 index 0000000..2a35192 Binary files /dev/null and b/extractives/eap/mongolia/images/search-roundbox.gif differ diff --git a/extractives/eap/mongolia/images/search.icon.gif b/extractives/eap/mongolia/images/search.icon.gif new file mode 100755 index 0000000..96391f5 Binary files /dev/null and b/extractives/eap/mongolia/images/search.icon.gif differ diff --git a/extractives/eap/mongolia/images/sector-icons.gif b/extractives/eap/mongolia/images/sector-icons.gif new file mode 100644 index 0000000..2594859 Binary files /dev/null and b/extractives/eap/mongolia/images/sector-icons.gif differ diff --git a/extractives/eap/mongolia/images/sector_icons.jpg b/extractives/eap/mongolia/images/sector_icons.jpg new file mode 100755 index 0000000..108be58 Binary files /dev/null and b/extractives/eap/mongolia/images/sector_icons.jpg differ diff --git a/extractives/eap/mongolia/images/separator-grey-footer.gif b/extractives/eap/mongolia/images/separator-grey-footer.gif new file mode 100755 index 0000000..e2047d2 Binary files /dev/null and b/extractives/eap/mongolia/images/separator-grey-footer.gif differ diff --git a/extractives/eap/mongolia/images/slice_1_1.jpg b/extractives/eap/mongolia/images/slice_1_1.jpg new file mode 100755 index 0000000..530b2fc Binary files /dev/null and b/extractives/eap/mongolia/images/slice_1_1.jpg differ diff --git a/extractives/eap/mongolia/images/spacer.gif b/extractives/eap/mongolia/images/spacer.gif new file mode 100755 index 0000000..dfd14d4 Binary files /dev/null and b/extractives/eap/mongolia/images/spacer.gif differ diff --git a/extractives/eap/mongolia/images/sprite.png b/extractives/eap/mongolia/images/sprite.png new file mode 100644 index 0000000..08e5180 Binary files /dev/null and b/extractives/eap/mongolia/images/sprite.png differ diff --git a/extractives/eap/mongolia/images/sprite2.png b/extractives/eap/mongolia/images/sprite2.png new file mode 100644 index 0000000..98c21c9 Binary files /dev/null and b/extractives/eap/mongolia/images/sprite2.png differ diff --git a/extractives/eap/mongolia/images/table-th-bg.gif b/extractives/eap/mongolia/images/table-th-bg.gif new file mode 100644 index 0000000..72f759f Binary files /dev/null and b/extractives/eap/mongolia/images/table-th-bg.gif differ diff --git a/extractives/eap/mongolia/images/table-th-project-list-bg.gif b/extractives/eap/mongolia/images/table-th-project-list-bg.gif new file mode 100644 index 0000000..bde196d Binary files /dev/null and b/extractives/eap/mongolia/images/table-th-project-list-bg.gif differ diff --git a/extractives/eap/mongolia/images/table-top-row-bg.gif b/extractives/eap/mongolia/images/table-top-row-bg.gif new file mode 100755 index 0000000..e009c4b Binary files /dev/null and b/extractives/eap/mongolia/images/table-top-row-bg.gif differ diff --git a/extractives/eap/mongolia/images/table-top-row-light-bg.gif b/extractives/eap/mongolia/images/table-top-row-light-bg.gif new file mode 100755 index 0000000..9029bb1 Binary files /dev/null and b/extractives/eap/mongolia/images/table-top-row-light-bg.gif differ diff --git a/extractives/eap/mongolia/images/worldbank_logo b/extractives/eap/mongolia/images/worldbank_logo new file mode 100644 index 0000000..64c6d03 Binary files /dev/null and b/extractives/eap/mongolia/images/worldbank_logo differ diff --git a/extractives/eap/mongolia/images/worldbank_logo.gif b/extractives/eap/mongolia/images/worldbank_logo.gif new file mode 100644 index 0000000..bed2064 Binary files /dev/null and b/extractives/eap/mongolia/images/worldbank_logo.gif differ diff --git a/extractives/eap/mongolia/index.html b/extractives/eap/mongolia/index.html new file mode 100644 index 0000000..6dacac7 --- /dev/null +++ b/extractives/eap/mongolia/index.html @@ -0,0 +1,371 @@ + + + + + + + + + + Mining in Mongolia + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    + + +
    +
    +
    +
    + MONGOLIA +
    + + +
    +

    +      +      +

    +
    +
    +
    + +
    +
    + + +
    +
    +
      +
    • MINERAL:
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • + +
    + +
    +
    +
    + + +
    + + + + +
    + +
    + +
    +
    + +
    + +
    + +
    +
    + + + +
    +
    + +
    +
    +
    + +
    +

    GOVERNMENT REVENUES BY TYPE (2010)

    + +

    + +
    + +
    +
    +
    + +
    + + +
    + +
    + +
    + +

    MONGOLIA LINKS

    + +

    MONGOLIA

    + Since its transition to a democracy and a market economy in 1990, Mongolia has had strong macroeconomic growth, high literacy and education levels, advanced public financial management, and a decline in poverty. GNI rose from US$528 in 1995 to US$1,890 in 2010. +
    + +
    +
    + +
    + +
    + + + You are here + + + Projects & Operations + + + Map + + World + Extractive Industries + Extractives in East Asia and Pacific + Mongolia + +
    +
    + +
    + + + + + + + + diff --git a/extractives/eap/mongolia/js/extractives.js b/extractives/eap/mongolia/js/extractives.js new file mode 100644 index 0000000..497b204 --- /dev/null +++ b/extractives/eap/mongolia/js/extractives.js @@ -0,0 +1,56 @@ + (function(){ + F1.WorldBank.extractives = { + + "Licenses": { + infoWindowFilter:{"title": "$[soumnameen] Soum","subtitle": "","tabs": [{"title": "Production","type": "text","value": "Number of production licenses: $[prod_count]\nArea under production license: $[prod_area] hectares\nSoum area: $[soum_area] hectares\nPercent of soum: $[prod_pct]"},{"title": "Exploration","type": "text","value": "Number of exploration licenses: $[exp_count]\nArea under exploration license: $[exp_area] hectares\nSoum area: $[soum_area] hectares\nPercent of soum: $[exp_pct]"},{"title": "All","type": "text","value": "Total number of licenses: $[all_count]\nArea under any license: $[all_area] hectares\nSoum area: $[soum_area] hectares\nPercent of soum: $[all_pct]"},{"title": "About","type": "text","value": "This data is derived from spatial data on licenses provided by the Mineral Resources Authority of Mongolia and boundary data from the Environmental Information Center. See the About page for more details."}]}, + "Production percent": {"infoWindowFilter": {"subtitle": "Percent of soum under production license: $[prod_pct]%"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "prod_pct","categories": 5, "color": [0xFEF7A5]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xFEF7A5]},"fill": {"opacity": 0.75,"color": [0xFEF7A5]}, "expression":"$[prod_pct] > 0"}, + "Production count": {"infoWindowFilter": {"subtitle": "Number of production licenses in soum: $[prod_count]"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "prod_count","categories": 5,"color": [0xFCAE91]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xFCAE91]},"fill": {"opacity": 0.75,"color": [0xFCAE91]}, "expression":"$[prod_count] > 0"}, + "Exploration percent": {"infoWindowFilter": {"subtitle": "Percent of soum under exploration license: $[exp_pct]%"}, "icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 0.75,"dropShadow": true,"selectedAttribute": "exp_pct","categories": 5,"color": [0xFECE6D]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xFECE6D]},"fill": {"opacity": 0.75,"color": [0xFECE6D]}, "expression":"$[exp_pct] > 0"}, + "Exploration count": {"infoWindowFilter": {"subtitle": "Number of exploration licenses in soum: $[exp_count]"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 0.75,"dropShadow": true,"selectedAttribute": "exp_count","categories": 5,"color": [0xFB6A4A]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xFB6A4A]},"fill": {"opacity": 0.75,"color": [0xFB6A4A]},"expression":"$[exp_count] > 0"}, + "All percent": {"infoWindowFilter": {"subtitle": "Percent of soum under any license: $[all_pct]%"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "all_pct","categories": 5, "color": [0xEC8414]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xEC8414]},"fill": {"opacity": 0.75,"color": [0xEC8414]},"expression":"$[all_pct] > 0"}, + "All count": {"infoWindowFilter": {"subtitle": "Number of licenses (all) in soum: $[all_count]"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "all_count","categories": 5,"color": [0xCB181D]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": [0xCB181D]},"fill": {"opacity": 0.75,"color": [0xCB181D]},"expression":"$[all_count] > 0"} + }, + + "EITI": { + infoWindowFilter:{"title": "$[soumnameen] Soum, $[aimagnameen] Aimag","subtitle":"","tabs": [{"title": "Payments","type": "text","value": "Payment data summarized by soum.\nTotal payments: $[totalpaysum] thousand ₮\nPayments to central budget: $[centralpaysum] thousand ₮\nPayments to local budget: $[localpaysum] thousand ₮"},{"title": "Minerals","type": "text","value": "Resources being extracted in the soum\nGold: $[gold]\nCopper: $[copper]\nIron: $[iron]\nCoal: $[coal]\nPetroleum: $[petroleum]\nOther: $[other]\nOther minerals include molybdenum, spar, uranium, lignite, plumbum, zinc, sulfide, rocks and construction materials"},{"title": "Companies","type": "text","value": "Companies reporting in this soum and their registration numbers:\n$[complistpay]"},{"title": "About","type": "text","value": "Payment data was extracted from the 2010 EITI report, and aggregated to soums in which companies are actively extractive resources. Only companies operating in a single soum were included. See the About page for more details."}]}, + "National payments": {"infoWindowFilter": {"subtitle": "Sum of payments to central budget: $[centralpaysum] thousand ₮"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "centralpaysum","categories": 5, "color": [0xEBD9C2]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0xEBD9C2]},"expression":"$[centralpaysum] > 0"}, + "Local payments": {"infoWindowFilter": {"subtitle": "Sum of payments to local budgets: $[localpaysum] thousand ₮"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "localpaysum","categories": 5,"color": [0xD1B79F]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0xD1B79F]},"expression":"$[localpaysum] > 0"}, + "Total payments": {"infoWindowFilter": {"subtitle": "Sum of all payments: $[totalpaysum] thousand ₮"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "totalpaysum","categories": 5,"color": [0xA4866D]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0xA4866D]},"expression":"$[totalpaysum] > 0"} + }, + + "Company": { + infoWindowFilter:{"title": "$[company_name]","subtitle":"", "tabs": [{"title": "Company Info","type": "text","value": "Company name: $[company_name]\nRegistration number:: $[registration_number]\nInvestment agreement: $[invest_agree]"},{"title": "Minerals","type": "text","value": "Resources being extracted in the soum\nGold: $[gold]\nCopper: $[copper]\nIron: $[iron]\nCoal: $[coal]\nPetroleum: $[petroleum]\nOther: $[other]\nOther minerals include molybdenum, spar, uranium, lignite, plumbum, zinc, sulfide, rocks and construction materials"},{"title": "About","type": "text","value": "Company data was extracted from the 2010 EITI report, and shows all soums in which companies are actively extractive resources. See the About page for more details."}]}, + "Location": {"infoWindowFilter": {"subtitle": "Total EITI 2010 payments: $[totalpay] thousand ₮"},"type": "PRIMITIVE","stroke": {"color": [0x361E18], "weight": 1, "opacity": 0.75},"fill":{"color":[0x543E36],"opacity": 0.75}}, + }, + + "Donations": { + infoWindowFilter:{"title": "$[soumnameen] Soum, $[aimagnameen] Aimag","subtitle":"","tabs": [{"title": "Data","type": "text","value": "Sum of donations and contributions reported at the soum level.\nDonations: $[donation_sum] thousand ₮\nEnvironmental fund contributions: $[envcontrib_sum] thousand ₮\nLocal taxes, fees, etc: $[payment_sum] thousand ₮\nNumber of transactions: $[transaction_number]"},{"title": "About","type": "text","value": "Companies volunteered information on how much they paid to local environmental funds for rehabilitation, donations made to local activities and organizations, and local taxes, fees and royalties. Prepared for the 2010 EITI report. See the About page for more details."}]}, + "Transaction count": {"infoWindowFilter": {"subtitle": "Number of transactions made: $[transaction_number]"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "transaction_number","categories": 5, "color": [0x361E18]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0x361E18]}}, + "Total donations": {"infoWindowFilter": {"subtitle": "Total value of donations made in soum: $[donation_sum] thousand ₮"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "donation_sum","categories": 5,"color": [0x7C6253]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0x7C6253]}}, + "Environmental contributions": {"infoWindowFilter": {"subtitle": "Total payments into environmental fund: $[envcontrib_sum] thousand ₮"},"icon": {"opacity": 0.75,"size": 1,"symbol": "propCircle","propSize": null,"classificationType": "Quantile","gradSize": 1,"dropShadow": true,"selectedAttribute": "envcontrib_sum","categories": 5,"color": [0x4A342C]},"type": "GRADUATED","stroke": {"alpha": 1,"weight": 1,"color": 137011},"fill": {"opacity": 0.75,"color": [0x4A342C]}} + }, + + "Special Protected Areas": { + infoWindowFilter:{"title": "$[placenamee] Special Protected Area","subtitle":"","tabs": [{"title": "Data","type": "text","value": "Special protected area boundaries provided by the Environmental Information Center. See the About page for more information"}]}, + "Location": {"infoWindowFilter": {"subtitle": ""},"type": "PRIMITIVE","stroke": {"color": [0x238443], "weight": 1, "opacity": 0.75},"fill":{"color":[0x238443],"opacity": 0.75}}, + }, + +"Forest": { + infoWindowFilter:{"title": "Forested Area","subtitle":"","tabs": [{"title": "About","type": "text","value": "Coverage of forest area in Mongolia. Data provided by the Environmental Information Center."}]}, + "Location": {"infoWindowFilter": {"subtitle": ""},"type": "PRIMITIVE","stroke": {"color": [0x005A32], "weight": 1, "opacity": 0.75},"fill":{"color":[0x005A32],"opacity": 0.75}}, + }, + + "Infant Mortality": {source: "finder:", title:"Infant Mortality Rate", subtitle: "Per 1,000 live births, in $[aimagnameen] Aimag", styles: { type: "CHOROPLETH", stroke: {color: 0x222222}, fill: { colors: [0xFEF7A5, 0xFECE6D, 0xEC8414, 0xAE4C02, 0x662506], categories: 5, classificationNumClasses: 5, classificationType: "QUANTILE", opacity: 0.75, selectedAttribute: "infantmort"}}, infosubtitle: null, table: null, description: "Infant deaths per 1,000 live births in the 2nd quarter of 2012. Infant mortality rate is the number of infant deaths (deaths before reaching one year of age) per 1,000 for the ten year period preceding the survey.\nSource: National Statistical Office of Mongolia."}, + + "Population": {source: "finder:", title:"Population", subtitle: "Number of People", styles: { type: "CHOROPLETH",stroke: {color: 0x222222}, fill: { colors: [0xEFF3FF, 0xBDD7E7, 0x6BAED6, 0x3182BD, 0x08519C], categories: 5, classificationNumClasses: 5, classificationType: "QUANTILE", opacity: 0.75, selectedAttribute: "population"}}, infosubtitle: "The number of people in $[aimagnameen] Aimag", table: null, description: "The number of people in each aimag in 2010.\nSource: National Statistical Office of Mongolia."}, + + "Unemployment": {source: "finder:", title:"Unemployment", subtitle: "", styles: { type: "CHOROPLETH", stroke: {color: 0x222222}, fill: { colors: [0xFEE5D9, 0xFCAE91, 0xFB6A4A, 0xDE2D26, 0xA50F15], categories: 5, classificationNumClasses: 5, classificationType: "QUANTILE", opacity: 0.75, selectedAttribute: "unemployment"}}, infosubtitle: "The number of people in $[aimagnameen] Aimag not employed in the first half of 2012", table: null, description: "The number of people in each aimag not employed in the first half of 2012. Source: National Statistical Office of Mongolia."}, + + "Number of Physicians": {source: "finder:", title:"Number of Physicians", subtitle: "", styles: { type: "CHOROPLETH", stroke: {color: 0x222222}, fill: { colors: [15456706, 13744031, 10782317, 8151635, 4863020], categories: 5, classificationNumClasses: 5, classificationType: "QUANTILE", opacity: 0.75, selectedAttribute: "physnum"}}, infosubtitle: "The number of physicians in $[aimagnameen] Aimag", table: null, description: "The number of physicians in each aimag in 2010. \nSource: National Statistical Office of Mongolia."}, + + "Number of Households": {source: "finder:", title:"Number of Households (thousands)", subtitle: "", styles: { type: "CHOROPLETH", stroke: {color: 0x222222}, fill: { colors: [5313667, 8608676, 12619965, 14924738, 16573399], categories: 5, classificationNumClasses: 5, classificationType: "QUANTILE", opacity: 0.75, selectedAttribute: "housenum"}}, infosubtitle: "The number of households in $[aimagnameen] Aimag, in thousands", table: null, description: "The number of households in each aimag in 2010. \nSource: National Statistical Office of Mongolia."}, + + "Soum Boundaries":{source: "finder:", title:"$[soumnameen] Soum, $[aimagnameen] Aimag", selectedAttribute:"soumnameen",subtitle: "",styles: {type: "PRIMITIVE",stroke: {color: 0x222222, weight: 1, opacity: 0.75},fill:{color:[0xCCCC66],opacity: 0.75}},infosubtitle: "$[soumnameen] Soum", table: null, description: "Soum boundaries provided by the Environmental Information Center."}, + + }; + })(); diff --git a/extractives/eap/mongolia/js/map.js b/extractives/eap/mongolia/js/map.js new file mode 100644 index 0000000..b467fcc --- /dev/null +++ b/extractives/eap/mongolia/js/map.js @@ -0,0 +1,1512 @@ +var proxy_host = "http://maps.worldbank.org"; +var project_attributes = ["id","project_name","totalamt","prodlinetext","grantamt","mjsector1","boardapprovaldate","majorsector_percent"]; +var major_sector_name = "mjsector 1"; +var barchart; + +function getQuerystring(key, default_) +{ + if (default_==null) default_=""; +// key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); + var regex = new RegExp("[\\?&]"+key+"=([^&#]*)"); + var qs = regex.exec(window.location.href); + if(qs == null) + return default_; + else + return qs[1]; + }; + + +startList = function() +{ + + if (document.all&&document.getElementById) { + navRoot = document.getElementById("navmenu"); + for (i=0; i 0) ? country_attrs.indicators[0] : null; + this.cb = callback; + this.page_type = country_attrs.page_type; + this.thematic_area = country_attrs.thematic_area; + if(this.thematic_area === undefined || this.thematic_area === null) + this.thematic_area = "m4r"; + + this.wbicons = {"Agriculture, fishing, and forestry":"http://maps.worldbank.org/images/icons/round/agriculture-16.png","Information and communications":"http://maps.worldbank.org/images/icons/round/communication-16.png","Education":"http://maps.worldbank.org/images/icons/round/education-16.png","Energy and mining":"http://maps.worldbank.org/images/icons/round/energy-16.png","Finance":"http://maps.worldbank.org/images/icons/round/finance-16.png","Health and other social services":"http://maps.worldbank.org/images/icons/round/health-16.png","Industry and trade":"http://maps.worldbank.org/images/icons/round/industry-16.png","Public Administration, Law, and Justice":"http://maps.worldbank.org/images/icons/round/public-16.png","Transportation":"http://maps.worldbank.org/images/icons/round/transportation-16.png","Water, sanitation and flood protection":"http://maps.worldbank.org/images/icons/round/water-16.png"}; + + var color_index = 3; + this.sectors = { + "agriculture": {name: "Agriculture, fishing, and forestry", sector_code: "AX", color: self.fadeHex("#8bb131","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "agriculture", icon: "http://maps.worldbank.org/images/icons/round/agriculture-on.png"}, + "communications": {name: "Information and communications", sector_code: "CX", color: self.fadeHex("#395f8f","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "communications", icon: "http://maps.worldbank.org/images/icons/round/communication-on.png"}, + "education": {name: "Education", sector_code: "EX", color: self.fadeHex("#eebd00","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "education", icon: "http://maps.worldbank.org/images/icons/round/education-on.png"}, + "energy": {name: "Energy and mining", sector_code: "LX", color: self.fadeHex("#880000","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "energy", icon: "http://maps.worldbank.org/images/icons/round/energy-on.png"}, + "finance": {name: "Finance", sector_code: "FX", color: self.fadeHex("#40823f","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "finance", icon: "http://maps.worldbank.org/images/icons/round/finance-on.png"}, + "health": {name: "Health and other social services", sector_code: "JX", color: self.fadeHex("#c23001","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "health", icon: "http://maps.worldbank.org/images/icons/round/health-on.png"}, + "industry": {name: "Industry and trade", sector_code: "YX", color: self.fadeHex("#7f4410","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "industry", icon: "http://maps.worldbank.org/images/icons/round/industry-on.png"}, + "public": {name: "Public Administration, Law, and Justice", sector_code: "BX", color: self.fadeHex("#8060a4","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "public", icon: "http://maps.worldbank.org/images/icons/round/public-on.png"}, + "water": {name: "Water, sanitation and flood protection", sector_code: "WX", color: self.fadeHex("#369fd0","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "water", icon: "http://maps.worldbank.org/images/icons/round/water-on.png"}, + "transportation": {name: "Transportation", sector_code: "TX", color: self.fadeHex("#d28807","#FFFFFF",10)[color_index], funding: 0, projects: [], activities: 0, shortname: "transportation", icon: "http://maps.worldbank.org/images/icons/round/transportation-on.png"}}; + + this.sector_names = {}; + this.sector_codes = {}; + + var sector; + + for( var index in self.sectors) + { + sector = self.sectors[index]; + if(country_attrs.sectors !== undefined && country_attrs.sectors !== null && country_attrs.sectors[sector.name] !== null) { + sector.funding = country_attrs.sectors[sector.name]; + self.total_funding += country_attrs.sectors[sector.name]; + } + self.sector_names[sector.name.toLowerCase().trim()] = index; + self.sector_codes[sector.sector_code] = sector; + } + + + if(map_id !== undefined && map_id !== null && map_id.length != 0) + { + this.map = new F1.Maker.Map( { dom_id:"wb_map",map_id:map_id, + uiZoom: false,uiLayers: false,uiLegend: false,uiStyles: true, + uiHeader: true,hideGCLogo: true,hideGILogo: false, + core_host: proxy_host + '/', finder_host:proxy_host + '/', maker_host: proxy_host + '/', + onMapLoaded: function() { setTimeout("wb.loadedMap()",500); }, + onFeatureSelected: function(features) { if(self.country == "World" && features.features.length > 0) { + var country = features.features[0]; window.location = "/" + country.region.toLowerCase() + "/" + country["lowercase country name"].toLowerCase().replace(/\s+/g,'-') ; + }}, + flashvars: {country: self.country} + }); + } + + else + { + self.sectorPieChart("all", false); + self.regionFundingBars(); + } + + }, + + setState: function(location,indicator,project,sectors) + { + var self = this; + + if(location !== undefined && location !== null) + setLocation("",location.lat,location.lon,location.zoom); + + if(indicator !== undefined && indicator !== null) + this.setIndicator(indicator); + + if(sectors !== undefined && sectors !== null) + { + jq.each(sectors, function(sector) + { + self.toggleSector(sectors[sector], true); + }) + + } + + else + { + this.toggleSector('none', false) + } + + return false;}, + + setBookmark: function(key, value) + { + var options = document.location.hash.split("&") + var hash = ""; + jq.each(options, function(index,option) { + if(option !== undefined && option !== null && option != "" && option != "#") { + var vals = option.split("=") + if(vals[0] === key) { + vals[1] = value + key = null; + } + hash += "&" + vals[0] + "=" + vals[1]; + } + }); + + if(key !== undefined && key !== null) + hash += "&" + key + "=" + value; + + document.location.hash = hash; + return false; + }, + + getBookmark: function(key) + { + var options = document.location.hash.split("&") + var value = null; + jq.each(options, function(index,option) { + var vals = option.split("=") + if(vals[0] === key) + value = vals[1] + }); + return value; + },// updates the URL hash with current states + + saveState: function() + { + var center = this.map.getCenterZoom(); + this.setBookmark("location",center[0].lat.toFixed(6) + "," + center[0].lon.toFixed(6) + "," + center[1]) + var vs = "" + jq.each(this.visibleSectors, function(index,sector) { vs += sector + ","; }); + this.setBookmark("sectors",vs); + if(this.current_indicator !== undefined && this.current_indicator !== null) + this.setBookmark("indicator",this.current_indicator.replace(/ /g,'_')); + return false; + }, + // uses the URL hash to set current viewed state + + loadState: function() + { + var self = this; + var center = this.getBookmark("location"); + if(center !== undefined && center !== null) { + var loc = center.split(",") + self.setLocation("",loc[0],loc[1],loc[2]) + } + var vs = this.getBookmark("sectors"); + if(vs !== undefined && vs !== null && vs !== "") { + self.toggleSector("none", false, false) + var sectors = vs.split(","); + jq.each(sectors, function(index, sector) { if(sector !== "") self.toggleSector(sector, true, false)}) + } + var indicator = this.getBookmark("indicator"); + if(indicator !== undefined && indicator !== null) { + self.setIndicator(indicator.replace(/_/g,' ')); + } + + return false; + }, + + updateEmbedLink: function() + { + this.saveState(); + var base_link = document.location.protocol + "//" + document.location.host + document.location.pathname; + var view_link = document.location.hash.replace(/&/g,'&'); + var url = base_link + document.location.hash; + var iframe = "
    World Bank's Mapping for Results" + jq("#embed_code").val(iframe); + jq("#share_link").attr("value", url); + return false; + }, + + setLocation: function(region,lat,lon,zoom) + { + this.map.setCenterZoom(lat,lon,zoom); + return false; + }, + + hideSectors: function() + { + var self = this; + jq.each(self.sectors, function (sector) { + self.map.addFilter(self.stylelayers["Project Locations"].guid, {expression: "$[" + major_sector_name + "] == " + self.sectors[sector].shortname}); + }); + return false; + }, + + setMapTitle: function() + { + var title = ""; + if(this.current_projects) + title += "Projects by "; + if(this.current_indicator) + title += this.current_indicator; + + jq('#map-title').html(title) + return false; + }, + + setExtractiveIndicator: function(indicator, attribute, title, visible) + { + var self = this; + + //s_attr points to the extractives.js definitions to get values for filtering, naming tabs and titles, etc. + var s_attr = F1.WorldBank.extractives[indicator][attribute]; + + + if(indicator == "Special Protected Areas") { + var layervisible=self.map.getLayers(); + if(layervisible[self.stylelayers[indicator].order].visible){ + self.map.showLayer(self.stylelayers[indicator].guid, false); + } + else { + self.map.showLayer(self.stylelayers[indicator].guid, true); + } + } + + if(indicator == "Forest") { + var layervisible=self.map.getLayers(); + if(layervisible[self.stylelayers[indicator].order].visible){ + self.map.showLayer(self.stylelayers[indicator].guid, false); + } + else { + self.map.showLayer(self.stylelayers[indicator].guid, true); + } + } + + else { + //District revenues check and Mines check disables + //self.map.showLayer(self.stylelayers["District revenues"].guid, false); + + if(indicator=="Licenses"){ + self.map.clearFilters(self.stylelayers[indicator].guid); + self.map.addFilter(self.stylelayers[indicator].guid, {expression : s_attr["expression"]}); + self.map.showLayer(self.stylelayers["EITI"].guid,false); + self.map.showLayer(self.stylelayers["Company"].guid,false); + self.map.showLayer(self.stylelayers["Donations"].guid,false); + self.map.showLayer(self.stylelayers["Licenses"].guid, true); + jq('#layercontrol_company').html("Not Shown"); + jq('#layercontrol_extractives').html(title); + } + else if (indicator=="EITI"){ + self.map.showLayer(self.stylelayers["Licenses"].guid,false); + self.map.showLayer(self.stylelayers["Company"].guid,false); + self.map.showLayer(self.stylelayers["Donations"].guid,false); + self.map.showLayer(self.stylelayers["EITI"].guid, true); + self.showVisibleMines(indicator,"Company"); + jq('#layercontrol_company').html(title); + jq('#layercontrol_extractives').html("Not Shown"); + } + + else if (indicator=="Donations"){ + self.map.showLayer(self.stylelayers["Licenses"].guid,false); + self.map.showLayer(self.stylelayers["Company"].guid,false); + self.map.showLayer(self.stylelayers["EITI"].guid,false); + self.map.showLayer(self.stylelayers["Donations"].guid, true); + jq('#layercontrol_company').html(title); + jq('#layercontrol_extractives').html("Not Shown"); + } + else if (indicator=="Company"){ + self.map.showLayer(self.stylelayers["Licenses"].guid,false); + self.map.showLayer(self.stylelayers["EITI"].guid,false); + self.map.showLayer(self.stylelayers["Donations"].guid,false); + self.map.showLayer(self.stylelayers["Company"].guid, true); + self.showVisibleMines(indicator,"EITI"); + jq('#layercontrol_company').html(title); + jq('#layercontrol_extractives').html("Not Shown"); + + } + //self.map.showLayer(self.stylelayers["Mines"].guid, true); + //self.map.showLayer(self.stylelayers["Oil wells"].guid, true); + } + + //When showing by location, first assign image icons based on the Mineral Type attribute, then use setLayerStyle to trigger a change the in layer styling. + if(attribute == "Location"){ + self.map.setLayerStyle(self.stylelayers[indicator].guid, s_attr); + } + //When showing by quantities, use the styling information contained in the layer definition - needs to be separate + else { + // s_attr.icon.selectedAttribute = attribute; + //self.map.clearFilters(self.stylelayers[indicator].guid); + //self.map.addFilter(self.stylelayers[indicator].guid, {expression : s_attr["expression"]}); + self.map.setLayerStyle(self.stylelayers[indicator].guid, s_attr); + } + + self.map.setLayerInfoWindow(self.stylelayers[indicator].guid, { + title: F1.WorldBank.extractives[indicator]["infoWindowFilter"]["title"], + subtitle: s_attr["infoWindowFilter"]["subtitle"], tabs: F1.WorldBank.extractives[indicator]["infoWindowFilter"]["tabs"]}); + + + return false; + }, + + toggleExtractive: function(layer,offlayer,sector,visible) + { + var self = this; + var layervisible=self.map.getLayers(); + + + if(layer == "EITI" || layer == "Company") { + var classname = "#" + sector + "mine_control"; + if(visible == true || jq(classname).hasClass("inactive")) { + jq(classname).removeClass('inactive').addClass('active'); + } + else { + jq(classname).removeClass('active').addClass('inactive'); + } + var visibility =layervisible[self.stylelayers[layer].order].visible; + + var visibility2 =layervisible[self.stylelayers[offlayer].order].visible; + if(layervisible[self.stylelayers[layer].order].visible){ + self.showVisibleMines(layer, offlayer); + } + else if(layervisible[self.stylelayers[offlayer].order].visible){ + self.showVisibleMines(offlayer, layer); + } + } + + else if(layer == "Mineral deposits") { + var classname = "#" + sector + "deposit_control"; + if(visible == true || jq(classname).hasClass("inactive")) { + if(sector == "all") { + jq.each(jq('#ore_sectors li a'), function(el,index) { + jq(el).removeClass('inactive').addClass('active'); + }) + jq("#alldeposit_control").attr("checked", true) + } + else { + jq(classname).removeClass('inactive').addClass('active'); + } + } + else { + if(sector == "all") { + jq.each(jq('#ore_sectors li a'), function(el,index) { + jq(el).removeClass('active').addClass('inactive'); + }) + jq("#alldeposit_control").attr("checked", false) + } + else { + jq(classname).removeClass('active').addClass('inactive'); + jq("#alldeposit_control").attr("checked", false) + + } + } + self.showVisibleDeposits(); + } + return false; + }, + + showVisibleMines: function(layer,offlayer) + { + var self = this; + self.map.clearFilters(self.stylelayers[layer].guid); + self.map.clearFilters(self.stylelayers[offlayer].guid); +// self.map.showLayer(self.stylelayers[layer].guid, true); + var visibleMines = jq.map(jq('#mines_sectors li a'), function(el,index) { + if( jq(el).hasClass('active')) + return jq(el).attr("original-title") + }) + if(visibleMines.length != 0 ){ +// self.map.showLayer(self.stylelayers[layer].guid, true); + + self.map.addFilter(self.stylelayers[layer].guid, + {expression: self.complexFilterExpression(visibleMines,"Yes")}); + self.map.addFilter(self.stylelayers[offlayer].guid, + {expression: self.complexFilterExpression(visibleMines,"Yes")}); + self.map.showLayer(self.stylelayers[layer].guid, true); + self.map.showLayer(self.stylelayers[offlayer].guid, false); + } else { + self.map.showLayer(self.stylelayers[layer].guid, false); + } + }, + + showVisibleDeposits: function() + { + var self = this; + var layer = "Mineral deposits" + + self.map.clearFilters(self.stylelayers[layer].guid); + self.map.showLayer(self.stylelayers[layer].guid, true); + + var visibleDeposits = jq.map(jq('#ore_sectors li a'), function(el,index) { + if( jq(el).hasClass('active')) + return jq(el).attr("original-title") + }) + if(visibleDeposits.length != 0 ){ + self.map.showLayer(self.stylelayers[layer].guid, true); + self.map.addFilter(self.stylelayers[layer].guid, + {expression: self.complexFilterExpression(visibleDeposits, "mineral ty")}); + } else { + self.map.showLayer(self.stylelayers[layer].guid, false); + } + }, + + toggleSector: function(sector,visible,refreshCharts) + { + var self = this; + var visibleExpression = ""; + if(self.stylelayers["Project Locations"] === undefined || self.stylelayers["Project Locations"] === null) // World Map + return; + + self.current_projects = visible; + + if(sector == "none") { + self.visibleSectors = [sector]; + self.map.showLayer(self.stylelayers["Project Locations"].guid, visible); + if(self.stylelayers["Project Counts"] !== undefined && self.stylelayers["Project Counts"] !== null) { + self.map.showLayer(self.stylelayers["Project Counts"].guid, visible); + } + jq('#layercontrol_projects').html("No Activities"); + self.visibleSectors = []; + jq('#map-content-icons').hide() + jq('#map-content-regions').hide() + } + else if(sector == 'all') { + if(visible === undefined || visible === null) + visible = !(jq("#sall").attr('checked')); + + if(visible) { + try {self.map.clearFilters(self.stylelayers["Project Locations"].guid);} catch(err) {} + jq.each(self.sectors, function(sector) { + if(Object.include(self.visibleSectors, sector) === undefined || Object.include(self.visibleSectors, sector) === null) + self.visibleSectors.push(sector); + }); + } + else { + self.map.clearFilters(self.stylelayers["Project Locations"].guid); + self.map.addFilter(self.stylelayers["Project Counts"].guid, {expression: "$[admprecision] == 'ADM2'"}); + self.visibleSectors = []; + } + jq("#sall").attr('checked', visible); + self.map.showLayer(self.stylelayers["Project Locations"].guid, visible); + if(self.stylelayers["Project Counts"] !== undefined) + self.map.showLayer(self.stylelayers["Project Counts"].guid, !visible); + jq('#layercontrol_projects').html("By Sector"); + jq('#map-content-icons').show() + jq('#map-content-regions').hide() + + } + else if(sector == 'counts_admin1') { + self.visibleSectors = [sector]; + if(self.stylelayers["Project Counts"] !== undefined) { + self.map.showLayer(self.stylelayers["Project Counts"].guid, visible); + self.map.clearFilters(self.stylelayers["Project Counts"].guid); + self.map.addFilter(self.stylelayers["Project Counts"].guid, {expression: "$[admprecision] == 'ADM1'"}); + } + self.map.showLayer(self.stylelayers["Project Locations"].guid, !visible); + refreshCharts = false; + jq('#layercontrol_projects').html("By Count"); + jq('#map-content-icons').hide() + jq('#map-content-regions').show() + jq('input:radio[name="by_region"]').filter('[value="province"]').attr('checked', true); + jq('input:radio[name="by_region"]').filter('[value="district"]').attr('checked', false); + + } + else if(sector == 'counts_admin2') { + self.visibleSectors = [sector]; + if(self.stylelayers["Project Counts"] !== undefined){ + self.map.showLayer(self.stylelayers["Project Counts"].guid, visible); + self.map.clearFilters(self.stylelayers["Project Counts"].guid); + self.map.addFilter(self.stylelayers["Project Counts"].guid, {expression: "$[admprecision] == 'ADM2'"}); + } + self.map.showLayer(self.stylelayers["Project Locations"].guid, !visible); + refreshCharts = false; + jq('#map-content-icons').hide() + jq('#map-content-regions').show() + jq('#layercontrol_projects').html("By Count"); + + jq('input:radio[name="by_region"]').filter('[value="province"]').attr('checked', false); + jq('input:radio[name="by_region"]').filter('[value="district"]').attr('checked', true); + + } + else if(sector == 'counts') { + if(self.stylelayers["Project Counts"] !== undefined && self.stylelayers["Project Counts"] !== null) + self.map.showLayer(self.stylelayers["Project Counts"].guid, visible); + self.map.showLayer(self.stylelayers["Project Locations"].guid, !visible); + refreshCharts = false; + jq('#layercontrol_projects').html("By Count"); + + jq('#map-content-icons').hide() + jq('#map-content-regions').show() + } + else if(sector === undefined || sector === null) { + self.map.showLayer(self.stylelayers["Project Locations"].guid, false); + if(self.stylelayers["Project Counts"] !== undefined) + self.map.showLayer(self.stylelayers["Project Counts"].guid, false); + } + else { + jq("#sall").attr('checked', false); + if(visible === undefined || visible === null) + visible = !(jq("#sectorcontrol_" + sector).hasClass('active')); + + if(visible == true){ + if(self.stylelayers["Project Counts"] !== undefined && self.stylelayers["Project Counts"] !== null) + self.map.showLayer(self.stylelayers["Project Counts"].guid, false); + self.map.showLayer(self.stylelayers["Project Locations"].guid, false); + self.map.removeFilter(self.stylelayers["Project Locations"].guid, + {expression: self.complexSectorExpression(self.visibleSectors)}); + + if(Object.include(self.visibleSectors, sector) === undefined || Object.include(self.visibleSectors, sector) === null) { + self.visibleSectors.push(sector); + + self.map.addFilter(self.stylelayers["Project Locations"].guid, + {expression: self.complexSectorExpression(self.visibleSectors)}); + } + + self.map.showLayer(self.stylelayers["Project Locations"].guid, true); + jq('#layercontrol_projects').html("By Sector"); + jq('#map-content-regions').hide() + jq('#map-content-icons').show() + + } + else if(visible == false){ + + self.map.removeFilter(self.stylelayers["Project Locations"].guid, + {expression: self.complexSectorExpression(self.visibleSectors)}); + self.visibleSectors = jQuery.grep(self.visibleSectors, function(value) { + return value != sector; + }); + self.map.addFilter(self.stylelayers["Project Locations"].guid, {expression: self.complexSectorExpression(self.visibleSectors)}); + jq('#layercontrol_projects').html("Overview"); + } + } + self.setMapTitle(); + self.showVisibleSectors(); + + if(refreshCharts === undefined || refreshCharts === null || refreshCharts == true) + self.sectorPieChart(sector, false); + + // self.saveState(); + return false; + }, + + showVisibleSectors: function() + { + var self = this; + var sectorcontrols = jq('.sectorcontrol'); + + jq.each(sectorcontrols, function(index, sc) { + var sector_dom = jq("#" + sc.id); + var sector = sector_dom.attr("sector-name"); + + if(Object.include(self.visibleSectors, sector) != undefined || Object.include(self.visibleSectors, sector) != null) { + sector_dom.removeClass('inactive').addClass('active'); + } else { + sector_dom.removeClass('active').addClass('inactive'); + } + }); + + return false; + }, + + complexFilterExpression: function(sectorFilters, sector_attribute) + { + var self = this; + var expression = ""; + + for(var sector=0;sector=$5mUSD + + // Get the project level attributes + for(var i = 0;i 100) { + width = 640; + char_length = 47; + } + + if(refreshControls === undefined || refreshControls === null || refreshControls == true){ + self.toggleSector("all", false, false); // watch recursion + self.toggleSector(sector_name, true,false); // watch recursion + } + jq("#sector_funding_description").html(sector_name.capitalize()); + if(self.country != "World") {jq("#sector_funding_description").show();} + var projects = [] + var links = [] + var colors = []; + var labels = []; + if (sector_name == 'none') { + return; + } else if(sector_name == "all") { + + sector_names = "All" + jq.each(self.sectors, function (sector,sector_attrs) { + projects.push(sector_attrs) + }); + projects.sort(function (a, b) { + return b.funding - a.funding; + }); + var data = [] + jq.each(projects, function (index,project) { + // self.sectors[self.sector_names[project.mjsector1.toLowerCase().trim()]].shortname + links.push("javascript:wb.sectorPieChart('" + project.shortname + "', true);"); + colors.push(project.color) + var financing = project.funding > 1000 ? (project.funding/1000).toFixed(2) + "b" : project.funding.toFixed(2) + "m" + labels.push(Textify.elide_during(project.name, char_length, '...' ) + " - $" + financing ) + if( self.country == "World") + data.push({name:project.name + " - $" + financing,funding: project.funding}) + else + data.push({name:project.name,funding: project.funding}) + }); + + pie_options = {"features":data, + "attributes": {"data":{"name": "Funding","original_name": "funding"}, + "description":{"name": "Project","original_name": "name"}, + "sort":{"name": "Funding","original_name": "funding"} }}; + + funding = self.total_funding; + opts["chart"] = {"legend": labels, "colors": colors}; // in here for pre-1.8 api calls + opts["colors"] = colors; // for 1.8+ calls + if(self.stylelayers["Project Locations"] !== undefined && self.stylelayers["Project Locations"] !== null) + opts["chart"]["onclick"] = function() {wb.toggleSector(links[this.bar.index])}; + + var financing_total = funding > 1000 ? (funding/1000).toFixed(2) + " billion" : funding.toFixed(2) + " million"; + jq('#sector_funding_total').html("$" + financing_total); // + " / $136.912 billion" + jq('#sector_funding_title').html("Financed Activities by Sector") + + } + else { + projects = self.sectors[sector_name].projects; + funding = self.sectors[sector_name].funding; + + var links = jq.map(projects, function (project,index) { + labels.push(Textify.elide_during(project.project_name, 15, '...' ) + " - $" + project.sector_funding[sector_name].toFixed(2) + "m" ) + return "javascript:wb.highlightProject('" + project["id"] + "', '" + project["project_name"] + "');"; + }); + + pie_options = {"features":projects, + "attributes": {"data":{"name": "Funding","original_name": "financing amount"}, + "description":{"name": "Project","original_name": "project_name"}, + "sort":{"name": "Funding","original_name": "financing amount"} } }; + + sector_names = wb.sectors[sector_name].name; + var colors = self.fadeHex(self.sectors[sector_name].color, "#aaaaaa", 8); + opts["chart"] = {legend: labels, colors: colors}; + opts["colors"] = colors; + var financing_total = self.total_funding > 1000 ? (self.total_funding/1000).toFixed(2) + " billion" : self.total_funding.toFixed(2) + " million" + + jq('#sector_funding_total').html("$" + funding.toFixed(2) + " million / $"+ financing_total + ""); + jq('#sector_funding_title').html("Financed Activities for " + sector_names + " Sector") + } + + if(projects.length == 0){ + jq('#sector_funding_total').hide(); + jq('#chart-left-bar-chart').html("There are no projects in this sector. back to all sectors"); + return; + } + + if(projects.length == 1){ + jq('#chart-left-pie-chart').html("
    " + projects[0].project_name + ".
    There is only a single project in this sector."); + return; + } + + opts["label_length"] = char_length; + jq('#sector_funding_total').show(); + jq('#chart-left-pie-chart').show(); + + if(self.stylelayers["Project Locations"] !== undefined && self.stylelayers["Project Locations"] !== null) { + opts["href"] = links; + } + + F1.Visualizer.charts.pie(190, width, pie_options, "chart-left-pie-chart", opts); + + }, + + minesPieChart: function(data) + { + var opts = {}; + var labels = ["Corporate income tax","Value added tax","License fees","Windfall tax","Production sharing","Other payments"]; + payment_type = ["corp_inc_tax","vat","license_fee","windfall","psa_payment","other_payment"] + payment_total={} + + jq.each(payment_type, function(j,payment){ + if(payment_total[payment]=== undefined||payment_total[payment]===null){ + payment_total[payment]=0; + } + }) + + total = 0; +// jq.each(mines, function(i,mine) { +// if(mineral_type[mine["mineral_type"]] === undefined || mineral_type[mine["mineral_type"]] === null) { +// mineral_type[mine["mineral_type"]] = 0; +// } +// mineral_type[mine["mineral_type"]] += mine["Total_company_payments"] +// total += mine["Total_company_payments"]; +// }) + + + jq.each(data, function(i,company) { + jq.each(payment_type, function(j,payment){ + payment_total[payment] += company[payment] + total += company[payment] + })}) + + + payments = [] + var links = [] + jq.each(payment_total, function(type,amount) { + payments.push({"payment_type": type, "total": amount}) + }) + pie_options = {"features":payments, + "attributes": {"data":{"name": "Total payment","original_name": "total"}, + "description":{"name": "Payment type","original_name": "payment_type"}, + "sort":{"name": "Total payment","original_name": "total"} } }; + + var colors = ["#B84C02", "#FE9929", "#FEE281", "#D0D1E6", "#909FC2", "#44637B"] + opts["chart"] = {legend: labels, colors: colors}; + opts["colors"] = colors; + opts["href"] = links; + F1.Visualizer.charts.pie(190, 380, pie_options, "chart-left-pie-chart", opts); + + jq("#sector_funding_total").html(Math.round(total/100)/10 + " million ₮ in total") + + var self = this; + + var table = ''; + jq.each(["Company name", "Registration number","Location (if given)", "Investment agreement", "2010 National payments", " 2010 Local payments", "2010 Total payments"], function(index,header) { + table += tmpl(table_templates.th, {id: index,header: header}); + }); + table += "" + + jq.each(data, function(index, company) { + company["even"] = ((index+1) % 2 == 0) ? "row_even" : "row_odd"; + + table += tmpl(table_templates.company, company); + }); + table += "
    " + jq("#map-table").append(table); + + jq("#project-info tr").live("click", function() { + self.highlightCompany("comp_num", jq(this).attr("data-project-id")); + }); + }, + + regionFundingBars: function() + { + var self = this; + var s; + var features = []; + var links = []; + var labels = []; + var values = [] + var keys = []; + var regions = {"afr": [-58.21771015263559, -40.06827117611299, 110.1807216852909, 42.91753062543606], + "eca": [-13.217711665674042, 29.88985052620139, 70.98150425328919, 60.78686190710688], + "sa": [61.884824871647496, 7.593015725643423, 146.0840407906107, 46.958994928105135], + "mena": [-13.832946019988025, 12.094811366053843, 70.36626989897519, 49.98771379050206], + "lac": [-160.8300113899943, -50.196834236747186, 7.56842044793218, 31.477067805569064], + "eap": [82.62701167423133, -17.08655434162228, 166.82622759319457, 27.26600538926502]} + for(var key in self.regions){ if(key != "OTHER") {keys.push(key);} } + + jq.each(keys.sort(), function(i,s) { + features.push({name: s, financing: self.regions[s].financing}); + values.push(self.regions[s].financing/1000) + labels.push(s.wordwrap(8, "\n", false).toLowerCase().capitalize()) + links.push("javascript:wb.map.setExtent(" + regions[self.regions[s].shortname] + ")"); + }); + + jq('#funding_total').hide(); + + bar_options = { + ids: labels, + "features":features, "attributes": { + "data":{"name": "Financing Amount $m", "original_name": "financing"}, + "description":{"name": "Region", "original_name": "name"}, + "sort":{"name": "Financing Amount $m","original_name": "financing"} } }; + + jq("#chart-right-graph").html("") + var r = Raphael("chart-right-graph"); + + var fin = function () { + this.flag = r.g.popup(this.bar.x, this.bar.y, "$" + (this.bar.value).toFixed(2) + "b").insertBefore(this); + } + var fout = function () { + this.flag.animate({opacity: 0}, 300, function () {this.remove();}); + } + r.g.barchart(0, 10, 440, 170, [values], bar_options).hover(fin, fout).click(function(e) { + window.location = links[this.bar.index]; + }); + // r.g.axis(x_start, y_start, x_width, from, to, steps, orientation, labels, type, dashsize) + axis = r.g.axis(37,200,435,null,null,labels.length,2,labels, " ", 0); + axis.text.attr({font:"12px 'Fontin Sans', Fontin-Sans, sans-serif", fill:"#333", "color": "#333"}); + // axis2 = r.g.axis(35,190,300,0,400,10,1); + return r; + // F1.Visualizer.charts.bar(180, 405, bar_options, "chart-right-graph", {href: links, data_label: true, label: function() { return links[this.bar.index]; }}); + }, + + countryFundingBars: function() + { + var self = this; + var s; + var features = []; + var links = []; + var values = []; + var labels = []; + var max = 0; + jq.each(self.regions, function(s, region) { + features.push({name: s, financing: region.financing.toFixed(2)}); + values.push(region.financing/1000) + labels.push(s) + links.push("#" + s); + if(region.financing/1000 > max) { max = region.financing/1000 } + }); + + jq('#funding_total').hide(); + bar_options = { + ids: labels, + "features":features, "attributes": { + "data":{"name": "Financing Amount $m", "original_name": "financing"}, + "description":{"name": "Country", "original_name": "name"}, + "sort":{"name": "Financing Amount $m","original_name": "financing"} } }; + + jq("#chart-right-graph").html("") + var r = Raphael("chart-right-graph"); + var fin = function () { + this.flag = r.g.popup(this.bar.x, this.bar.y, labels[this.bar.index] + "\n" + ("$" + this.bar.value.toFixed(2) + "b")).insertBefore(this); + } + var fout = function () { + this.flag.animate({opacity: 0}, 300, function () {this.remove();}); + } + r.g.barchart(50, 20, 330, 200, [values], bar_options).hover(fin, fout).click(function(e) { window.location = links[this.bar.index];}); + axis2 = r.g.axis(25,200,160,0,max,8,1); + var xLabel = r.g.text(parseInt(400/2), 210, "Country Funding in Billions"); + xLabel.attr({title: "financing amount in US $ billions", fill:"#555"}); + xLabel.node.id = "preview_xaxis" + }, + + getLayers: function() + { + var self = this; + var findlayers = ["Indicators","Population","Infant Mortality", "Number of Physicians", "Number of Households", "Special Protected Areas","Forest", "Unemployment", "Soum Boundaries", "Licenses","EITI","Donations","Company","Company Info","No Data"]; + + possibleLayers = self.map.getLayers(); + + var index; + jq.each(possibleLayers, function(layer) { + index = Object.include(findlayers, possibleLayers[layer].title); + if(index !== undefined && index !== null){ + self.stylelayers[findlayers[index]] = {guid: possibleLayers[layer].guid, order: possibleLayers[layer].order, source: possibleLayers[layer].source, sharedLayer: false}; + if(Object.include(["Infant Mortality", "Population", "Number of Physicians", "Number of Households", "Unemployment"], possibleLayers[layer].title)) { + F1.WorldBank.extractives[possibleLayers[layer].title].styles.fill.selectedAttribute = possibleLayers[layer].styles.fill.selectedAttribute; + } + findlayers.splice(index,1); + } + }) + + if(self.country_attrs["indicators"] !== undefined) { + // second pass if we missed any + jq.each(self.country_attrs["indicators"], function(index,layer) { + if(self.stylelayers["Indicators"] !== undefined && self.stylelayers[layer] == undefined) { + self.stylelayers[layer] = {guid: self.stylelayers["Indicators"].guid, order: self.stylelayers["Indicators"].order, source: self.stylelayers["Indicators"].source, sharedLayer: true}; + } + }); + } + + var downloads = {//"Project Locations": "csv", + "Licenses": "csv", + "EITI": "csv", + "Donations" : "csv", + "Company": "csv", + "Indicators": "csv", + "Soum Boundaries": "shapefile", + "Special Protected Areas":"shapefile", + "Forest":"shapefile" + }; + + jq("#data_links").html("") + jq.each(downloads, function(index,download) { + if(download == "shapefile") + format = "zip"; + else + format = download + if(self.stylelayers[index] !== undefined) + jq("#data_links").append("
  • "+index+" ("+download+")
  • "); + + }) + + return false; + }, + + styleMap: function() + { + var self = this; + log("styleMap", self.stylelayers) + // icons + if(self.stylelayers["Project Locations"] !== undefined) { + self.map.addLayerCategoryFilter(self.stylelayers["Project Locations"].guid, {attribute:major_sector_name,categories:self.wbicons}); + } + // infowindow + if(self.stylelayers["Project Locations"] !== undefined) { + if(self.country == "Development Marketplace") { + self.map.setLayerInfoWindow(self.stylelayers["Project Locations"].guid, {title: "$[project title]", subtitle: "$["+major_sector_name+"]", tabs:[{title: "About", type: "text", value:"Project: $[project title]\nYear Funded: $[approval date]\nFunding Amount:$ $[total amt]\nObjective:\n$[development objective]"}, {title: "Location", type: "text", value: "$[geoname], $[country]\n$[region]"}]}); + } + else { + self.map.setLayerInfoWindow(self.stylelayers["Project Locations"].guid, {title: "$[project title]", subtitle: "$["+major_sector_name+"]", tabs:[{title: "About", type: "text", value:"Project ID: $[project id]\nProject Name: $[project title]\nSector:$["+major_sector_name+"]\nObjective:\n$[development objective]"}, {title: "Location", type: "text", value: "Province: $[adm1]\nDistrict: $[adm2]\nGeoname: $[geoname]\n\nDescription:\n$[precision description]"},{title:"Results", type: "text", value: "$[results]"}]}); + } + } + if(self.stylelayers["Project Counts"] !== undefined) { + self.map.setLayerInfoWindow(self.stylelayers["Project Counts"].guid, {title: "Activities: $[project count]", subtitle: "$[adm1] $[adm2]", tabs:[{title:"About", type:"text", value: "Counts are determined by the total number of activities working within or at this administrative level."}]}); + } + }, + + styleLegend: function() + { + // for embedded maps + var y = 50; + var ch = jq("#map-content-hdr2"); + if (ch !== undefined && ch.length == 0) { + y = 20 + } else if ( this.thematic_area != "m4r") { + y = 80 + } + + this.map.setMapStyle( {legend: { visible: true, bgColor:0x92948C, btnBgColor:0x92948C, btnPlacement:"horizontal", btnFontColor:0xFFFFFF, bgAlpha: 0.7, btnBgAlpha:0.7,offset:{x:0,y:0}}}); + if(!this.embed){ + this.map.setMapStyle( { zoom: { visible: true, expanded: true, bgColor: 0x92948C, authHeight: false, height:100, cornerRadius: 5, offset: {x:15,y:y}}}) + } else { + this.map.setMapStyle( { zoom: { visible: true, expanded: true, bgColor: 0x92948C, authHeight: false, height:10, cornerRadius: 5, expanded: false, horizontal: true, offset: {x:15,y:50}}}) + } + + this.map.setMapStyle( { tooltip: { visible: false } } ) + + return false; + }, + + hideLoading: function() + { + jq("#loading").hide(); + jq(".loaded").show(); + }, + + hoverWindow: function(layer_index,tooltip) + { + var self = this; + self.map.setMapStyle({tooltip: {visible: false}}) + if(tooltip != "count") self.map.setLayerTooltip(layer_index,{title: tooltip}) + var infodiv = document.createElement("div"); + infodiv.id = "infodiv"; + infodiv.innerHTML = "Explore the map with your mouse" + + var parent = document.getElementById("wb_map"); + parent.insertBefore(infodiv, parent.childNodes[0]); + wb.map.setCallback("onFeatureHover", function(obj) { + // hoverwindow only for projects & countries + if(obj.features !== null && obj.features.length != 0 && (obj.features[0]["mjsector 1"] !== undefined || obj.features[0]["project count"] !== undefined)) { + var text = "" + if(tooltip == "count") {text = obj.features.length + " projects
    "; + jq.each(obj.features, function(index,feature) { + if(feature["mjsector 1"] !== undefined && feature["mjsector 1"] !== null) + text += "" + feature["mjsector 1"] + ""; + }) + } else { + if(obj.features[0]["project count"] !== undefined && obj.features[0]["project count"] !== null && obj.features[0]["project count"] == 0 ) { + text = "There are no active projects in " + obj.features[0]["country"]; + } else { text = obj.tooltip; } + } + infodiv.innerHTML = "" + text + "" + infodiv.style.opacity = "0.9"; + infodiv.style.left = (obj.point.x - jq("#infodiv").width() / 2) + "px"; + infodiv.style.top = (obj.point.y - 55) + "px"; + } else { + // self.map.clearHighlights(layer_index); + infodiv.style.opacity = "0"; + } + }) + }, + + drawCharts: function() + { + var self = this; + + if( self.initialized ) { return; } + log("getting layers") + self.getLayers(self.map); + log("Layers got", self.stylelayers) + self.styleMap(self.map); + log("Map styled"); + + if(self.country_attrs.indicators !== undefined && self.stylelayers[self.country_attrs.indicators[0]] !== undefined) { + log("setting indicator") + self.setIndicator(self.country_attrs.indicators[0]); + } + log("indicator") + // self.toggleSector("counts_admin1",true); + count = self.country_attrs["projects_count"]; + if(self.thematic_area == 'm4r'){ + log("toggleSector") + self.toggleSector("all",true,false); + jq('#project_count').html(count); + if(count == 1){ + jq('#active_projects_header').html("active project working in") + } + jq('#activity_count').html(self.country_attrs["locations_count"]); + if(self.country_attrs["locations_count"] == 1) { + jq('#mapped_locations_header').html("mapped location") + } else if (parseInt(self.country_attrs["locations_count"].replace(",","")) > 500) { + self.countryFundingBars() + } + log("finish header") + + self.hoverWindow(self.stylelayers["Project Locations"], "count"); + + } else if(self.thematic_area == "extractives_controls") { + jq('#project_count').html("112"); + jq('#active_projects_header').html("companies mapped to") + jq('#activity_count').html(74); + jq('#mapped_locations_header').html("soums") + self.map.setMapStyle( {zoom: { offset: {x:15,y:90}}} ) + self.setExtractiveIndicator('Licenses','Production percent','Production, Percent of Soum',true) + self.minesPieChart(self.companies) + } + self.loadState(); + jq("#map-summary").show(); + + if(self.projects !== undefined && self.projects !== null && self.projects.length != 0) { + self.sortProjects(self.projects); + self.projectTable(self.projects); + log("sortProjects"); + self.toggleSector("all", false, false); + log("sectorPieChart"); + } + if(self.thematic_area == "m4r") { // for countries & regions + self.sectorPieChart("all", false); + } + + self.loadState(); + self.hideLoading(); + + self.initialized = true; + }, + + styleWorldMap: function() + { + var self = this; + log("styleWorldMap") + jq('#project_count').html(self.country_attrs["projects_count"]); + jq('#activity_count').html(self.country_attrs["locations_count"]); + if(self.sectors !== undefined && self.sectors !== null) { + self.sectorPieChart("all", false); + } + if(self.regions !== undefined && self.regions !== null && Object.size(wb.regions) != 0) { + self.regionFundingBars(); + } + + self.hoverWindow(self.map.getLayer(0).guid, "$[country]
    $[project count] projects") + self.map.setMapStyle( {infowindow: {visible: false}}); + // self.map.setCallback("onFeatureSelected", function(features){ var country = features.features[0]; window.location = "/" + country.region.toLowerCase() + "/" + country.country.toLowerCase().replace(/\s+/,'-') }); + + // self.map.setCallback("onFeatureHover", function(feature) { console.log(feature)}) + if(self.country != "World") { + // self.map.addLayerCategoryFilter(0, {attribute:major_sector_name,categories:self.wbicons}); + } else if (self.country == "World") { + self.map.setLayerInfoWindow(0, {title: "$[country]", subtitle: "$[project count] projects" , tabs: [{title:"About", type: "text", value: "You can explore the growing list of available project profiles of World Bank activities across the world. $[description]"}]}); } + // else + // self.map.setLayerInfoWindow(0, {"title": "$[project title]","subtitle": "$[country]- $[sector1]","tabs": [{"title": "Financing","type": "text","value": "Project ID: \u003Ca target='_new' href='http://web.worldbank.org/external/projects/main?pagePK=64283627\u0026piPK=73230\u0026theSitePK=40941\u0026menuPK=228424\u0026Projectid=$[project id]'\u003E$[project id]\u003C/a\u003E\nProject Name: $[project title]\nSector:$[sector1]\nTotal Amount: $ $[total amt]million"},{"title": "Location","type": "text","value": "Country: $[country]\nProvince: $[adm1]\nDistrict: $[adm2]\nLatitude:$[latitude]\nLongitude:$[longitude]"}]}) + + self.hideLoading(); + }, + + loadedMap: function() + { + var self = this; + self.styleLegend(); + // if(self.country == "Philippines") + // major_sector_name = "sector1"; + if(self.country != "World" && (self.region != self.country)){ + self.drawCharts(); + } else { + self.styleWorldMap(); + } + + initializeEvents(); + if(this.callback !== undefined && this.callback !== null) { + this.callback.call(self) + } + }, + + fadeHex: function(hex1, hex2, steps) + { + if(hex1.charAt(0) == "#") + hex1 = hex1.slice(1); + hex1 = hex1.toUpperCase(); + hex1 = +("0x"+hex1); + + if(hex2.charAt(0) == "#") + hex2 = hex2.slice(1); + hex2 = hex2.toUpperCase(); + hex2 = +("0x"+hex2); + + var newArry = ["#" + hex1.toString(16)]; + var r = hex1 >> 16; + var g = hex1 >> 8 & 0xFF; + var b = hex1 & 0xFF; + var rd = (hex2 >> 16)-r; + var gd = (hex2 >> 8 & 0xFF)-g; + var bd = (hex2 & 0xFF)-b; + // + steps++; + for (var i=1; i').html('
    '); + } + return this.jqtip; + }, + + validate: function() { + if (!this.jqelement[0].parentNode) { + this.hide(); + this.jqelement = null; + this.options = null; + } + }, + + enable: function() { this.enabled = true; }, + disable: function() { this.enabled = false; }, + toggleEnabled: function() { this.enabled = !this.enabled; } + }; + + jq.fn.tipsy = function(options) { + + if (options === true) { + return this.data('tipsy'); + } else if (typeof options == 'string') { + var tipsy = this.data('tipsy'); + if (tipsy) tipsy[options](); + return this; + } + + options = jq.extend({}, jq.fn.tipsy.defaults, options); + + function get(ele) { + var tipsy = jq.data(ele, 'tipsy'); + if (!tipsy) { + tipsy = new Tipsy(ele, jq.fn.tipsy.elementOptions(ele, options)); + jq.data(ele, 'tipsy', tipsy); + } + return tipsy; + } + + function enter() { + var tipsy = get(this); + tipsy.hoverState = 'in'; + if (options.delayIn == 0) { + tipsy.show(); + } else { + tipsy.fixTitle(); + setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn); + } + }; + + function leave() { + var tipsy = get(this); + tipsy.hoverState = 'out'; + if (options.delayOut == 0) { + tipsy.hide(); + } else { + setTimeout(function() { if (tipsy.hoverState == 'out') tipsy.hide(); }, options.delayOut); + } + }; + + if (!options.live) this.each(function() { get(this); }); + + if (options.trigger != 'manual') { + var binder = options.live ? 'live' : 'bind', + eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus', + eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur'; + this[binder](eventIn, enter)[binder](eventOut, leave); + } + + return this; + + }; + + jq.fn.tipsy.defaults = { + delayIn: 0, + delayOut: 0, + fade: false, + fallback: '', + gravity: 'n', + html: false, + live: false, + offset: 0, + opacity: 0.8, + title: 'title', + trigger: 'hover' + }; + + // Overwrite this method to provide options on a per-element basis. + // For example, you could store the gravity in a 'tipsy-gravity' attribute: + // return jq.extend({}, options, {gravity: jq(ele).attr('tipsy-gravity') || 'n' }); + // (remember - do not modify 'options' in place!) + jq.fn.tipsy.elementOptions = function(ele, options) { + return jq.metadata ? jq.extend({}, options, jq(ele).metadata()) : options; + }; + + jq.fn.tipsy.autoNS = function() { + return jq(this).offset().top > (jq(document).scrollTop() + jq(window).height() / 2) ? 's' : 'n'; + }; + + jq.fn.tipsy.autoWE = function() { + return jq(this).offset().left > (jq(document).scrollLeft() + jq(window).width() / 2) ? 'e' : 'w'; + }; + +} + diff --git a/extractives/eap/mongolia/js/tmpl.js b/extractives/eap/mongolia/js/tmpl.js new file mode 100644 index 0000000..6fa50a6 --- /dev/null +++ b/extractives/eap/mongolia/js/tmpl.js @@ -0,0 +1,150 @@ +// Simple JavaScript Templating +// John Resig - http://ejohn.org/ - MIT Licensed +;(function() { + var cache = {}; + this.tmpl = function tmpl(str, data) { + // Figure out if we're getting a template, or if we need to + // load the template - and be sure to cache the result. + var fn = !/\W/.test(str) ? + cache[str] = cache[str] || + tmpl(document.getElementById(str).innerHTML) : + + // Generate a reusable function that will serve as a template + // generator (and which will be cached). + new Function("obj", + "var p=[],print=function(){p.push.apply(p,arguments);};" + + + // Introduce the data as local variables using with(){} + "with(obj){p.push('" + + + // Convert the template into pure JavaScript + str.replace(/[\r\t\n]/g, " ") + .replace(/'(?=[^%]*%>)/g,"\t") + .split("'").join("\\'") + .split("\t").join("'") + .replace(/<%=(.+?)%>/g, "',$1,'") + .split("<%").join("');") + .split("%>").join("p.push('") + + "');}return p.join('');"); + + // Provide some basic currying to the user + return data ? fn(data) : fn; + }; +})(); + +table_templates = { + tr : '<%= row %>', + th : '<%= header %>', + td : '<%= cell %>', + project: '<%= project_name %><%= id %>$<%= totalamt %> million<%= mjsector1 %><%= boardapprovaldate %><%= prodlinetext %>', + company: '<%= company_name %><%= registration_number %><%= locationen %><%= invest_agree %><%= centralpay %><%= localpay %><%= totalpay %>' +}; + +Textify = { + this_many_words: function(s,count) { + if (s == null || !s.length) return '' + if (s.split(' ').length <= count) return s + return s.split(' ').slice(0,count).join(' ') + '...' + }, + + short_enough: function(s,count) { + if (count) {s = Textify.this_many_words(s,count)} + s = s.replace(/[^ ]{40,}/,'[edited]') + return s + }, + + /** + * Truncate and add elipses if string exceeds a certain character length + */ + elide_after: function(s, count, symbol) { + symbol = (symbol == null ? "…" : symbol); + if (s.length > count) { + return s.substr(0, count-1) + symbol; + } else { + return s; + } + }, + + elide_during: function(s, max, symbol) { + symbol = (symbol == null ? "…" : symbol); + if (s.length > max) { + var diff = s.length - max; + var start_gap = parseInt((s.length / 2) - (diff / 2)); + var end_gap = start_gap + diff; + return s.substr(0, start_gap) + symbol + s.substr(end_gap, s.length-1); + } else { + return s; + } + }, + + elide_during_long_stuff: function(s, max, symbol) { + var matches = s.match(/[^ ]{10,}/g) + jq.each(matches||[], function(){ + s = s.replace(new RegExp(this), Textify.elide_during(this, max, symbol||'...')) + }) + return s + } + +} + +var Numify +;(function(){ + Numify = function(num) { //constructor + this.num = num; + this.to_s = ""; + return this + } + Numify.prototype = { + humanize: function() { + n = parseInt(this.num,10) + var l = (n+'').length + if (l<=6) { this.to_s = this.num.toFixed(2)+'' } + else if (l<=7) { this.to_s = (n/1e6 ).toFixed(1) + "mil" } + else if (l<=8) { this.to_s = (n/1e6 ).toFixed(1) + "mil" } + else if (l<=9) { this.to_s = (n/1e6 ).toFixed(1) + "mil" } + else if (l<=10) { this.to_s = (n/1e9 ).toFixed(1) + "bil" } + else if (l<=11) { this.to_s = (n/1e9 ).toFixed(1) + "bil" } + else if (l<=12) { this.to_s = (n/1e9 ).toFixed(1) + "bil" } + else if (l<=13) { this.to_s = (n/1e13).toFixed(1) + "tr" } + else if (l<=14) { this.to_s = (n/1e13).toFixed(1) + "tr" } + else if (l<=15) { this.to_s = (n/1e13).toFixed(1) + "tr" } + else { this.to_s = (n / Math.pow(10,l-1)).toFixed(2) + ("e"+(l-1)) } + return this + }, + + commify: function() { + if (this.to_s == "") this.to_s = (this.num+'') + var x = this.to_s.split('.'), + x1 = x[0], + x2 = x.length > 1 ? '.' + x[1] : '', + rgx = /(\d+)(\d{3})/ + while (rgx.test(x1)) { + x1 = x1.replace(rgx, '$1' + ',' + '$2'); + } + this.to_s = x1 + x2; + return this + }, + + // keep "5.23mil" but turn "5.00mil" into simply "5mil". + flatten: function() { + if (this.to_s == "") this.to_s = (this.num+'') + this.to_s = this.to_s.replace(/(\.[0]+)\d?/g,'') + return this + } + + } +})() + + +// Expandy: Simple Jquery thingy that expands the div reffered to by +// any .expandy element's rel attribute. Example: +// +// +Expandy = { + initialize: function() { + jq('.expandy').click(function() { + jq(jq(this).attr('rel')).toggle('blind') + return false + }) + } +} \ No newline at end of file diff --git a/extractives/eap/mongolia/js/wb_behaviors.js b/extractives/eap/mongolia/js/wb_behaviors.js new file mode 100644 index 0000000..1e0d414 --- /dev/null +++ b/extractives/eap/mongolia/js/wb_behaviors.js @@ -0,0 +1,81 @@ +function initializeEvents() { + initializeTipsy(); + // jq(".collapsible-header").click(function () { + // if(jQuery(this).hasClass("expanded")) { + // // jq("#collapsible-banner").hide("blind", { direction: "vertical" }, 2000); + // jq(this).removeClass("expanded").addClass("collapsed"); + // } else { + // // jq("#collapsible-banner").show("blind", { direction: "vertical" }, 2000); + // jq(this).removeClass("collapsed").addClass("expanded"); + // } + // return false; + // }); + jq("#share").hover(function() { + wb.saveState(); + return false; + }) + jq("#embed_map").click(function() { + wb.updateEmbedLink(); + jq("#share_window").fadeIn() + return false; + }); + jq("#close_embed").click(function() { + jq("#share_window").fadeOut() + return false; + }); + + + jq("#locations_list .inactive").click(function () { + return false; + }); + + jq.each(wb.sectors, function(sector_name, sector_attrs) { + jq('#sectorcontrol_' + sector_name).tipsy({gravity: jq.fn.tipsy.autoNS}); + jq('#sectorcontrol_' + sector_name).click(function(){ + return wb.toggleSector(sector_name); + }) + }); + jq.each(jq('#mines_sectors li a'), function(index,el) { + jq(el).tipsy({gravity: jq.fn.tipsy.autoNS}); + jq(el).click(function() { + return wb.toggleExtractive("Company","EITI", jq(this).attr("original-title")) + }); + }); + jq.each(jq('#ore_sectors li a'), function(index,el) { + jq(el).tipsy({gravity: jq.fn.tipsy.autoNS}); + jq(el).click(function() { + return wb.toggleExtractive("Mineral deposits", jq(this).attr("original-title")) + }); + }); + + jq.each(jq('#oil_sectors li a'), function(index,el) { + jq(el).tipsy({gravity: jq.fn.tipsy.autoNS}); + jq(el).click(function() { + return wb.toggleExtractive("Oil", jq(this).attr("original-title")) + }); + }); + jq('#allmine_control').click(function(){ + wb.toggleExtractive("Mines",'all'); + return false; + }); + jq('#alldeposit_control').click(function(){ + wb.toggleExtractive("Mineral deposits",'all'); + return false; + }); + jq('#alloil_control').click(function(){ + wb.toggleExtractive("Oil fields",'all'); + return false; + }); + jq('.all').click(function(){ + jq("#sall").attr('checked', !jq("#sall").attr('checked')) + wb.toggleSector('all',!jq("#sall").attr('checked')); + return true; + }); + jq('.subtotal').live('click',function() { + wb.sectorPieChart("all"); + return false; + }); + jq('table#projects-table_grid tr').hover(function() { jq(this).addClass('active')},function() { jq(this).removeClass('active')}) + jq('.simpleshare_link').click(function() { jq('#share-pane').toggle() }); + jq('#share-pane .close').click(function() { jq('#share-pane').toggle() }); +} diff --git a/extractives/how_extractives_mn.html b/extractives/how_extractives_mn.html new file mode 100644 index 0000000..f007a2f --- /dev/null +++ b/extractives/how_extractives_mn.html @@ -0,0 +1,178 @@ + + + + + + + + + + Mining in Mongolia - About + + + + + + + + + + + + + +
    +
    + + +

    The Extractive Industries Map of Mongolia is a web-based, publicly-accessible, interactive mapping application that is focused on the extractive industries of mining and oil. Using this website, policy makers, citizens and government officials can explore the relationships between mining and petroleum activities, revenues and socioeconomic conditions by creating and sharing their own maps or even downloading the underlying data. This document provides an introduction to the mapping interface and instructions on how to use the many features of this application.

    + + +

    Click here to download a PDF version of this how-to guide.

    +

    Click here to go to the map page.

    + +
    + + +

    CONTENTS

    + + +

  • Overview of the interface
  • +
  • Getting started: How to use the interface
  • +
  • Getting more data about a point or shape
  • +
  • What information was mapped
  • +
  • Sharing your maps
  • +
  • Downloading data
  • +
  • More information
  • +

    + +
    + + + +

    OVERVIEW OF THE INTERFACE

    + +

    + + +


  • Return to main contents
  • + +
    + + + +

    GETTING STARTED: HOW TO USE THE INTERFACE

    + +

    Navigating to your area of interest: zoom and pan

    +

    You can move around the map by clicking and holding the cursor and dragging the map until you are centered on your area of interest. +You can zoom in and out in two ways. You can use the mouse wheel or scrolling portion of a track pad, or you can use the tools in the upper left of the map window. On the zoom bar, you can click the “+” button to zoom in, the “-“ button to zoom out, or you can grab the white bar and slide it up or down.

    +

    + + +


    Displaying the legend

    +

    The color or size of items on the map often corresponds to a particular piece of information. The legend tells you the numbers to which those colors and sizes correspond. You can open the legend by clicking on the bar labeled ‘Legend’ in the lower right of the map window. If you can’t see all the items in the legend at once, you can use the slider bar on the bottom of the legend window to see all the layers.

    + +

    + + +


    Turning layers on and off

    + +

    Depending on what data you are working with, there are several different ways to choose what to display. The table below shows you how to work with each group of menus. By using the menus highlighted below, you can choose different ways to display the data about mining and petroleum. You can look at soum-level summaries of license data or payments, or highlight where companies operate. When displaying quantities, the size of circles is proportional to the data. For example, if looking at local payments, a larger circle means larger payments.


    +

    You can visualize statistics about mining and exploration licenses, summarized by soum, or you can view information about how much companies reported paying, where they work, and soum-level summaries of budget revenues from mining activities. You can also display only the minerals you're interested in, such as showing just petroleum, or only copper and gold together. You can also adjust what socioeconomic indicators are shown on the basemap. +

    + +

    License data: Use the dropdown menu labeled mining licenses on the second bar above the map window to display statistics about license at the soum level. You can view statistics for active production, exploration or all licenses, and this data can be displayed as a percentage of the soum area or the number of licenses overlapping the soum. The size of the circle represents the data, so the bigger the circle, the more area of a soum is covered. You cannot display license and company/revenue data at the same time.

    + +

    +
    + +


    Company and revenue data: Use the dropdown menu labeled Revenues/Companies to show summaries by soum of how much is paid to local or central budgets, or to highlight the soums in which a company is operating. You can also see the donations made by companies to the local level. You cannot display license and company/revenue data at the same time.

    + +

    + +


    Filtering data: When viewing revenue or company data, you can choose to only look at certain minerals, such as gold or copper. Click the picture to turn off the minerals you don’t want to see.

    + +

    + +


    Indicator data: Use the dropdown menu labeled “BASEMAP” on the top left of the bar above the map window to select which indicator data to show on the map, such as infant mortality rates or population. You can only select one indicator at a time.

    + +

    + + + +

    GETTING MORE DATA ABOUT A POINT OR SHAPE

    +

    Most of the features in the map have a lot more information stored than what is shown. To look at this data, simply click on the feature your interested in, such as a district or a mine. The window that pops up has different groups of information under each tab, such as “Payments”, “Minerals” and “Companies” for soum summaries of payments. Where possible, links to additional information and other websites are provided.

    + +

    + + +


  • Return to main contents
  • + +
    + + + +

    WHAT INFORMATION WAS MAPPED

    +

    The following datasets were compiled for this mapping, and additional information about these data can be found at .

    + +

    Mining information

    +

    • Amount of soum area covered by production and exploration licenses
    • Where EITI reporting companies operate
    • Number of licenses in each soum
    • Investment agreements (where available)

    + +

    Financial data

    +

    • Company payments to local budgets (2010)
    • District mining revenues received from central government (2004-2008)
    • Company payments to national budgets (2010)
    • Company registration numbers

    + +

    Socioeconomic indicators

    +

    • Aimag population
    • Aimag infant mortality
    • Aimag unemployment
    • Number of physicians, by aimag
    • Number of households, by aimag

    + +

    Contextual data

    +

    • Special protected areas
    • Forest areas
    • Soum boundaries

    + +

  • Return to main contents
  • + +
    + + +

    SHARING YOUR MAPS

    +

    Right now, you can share your maps in several ways. You can share your map is to post it to Facebook or Twitter. Simply click on the Share dropdown menu and select how you want to share your map.

    + +

    + + +


    In the future there will also be options to download an image of the map or to print it directly from the website. In the mean time, you can take a screenshot of the map and copying it into Microsoft Word or PowerPoint. To do this, go to your map, and press “Alt+Print Screen”, then go to Microsoft Word or PowerPoint and press “Ctrl+V”. You can now save or print your map.

    + +

  • Return to main contents
  • + +
    + + + +

    DOWNLOADING DATA

    +

    Most of the data shown in the map can be downloaded directly from the website. Data is available either as an ESRI shapefile or as a comma-separated value (CSV) file. Shapefiles contain spatial information, and can be directly added to GIS programs such as ArcGIS or to online mapping platforms such as www.geocommons.com. CSV files can be easily opened in Excel, and include a set of latitude and longitude points for each data point. This way, you can look at the data in a table using Excel, or you can upload the CSV file to another mapping platform, such as Google Earth or GeoCommons and use the latitude and longitude fields to tell the program where to put the points. This way, you can share this data with others and put it into most any platform you want.

    + +

    + + +


  • Return to main contents
  • + +
    + + + +

    MORE INFORMATION

    +

    If you want to learn more about where the data came from, how it was collected or what was done to process and prepare it for the map, much of this information can be found at the About page for the Mapping the Extractive Industries project.

    + +

    In addition, we are hoping to receive feedback about what would make this application more useful and relevant, so please feel free to contact us at maps@worldbank.org with questions or suggestions.

    + + +

  • Return to main contents
  • +
    + + +
    + + + \ No newline at end of file