• Notifications

/gmap Private

Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
744 lines (743 sloc) 390 KB
<!--/*
* This application relies on the following open source projects:
*
* Prototype JavaScript framework, version 1.7
* (c) 2005-2010 Sam Stephenson
* See the Prototype web site: http://www.prototypejs.org/
*
* A Modified version of precise_round from
* http://phpjs.org/functions/round:505
*
* An elaboration upon the Python Standard Library's
* title method. The original can be viewed in the PSL-2.6.6 source.
*
* Some of the methods described by Douglas Crockford at Remedial JavaScript:
* http://javascript.crockford.com/remedial.html
*
* A port of Mika Tuupola's php script Google_Maps_Clusterer, avail. here:
* http://goo.gl/kteaC
*
* Array Remove - By John Resig (MIT Licensed)
*
*/-->
<!docType html public><html><head><title>NTI Facilities Displayed with Google Maps</title><meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /><!--[if IE]><style type="text/css"> #map_canvas{ height: 400px; width: 600px; } a.country{ margin-top: -2px !important; } </style><![endif]--><link rel="icon" href="http://www.nti.org/favicon.ico" type="image/x-icon" /><style type="text/css">*{padding:0;margin:0}body{margin:0;padding:0}#mapUI{margin:10px 0 0 10px;width:98%;height:98%;background:#006;position:absolute}#mapCanvas{position:absolute;top:30px;left:30px;bottom:195px;right:315px;font-family:verdana,arial,helvetica;font-size:.9em}#mapCanvas a,#mapCanvas a img{text-decoration:none;border:0}#mapCanvas #infoWindow #reopen{color:maroon}div.clumpContent{width:350px;min-height:200px}div.clumpContent img.insideIcon{height:24px;margin:0 4px 0 0;position:relative;top:6px;width:24px}div.clumpContent hr{margin:8px 0 0 0}#helpText,#aboutText{background-color:white;width:400px;position:absolute;z-index:-1;padding:2%}#helpText li,#aboutText p{margin:.5em}#mapKey{width:300px;position:absolute;top:25px;right:0;margin-top:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}#mapKey a{text-decoration:none}#mapUI .instruct{position:relative;color:dodgerBlue;z-index:100;font-size:1.5em;font-weight:bold;left:-2px}#mapKey a.collapse,#mapKey img.collapse{position:relative;float:left;font:inherit;text-decoration:inherit;color:gray;clear:both;border:0;padding:0;margin:0;white-space:nowrap}#mapKey img.collapse{clear:left;float:left;margin:8px 2px 2px 0;width:32px;height:32px;padding:0}#mapKey a.parent{margin:10px 0 0 8px;padding:0;font-weight:bold;font-size:1.1em;width:120px;vertical-align:middle;clear:none;float:left;height:32px;line-height:24px}#mapKey span.orgtog{position:relative;float:left;clear:both;width:100%}#mapKey big{font-size:1.5em;position:relative;bottom:-.1em;right:0}#mapKey a.child{position:relative;display:block;white-space:nowrap;clear:none;line-height:30px;vertical-align:middle;height:30px;font-weight:bold;font-size:.9em;margin:0 0 0 5px;padding:0}#mapKey img.child{float:left;height:22px;width:22px;vertical-align:top;padding:2px 2px 2px 5px;margin:2px 2px 2px 10px;cursor:pointer}#mapKey div.children{display:none}#mapKey div.children br{float:left}#mapKey span.controller{display:block;white-space:nowrap}#mapFoot{padding:5px;width:75%;background:#ccc;clear:both;position:absolute;float:left;border:3px inset #ccc;left:30px}#mapFoot #countryMenu{clear:both;padding:0}#mapFoot #countryMenu a.country{height:17px;width:136px;position:relative;float:left;margin:0;padding:0;clear:none}#mapFoot #disclaimer{clear:none;float:left;color:navy;font-weight:bold;font-size:1.03em}#mapFoot #mapSharing{float:right;clear:none;color:IndianRed}#mapFoot #mapSharing a{color:#f21;font-weight:bold;font-size:.8em}#mapUI div.topLeft{width:18px;height:17px;background:white url(images/top_left.png) left 4px no-repeat;position:absolute;left:0;top:-4px;z-index:2;padding:0;margin:0}#mapUI div.topRight{width:31px;height:30px;background:white url(images/top_right.png) left top no-repeat;position:absolute;right:-8px;top:0;z-index:3}#mapUI div.midRight{width:8px;position:absolute;top:15px;bottom:31px;left:100%;height:99%;background:white url(images/right_shade.png) 0 top repeat-y;margin-left:0}#mapUI div.bottomLeft{width:24px;height:29px;background:white url(images/bottom_left.png) left bottom no-repeat;position:absolute;left:0;bottom:-8px;z-index:2}#mapUI div.bottomMiddle{height:7px;background:white url(images/bottom_shade.png) left 0 repeat-x;position:absolute;left:0;right:18px;bottom:-7px;z-index:2;padding:0000;width:100%;top:100%}#mapUI div.bottomRight{width:32px;height:31px;background:white url(images/bottom_right.png) right top no-repeat;position:absolute;right:-8px;bottom:-8px;z-index:4}#mapUI a.bottomRight:focus{border:1px orange solid}a.logo{border-color:navy;border-width:0;border:0;outline:none;text-decoration:none}img.logo{border-width:0;border:0;position:absolute;bottom:20px;right:20px;z-index:5}.instruct{left:8px}#mapFoot h5.slowness{clear:both;position:relative;top:3px;left:-3px;color:navy;padding:5px}#hidestuff{color:white;position:fixed;height:100%;width:100%;z-index:10000;background:navy;padding-left:10%;padding-right:10%;padding-top:5%}#hidestuff h4{top:100px;float:left;position:relative}#hidestuff img.loading{top:0;left:-120px;position:relative;float:left;height:220px;width:220px}#hidestuff p{position:relative;padding-top:1%;clear:both;width:80%}img.preload{display:none}img.cntrydown{width:139px;height:17px}</style><script src="http://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B %22name%22%3A%22maps%22%2C%22version%22%3A%223.9%22%2C%22language%22%3A%22en%22%2C %22other_params%22%3A%22sensor=false%22%7D%5D%7D&amp;key=ABQIAAAA3r492rrpim0Ux0p2RJ2 nzhT8Ni7XWYOg_ulja5YttW-a2JwW5BR78rAtsOza_wvQn2yCg0FMmjFIeQ"></script></head><body><div id="hidestuff"><h4> Preparing the requested map. </h4><img src="images/loading.gif" class="loading" /><p> The nuclear, chemical, biological, and missile facilities depicted in this map correspond to content found in the NTI country profiles. Please see this content for further information and sources. Since definitive information on countries' NBC and missile facilities is often classified, the descriptions and mapped locations of these facilities are sometimes speculative, based on the most credible available open source material. </p><br /><p> This material is produced independently for NTI by the James Martin Center for Nonproliferation Studies at the Monterey Institute of International Studies and does not necessarily reflect the opinions of and has not been independently verified by NTI or its directors, officers, employees, or agents. Copyright &copy; 2011 by MIIS. </p><img src="images/nti_logo_white_170x74.png" class="logo" /></div><div id="mapUI"><div id="mapCanvas"></div><div id="mapKey"><span class="parent instruct">Show/hide facility type</span><div><span id="deck" class="controller active"><a id="deck" href="#" onclick="return false;" class="collapse" title=""><img src="images/clump_fanned.png" class="collapse active icon" /></a><a href="#" onclick="return false;" id="deck" class="collapse parent active" title="Show/hide all facilities." title="">Any Category</a></span></div><span id="biologicalController" class="controller active"><a id="biologicalAll" href="#" onclick="return false;" class="collapse active" title="Show/hide all biological facilities"><img src="images/biological.png" class="collapse icon active" /></a><a href="#" onclick="return false;" id="biologicalStem" class="collapse parent active" title="Show/hide list of biological facility types">Biological <big>&#x25BA;</big></a></span><div id="biologicalCollapse" class="children active"><span class="orgtog"><img src="images/biological.png" class="collapse icon child active" /><a id="biologicalInner" href="#" onclick="return false;" title="Show/hide all biological facilities." class="collapse child active">Show/hide all biological facilities</a></span><span class="orgtog"><img src="images/dual_bio.png" class="collapse icon child active" /><a id="biological_dual-use_infrastructure" href="#" onclick="return false;" title="Show/hide biological dual-use infrastructure facilities." class="collapse child active">Dual-Use Infrastructure</a></span><span class="orgtog"><img src="images/biological_education_training.png" class="collapse icon child active" /><a id="biological_education_and_training" href="#" onclick="return false;" title="Show/hide biological education and training facilities." class="collapse child active">Education and Training</a></span><span class="orgtog"><img src="images/biological_production.png" class="collapse icon child active" /><a id="biological_production" href="#" onclick="return false;" title="Show/hide biological production facilities." class="collapse child active">Production</a></span><span class="orgtog"><img src="images/biological_regulatory.png" class="collapse icon child active" /><a id="biological_regulatory" href="#" onclick="return false;" title="Show/hide biological regulatory facilities." class="collapse child active">Regulatory</a></span><span class="orgtog"><img src="images/biological_r_n_d.png" class="collapse icon child active" /><a id="biological_research_and_development" href="#" onclick="return false;" title="Show/hide biological research and development facilities." class="collapse child active">Research and Development</a></span><span class="orgtog"><img src="images/bio_test.png" class="collapse icon child active" /><a id="biological_testing" href="#" onclick="return false;" title="Show/hide biological testing facilities." class="collapse child active">Testing</a></span><span class="orgtog"><img src="images/biological_weaponization.png" class="collapse icon child active" /><a id="biological_weaponization" href="#" onclick="return false;" title="Show/hide biological weaponization facilities." class="collapse child active">Weaponization</a></span></div><span id="chemicalController" class="controller active"><a id="chemicalAll" href="#" onclick="return false;" class="collapse active" title="Show/hide all chemical facilities"><img src="images/chemical.png" class="collapse icon active" /></a><a href="#" onclick="return false;" id="chemicalStem" class="collapse parent active" title="Show/hide list of chemical facility types">Chemical <big>&#x25BA;</big></a></span><div id="chemicalCollapse" class="children active"><span class="orgtog"><img src="images/chemical.png" class="collapse icon child active" /><a id="chemicalInner" href="#" onclick="return false;" title="Show/hide all chemical facilities." class="collapse child active">Show/hide all chemical facilities</a></span><span class="orgtog"><img src="images/dual_chem.png" class="collapse icon child active" /><a id="chemical_dual-use_infrastructure" href="#" onclick="return false;" title="Show/hide chemical dual-use infrastructure facilities." class="collapse child active">Dual-Use Infrastructure</a></span><span class="orgtog"><img src="images/chemical_education_training.png" class="collapse icon child active" /><a id="chemical_education_and_training" href="#" onclick="return false;" title="Show/hide chemical education and training facilities." class="collapse child active">Education and Training</a></span><span class="orgtog"><img src="images/chem_org.png" class="collapse icon child active" /><a id="chemical_military_organizations" href="#" onclick="return false;" title="Show/hide chemical military organizations facilities." class="collapse child active">Military Organizations</a></span><span class="orgtog"><img src="images/chem_production.gif" class="collapse icon child active" /><a id="chemical_production" href="#" onclick="return false;" title="Show/hide chemical production facilities." class="collapse child active">Production</a></span><span class="orgtog"><img src="images/chemical_regulatory.png" class="collapse icon child active" /><a id="chemical_regulatory" href="#" onclick="return false;" title="Show/hide chemical regulatory facilities." class="collapse child active">Regulatory</a></span><span class="orgtog"><img src="images/chemical_r_n_d.png" class="collapse icon child active" /><a id="chemical_research_and_development" href="#" onclick="return false;" title="Show/hide chemical research and development facilities." class="collapse child active">Research and Development</a></span><span class="orgtog"><img src="images/chemical_storage.png" class="collapse icon child active" /><a id="chemical_storage" href="#" onclick="return false;" title="Show/hide chemical storage facilities." class="collapse child active">Storage</a></span></div><span id="missileController" class="controller active"><a id="missileAll" href="#" onclick="return false;" class="collapse active" title="Show/hide all missile facilities"><img src="images/missile.png" class="collapse icon active" /></a><a href="#" onclick="return false;" id="missileStem" class="collapse parent active" title="Show/hide list of missile facility types">Missile <big>&#x25BA;</big></a></span><div id="missileCollapse" class="children active"><span class="orgtog"><img src="images/missile.png" class="collapse icon child active" /><a id="missileInner" href="#" onclick="return false;" title="Show/hide all missile facilities." class="collapse child active">Show/hide all missile facilities</a></span><span class="orgtog"><img src="images/missile_acquisition.png" class="collapse icon child active" /><a id="missile_acquisition" href="#" onclick="return false;" title="Show/hide missile acquisition facilities." class="collapse child active">Acquisition</a></span><span class="orgtog"><img src="images/mis_launch_site.gif" class="collapse icon child active" /><a id="missile_base" href="#" onclick="return false;" title="Show/hide missile base facilities." class="collapse child active">Base</a></span><span class="orgtog"><img src="images/mis_design.gif" class="collapse icon child active" /><a id="missile_design" href="#" onclick="return false;" title="Show/hide missile design facilities." class="collapse child active">Design</a></span><span class="orgtog"><img src="images/missile_education.png" class="collapse icon child active" /><a id="missile_education_and_training" href="#" onclick="return false;" title="Show/hide missile education and training facilities." class="collapse child active">Education and Training</a></span><span class="orgtog"><img src="images/missile_shield.png" class="collapse icon child active" /><a id="missile_missile_defense" href="#" onclick="return false;" title="Show/hide missile missile defense facilities." class="collapse child active">Missile Defense</a></span><span class="orgtog"><img src="images/mis_production.gif" class="collapse icon child active" /><a id="missile_production" href="#" onclick="return false;" title="Show/hide missile production facilities." class="collapse child active">Production</a></span><span class="orgtog"><img src="images/missile_regulatory.png" class="collapse icon child active" /><a id="missile_regulatory" href="#" onclick="return false;" title="Show/hide missile regulatory facilities." class="collapse child active">Regulatory</a></span><span class="orgtog"><img src="images/missile_r_n_d.png" class="collapse icon child active" /><a id="missile_research_and_development" href="#" onclick="return false;" title="Show/hide missile research and development facilities." class="collapse child active">Research and Development</a></span><span class="orgtog"><img src="images/mis_telemetry.gif" class="collapse icon child active" /><a id="missile_telemetry" href="#" onclick="return false;" title="Show/hide missile telemetry facilities." class="collapse child active">Telemetry</a></span><span class="orgtog"><img src="images/mis_testing.gif" class="collapse icon child active" /><a id="missile_testing" href="#" onclick="return false;" title="Show/hide missile testing facilities." class="collapse child active">Testing</a></span></div><span id="nuclearController" class="controller active"><a id="nuclearAll" href="#" onclick="return false;" class="collapse active" title="Show/hide all nuclear facilities"><img src="images/nuclear.png" class="collapse icon active" /></a><a href="#" onclick="return false;" id="nuclearStem" class="collapse parent active" title="Show/hide list of nuclear facility types">Nuclear <big>&#x25BA;</big></a></span><div id="nuclearCollapse" class="children active"><span class="orgtog"><img src="images/nuclear.png" class="collapse icon child active" /><a id="nuclearInner" href="#" onclick="return false;" title="Show/hide all nuclear facilities." class="collapse child active">Show/hide all nuclear facilities</a></span><span class="orgtog"><img src="images/nuc_acquisition.gif" class="collapse icon child active" /><a id="nuclear_acquisition" href="#" onclick="return false;" title="Show/hide nuclear acquisition facilities." class="collapse child active">Acquisition</a></span><span class="orgtog"><img src="images/nuc_production.gif" class="collapse icon child active" /><a id="nuclear_component_production" href="#" onclick="return false;" title="Show/hide nuclear component production facilities." class="collapse child active">Component Production</a></span><span class="orgtog"><img src="images/nuclear_conversion.png" class="collapse icon child active" /><a id="nuclear_conversion" href="#" onclick="return false;" title="Show/hide nuclear conversion facilities." class="collapse child active">Conversion</a></span><span class="orgtog"><img src="images/nuclear_education.png" class="collapse icon child active" /><a id="nuclear_education_and_training" href="#" onclick="return false;" title="Show/hide nuclear education and training facilities." class="collapse child active">Education and Training</a></span><span class="orgtog"><img src="images/nuc_enrichment.gif" class="collapse icon child active" /><a id="nuclear_enrichment" href="#" onclick="return false;" title="Show/hide nuclear enrichment facilities." class="collapse child active">Enrichment</a></span><span class="orgtog"><img src="images/nuclear_mining.png" class="collapse icon child active" /><a id="nuclear_exploration_and_mining" href="#" onclick="return false;" title="Show/hide nuclear exploration and mining facilities." class="collapse child active">Exploration and Mining</a></span><span class="orgtog"><img src="images/nuclear_fabricate.png" class="collapse icon child active" /><a id="nuclear_fuel_fabrication" href="#" onclick="return false;" title="Show/hide nuclear fuel fabrication facilities." class="collapse child active">Fuel Fabrication</a></span><span class="orgtog"><img src="images/nuc_heavy_water.png" class="collapse icon child active" /><a id="nuclear_heavy_water_production" href="#" onclick="return false;" title="Show/hide nuclear heavy water production facilities." class="collapse child active">Heavy Water Production</a></span><span class="orgtog"><img src="images/nuc_med.png" class="collapse icon child active" /><a id="nuclear_medical_isotope_production" href="#" onclick="return false;" title="Show/hide nuclear medical isotope production facilities." class="collapse child active">Medical Isotope Production</a></span><span class="orgtog"><img src="images/nuclear_milling.png" class="collapse icon child active" /><a id="nuclear_milling" href="#" onclick="return false;" title="Show/hide nuclear milling facilities." class="collapse child active">Milling</a></span><span class="orgtog"><img src="images/nuc_plutonium_reactors.gif" class="collapse icon child active" /><a id="nuclear_plutonium_production_reactor" href="#" onclick="return false;" title="Show/hide nuclear plutonium production reactor facilities." class="collapse child active">Plutonium Production Reactor</a></span><span class="orgtog"><img src="images/powerReactor.png" class="collapse icon child active" /><a id="nuclear_power_reactor" href="#" onclick="return false;" title="Show/hide nuclear power reactor facilities." class="collapse child active">Power Reactor</a></span><span class="orgtog"><img src="images/nuclear_regulation.png" class="collapse icon child active" /><a id="nuclear_regulatory" href="#" onclick="return false;" title="Show/hide nuclear regulatory facilities." class="collapse child active">Regulatory</a></span><span class="orgtog"><img src="images/nuc_reprocessing.gif" class="collapse icon child active" /><a id="nuclear_reprocessing" href="#" onclick="return false;" title="Show/hide nuclear reprocessing facilities." class="collapse child active">Reprocessing</a></span><span class="orgtog"><img src="images/nuclear_development.png" class="collapse icon child active" /><a id="nuclear_research_and_development" href="#" onclick="return false;" title="Show/hide nuclear research and development facilities." class="collapse child active">Research and Development</a></span><span class="orgtog"><img src="images/nuclear_researchReactor.png" class="collapse icon child active" /><a id="nuclear_research_reactors" href="#" onclick="return false;" title="Show/hide nuclear research reactors facilities." class="collapse child active">Research Reactors</a></span><span class="orgtog"><img src="images/nukeStorage.png" class="collapse icon child active" /><a id="nuclear_storage" href="#" onclick="return false;" title="Show/hide nuclear storage facilities." class="collapse child active">Storage</a></span><span class="orgtog"><img src="images/nuc_testing.gif" class="collapse icon child active" /><a id="nuclear_testing" href="#" onclick="return false;" title="Show/hide nuclear testing facilities." class="collapse child active">Testing</a></span><span class="orgtog"><img src="images/nuclear_waste.png" class="collapse icon child active" /><a id="nuclear_waste_management" href="#" onclick="return false;" title="Show/hide nuclear waste management facilities." class="collapse child active">Waste Management</a></span><span class="orgtog"><img src="images/nuclear_weapon.png" class="collapse icon child active" /><a id="nuclear_weaponization" href="#" onclick="return false;" title="Show/hide nuclear weaponization facilities." class="collapse child active">Weaponization</a></span></div></div><div id="helpText"><a href="#" onclick="return false;" class="hide">Hide</a><ul><li> To jump quickly to another country, click a country name below (e.g., <a href="#" onclick="return false;" id="see_nk">North Korea</a>). </li><li> Click on a category name (e.g., <a href="#" onclick="return false;" id="show_chem">chemical</a> ) to list all of that category's facilities in the current map area, along with the number of facilities displayed. This list will change dynamically as you move around the map. </li><li> Click on a facility type (e.g., <a href="#" onclick="return false;" id="show_production">Production</a>) to SHOW/HIDE its place marks. </li><li> Click on a place mark for location info and a link to more information. </li><li> For help, hover your pointer over an item for an explanation. </li><li> Bookmark the "Share" link to return to the same view later. </li></ul><a href="#" onclick="return false;" class="hide">Hide</a></div><div id="aboutText"><a href="#" onclick="return false;" class="hide">Hide</a><div><p> The nuclear, chemical, biological, and missile facilities depicted in this map correspond to content found in the NTI country profiles. Please see this content for further information and sources. Since definitive information on countries' NBC and missile facilities is often classified, the descriptions and mapped locations of these facilities are sometimes speculative, based on the most credible available open source material. </p><p> This material is produced independently for NTI by the James Martin Center for Nonproliferation Studies at the Monterey Institute of International Studies and does not necessarily reflect the opinions of and has not been independently verified by NTI or its directors, officers, employees, or agents. Copyright &copy; 2011 by MIIS. </p></div><a href="#" onclick="return false;" class="hide">Hide</a></div><div id="mapFoot"><p id="disclaimer" onclick="return false;" class="note"> Find facilities with descriptions in these country profiles: </p><div id="mapSharing"><a href="#" class="stableLink" title="This URL will take you back to your current view.">Share</a> | <a href="#" onclick="return false;" id="about" class="stableLink" title="Click to show/hide disclamatory and reference related information.">About</a> | <a href="#" id="help" class="stableLink" onclick="return false;" title="Click to show/hide the basic overview.">Help</a></div><br /><br /><!--Thanks for ruining the internet IE --><div id="countryMenu"><a id="argentina" href="#" onclick="return false;" class="country" title="Center map over Argentina"></a><img src="images/argentina_dim.gif" class="preload cntrydown" /><a id="belarus" href="#" onclick="return false;" class="country" title="Center map over Belarus"></a><img src="images/belarus_dim.gif" class="preload cntrydown" /><a id="china" href="#" onclick="return false;" class="country" title="Center map over China"></a><img src="images/china_dim.gif" class="preload cntrydown" /><a id="cuba" href="#" onclick="return false;" class="country" title="Center map over Cuba"></a><img src="images/cuba_dim.gif" class="preload cntrydown" /><a id="egypt" href="#" onclick="return false;" class="country" title="Center map over Egypt"></a><img src="images/egypt_dim.gif" class="preload cntrydown" /><a id="india" href="#" onclick="return false;" class="country" title="Center map over India"></a><img src="images/india_dim.gif" class="preload cntrydown" /><a id="iran" href="#" onclick="return false;" class="country" title="Center map over Iran"></a><img src="images/iran_dim.gif" class="preload cntrydown" /><a id="israel" href="#" onclick="return false;" class="country" title="Center map over Israel"></a><img src="images/israel_dim.gif" class="preload cntrydown" /><a id="kazakhstan" href="#" onclick="return false;" class="country" title="Center map over Kazakhstan"></a><img src="images/kazakhstan_dim.gif" class="preload cntrydown" /><a id="north_korea" href="#" onclick="return false;" class="country" title="Center map over North Korea"></a><img src="images/north_korea_dim.gif" class="preload cntrydown" /><a id="pakistan" href="#" onclick="return false;" class="country" title="Center map over Pakistan"></a><img src="images/pakistan_dim.gif" class="preload cntrydown" /><a id="russia" href="#" onclick="return false;" class="country" title="Center map over Russia"></a><img src="images/russia_dim.gif" class="preload cntrydown" /><a id="south_korea" href="#" onclick="return false;" class="country" title="Center map over South Korea"></a><img src="images/south_korea_dim.gif" class="preload cntrydown" /><a id="syria" href="#" onclick="return false;" class="country" title="Center map over Syria"></a><img src="images/syria_dim.gif" class="preload cntrydown" /><a id="turkey" href="#" onclick="return false;" class="country" title="Center map over Turkey"></a><img src="images/turkey_dim.gif" class="preload cntrydown" /><img src="images/other.gif" class="preload cntrydown" /></div><h5 class="slowness">PLEASE NOTE: Due to the large amount of data processed, the map may be slow to respond.</h5></div><div class="topLeft"></div><div class="topRight"></div><div class="midRight"></div><div class="bottomMiddle"></div><div class="bottomLeft"></div><div class="bottomRight"></div><a href="http://www.nti.org" title="Visit the NTI homepage." class="logo"><img src="images/nti_logo_white_170x74.png" class="logo" /></a></div><script type="text/javascript">var Prototype={Version:"1.6.0",Browser:{IE:!(!window.attachEvent||window.opera),Opera:!!window.opera,WebKit:-1<navigator.userAgent.indexOf("AppleWebKit/"),Gecko:-1<navigator.userAgent.indexOf("Gecko")&&-1==navigator.userAgent.indexOf("KHTML"),MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement("div").__proto__&&document.createElement("div").__proto__!==
document.createElement("form").__proto__},ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(a){return a}};Prototype.Browser.MobileSafari&&(Prototype.BrowserFeatures.SpecificElementExtensions=!1);Prototype.Browser.WebKit&&(Prototype.BrowserFeatures.XPath=!1);
var Class={create:function(){function a(){this.initialize.apply(this,arguments)}var b=null,c=$A(arguments);Object.isFunction(c[0])&&(b=c.shift());Object.extend(a,Class.Methods);a.superclass=b;a.subclasses=[];if(b){var d=function(){};d.prototype=b.prototype;a.prototype=new d;b.subclasses.push(a)}for(b=0;b<c.length;b++)a.addMethods(c[b]);if(!a.prototype.initialize)a.prototype.initialize=Prototype.emptyFunction;return a.prototype.constructor=a},Methods:{addMethods:function(a){var b=this.superclass&&
this.superclass.prototype,c=Object.keys(a);Object.keys({toString:true}).length||c.push("toString","valueOf");for(var d=0,e=c.length;d<e;d++){var f=c[d],g=a[f];if(b&&Object.isFunction(g)&&g.argumentNames().first()=="$super")var h=g,g=Object.extend(function(a){return function(){return b[a].apply(this,arguments)}}(f).wrap(h),{valueOf:function(){return h},toString:function(){return h.toString()}});this.prototype[f]=g}return this}}},Abstract={};Object.extend=function(a,b){for(var c in b)a[c]=b[c];return a};
Object.extend(Object,{inspect:function(a){try{return a===void 0?"undefined":a===null?"null":a.inspect?a.inspect():a.toString()}catch(b){if(b instanceof RangeError)return"...";throw b;}},toJSON:function(a){switch(typeof a){case "undefined":case "function":case "unknown":return;case "boolean":return a.toString()}if(a===null)return"null";if(a.toJSON)return a.toJSON();if(!Object.isElement(a)){var b=[],c;for(c in a){var d=Object.toJSON(a[c]);d!==void 0&&b.push(c.toJSON()+": "+d)}return"{"+b.join(", ")+
"}"}},toQueryString:function(a){return $H(a).toQueryString()},toHTML:function(a){return a&&a.toHTML?a.toHTML():String.interpret(a)},keys:function(a){var b=[],c;for(c in a)b.push(c);return b},values:function(a){var b=[],c;for(c in a)b.push(a[c]);return b},clone:function(a){return Object.extend({},a)},isElement:function(a){return a&&a.nodeType==1},isArray:function(a){return a&&a.constructor===Array},isHash:function(a){return a instanceof Hash},isFunction:function(a){return typeof a=="function"},isString:function(a){return typeof a==
"string"},isNumber:function(a){return typeof a=="number"},isUndefined:function(a){return typeof a=="undefined"}});
Object.extend(Function.prototype,{argumentNames:function(){var a=this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip");return a.length==1&&!a[0]?[]:a},bind:function(){if(arguments.length<2&&arguments[0]===void 0)return this;var a=this,b=$A(arguments),c=b.shift();return function(){return a.apply(c,b.concat($A(arguments)))}},bindAsEventListener:function(){var a=this,b=$A(arguments),c=b.shift();return function(d){return a.apply(c,[d||window.event].concat(b))}},curry:function(){if(!arguments.length)return this;
var a=this,b=$A(arguments);return function(){return a.apply(this,b.concat($A(arguments)))}},delay:function(){var a=this,b=$A(arguments),c=b.shift()*1E3;return window.setTimeout(function(){return a.apply(a,b)},c)},wrap:function(a){var b=this;return function(){return a.apply(this,[b.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized)return this._methodized;var a=this;return this._methodized=function(){return a.apply(null,[this].concat($A(arguments)))}}});
Function.prototype.defer=Function.prototype.delay.curry(0.01);Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+"-"+(this.getUTCMonth()+1).toPaddedString(2)+"-"+this.getUTCDate().toPaddedString(2)+"T"+this.getUTCHours().toPaddedString(2)+":"+this.getUTCMinutes().toPaddedString(2)+":"+this.getUTCSeconds().toPaddedString(2)+'Z"'};var Try={these:function(){for(var a,b=0,c=arguments.length;b<c;b++){var d=arguments[b];try{a=d();break}catch(e){}}return a}};RegExp.prototype.match=RegExp.prototype.test;
RegExp.escape=function(a){return String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};
var PeriodicalExecuter=Class.create({initialize:function(a,b){this.callback=a;this.frequency=b;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1E3)},execute:function(){this.callback(this)},stop:function(){if(this.timer){clearInterval(this.timer);this.timer=null}},onTimerEvent:function(){if(!this.currentlyExecuting)try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}});
Object.extend(String,{interpret:function(a){return a==null?"":String(a)},specialChar:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\\":"\\\\"}});
Object.extend(String.prototype,{gsub:function(a,b){for(var c="",d=this,e,b=arguments.callee.prepareReplacement(b);d.length>0;)if(e=d.match(a)){c=c+d.slice(0,e.index);c=c+String.interpret(b(e));d=d.slice(e.index+e[0].length)}else{c=c+d;d=""}return c},sub:function(a,b,c){b=this.gsub.prepareReplacement(b);c=c===void 0?1:c;return this.gsub(a,function(a){return--c<0?a[0]:b(a)})},scan:function(a,b){this.gsub(a,b);return String(this)},truncate:function(a,b){a=a||30;b=b===void 0?"...":b;return this.length>
a?this.slice(0,a-b.length)+b:String(this)},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(RegExp(Prototype.ScriptFragment,"img"),"")},extractScripts:function(){var a=RegExp(Prototype.ScriptFragment,"im");return(this.match(RegExp(Prototype.ScriptFragment,"img"))||[]).map(function(b){return(b.match(a)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(a){return eval(a)})},
escapeHTML:function(){var a=arguments.callee;a.text.data=this;return a.div.innerHTML},unescapeHTML:function(){var a=new Element("div");a.innerHTML=this.stripTags();return a.childNodes[0]?a.childNodes.length>1?$A(a.childNodes).inject("",function(a,c){return a+c.nodeValue}):a.childNodes[0].nodeValue:""},toQueryParams:function(a){var b=this.strip().match(/([^?#]*)(#.*)?$/);return!b?{}:b[1].split(a||"&").inject({},function(a,b){if((b=b.split("="))[0]){var e=decodeURIComponent(b.shift()),f=b.length>1?
b.join("="):b[0];f!=void 0&&(f=decodeURIComponent(f));if(e in a){Object.isArray(a[e])||(a[e]=[a[e]]);a[e].push(f)}else a[e]=f}return a})},toArray:function(){return this.split("")},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(a){return a<1?"":Array(a+1).join(this)},camelize:function(){var a=this.split("-"),b=a.length;if(b==1)return a[0];for(var c=this.charAt(0)=="-"?a[0].charAt(0).toUpperCase()+a[0].substring(1):a[0],d=1;d<
b;d++)c=c+(a[d].charAt(0).toUpperCase()+a[d].substring(1));return c},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,"/").gsub(/([A-Z]+)([A-Z][a-z])/,"#{1}_#{2}").gsub(/([a-z\d])([A-Z])/,"#{1}_#{2}").gsub(/-/,"_").toLowerCase()},dasherize:function(){return this.gsub(/_/,"-")},inspect:function(a){var b=this.gsub(/[\x00-\x1f\\]/,function(a){var b=String.specialChar[a[0]];return b?b:"\\u00"+a[0].charCodeAt().toPaddedString(2,
16)});return a?'"'+b.replace(/"/g,'\\"')+'"':"'"+b.replace(/'/g,"\\'")+"'"},toJSON:function(){return this.inspect(true)},unfilterJSON:function(a){return this.sub(a||Prototype.JSONFilter,"#{1}")},isJSON:function(){var a=this.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,"");return/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/.test(a)},evalJSON:function(a){var b=this.unfilterJSON();try{if(!a||b.isJSON())return eval("("+b+")")}catch(c){}throw new SyntaxError("Badly formed JSON string: "+this.inspect());},include:function(a){return this.indexOf(a)>
-1},startsWith:function(a){return this.indexOf(a)===0},endsWith:function(a){var b=this.length-a.length;return b>=0&&this.lastIndexOf(a)===b},empty:function(){return this==""},blank:function(){return/^\s*$/.test(this)},interpolate:function(a,b){return(new Template(this,b)).evaluate(a)}});
(Prototype.Browser.WebKit||Prototype.Browser.IE)&&Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},unescapeHTML:function(){return this.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")}});String.prototype.gsub.prepareReplacement=function(a){if(Object.isFunction(a))return a;var b=new Template(a);return function(a){return b.evaluate(a)}};String.prototype.parseQuery=String.prototype.toQueryParams;
Object.extend(String.prototype.escapeHTML,{div:document.createElement("div"),text:document.createTextNode("")});with(String.prototype.escapeHTML)div.appendChild(text);
var Template=Class.create({initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(a){Object.isFunction(a.toTemplateReplacements)&&(a=a.toTemplateReplacements());return this.template.gsub(this.pattern,function(b){if(a==null)return"";var c=b[1]||"";if(c=="\\")return b[2];var d=a,e=b[3],f=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/,b=f.exec(e);if(b==null)return c;for(;b!=null;){var g=b[1].startsWith("[")?b[2].gsub("\\\\]","]"):b[1],d=d[g];if(null==d||""==
b[3])break;e=e.substring("["==b[3]?b[1].length:b[0].length);b=f.exec(e)}return c+String.interpret(d)}.bind(this))}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;
var $break={},Enumerable={each:function(a,b){var c=0,a=a.bind(b);try{this._each(function(b){a(b,c++)})}catch(d){if(d!=$break)throw d;}return this},eachSlice:function(a,b,c){for(var b=b?b.bind(c):Prototype.K,d=-a,e=[],f=this.toArray();(d=d+a)<f.length;)e.push(f.slice(d,d+a));return e.collect(b,c)},all:function(a,b){var a=a?a.bind(b):Prototype.K,c=true;this.each(function(b,e){c=c&&!!a(b,e);if(!c)throw $break;});return c},any:function(a,b){var a=a?a.bind(b):Prototype.K,c=false;this.each(function(b,e){if(c=
!!a(b,e))throw $break;});return c},collect:function(a,b){var a=a?a.bind(b):Prototype.K,c=[];this.each(function(b,e){c.push(a(b,e))});return c},detect:function(a,b){var a=a.bind(b),c;this.each(function(b,e){if(a(b,e)){c=b;throw $break;}});return c},findAll:function(a,b){var a=a.bind(b),c=[];this.each(function(b,e){a(b,e)&&c.push(b)});return c},grep:function(a,b,c){var b=b?b.bind(c):Prototype.K,d=[];Object.isString(a)&&(a=RegExp(a));this.each(function(c,f){a.match(c)&&d.push(b(c,f))});return d},include:function(a){if(Object.isFunction(this.indexOf)&&
this.indexOf(a)!=-1)return true;var b=false;this.each(function(c){if(c==a){b=true;throw $break;}});return b},inGroupsOf:function(a,b){b=b===void 0?null:b;return this.eachSlice(a,function(c){for(;c.length<a;)c.push(b);return c})},inject:function(a,b,c){b=b.bind(c);this.each(function(c,e){a=b(a,c,e)});return a},invoke:function(a){var b=$A(arguments).slice(1);return this.map(function(c){return c[a].apply(c,b)})},max:function(a,b){var a=a?a.bind(b):Prototype.K,c;this.each(function(b,e){b=a(b,e);if(c==
void 0||b>=c)c=b});return c},min:function(a,b){var a=a?a.bind(b):Prototype.K,c;this.each(function(b,e){b=a(b,e);if(c==void 0||b<c)c=b});return c},partition:function(a,b){var a=a?a.bind(b):Prototype.K,c=[],d=[];this.each(function(b,f){(a(b,f)?c:d).push(b)});return[c,d]},pluck:function(a){var b=[];this.each(function(c){b.push(c[a])});return b},reject:function(a,b){var a=a.bind(b),c=[];this.each(function(b,e){a(b,e)||c.push(b)});return c},sortBy:function(a,b){a=a.bind(b);return this.map(function(b,d){return{value:b,
criteria:a(b,d)}}).sort(function(a,b){var e=a.criteria,f=b.criteria;return e<f?-1:e>f?1:0}).pluck("value")},toArray:function(){return this.map()},zip:function(){var a=Prototype.K,b=$A(arguments);Object.isFunction(b.last())&&(a=b.pop());var c=[this].concat(b).map($A);return this.map(function(b,e){return a(c.pluck(e))})},size:function(){return this.toArray().length},inspect:function(){return"#<Enumerable:"+this.toArray().inspect()+">"}};
Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(a){if(!a)return[];if(a.toArray)return a.toArray();for(var b=a.length,c=Array(b);b--;)c[b]=a[b];return c}
Prototype.Browser.WebKit&&($A=function(a){if(!a)return[];if(!(Object.isFunction(a)&&a=="[object NodeList]")&&a.toArray)return a.toArray();for(var b=a.length,c=Array(b);b--;)c[b]=a[b];return c});Array.from=$A;Object.extend(Array.prototype,Enumerable);Array.prototype._reverse||(Array.prototype._reverse=Array.prototype.reverse);
Object.extend(Array.prototype,{_each:function(a){for(var b=0,c=this.length;b<c;b++)a(this[b])},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(a){return a!=null})},flatten:function(){return this.inject([],function(a,b){return a.concat(Object.isArray(b)?b.flatten():[b])})},without:function(){var a=$A(arguments);return this.select(function(b){return!a.include(b)})},reverse:function(a){return(a!==
false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},uniq:function(a){return this.inject([],function(b,c,d){(0==d||(a?b.last()!=c:!b.include(c)))&&b.push(c);return b})},intersect:function(a){return this.uniq().findAll(function(b){return a.detect(function(a){return b===a})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]"},toJSON:function(){var a=[];this.each(function(b){b=
Object.toJSON(b);b!==void 0&&a.push(b)});return"["+a.join(", ")+"]"}});Object.isFunction(Array.prototype.forEach)&&(Array.prototype._each=Array.prototype.forEach);Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){b||(b=0);var c=this.length;for(b<0&&(b=c+b);b<c;b++)if(this[b]===a)return b;return-1});Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a,b){var b=isNaN(b)?this.length:(b<0?this.length+b:b)+1,c=this.slice(0,b).reverse().indexOf(a);return c<0?c:b-c-1});
Array.prototype.toArray=Array.prototype.clone;function $w(a){if(!Object.isString(a))return[];return(a=a.strip())?a.split(/\s+/):[]}Prototype.Browser.Opera&&(Array.prototype.concat=function(){for(var a=[],b=0,c=this.length;b<c;b++)a.push(this[b]);b=0;for(c=arguments.length;b<c;b++)if(Object.isArray(arguments[b]))for(var d=0,e=arguments[b].length;d<e;d++)a.push(arguments[b][d]);else a.push(arguments[b]);return a});
Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(a){$R(0,this,true).each(a);return this},toPaddedString:function(a,b){var c=this.toString(b||10);return"0".times(a-c.length)+c},toJSON:function(){return isFinite(this)?this.toString():"null"}});$w("abs round ceil floor").each(function(a){Number.prototype[a]=Math[a].methodize()});function $H(a){return new Hash(a)}
var Hash=Class.create(Enumerable,function(){function a(a,b){return Object.isUndefined(b)?a:a+"="+encodeURIComponent(String.interpret(b))}var b=0,c=function(a){this.key=a};c.prototype.key="foo";for(var d in new c("bar"))b++;return{initialize:function(a){this._object=Object.isHash(a)?a.toObject():Object.clone(a)},_each:b>1?function(a){var b=[],c;for(c in this._object){var d=this._object[c];if(!b.include(c)){b.push(c);var i=[c,d];i.key=c;i.value=d;a(i)}}}:function(a){for(var b in this._object){var c=
this._object[b],d=[b,c];d.key=b;d.value=c;a(d)}},set:function(a,b){return this._object[a]=b},get:function(a){return this._object[a]},unset:function(a){var b=this._object[a];delete this._object[a];return b},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck("key")},values:function(){return this.pluck("value")},index:function(a){var b=this.detect(function(b){return b.value===a});return b&&b.key},merge:function(a){return this.clone().update(a)},update:function(a){return(new Hash(a)).inject(this,
function(a,b){a.set(b.key,b.value);return a})},toQueryString:function(){return this.map(function(b){var c=encodeURIComponent(b.key);return(b=b.value)&&typeof b=="object"&&Object.isArray(b)?b.map(a.curry(c)).join("&"):a(c,b)}).join("&")},inspect:function(){return"#<Hash:{"+this.map(function(a){return a.map(Object.inspect).join(": ")}).join(", ")+"}>"},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}}());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;
Hash.from=$H;
var ObjectRange=Class.create(Enumerable,{initialize:function(a,b,c){this.start=a;this.end=b;this.exclusive=c},_each:function(a){for(var b=this.start;this.include(b);){a(b);b=b.succ()}},include:function(a){return a<this.start?false:this.exclusive?a<this.end:a<=this.end}}),$R=function(a,b,c){return new ObjectRange(a,b,c)},Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")})||false},
activeRequestCount:0,Responders:{responders:[],_each:function(a){this.responders._each(a)},register:function(a){this.include(a)||this.responders.push(a)},unregister:function(a){this.responders=this.responders.without(a)},dispatch:function(a,b,c,d){this.each(function(e){if(Object.isFunction(e[a]))try{e[a].apply(e,[b,c,d])}catch(f){}})}}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});
Ajax.Base=Class.create({initialize:function(a){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:"",evalJSON:true,evalJS:true};Object.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))this.options.parameters=this.options.parameters.toQueryParams()}});
Ajax.Request=Class.create(Ajax.Base,{_complete:!1,initialize:function($super,b,c){$super(c);this.transport=Ajax.getTransport();this.request(b)},request:function(a){this.url=a;this.method=this.options.method;a=Object.clone(this.options.parameters);if(!["get","post"].include(this.method)){a._method=this.method;this.method="post"}this.parameters=a;if(a=Object.toQueryString(a))this.method=="get"?this.url=this.url+((this.url.include("?")?"&":"?")+a):/Konqueror|Safari|KHTML/.test(navigator.userAgent)&&
(a=a+"&_=");try{var b=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(b);Ajax.Responders.dispatch("onCreate",this,b);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);this.options.asynchronous&&this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=="post"?this.options.postBody||a:null;this.transport.send(this.body);if(!this.options.asynchronous&&
this.transport.overrideMimeType)this.onStateChange()}catch(c){this.dispatchException(c)}},onStateChange:function(){var a=this.transport.readyState;a>1&&!(a==4&&this._complete)&&this.respondToReadyState(this.transport.readyState)},setRequestHeaders:function(){var a={"X-Requested-With":"XMLHttpRequest","X-Prototype-Version":Prototype.Version,Accept:"text/javascript, text/html, application/xml, text/xml, */*"};if(this.method=="post"){a["Content-type"]=this.options.contentType+(this.options.encoding?
"; charset="+this.options.encoding:"");if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)a.Connection="close"}if(typeof this.options.requestHeaders=="object"){var b=this.options.requestHeaders;if(Object.isFunction(b.push))for(var c=0,d=b.length;c<d;c=c+2)a[b[c]]=b[c+1];else $H(b).each(function(b){a[b.key]=b.value})}for(var e in a)this.transport.setRequestHeader(e,a[e])},success:function(){var a=this.getStatus();return!a||a>=200&&a<300},getStatus:function(){try{return this.transport.status||
0}catch(a){return 0}},respondToReadyState:function(a){var a=Ajax.Request.Events[a],b=new Ajax.Response(this);if(a=="Complete"){try{this._complete=true;(this.options["on"+b.status]||this.options["on"+(this.success()?"Success":"Failure")]||Prototype.emptyFunction)(b,b.headerJSON)}catch(c){this.dispatchException(c)}var d=b.getHeader("Content-type");(this.options.evalJS=="force"||this.options.evalJS&&d&&d.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))&&this.evalResponse()}try{(this.options["on"+
a]||Prototype.emptyFunction)(b,b.headerJSON);Ajax.Responders.dispatch("on"+a,this,b,b.headerJSON)}catch(e){this.dispatchException(e)}if(a=="Complete")this.transport.onreadystatechange=Prototype.emptyFunction},getHeader:function(a){try{return this.transport.getResponseHeader(a)}catch(b){return null}},evalResponse:function(){try{return eval((this.transport.responseText||"").unfilterJSON())}catch(a){this.dispatchException(a)}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,
a);Ajax.Responders.dispatch("onException",this,a)}});Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];
Ajax.Response=Class.create({initialize:function(a){this.request=a;var a=this.transport=a.transport,b=this.readyState=a.readyState;if(b>2&&!Prototype.Browser.IE||b==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(a.responseText);this.headerJSON=this._getHeaderJSON()}if(b==4){a=a.responseXML;this.responseXML=a===void 0?null:a;this.responseJSON=this._getResponseJSON()}},status:0,statusText:"",getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||
""}catch(a){return""}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(a){return null}},getResponseHeader:function(a){return this.transport.getResponseHeader(a)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var a=this.getHeader("X-JSON");if(!a)return null;a=decodeURIComponent(escape(a));try{return a.evalJSON(this.request.options.sanitizeJSON)}catch(b){this.request.dispatchException(b)}},
_getResponseJSON:function(){var a=this.request.options;if(!a.evalJSON||a.evalJSON!="force"&&!(this.getHeader("Content-type")||"").include("application/json"))return null;try{return this.transport.responseText.evalJSON(a.sanitizeJSON)}catch(b){this.request.dispatchException(b)}}});
Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,b,c,d){this.container={success:b.success||b,failure:b.failure||(b.success?null:b)};var d=d||{},e=d.onComplete;d.onComplete=function(b,c){this.updateContent(b.responseText);Object.isFunction(e)&&e(b,c)}.bind(this);$super(c,d)},updateContent:function(a){var b=this.container[this.success()?"success":"failure"],c=this.options;c.evalScripts||(a=a.stripScripts());if(b=$(b))if(c.insertion)if(Object.isString(c.insertion)){var d={};d[c.insertion]=
a;b.insert(d)}else c.insertion(b,a);else b.update(a);this.success()&&this.onComplete&&this.onComplete.bind(this).defer()}});
Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,b,c,d){$super(d);this.onComplete=this.options.onComplete;this.frequency=this.options.frequency||2;this.decay=this.options.decay||1;this.updater={};this.container=b;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=void 0;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},
updateComplete:function(a){if(this.options.decay){this.decay=a.responseText==this.lastText?this.decay*this.options.decay:1;this.lastText=a.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});
function $(a){if(arguments.length>1){for(var b=0,c=[],d=arguments.length;b<d;b++)c.push($(arguments[b]));return c}Object.isString(a)&&(a=document.getElementById(a));return Element.extend(a)}Prototype.BrowserFeatures.XPath&&(document._getElementsByXPath=function(a,b){for(var c=[],d=document.evaluate(a,$(b)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),e=0,f=d.snapshotLength;e<f;e++)c.push(Element.extend(d.snapshotItem(e)));return c});if(!window.Node)var Node={};
Node.ELEMENT_NODE||Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12});
(function(){var a=this.Element;this.Element=function(a,c){var c=c||{},a=a.toLowerCase(),d=Element.cache;if(Prototype.Browser.IE&&c.name){a="<"+a+' name="'+c.name+'">';delete c.name;return Element.writeAttribute(document.createElement(a),c)}d[a]||(d[a]=Element.extend(document.createElement(a)));return Element.writeAttribute(d[a].cloneNode(false),c)};Object.extend(this.Element,a||{})}).call(window);Element.cache={};
Element.Methods={visible:function(a){return $(a).style.display!="none"},toggle:function(a){a=$(a);Element[Element.visible(a)?"hide":"show"](a);return a},hide:function(a){$(a).style.display="none";return a},show:function(a){$(a).style.display="";return a},remove:function(a){a=$(a);a.parentNode.removeChild(a);return a},update:function(a,b){a=$(a);b&&b.toElement&&(b=b.toElement());if(Object.isElement(b))return a.update().insert(b);b=Object.toHTML(b);a.innerHTML=b.stripScripts();b.evalScripts.bind(b).defer();
return a},replace:function(a,b){a=$(a);if(b&&b.toElement)b=b.toElement();else if(!Object.isElement(b)){var b=Object.toHTML(b),c=a.ownerDocument.createRange();c.selectNode(a);b.evalScripts.bind(b).defer();b=c.createContextualFragment(b.stripScripts())}a.parentNode.replaceChild(b,a);return a},insert:function(a,b){a=$(a);if(Object.isString(b)||Object.isNumber(b)||Object.isElement(b)||b&&(b.toElement||b.toHTML))b={bottom:b};var c,d,e;for(position in b){c=b[position];position=position.toLowerCase();d=
Element._insertionTranslations[position];c&&c.toElement&&(c=c.toElement());if(Object.isElement(c))d.insert(a,c);else{c=Object.toHTML(c);e=a.ownerDocument.createRange();d.initializeRange(a,e);d.insert(a,e.createContextualFragment(c.stripScripts()));c.evalScripts.bind(c).defer()}}return a},wrap:function(a,b,c){a=$(a);Object.isElement(b)?$(b).writeAttribute(c||{}):b=Object.isString(b)?new Element(b,c):new Element("div",b);a.parentNode&&a.parentNode.replaceChild(b,a);b.appendChild(a);return b},inspect:function(a){var a=
$(a),b="<"+a.tagName.toLowerCase();$H({id:"id",className:"class"}).each(function(c){var d=c.first(),c=c.last();(d=(a[d]||"").toString())&&(b=b+(" "+c+"="+d.inspect(true)))});return b+">"},recursivelyCollect:function(a,b){for(var a=$(a),c=[];a=a[b];)a.nodeType==1&&c.push(Element.extend(a));return c},ancestors:function(a){return $(a).recursivelyCollect("parentNode")},descendants:function(a){return $A($(a).getElementsByTagName("*")).each(Element.extend)},firstDescendant:function(a){for(a=$(a).firstChild;a&&
a.nodeType!=1;)a=a.nextSibling;return $(a)},immediateDescendants:function(a){if(!(a=$(a).firstChild))return[];for(;a&&a.nodeType!=1;)a=a.nextSibling;return a?[a].concat($(a).nextSiblings()):[]},previousSiblings:function(a){return $(a).recursivelyCollect("previousSibling")},nextSiblings:function(a){return $(a).recursivelyCollect("nextSibling")},siblings:function(a){a=$(a);return a.previousSiblings().reverse().concat(a.nextSiblings())},match:function(a,b){Object.isString(b)&&(b=new Selector(b));return b.match($(a))},
up:function(a,b,c){a=$(a);if(arguments.length==1)return $(a.parentNode);var d=a.ancestors();return b?Selector.findElement(d,b,c):d[c||0]},down:function(a,b,c){a=$(a);if(arguments.length==1)return a.firstDescendant();var d=a.descendants();return b?Selector.findElement(d,b,c):d[c||0]},previous:function(a,b,c){a=$(a);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(a));var d=a.previousSiblings();return b?Selector.findElement(d,b,c):d[c||0]},next:function(a,b,c){a=$(a);if(arguments.length==
1)return $(Selector.handlers.nextElementSibling(a));var d=a.nextSiblings();return b?Selector.findElement(d,b,c):d[c||0]},select:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b,a)},adjacent:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b.parentNode,a).without(b)},identify:function(a){var a=$(a),b=a.readAttribute("id"),c=arguments.callee;if(b)return b;do b="anonymous_element_"+c.counter++;while($(b));a.writeAttribute("id",b);return b},
readAttribute:function(a,b){a=$(a);if(Prototype.Browser.IE){var c=Element._attributeTranslations.read;if(c.values[b])return c.values[b](a,b);c.names[b]&&(b=c.names[b]);if(b.include(":"))return!a.attributes||!a.attributes[b]?null:a.attributes[b].value}return a.getAttribute(b)},writeAttribute:function(a,b,c){var a=$(a),d={},e=Element._attributeTranslations.write;typeof b=="object"?d=b:d[b]=c===void 0?true:c;for(var f in d){b=e.names[f]||f;c=d[f];e.values[f]&&(b=e.values[f](a,c));c===false||c===null?
a.removeAttribute(b):c===true?a.setAttribute(b,b):a.setAttribute(b,c)}return a},getHeight:function(a){return $(a).getDimensions().height},getWidth:function(a){return $(a).getDimensions().width},classNames:function(a){return new Element.ClassNames(a)},hasClassName:function(a,b){if(a=$(a)){var c=a.className;return c.length>0&&(c==b||RegExp("(^|\\s)"+b+"(\\s|$)").test(c))}},addClassName:function(a,b){if(a=$(a)){if(!a.hasClassName(b))a.className=a.className+((a.className?" ":"")+b);return a}},removeClassName:function(a,
b){if(a=$(a)){a.className=a.className.replace(RegExp("(^|\\s+)"+b+"(\\s+|$)")," ").strip();return a}},toggleClassName:function(a,b){if(a=$(a))return a[a.hasClassName(b)?"removeClassName":"addClassName"](b)},cleanWhitespace:function(a){for(var a=$(a),b=a.firstChild;b;){var c=b.nextSibling;b.nodeType==3&&!/\S/.test(b.nodeValue)&&a.removeChild(b);b=c}return a},empty:function(a){return $(a).innerHTML.blank()},descendantOf:function(a,b){a=$(a);b=$(b);if(a.compareDocumentPosition)return(a.compareDocumentPosition(b)&
8)===8;if(a.sourceIndex&&!Prototype.Browser.Opera){var c=a.sourceIndex,d=b.sourceIndex,e=b.nextSibling;if(!e){do b=b.parentNode;while(!(e=b.nextSibling)&&b.parentNode)}if(e)return c>d&&c<e.sourceIndex}for(;a=a.parentNode;)if(a==b)return true;return false},scrollTo:function(a){var a=$(a),b=a.cumulativeOffset();window.scrollTo(b[0],b[1]);return a},getStyle:function(a,b){var a=$(a),b=b=="float"?"cssFloat":b.camelize(),c=a.style[b];if(!c)c=(c=document.defaultView.getComputedStyle(a,null))?c[b]:null;return b==
"opacity"?c?parseFloat(c):1:c=="auto"?null:c},getOpacity:function(a){return $(a).getStyle("opacity")},setStyle:function(a,b){var a=$(a),c=a.style;if(Object.isString(b)){a.style.cssText=a.style.cssText+(";"+b);return b.include("opacity")?a.setOpacity(b.match(/opacity:\s*(\d?\.?\d*)/)[1]):a}for(var d in b)d=="opacity"?a.setOpacity(b[d]):c[d=="float"||d=="cssFloat"?c.styleFloat===void 0?"cssFloat":"styleFloat":d]=b[d];return a},setOpacity:function(a,b){a=$(a);a.style.opacity=b==1||b===""?"":b<1E-5?0:
b;return a},getDimensions:function(a){var a=$(a),b=$(a).getStyle("display");if(b!="none"&&b!=null)return{width:a.offsetWidth,height:a.offsetHeight};var b=a.style,c=b.visibility,d=b.position,e=b.display;b.visibility="hidden";b.position="absolute";b.display="block";var f=a.clientWidth,a=a.clientHeight;b.display=e;b.position=d;b.visibility=c;return{width:f,height:a}},makePositioned:function(a){var a=$(a),b=Element.getStyle(a,"position");if(b=="static"||!b){a._madePositioned=true;a.style.position="relative";
if(window.opera){a.style.top=0;a.style.left=0}}return a},undoPositioned:function(a){a=$(a);if(a._madePositioned){a._madePositioned=void 0;a.style.position=a.style.top=a.style.left=a.style.bottom=a.style.right=""}return a},makeClipping:function(a){a=$(a);if(a._overflow)return a;a._overflow=Element.getStyle(a,"overflow")||"auto";if(a._overflow!=="hidden")a.style.overflow="hidden";return a},undoClipping:function(a){a=$(a);if(!a._overflow)return a;a.style.overflow=a._overflow=="auto"?"":a._overflow;a._overflow=
null;return a},cumulativeOffset:function(a){var b=0,c=0;do{b=b+(a.offsetTop||0);c=c+(a.offsetLeft||0);a=a.offsetParent}while(a);return Element._returnOffset(c,b)},positionedOffset:function(a){var b=0,c=0;do{b=b+(a.offsetTop||0);c=c+(a.offsetLeft||0);if(a=a.offsetParent){if(a.tagName=="BODY")break;var d=Element.getStyle(a,"position");if(d=="relative"||d=="absolute")break}}while(a);return Element._returnOffset(c,b)},absolutize:function(a){a=$(a);if(a.getStyle("position")!="absolute"){var b=a.positionedOffset(),
c=b[1],b=b[0],d=a.clientWidth,e=a.clientHeight;a._originalLeft=b-parseFloat(a.style.left||0);a._originalTop=c-parseFloat(a.style.top||0);a._originalWidth=a.style.width;a._originalHeight=a.style.height;a.style.position="absolute";a.style.top=c+"px";a.style.left=b+"px";a.style.width=d+"px";a.style.height=e+"px";return a}},relativize:function(a){a=$(a);if(a.getStyle("position")!="relative"){a.style.position="relative";var b=parseFloat(a.style.top||0)-(a._originalTop||0),c=parseFloat(a.style.left||0)-
(a._originalLeft||0);a.style.top=b+"px";a.style.left=c+"px";a.style.height=a._originalHeight;a.style.width=a._originalWidth;return a}},cumulativeScrollOffset:function(a){var b=0,c=0;do{b=b+(a.scrollTop||0);c=c+(a.scrollLeft||0);a=a.parentNode}while(a);return Element._returnOffset(c,b)},getOffsetParent:function(a){if(a.offsetParent)return $(a.offsetParent);if(a==document.body)return $(a);for(;(a=a.parentNode)&&a!=document.body;)if(Element.getStyle(a,"position")!="static")return $(a);return $(document.body)},
viewportOffset:function(a){var b=0,c=0,d=a;do{b=b+(d.offsetTop||0);c=c+(d.offsetLeft||0);if(d.offsetParent==document.body&&Element.getStyle(d,"position")=="absolute")break}while(d=d.offsetParent);d=a;do if(!Prototype.Browser.Opera||d.tagName=="BODY"){b=b-(d.scrollTop||0);c=c-(d.scrollLeft||0)}while(d=d.parentNode);return Element._returnOffset(c,b)},clonePosition:function(a,b,c){var c=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},c||{}),b=$(b),d=b.viewportOffset(),
a=$(a),e=[0,0],f=null;if(Element.getStyle(a,"position")=="absolute"){f=a.getOffsetParent();e=f.viewportOffset()}if(f==document.body){e[0]=e[0]-document.body.offsetLeft;e[1]=e[1]-document.body.offsetTop}if(c.setLeft)a.style.left=d[0]-e[0]+c.offsetLeft+"px";if(c.setTop)a.style.top=d[1]-e[1]+c.offsetTop+"px";if(c.setWidth)a.style.width=b.offsetWidth+"px";if(c.setHeight)a.style.height=b.offsetHeight+"px";return a}};Element.Methods.identify.counter=1;
Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:"class",htmlFor:"for"},values:{}}};
if(!document.createRange||Prototype.Browser.Opera)Element.Methods.insert=function(a,b){a=$(a);if(Object.isString(b)||Object.isNumber(b)||Object.isElement(b)||b&&(b.toElement||b.toHTML))b={bottom:b};var c=Element._insertionTranslations,d,e,f,g;for(e in b){d=b[e];e=e.toLowerCase();f=c[e];d&&d.toElement&&(d=d.toElement());if(Object.isElement(d))f.insert(a,d);else{d=Object.toHTML(d);g=(e=="before"||e=="after"?a.parentNode:a).tagName.toUpperCase();if(c.tags[g]){g=Element._getContentFromAnonymousElement(g,
d.stripScripts());(e=="top"||e=="after")&&g.reverse();g.each(f.insert.curry(a))}else a.insertAdjacentHTML(f.adjacency,d.stripScripts());d.evalScripts.bind(d).defer()}}return a};
Prototype.Browser.Opera?(Element.Methods._getStyle=Element.Methods.getStyle,Element.Methods.getStyle=function(a,b){switch(b){case "left":case "top":case "right":case "bottom":if(Element._getStyle(a,"position")=="static")return null;default:return Element._getStyle(a,b)}},Element.Methods._readAttribute=Element.Methods.readAttribute,Element.Methods.readAttribute=function(a,b){return b=="title"?a.title:Element._readAttribute(a,b)}):Prototype.Browser.IE?($w("positionedOffset getOffsetParent viewportOffset").each(function(a){Element.Methods[a]=
Element.Methods[a].wrap(function(a,c){var c=$(c),d=c.getStyle("position");if(d!="static")return a(c);c.setStyle({position:"relative"});var e=a(c);c.setStyle({position:d});return e})}),Element.Methods.getStyle=function(a,b){var a=$(a),b=b=="float"||b=="cssFloat"?"styleFloat":b.camelize(),c=a.style[b];!c&&a.currentStyle&&(c=a.currentStyle[b]);return b=="opacity"?(c=(a.getStyle("filter")||"").match(/alpha\(opacity=(.*)\)/))&&c[1]?parseFloat(c[1])/100:1:c=="auto"?(b=="width"||b=="height")&&a.getStyle("display")!=
"none"?a["offset"+b.capitalize()]+"px":null:c},Element.Methods.setOpacity=function(a,b){var a=$(a),c=a.currentStyle;if(c&&!c.hasLayout||!c&&a.style.zoom=="normal")a.style.zoom=1;var c=a.getStyle("filter"),d=a.style;if(b==1||b===""){(c=c.replace(/alpha\([^\)]*\)/gi,""))?d.filter=c:d.removeAttribute("filter");return a}b<1E-5&&(b=0);d.filter=c.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+b*100+")";return a},Element._attributeTranslations={read:{names:{"class":"className","for":"htmlFor"},values:{_getAttr:function(a,
b){return a.getAttribute(b,2)},_getAttrNode:function(a,b){var c=a.getAttributeNode(b);return c?c.value:""},_getEv:function(a,b){return(b=a.getAttribute(b))?b.toString().slice(23,-2):null},_flag:function(a,b){return $(a).hasAttribute(b)?b:null},style:function(a){return a.style.cssText.toLowerCase()},title:function(a){return a.title}}}},Element._attributeTranslations.write={names:Object.clone(Element._attributeTranslations.read.names),values:{checked:function(a,b){a.checked=!!b},style:function(a,b){a.style.cssText=
b?b:""}}},Element._attributeTranslations.has={},$w("colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc").each(function(a){Element._attributeTranslations.write.names[a.toLowerCase()]=a;Element._attributeTranslations.has[a.toLowerCase()]=a}),function(a){Object.extend(a,{href:a._getAttr,src:a._getAttr,type:a._getAttr,action:a._getAttrNode,disabled:a._flag,checked:a._flag,readonly:a._flag,multiple:a._flag,onload:a._getEv,onunload:a._getEv,onclick:a._getEv,ondblclick:a._getEv,
onmousedown:a._getEv,onmouseup:a._getEv,onmouseover:a._getEv,onmousemove:a._getEv,onmouseout:a._getEv,onfocus:a._getEv,onblur:a._getEv,onkeypress:a._getEv,onkeydown:a._getEv,onkeyup:a._getEv,onsubmit:a._getEv,onreset:a._getEv,onselect:a._getEv,onchange:a._getEv})}(Element._attributeTranslations.read.values)):Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)?Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=b==1?0.999999:b===""?"":b<1E-5?0:b;return a}:Prototype.Browser.WebKit&&
(Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=b==1||b===""?"":b<1E-5?0:b;if(b==1)if(a.tagName=="IMG"&&a.width){a.width++;a.width--}else try{var c=document.createTextNode(" ");a.appendChild(c);a.removeChild(c)}catch(d){}return a},Element.Methods.cumulativeOffset=function(a){var b=0,c=0;do{b=b+(a.offsetTop||0);c=c+(a.offsetLeft||0);if(a.offsetParent==document.body&&Element.getStyle(a,"position")=="absolute")break;a=a.offsetParent}while(a);return Element._returnOffset(c,b)});
if(Prototype.Browser.IE||Prototype.Browser.Opera)Element.Methods.update=function(a,b){a=$(a);b&&b.toElement&&(b=b.toElement());if(Object.isElement(b))return a.update().insert(b);var b=Object.toHTML(b),c=a.tagName.toUpperCase();if(c in Element._insertionTranslations.tags){$A(a.childNodes).each(function(b){a.removeChild(b)});Element._getContentFromAnonymousElement(c,b.stripScripts()).each(function(b){a.appendChild(b)})}else a.innerHTML=b.stripScripts();b.evalScripts.bind(b).defer();return a};
document.createElement("div").outerHTML&&(Element.Methods.replace=function(a,b){a=$(a);b&&b.toElement&&(b=b.toElement());if(Object.isElement(b)){a.parentNode.replaceChild(b,a);return a}var b=Object.toHTML(b),c=a.parentNode,d=c.tagName.toUpperCase();if(Element._insertionTranslations.tags[d]){var e=a.next(),d=Element._getContentFromAnonymousElement(d,b.stripScripts());c.removeChild(a);e?d.each(function(a){c.insertBefore(a,e)}):d.each(function(a){c.appendChild(a)})}else a.outerHTML=b.stripScripts();
b.evalScripts.bind(b).defer();return a});Element._returnOffset=function(a,b){var c=[a,b];c.left=a;c.top=b;return c};Element._getContentFromAnonymousElement=function(a,b){var c=new Element("div"),d=Element._insertionTranslations.tags[a];c.innerHTML=d[0]+b+d[1];d[2].times(function(){c=c.firstChild});return $A(c.childNodes)};
Element._insertionTranslations={before:{adjacency:"beforeBegin",insert:function(a,b){a.parentNode.insertBefore(b,a)},initializeRange:function(a,b){b.setStartBefore(a)}},top:{adjacency:"afterBegin",insert:function(a,b){a.insertBefore(b,a.firstChild)},initializeRange:function(a,b){b.selectNodeContents(a);b.collapse(true)}},bottom:{adjacency:"beforeEnd",insert:function(a,b){a.appendChild(b)}},after:{adjacency:"afterEnd",insert:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},initializeRange:function(a,
b){b.setStartAfter(a)}},tags:{TABLE:["<table>","</table>",1],TBODY:["<table><tbody>","</tbody></table>",2],TR:["<table><tbody><tr>","</tr></tbody></table>",3],TD:["<table><tbody><tr><td>","</td></tr></tbody></table>",4],SELECT:["<select>","</select>",1]}};(function(){this.bottom.initializeRange=this.top.initializeRange;Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);
Element.Methods.Simulated={hasAttribute:function(a,b){var b=Element._attributeTranslations.has[b]||b,c=$(a).getAttributeNode(b);return c&&c.specified}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);!Prototype.BrowserFeatures.ElementExtensions&&document.createElement("div").__proto__&&(window.HTMLElement={},window.HTMLElement.prototype=document.createElement("div").__proto__,Prototype.BrowserFeatures.ElementExtensions=!0);
Element.extend=function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)return Prototype.K;var a={},b=Element.Methods.ByTag,c=Object.extend(function(c){if(!c||c._extendedByPrototype||c.nodeType!=1||c==window)return c;var e=Object.clone(a),f=c.tagName,g;b[f]&&Object.extend(e,b[f]);for(g in e){f=e[g];Object.isFunction(f)&&!(g in c)&&(c[g]=f.methodize())}c._extendedByPrototype=Prototype.emptyFunction;return c},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(a,
Element.Methods);Object.extend(a,Element.Methods.Simulated)}}});c.refresh();return c}();Element.hasAttribute=function(a,b){return a.hasAttribute?a.hasAttribute(b):Element.Methods.Simulated.hasAttribute(a,b)};
Element.addMethods=function(a){function b(b){b=b.toUpperCase();Element.Methods.ByTag[b]||(Element.Methods.ByTag[b]={});Object.extend(Element.Methods.ByTag[b],a)}function c(a,b,c){var c=c||false,d;for(d in a){var e=a[d];if(Object.isFunction(e)&&(!c||!(d in b)))b[d]=e.methodize()}}function d(a){var b,c={OPTGROUP:"OptGroup",TEXTAREA:"TextArea",P:"Paragraph",FIELDSET:"FieldSet",UL:"UList",OL:"OList",DL:"DList",DIR:"Directory",H1:"Heading",H2:"Heading",H3:"Heading",H4:"Heading",H5:"Heading",H6:"Heading",
Q:"Quote",INS:"Mod",DEL:"Mod",A:"Anchor",IMG:"Image",CAPTION:"TableCaption",COL:"TableCol",COLGROUP:"TableCol",THEAD:"TableSection",TFOOT:"TableSection",TBODY:"TableSection",TR:"TableRow",TH:"TableCell",TD:"TableCell",FRAMESET:"FrameSet",IFRAME:"IFrame"};c[a]&&(b="HTML"+c[a]+"Element");if(window[b])return window[b];b="HTML"+a+"Element";if(window[b])return window[b];b="HTML"+a.capitalize()+"Element";if(window[b])return window[b];window[b]={};window[b].prototype=document.createElement(a).__proto__;
return window[b]}var e=Prototype.BrowserFeatures,f=Element.Methods.ByTag;if(!a){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)})}if(arguments.length==2)var g=a,a=arguments[1];g?Object.isArray(g)?g.each(b):b(g):Object.extend(Element.Methods,a||{});if(e.ElementExtensions){c(Element.Methods,
HTMLElement.prototype);c(Element.Methods.Simulated,HTMLElement.prototype,true)}if(e.SpecificElementExtensions)for(var h in Element.Methods.ByTag){e=d(h);Object.isUndefined(e)||c(f[h],e.prototype)}Object.extend(Element,Element.Methods);delete Element.ByTag;Element.extend.refresh&&Element.extend.refresh();Element.cache={}};
document.viewport={getDimensions:function(){var a={};$w("width height").each(function(b){var c=b.capitalize();a[b]=self["inner"+c]||document.documentElement["client"+c]||document.body["client"+c]});return a},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||
document.body.scrollTop)}};
var Selector=Class.create({initialize:function(a){this.expression=a.strip();this.compileMatcher()},compileMatcher:function(){if(Prototype.BrowserFeatures.XPath&&!/(\[[\w-]*?:|:checked)/.test(this.expression))return this.compileXPathMatcher();var a=this.expression,b=Selector.patterns,c=Selector.criteria,d,e;if(Selector._cache[a])this.matcher=Selector._cache[a];else{for(this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];a&&d!=a&&/\S/.test(a);){d=a;
for(var f in b){e=b[f];if(e=a.match(e)){this.matcher.push(Object.isFunction(c[f])?c[f](e):(new Template(c[f])).evaluate(e));a=a.replace(e[0],"");break}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join("\n"));Selector._cache[this.expression]=this.matcher}},compileXPathMatcher:function(){var a=this.expression,b=Selector.patterns,c=Selector.xpath,d,e;if(Selector._cache[a])this.xpath=Selector._cache[a];else{for(this.matcher=[".//*"];a&&d!=a&&/\S/.test(a);){d=a;for(var f in b)if(e=a.match(b[f])){this.matcher.push(Object.isFunction(c[f])?
c[f](e):(new Template(c[f])).evaluate(e));a=a.replace(e[0],"");break}}this.xpath=this.matcher.join("");Selector._cache[this.expression]=this.xpath}},findElements:function(a){a=a||document;return this.xpath?document._getElementsByXPath(this.xpath,a):this.matcher(a)},match:function(a){this.tokens=[];for(var b=this.expression,c=Selector.patterns,d=Selector.assertions,e,f;b&&e!==b&&/\S/.test(b);){e=b;for(var g in c){f=c[g];if(f=b.match(f))if(d[g]){this.tokens.push([g,Object.clone(f)]);b=b.replace(f[0],
"")}else return this.findElements(document).include(a)}}b=true;for(g=0;d=this.tokens[g];g++){c=d[0];d=d[1];if(!Selector.assertions[c](a,d)){b=false;break}}return b},toString:function(){return this.expression},inspect:function(){return"#<Selector:"+this.expression.inspect()+">"}});
Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:"/following-sibling::*",tagName:function(a){return a[1]=="*"?"":"[local-name()='"+a[1].toLowerCase()+"' or local-name()='"+a[1].toUpperCase()+"']"},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:"[@#{1}]",attr:function(a){a[3]=a[5]||a[6];return(new Template(Selector.xpath.operators[a[2]])).evaluate(a)},pseudo:function(a){var b=Selector.xpath.pseudos[a[1]];
return!b?"":Object.isFunction(b)?b(a):(new Template(Selector.xpath.pseudos[a[1]])).evaluate(a)},operators:{"=":"[@#{1}='#{3}']","!=":"[@#{1}!='#{3}']","^=":"[starts-with(@#{1}, '#{3}')]","$=":"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']","*=":"[contains(@#{1}, '#{3}')]","~=":"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]","|=":"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{"first-child":"[not(preceding-sibling::*)]","last-child":"[not(following-sibling::*)]",
"only-child":"[not(preceding-sibling::* or following-sibling::*)]",empty:"[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]",checked:"[@checked]",disabled:"[@disabled]",enabled:"[not(@disabled)]",not:function(a){for(var b=a[6],c=Selector.patterns,d=Selector.xpath,e,f,g=[];b&&e!=b&&/\S/.test(b);){e=b;for(var h in c)if(a=b.match(c[h])){f=Object.isFunction(d[h])?d[h](a):(new Template(d[h])).evaluate(a);g.push("("+f.substring(1,f.length-1)+")");b=b.replace(a[0],"");break}}return"[not("+
g.join(" and ")+")]"},"nth-child":function(a){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",a)},"nth-last-child":function(a){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",a)},"nth-of-type":function(a){return Selector.xpath.pseudos.nth("position() ",a)},"nth-last-of-type":function(a){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",a)},"first-of-type":function(a){a[6]="1";return Selector.xpath.pseudos["nth-of-type"](a)},"last-of-type":function(a){a[6]=
"1";return Selector.xpath.pseudos["nth-last-of-type"](a)},"only-of-type":function(a){var b=Selector.xpath.pseudos;return b["first-of-type"](a)+b["last-of-type"](a)},nth:function(a,b){var c,d=b[6];d=="even"&&(d="2n+0");d=="odd"&&(d="2n+1");if(c=d.match(/^(\d+)$/))return"["+a+"= "+c[1]+"]";if(c=d.match(/^(-?\d*)?n(([+-])(\d+))?/)){c[1]=="-"&&(c[1]=-1);d=c[1]?Number(c[1]):1;c=c[2]?Number(c[2]):0;return(new Template("[((#{fragment} - #{b}) mod #{a} = 0) and ((#{fragment} - #{b}) div #{a} >= 0)]")).evaluate({fragment:a,
a:d,b:c})}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c); c = false;',className:'n = h.className(n, r, "#{1}", c); c = false;',id:'n = h.id(n, r, "#{1}", c); c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}"); c = false;',attr:function(a){a[3]=a[5]||a[6];return(new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = false;')).evaluate(a)},pseudo:function(a){a[6]&&(a[6]=a[6].replace(/"/g,'\\"'));return(new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;')).evaluate(a)},
descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s)|(?=:))/,attrPresence:/^\[([\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},
assertions:{tagName:function(a,b){return b[1].toUpperCase()==a.tagName.toUpperCase()},className:function(a,b){return Element.hasClassName(a,b[1])},id:function(a,b){return a.id===b[1]},attrPresence:function(a,b){return Element.hasAttribute(a,b[1])},attr:function(a,b){var c=Element.readAttribute(a,b[1]);return Selector.operators[b[2]](c,b[3])}},handlers:{concat:function(a,b){for(var c=0,d;d=b[c];c++)a.push(d);return a},mark:function(a){for(var b=0,c;c=a[b];b++)c._counted=true;return a},unmark:function(a){for(var b=
0,c;c=a[b];b++)c._counted=void 0;return a},index:function(a,b,c){a._counted=true;if(b)for(var a=a.childNodes,b=a.length-1,d=1;b>=0;b--){var e=a[b];if(e.nodeType==1&&(!c||e._counted))e.nodeIndex=d++}else{b=0;d=1;for(a=a.childNodes;e=a[b];b++)if(e.nodeType==1&&(!c||e._counted))e.nodeIndex=d++}},unique:function(a){if(a.length==0)return a;for(var b=[],c,d=0,e=a.length;d<e;d++)if(!(c=a[d])._counted){c._counted=true;b.push(Element.extend(c))}return Selector.handlers.unmark(b)},descendant:function(a){for(var b=
Selector.handlers,c=0,d=[],e;e=a[c];c++)b.concat(d,e.getElementsByTagName("*"));return d},child:function(a){for(var b=0,c=[],d;d=a[b];b++)for(var e=0,f;f=d.childNodes[e];e++)f.nodeType==1&&f.tagName!="!"&&c.push(f);return c},adjacent:function(a){for(var b=0,c=[],d;d=a[b];b++)(d=this.nextElementSibling(d))&&c.push(d);return c},laterSibling:function(a){for(var b=Selector.handlers,c=0,d=[],e;e=a[c];c++)b.concat(d,Element.nextSiblings(e));return d},nextElementSibling:function(a){for(;a=a.nextSibling;)if(a.nodeType==
1)return a;return null},previousElementSibling:function(a){for(;a=a.previousSibling;)if(a.nodeType==1)return a;return null},tagName:function(a,b,c,d){var c=c.toUpperCase(),e=[],f=Selector.handlers;if(a){if(d){if(d=="descendant"){for(b=0;d=a[b];b++)f.concat(e,d.getElementsByTagName(c));return e}a=this[d](a);if(c=="*")return a}for(b=0;d=a[b];b++)d.tagName.toUpperCase()==c&&e.push(d);return e}return b.getElementsByTagName(c)},id:function(a,b,c,d){var c=$(c),e=Selector.handlers;if(!c)return[];if(!a&&
b==document)return[c];if(a){if(d)if(d=="child")for(b=0;d=a[b];b++){if(c.parentNode==d)return[c]}else if(d=="descendant")for(b=0;d=a[b];b++){if(Element.descendantOf(c,d))return[c]}else if(d=="adjacent")for(b=0;d=a[b];b++){if(Selector.handlers.previousElementSibling(c)==d)return[c]}else a=e[d](a);for(b=0;d=a[b];b++)if(d==c)return[c];return[]}return c&&Element.descendantOf(c,b)?[c]:[]},className:function(a,b,c,d){a&&d&&(a=this[d](a));return Selector.handlers.byClassName(a,b,c)},byClassName:function(a,
b,c){a||(a=Selector.handlers.descendant([b]));for(var b=" "+c+" ",d=0,e=[],f,g;f=a[d];d++){g=f.className;g.length!=0&&(g==c||(" "+g+" ").include(b))&&e.push(f)}return e},attrPresence:function(a,b,c){a||(a=b.getElementsByTagName("*"));for(var b=[],d=0,e;e=a[d];d++)Element.hasAttribute(e,c)&&b.push(e);return b},attr:function(a,b,c,d,e){a||(a=b.getElementsByTagName("*"));for(var b=Selector.operators[e],e=[],f=0,g;g=a[f];f++){var h=Element.readAttribute(g,c);h!==null&&b(h,d)&&e.push(g)}return e},pseudo:function(a,
b,c,d,e){a&&e&&(a=this[e](a));a||(a=d.getElementsByTagName("*"));return Selector.pseudos[b](a,c,d)}},pseudos:{"first-child":function(a){for(var b=0,c=[],d;d=a[b];b++)Selector.handlers.previousElementSibling(d)||c.push(d);return c},"last-child":function(a){for(var b=0,c=[],d;d=a[b];b++)Selector.handlers.nextElementSibling(d)||c.push(d);return c},"only-child":function(a){for(var b=Selector.handlers,c=0,d=[],e;e=a[c];c++)!b.previousElementSibling(e)&&!b.nextElementSibling(e)&&d.push(e);return d},"nth-child":function(a,
b,c){return Selector.pseudos.nth(a,b,c)},"nth-last-child":function(a,b,c){return Selector.pseudos.nth(a,b,c,true)},"nth-of-type":function(a,b,c){return Selector.pseudos.nth(a,b,c,false,true)},"nth-last-of-type":function(a,b,c){return Selector.pseudos.nth(a,b,c,true,true)},"first-of-type":function(a,b,c){return Selector.pseudos.nth(a,"1",c,false,true)},"last-of-type":function(a,b,c){return Selector.pseudos.nth(a,"1",c,true,true)},"only-of-type":function(a,b,c){var d=Selector.pseudos;return d["last-of-type"](d["first-of-type"](a,
b,c),b,c)},getIndices:function(a,b,c){return a==0?b>0?[b]:[]:$R(1,c).inject([],function(c,e){0==(e-b)%a&&(e-b)/a>=0&&c.push(e);return c})},nth:function(a,b,c,d,e){if(a.length==0)return[];b=="even"&&(b="2n+0");b=="odd"&&(b="2n+1");var c=Selector.handlers,f=[],g=[],h;c.mark(a);h=0;for(var i;i=a[h];h++)if(!i.parentNode._counted){c.index(i.parentNode,d,e);g.push(i.parentNode)}if(b.match(/^\d+$/)){b=Number(b);for(h=0;i=a[h];h++)i.nodeIndex==b&&f.push(i)}else if(h=b.match(/^(-?\d*)?n(([+-])(\d+))?/)){h[1]==
"-"&&(h[1]=-1);b=Selector.pseudos.getIndices(h[1]?Number(h[1]):1,h[2]?Number(h[2]):0,a.length);h=0;for(d=b.length;i=a[h];h++)for(e=0;e<d;e++)i.nodeIndex==b[e]&&f.push(i)}c.unmark(a);c.unmark(g);return f},empty:function(a){for(var b=0,c=[],d;d=a[b];b++)d.tagName=="!"||d.firstChild&&!d.innerHTML.match(/^\s*$/)||c.push(d);return c},not:function(a,b,c){var d=Selector.handlers,b=(new Selector(b)).findElements(c);d.mark(b);for(var c=0,e=[],f;f=a[c];c++)f._counted||e.push(f);d.unmark(b);return e},enabled:function(a){for(var b=
0,c=[],d;d=a[b];b++)d.disabled||c.push(d);return c},disabled:function(a){for(var b=0,c=[],d;d=a[b];b++)d.disabled&&c.push(d);return c},checked:function(a){for(var b=0,c=[],d;d=a[b];b++)d.checked&&c.push(d);return c}},operators:{"=":function(a,b){return a==b},"!=":function(a,b){return a!=b},"^=":function(a,b){return a.startsWith(b)},"$=":function(a,b){return a.endsWith(b)},"*=":function(a,b){return a.include(b)},"~=":function(a,b){return(" "+a+" ").include(" "+b+" ")},"|=":function(a,b){return("-"+
a.toUpperCase()+"-").include("-"+b.toUpperCase()+"-")}},matchElements:function(a,b){var c=(new Selector(b)).findElements(),d=Selector.handlers;d.mark(c);for(var e=0,f=[],g;g=a[e];e++)g._counted&&f.push(g);d.unmark(c);return f},findElement:function(a,b,c){if(Object.isNumber(b)){c=b;b=false}return Selector.matchElements(a,b||"*")[c||0]},findChildElements:function(a,b){var c=b.join(","),b=[];c.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(a){b.push(a[1].strip())});for(var c=[],d=Selector.handlers,
e=0,f=b.length,g;e<f;e++){g=new Selector(b[e].strip());d.concat(c,g.findElements(a))}return f>1?d.unique(c):c}});function $$(){return Selector.findChildElements(document,$A(arguments))}
var Form={reset:function(a){$(a).reset();return a},serializeElements:function(a,b){if(typeof b!="object")b={hash:!!b};else if(b.hash===void 0)b.hash=true;var c,d,e=false,f=b.submit,g=a.inject({},function(a,b){if(!b.disabled&&b.name){c=b.name;d=$(b).getValue();if(d!=null&&(b.type!="submit"||!e&&f!==false&&(!f||c==f)&&(e=true)))if(c in a){Object.isArray(a[c])||(a[c]=[a[c]]);a[c].push(d)}else a[c]=d}return a});return b.hash?g:Object.toQueryString(g)},Methods:{serialize:function(a,b){return Form.serializeElements(Form.getElements(a),
b)},getElements:function(a){return $A($(a).getElementsByTagName("*")).inject([],function(a,c){Form.Element.Serializers[c.tagName.toLowerCase()]&&a.push(Element.extend(c));return a})},getInputs:function(a,b,c){a=$(a);a=a.getElementsByTagName("input");if(!b&&!c)return $A(a).map(Element.extend);for(var d=0,e=[],f=a.length;d<f;d++){var g=a[d];b&&g.type!=b||c&&g.name!=c||e.push(Element.extend(g))}return e},disable:function(a){a=$(a);Form.getElements(a).invoke("disable");return a},enable:function(a){a=
$(a);Form.getElements(a).invoke("enable");return a},findFirstElement:function(a){var a=$(a).getElements().findAll(function(a){return"hidden"!=a.type&&!a.disabled}),b=a.findAll(function(a){return a.hasAttribute("tabIndex")&&a.tabIndex>=0}).sortBy(function(a){return a.tabIndex}).first();return b?b:a.find(function(a){return["input","select","textarea"].include(a.tagName.toLowerCase())})},focusFirstElement:function(a){a=$(a);a.findFirstElement().activate();return a},request:function(a,b){var a=$(a),b=
Object.clone(b||{}),c=b.parameters,d=a.readAttribute("action")||"";if(d.blank())d=window.location.href;b.parameters=a.serialize(true);if(c){Object.isString(c)&&(c=c.toQueryParams());Object.extend(b.parameters,c)}if(a.hasAttribute("method")&&!b.method)b.method=a.method;return new Ajax.Request(d,b)}},Element:{focus:function(a){$(a).focus();return a},select:function(a){$(a).select();return a}}};
Form.Element.Methods={serialize:function(a){a=$(a);if(!a.disabled&&a.name){var b=a.getValue();if(b!=void 0){var c={};c[a.name]=b;return Object.toQueryString(c)}}return""},getValue:function(a){var a=$(a),b=a.tagName.toLowerCase();return Form.Element.Serializers[b](a)},setValue:function(a,b){var a=$(a),c=a.tagName.toLowerCase();Form.Element.Serializers[c](a,b);return a},clear:function(a){$(a).value="";return a},present:function(a){return $(a).value!=""},activate:function(a){a=$(a);try{a.focus();a.select&&
(a.tagName.toLowerCase()!="input"||!["button","reset","submit"].include(a.type))&&a.select()}catch(b){}return a},disable:function(a){a=$(a);a.blur();a.disabled=true;return a},enable:function(a){a=$(a);a.disabled=false;return a}};var Field=Form.Element,$F=Form.Element.Methods.getValue;
Form.Element.Serializers={input:function(a,b){switch(a.type.toLowerCase()){case "checkbox":case "radio":return Form.Element.Serializers.inputSelector(a,b);default:return Form.Element.Serializers.textarea(a,b)}},inputSelector:function(a,b){if(b===void 0)return a.checked?a.value:null;a.checked=!!b},textarea:function(a,b){if(b===void 0)return a.value;a.value=b},select:function(a,b){if(b===void 0)return this[a.type=="select-one"?"selectOne":"selectMany"](a);for(var c,d,e=!Object.isArray(b),f=0,g=a.length;f<
g;f++){c=a.options[f];d=this.optionValue(c);if(e){if(d==b){c.selected=true;break}}else c.selected=b.include(d)}},selectOne:function(a){var b=a.selectedIndex;return b>=0?this.optionValue(a.options[b]):null},selectMany:function(a){var b,c=a.length;if(!c)return null;var d=0;for(b=[];d<c;d++){var e=a.options[d];e.selected&&b.push(this.optionValue(e))}return b},optionValue:function(a){return Element.extend(a).hasAttribute("value")?a.value:a.text}};
Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,b,c,d){$super(d,c);this.element=$(b);this.lastValue=this.getValue()},execute:function(){var a=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(a)?this.lastValue!=a:String(this.lastValue)!=String(a)){this.callback(this.element,a);this.lastValue=a}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});
Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});
Abstract.EventObserver=Class.create({initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();this.element.tagName.toLowerCase()=="form"?this.registerFormCallbacks():this.registerCallback(this.element)},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(a){if(a.type)switch(a.type.toLowerCase()){case "checkbox":case "radio":Event.observe(a,
"click",this.onElementEvent.bind(this));break;default:Event.observe(a,"change",this.onElementEvent.bind(this))}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event)var Event={};
Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(a){switch(a.type){case "mouseover":a=a.fromElement;break;case "mouseout":a=a.toElement;break;default:return null}return Element.extend(a)}});
Event.Methods=function(){var a;if(Prototype.Browser.IE){var b={"0":1,1:4,2:2};a=function(a,d){return a.button==b[d]}}else a=Prototype.Browser.WebKit?function(a,b){switch(b){case 0:return a.which==1&&!a.metaKey;case 1:return a.which==1&&a.metaKey;default:return false}}:function(a,b){return a.which?a.which===b+1:a.button===b};return{isLeftClick:function(b){return a(b,0)},isMiddleClick:function(b){return a(b,1)},isRightClick:function(b){return a(b,2)},element:function(a){a=Event.extend(a).target;return Element.extend(a.nodeType==
Node.TEXT_NODE?a.parentNode:a)},findElement:function(a,b){var e=Event.element(a);return e.match(b)?e:e.up(b)},pointer:function(a){return{x:a.pageX||a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft),y:a.pageY||a.clientY+(document.documentElement.scrollTop||document.body.scrollTop)}},pointerX:function(a){return Event.pointer(a).x},pointerY:function(a){return Event.pointer(a).y},stop:function(a){Event.extend(a);a.preventDefault();a.stopPropagation();a.stopped=true}}}();
Event.extend=function(){var a=Object.keys(Event.Methods).inject({},function(a,c){a[c]=Event.Methods[c].methodize();return a});if(Prototype.Browser.IE){Object.extend(a,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(b){if(!b)return false;if(b._extendedByPrototype)return b;b._extendedByPrototype=Prototype.emptyFunction;var c=Event.pointer(b);Object.extend(b,{target:b.srcElement,relatedTarget:Event.relatedTarget(b),
pageX:c.x,pageY:c.y});return Object.extend(b,a)}}Event.prototype=Event.prototype||document.createEvent("HTMLEvents").__proto__;Object.extend(Event.prototype,a);return Prototype.K}();
Object.extend(Event,function(){function a(a){if(a._eventID)return a._eventID;arguments.callee.id=arguments.callee.id||1;return a._eventID=++arguments.callee.id}function b(a,b){var c=e[a]=e[a]||{};return c[b]=c[b]||[]}function c(a,c,d){return b(a,c).find(function(a){return a.handler==d})}function d(){for(var a in e)for(var b in e[a])e[a][b]=null}var e=Event.cache;window.attachEvent&&window.attachEvent("onunload",d);return{observe:function(c,d,e){var c=$(c),i=d&&d.include(":")?"dataavailable":d,l;var q=
c;l=a(q);l=b(l,d);if(l.pluck("handler").include(e))l=false;else{var r=function(a){if(!Event||!Event.extend||a.eventName&&a.eventName!=d)return false;Event.extend(a);e.call(q,a)};r.handler=e;l.push(r);l=r}if(!l)return c;c.addEventListener?c.addEventListener(i,l,false):c.attachEvent("on"+i,l);return c},stopObserving:function(d,g,h){var d=$(d),i=a(d),l=g&&g.include(":")?"dataavailable":g;if(!h&&g){b(i,g).each(function(a){d.stopObserving(g,a.handler)});return d}if(!g){Object.keys(e[i]=e[i]||{}).each(function(a){d.stopObserving(a)});
return d}var q=c(i,g,h);if(!q)return d;d.removeEventListener?d.removeEventListener(l,q,false):d.detachEvent("on"+l,q);l=e[i]=e[i]||{};l[g]&&(l[g]=l[g].without(c(i,g,h)));return d},fire:function(a,b,c){a=$(a);if(a==document&&document.createEvent&&!a.dispatchEvent)a=document.documentElement;if(document.createEvent){var d=document.createEvent("HTMLEvents");d.initEvent("dataavailable",true,true)}else{d=document.createEventObject();d.eventType="ondataavailable"}d.eventName=b;d.memo=c||{};document.createEvent?
a.dispatchEvent(d):a.fireEvent(d.eventType,d);return d}}}());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize()});
(function(){function a(){if(!c){b&&window.clearInterval(b);document.fire("dom:loaded");c=true}}var b,c=false;if(document.addEventListener)if(Prototype.Browser.WebKit){b=window.setInterval(function(){/loaded|complete/.test(document.readyState)&&a()},0);Event.observe(window,"load",a)}else document.addEventListener("DOMContentLoaded",a,false);else{document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");$("__onDOMContentLoaded").onreadystatechange=function(){if(this.readyState=="complete"){this.onreadystatechange=
null;a()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;
var Insertion={Before:function(a,b){return Element.insert(a,{before:b})},Top:function(a,b){return Element.insert(a,{top:b})},Bottom:function(a,b){return Element.insert(a,{bottom:b})},After:function(a,b){return Element.insert(a,{after:b})}},$continue=Error('"throw $continue" is deprecated, use "return" instead'),Position={includeScrollOffsets:!1,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||
document.body.scrollTop||0},within:function(a,b,c){if(this.includeScrollOffsets)return this.withinIncludingScrolloffsets(a,b,c);this.xcomp=b;this.ycomp=c;this.offset=Element.cumulativeOffset(a);return c>=this.offset[1]&&c<this.offset[1]+a.offsetHeight&&b>=this.offset[0]&&b<this.offset[0]+a.offsetWidth},withinIncludingScrolloffsets:function(a,b,c){var d=Element.cumulativeScrollOffset(a);this.xcomp=b+d[0]-this.deltaX;this.ycomp=c+d[1]-this.deltaY;this.offset=Element.cumulativeOffset(a);return this.ycomp>=
this.offset[1]&&this.ycomp<this.offset[1]+a.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+a.offsetWidth},overlap:function(a,b){if(!a)return 0;if(a=="vertical")return(this.offset[1]+b.offsetHeight-this.ycomp)/b.offsetHeight;if(a=="horizontal")return(this.offset[0]+b.offsetWidth-this.xcomp)/b.offsetWidth},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(a){Position.prepare();return Element.absolutize(a)},relativize:function(a){Position.prepare();
return Element.relativize(a)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(a,b,c){c=c||{};return Element.clonePosition(b,a,c)}};
document.getElementsByClassName||(document.getElementsByClassName=function(a){function b(a){return a.blank()?null:"[contains(concat(' ', @class, ' '), ' "+a+" ')]"}a.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(a,d){var d=d.toString().strip(),e=/\s/.test(d)?$w(d).map(b).join(""):b(d);return e?document._getElementsByXPath(".//*"+e,a):[]}:function(a,b){var b=b.toString().strip(),e=[],f=/\s/.test(b)?$w(b):null;if(!f&&!b)return e;for(var g=$(a).getElementsByTagName("*"),b=" "+b+" ",
h=0,i,l;i=g[h];h++)i.className&&((l=" "+i.className+" ")&&(l.include(b)||f&&f.all(function(a){return!a.toString().blank()&&l.include(" "+a+" ")})))&&e.push(Element.extend(i));return e};return function(a,b){return $(b||document.body).getElementsByClassName(a)}}(Element.Methods));Element.ClassNames=Class.create();
Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(a){this.element.className.split(/\s+/).select(function(a){return a.length>0})._each(a)},set:function(a){this.element.className=a},add:function(a){this.include(a)||this.set($A(this).concat(a).join(" "))},remove:function(a){this.include(a)&&this.set($A(this).without(a).join(" "))},toString:function(){return $A(this).join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
(function(){function a(a){return Math.round(v+w*a*Math.PI/180)}function b(a){return Math.round(v-w*Math.log((1+Math.sin(a*Math.PI/180))/(1-Math.sin(a*Math.PI/180)))/2)}var c=function(a,b,c){var d,e,f,b=Math.pow(10,b|0),a=a*b;f=a>0|-(a<0);e=a%1===0.5*f;d=Math.floor(a);if(e)switch(c){case "ROUND_HALF_DOWN":a=d+(f<0);break;case "ROUND_HALF_EVEN":a=d+d%2*f;break;case "ROUND_HALF_ODD":a=d+!(d%2);break;default:a=d+(f>0)}return(e?a:Math.round(a))/b};String.prototype._trim=String.prototype.trim?String.prototype.trim:
function(){for(var a=this.replace(/^\s\s*/,""),b=/\s/,c=a.length;b.test(a.charAt(--c)););return a.slice(0,c+1)};String.prototype.trim=function(a,b){a=d(a,"\\s+");b=d(b,0);switch(b){case "left":return this.ltrim(a);case "right":return this.rtrim(a);default:return this.firstCharacters(a)||this.lastCharacters(a)?this.replace(RegExp("^"+a+"|"+a+"$","g"),"").trim(a):a=="\\s+"?this._trim():this.toString()}};if(!String.prototype.rtrim)String.prototype.rtrim=function(a){a=d(a,"\\s+");return this.lastCharacters(a)?
this.replace(RegExp(a+"$"),"").rtrim(a):a=="\\s+"&&/\s+$/.test(this)?this.replace(/\s+$/,""):this.toString()};if(!String.prototype.ltrim)String.prototype.ltrim=function(a){a=d(a,"\\s+");return this.firstCharacters(a)?this.replace(RegExp("^"+a),"").ltrim(a):a=="\\s+"&&/^\s+/.test(this)?this.replace(/^\s+/,""):this.toString()};if(!String.prototype.insensitiveReplace)String.prototype.insensitiveReplace=function(a){return this.replace(RegExp(a,"ig"),a)};if(!String.prototype.firstCharacters)String.prototype.firstCharacters=
function(a,b){b=d(b,1);return b==0?a==this.slice(0,a.length):a.toLowerCase()==this.slice(0,a.length).toLowerCase()};if(!String.prototype.lastCharacters)String.prototype.lastCharacters=function(a,b){b=d(b,1);return b==1?a==this.slice(this.length-a.length):a.toLowerCase()==this.slice(this.length-a.length).toLowerCase()};if(!String.prototype.isCased)String.prototype.isCased=function(a){return this.toUpperCase()!==this.toLowerCase()||typeof a=="object"&&this in a};if(!String.prototype.isUpperCase)String.prototype.isUpperCase=
function(){return this==this.toUpperCase()&&this.isCased()};if(!String.prototype.isLowerCase)String.prototype.isLowerCase=function(){return this==this.toLowerCase()&&this.isCased()};if(!Array.prototype.contains)Array.prototype.contains=function(a){return this.indexOf(a)>-1};var d=function(a,b){return typeof a=="undefined"?b:a};if(!String.prototype.title)String.prototype.title=function(a,b,c){for(var a=d(a,["for","and","not","but","or","yet","so","by","vs","vs."]),b=d(b,["Mac","Mc"]),c=d(c,["'"]),
e=this.split(""),f=" ",g=" ",h=0;h<e.length;){var i=e.shift();if(i.isLowerCase())!f.isCased()&&!c.contains(f)&&(i=i.toUpperCase());else if(i.isUpperCase()&&(f.isCased()||c.contains(f)&&g.isCased()))i=i.toLowerCase();g=f;f=i;e.push(i);h++}c=e.join("");for(h=0;h<b.length;h++)c=c.prefixCasing(b[h]);for(h=0;h<a.length;h++)c=c.insensitiveReplace(a[h]);return c};if(!String.prototype.prefixCasing)String.prototype.prefixCasing=function(a){for(var b=this.insensitiveReplace(a).split(a),c=0;c<b.length;c++)b.push(b.shift().capFirst());
return b.join(a)};String.prototype.capFirst=function(){return this.substring(0,1).toUpperCase()+this.substring(1,this.length)};String.prototype._trim=function(){for(var a=this.replace(/^\s\s*/,""),b=/\s/,c=a.length;b.test(a.charAt(--c)););return a.slice(0,c+1)};String.prototype.trim=function(a,b){a=d(a,"\\s+");b=d(b,0);switch(b){case "left":return this.ltrim(a);case "right":return this.rtrim(a);default:return this.firstCharacters(a)||this.lastCharacters(a)?this.replace(RegExp("^"+a+"|"+a+"$","g"),
"").trim(a):a=="\\s+"?this._trim():this.toString()}};if(!String.prototype.entityify)String.prototype.entityify=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};if(!String.prototype.quote)String.prototype.quote=function(){var a,b,c=this.length,d='"';for(b=0;b<c;b=b+1){a=this.charAt(b);if(a>=" "){if(a=="\\"||a=='"')d=d+"\\";d=d+a}else switch(a){case "\b":d=d+"\\b";break;case "\f":d=d+"\\f";break;case "\n":d=d+"\\n";break;case "\r":d=d+"\\r";break;case "\t":d=d+
"\\t";break;default:a=a.charCodeAt();d=d+("\\u00"+Math.floor(a/16).toString(16)+(a%16).toString(16))}}return d+'"'};if(!String.prototype.supplant)String.prototype.supplant=function(a){return this.replace(/{([^{}]*)}/g,function(b,c){var d=a[c];return typeof d=="string"||typeof d=="number"?d:b})};if(!String.prototype.rtrim)String.prototype.rtrim=function(a){a=d(a,"\\s+");return this.lastCharacters(a)?this.replace(RegExp(a+"$"),"").rtrim(a):a=="\\s+"&&/\s+$/.test(this)?this.replace(/\s+$/,""):this.toString()};
if(!String.prototype.ltrim)String.prototype.ltrim=function(a){a=d(a,"\\s+");return this.firstCharacters(a)?this.replace(RegExp("^"+a),"").ltrim(a):a=="\\s+"&&/^\s+/.test(this)?this.replace(/^\s+/,""):this.toString()};if(!String.prototype.insensitiveReplace)String.prototype.insensitiveReplace=function(a){return this.replace(RegExp(a,"ig"),a)};if(!String.prototype.firstCharacters)String.prototype.firstCharacters=function(a,b){b=d(b,1);return b==0?a==this.slice(0,a.length):a.toLowerCase()==this.slice(0,
a.length).toLowerCase()};if(!String.prototype.lastCharacters)String.prototype.lastCharacters=function(a,b){b=d(b,1);return b==1?a==this.slice(this.length-a.length):a.toLowerCase()==this.slice(this.length-a.length).toLowerCase()};if(!String.prototype.isCased)String.prototype.isCased=function(a){return this.toUpperCase()!=this.toLowerCase()||typeof a=="object"&&this in a};if(!String.prototype.isUpperCase)String.prototype.isUpperCase=function(){return this==this.toUpperCase()&&this.isCased()};if(!String.prototype.isLowerCase)String.prototype.isLowerCase=
function(){return this==this.toLowerCase()&&this.isCased()};if(!Array.prototype.contains)Array.prototype.contains=function(a){return this.indexOf(a)>-1};var e=[],f=[],g,h=1,i=1,l=function(){if(h===0){i=1;q();$("helpText").show();e.Chemical=void 0;h=1;$("helpText").setStyle({top:$("mapCanvas").viewportOffset().top-10+$("mapCanvas").getHeight()-$("helpText").getHeight(),left:$("mapCanvas").viewportOffset().left-10+$("mapCanvas").getWidth()-$("helpText").getWidth()})}else{$("helpText").hide();h=0}return false},
q=function(){var a,b;if(i===0){h=1;l();a=$("aboutText");b=$("mapCanvas");a.show();i=1;a.setStyle({top:b.viewportOffset().top-10+b.getHeight()-a.getHeight(),left:b.viewportOffset().left-10+b.getWidth()-a.getWidth()})}else{$("aboutText").hide();i=0}return false},r=function(){var a=$("mapKey").getWidth(),b=$("mapKey").getHeight(),c=$("mapFoot").getHeight(),d=$("mapCanvas").getWidth(),e=$("mapCanvas").getHeight(),f;try{f=$$("img.logo")[1].getHeight()}catch(g){f=$$("img.logo")[0].getHeight()}b=b+60+f>
c+e+90?b+60+f:c+e+75;$("mapUI").setStyle({height:b});$("mapFoot").setStyle({top:e+45,width:d-16});if($("mapCanvas").getWidth()<650){$("mapCanvas").setStyle({width:650});$("mapUI").setStyle({width:650+a+90})}},E=function(a){var b,c;b={SKorea:"South Korea",NKorea:"North Korea",NK:"North Korea",SAfrica:"South Africa",USA:"United States",UK:"United Kingdom"};if(typeof b[a]!=="undefined")a=b[a];else{a=a.split("_");for(c=0;c<a.length;c++){b=a.shift();a.push(b.slice(0,1).toUpperCase()+b.slice(1))}a=a.join(" ")}o.close();
j.panTo(new google.maps.LatLng(y[a].lat,y[a].lng));j.setZoom(parseInt(y[a].zoom,10));Prototype.Browser.IE&&window.setTimeout(function(){m.scaleIcons()},300)},K=function(a,b){var c,d=a.toLowerCase();if(f[a]){c=!b?d:"other";f[a]=null}else{c=!b?d+"_dim":"other_dim";f[a]=true}$(d).setStyle({background:"transparent url('./images/"+c+".gif') top left no-repeat"})},F=function(a){var b=a.toString().replace(/Stem/g,"").toLowerCase()+"Collapse";if(e[a]){$(a).childElements()[0].innerHTML="&#x25BA;";$(b).setStyle({display:"none"});
e[a]=void 0}else{$(a).childElements()[0].innerHTML="&#x25BC;";$(b).setStyle({display:"block"});e[a]=true}r()},L=function(){var a=G().length>1?"?place="+G():"?",a=a+(m.args().length>1?"&layers="+m.args():"");p("clump")&&(a=a+("&clump="+p("clump")));return a.rtrim(",").rtrim("?")},G=function(a){var b;b=a?a:4;a=c(j.getCenter().lat(),b,"ROUND_HALF_DOWN");b=c(j.getCenter().lng(),b,"ROUND_HALF_DOWN");return a+","+b+","+j.getZoom()},p=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");return(a=
RegExp("[\\?&]"+a+"=([^&#]*)").exec(window.location.href))?a[1]:""};google.maps.MarkerImage.prototype.getUrl=function(){for(var a in this)if(/\.png|\.jpg|\.gif/.test(this[a]))return this[a]};var O=Class.create({initialize:function(a){this.name=a;this.visible=false;this.layers=[];this.markerCount=this.length=0;this.children=[];this.bounds=this._bounds();this.menu=this.length},addLayer:function(a){if(a instanceof M){this.layers.push(a);this.markerCount=this.markerCount+a.length;this.length++}return this.length},
addLayers:function(a,b){for(var c=0;c<b.length;c++)this.addLayer(new M(a[this.name][b[c]],b[c],this.name,N,false));return this.layers},addCluster:function(a){this.children.push(a);this.length=this.length+a.length;this.markerCount=this.markerCount+a.markerCount},toggle:function(a){this.visible=a?a:!this.visible;for(a=0;a<this.layers.length;a++)this.layers[a].toggle(this.visible);for(a=0;a<this.children.length;a++)this.children[a].toggle(this.visible);try{$(this.name.toLowerCase()+"Stem").setStyle({color:this.visible?
"white":"gray"});$(this.name.toLowerCase()+"Inner").setStyle({color:this.visible?"white":"gray"})}catch(b){}},getChildByName:function(a){var b,c;for(c=0;c<this.children.length;c++){b=this.children[c];if(b.name&&b.name.toLowerCase()===a.toLowerCase())return b}},getLayerByName:function(a){for(var b=0;b<this.length;b++)if(this.layers[b].name.toLowerCase()==a.toLowerCase())return this.layers[b];return false},scaleIcons:function(){try{for(var a=0;a<this.length;a++)this.layers[a].scaleIcon()}catch(b){for(a=
0;a<this.children.length;a++)this.children[a].scaleIcons()}},pruneChildren:function(){this.menu=0;try{for(var a=0;a<this.length;a++){this.layers[a].prune();this.menu=this.menu+this.layers[a].prune()}}catch(b){for(a=0;a<this.children.length;a++)this.children[a].pruneChildren()}this.menu<1?this._hideMenu():this._showMenu();return"pruned"},updateMenuCounter:function(){try{for(var a=0,b=0;b<this.length;b++)a=a+this.layers[b].updateMenuCounter()}catch(c){for(b=0;b<this.children.length;b++)this.children[b].updateMenuCounter()}},
args:function(){var a=[],b="";try{for(var c=0,d=0;d<this.length;d++)if(this.layers[d].visible){a.push(this.layers[d].argument());c++}b=b+(c==this.length?this.name.toLowerCase():a.join(","))}catch(e){for(d=0;d<this.children.length;d++)this.children[d].args().length>1&&a.push(this.children[d].args());b=b+a.join(",")}return b.ltrim(",").rtrim(",")},getMarkersInViewPort:function(a){var b=[],c=!a&&a!==void 0?true:false;try{for(var d=0;d<this.length;d++)if(this.layers[d].visible|c){var e=this.layers[d].getMarkersInViewPort();
if(e.length>0)for(var f=0;f<e.length;f++)b.push(e[f])}}catch(g){for(d=0;d<this.children.length;d++){e=this.children[d].getMarkersInViewPort(a);if(e.length>0)for(f=0;f<e.length;f++)b.push(e[f])}}return b},getPointsInViewPort:function(){var a=[];try{for(var b=0;b<this.length;b++){var c=this.layers[b].getPointsInViewPort();if(c.length>0)for(var d=0;d<c.length;d++)a.push(c[d])}}catch(e){for(b=0;b<this.children.length;b++){c=this.children[b].getPointsInViewPort();if(c.length>0)for(d=0;d<c.length;d++)a.push(c[d])}}return a},
_menu:function(){return $(this.name.toLowerCase()+"Controller")},_hideMenu:function(){try{this._menu().hide();$(this.name.toLowerCase()+"Inner").hide();$(this.name.toLowerCase()+"Inner").previous().hide();return"hidden"}catch(a){return"error"}},_showMenu:function(){try{this._menu().show();$(this.name.toLowerCase()+"Inner").show();$(this.name.toLowerCase()+"Inner").previous().show();return"hidden"}catch(a){return"error"}},_bounds:function(){for(var a=new google.maps.LatLngBounds,b=0;b<this.layers.length;b++){this.layers[b]._inbounds();
this.b.extend(this.layers[b].bounds.getNorthEast());this.b.extend(this.layers[b].bounds.getSouthWest())}return a}}),R=0,o=new google.maps.InfoWindow({content:"",position:new google.maps.LatLng(0,0)}),S=10,z=[],M=Class.create({initialize:function(a,b,c,d,e,f){this.id=R++;this.data=a;this.name=b;this.parent=c?c:"";this.length=0;this.ip=d?d:"";this.square=e?e:3;this.icon=this._createIcon();this.points=[];this.bounds=new google.maps.LatLngBounds;this.markers=[];this.inbounds=false;this._populate();this.visible=
f?this.toggle(f):false},toggle:function(a){this.visible=a?a:!this.visible;for(a=0;a<this.length;a++)this.markers[a].setVisible(this.visible);o.close();this._menu().setStyle({color:this.visible?"white":"gray"})},append:function(a,b,c,d){a=this._makeMarker(a,b,c);a.setVisible(d?d:true);this.markers.push(a);this._inbounds();return a},scaleIcon:function(){var a=this._createIcon();try{for(var b=0;b<this.length;b++)this.markers[b].setIcon(a)}catch(c){return c}},prune:function(){if(this._inbounds()){this._menu().show();
this._menu().previous().show();return 1}this._menu().hide();this._menu().previous().hide();return 0},getMarkersInViewPort:function(){for(var a=[],b=0;b<this.markers.length;b++)j.getBounds().contains(new google.maps.LatLng(this.markers[b].position.lat(),this.markers[b].position.lng()))&&a.push(this.markers[b]);return a},getPointsInViewPort:function(){for(var a=[],b=0;b<this.points.length;b++)j.getBounds().contains(new google.maps.LatLng(this.points[b].lat,this.points[b].lng))&&a.push(this.points[b]);
return a},argument:function(){return(this.parent+"_"+this.name.replace(/ /g,"_")).toLowerCase()},updateMenuCounter:function(){var a=this.getPointsInViewPort().length;this._menu().innerHTML=this.name+" ("+a+")";return a},_inbounds:function(){return this.inbounds=this.getPointsInViewPort().length>0},_menu:function(){return $((this.parent+"_"+this.name).gsub(" ","_").toLowerCase())},_populate:function(){for(var a=$H(this.data)._object,b=0;b<a.counter;b++){this.markers.push(this._makeMarker(a[b].id,a[b].name+
"\n Click to open.",a[b].latitude,a[b].longitude));this.bounds.extend(this.markers[b].position)}return this.markers},_makeMarker:function(a,b,c,d){var e=new google.maps.Marker({id:a,title:b,position:new google.maps.LatLng(c,d),map:j,icon:this.icon});e.setVisible(false);e.setZIndex(S++);this.length++;this.points.push({lat:parseFloat(c),lng:parseFloat(d)});z.push({id:a,marker:e,title:b,parent:this.parent,layer:this.name});var f=this;google.maps.event.addListener(e,"click",function(){H=j.getCenter();
f._open(e)});return e},_open:function(a){try{o.close()}catch(b){}o.setContent(P(a.id,this.parent,this.name));o.open(j,a)},_createIcon:function(){var a=this.data.icon?this.ip+this.data.icon:this.ip+"default.png",b=Math.pow(1/A+1-1/j.getZoom(),this.square),b=Math.ceil(32*b);return new google.maps.MarkerImage(a,new google.maps.Size(32,32),new google.maps.Point(0,0),new google.maps.Point(0,b),new google.maps.Size(b,b))}}),I,t=false,s=0,u=new google.maps.InfoWindow({content:"",position:new google.maps.LatLng(0,
0),pixelOffset:new google.maps.Size(0,32),maxWidth:400}),B=0,U=Class.create({initialize:function(a,b){B=1;this.id=s++;this.image=b;this.markers=a;this.chain=this._chain();this.length=a.length;this.bounds=this._bounds();this.offset=T.shift(this.bounds.getCenter(),0.004,-0.004);this.dummy=new google.maps.Marker;this.restart();this.controller=this._controller();this.hide()},getMarkerById:function(a){for(var b=0;b<this.markers.length;b++)if(this.markers[b].id==a)return this.markers[b]},restart:function(){this.chain.sort();
return this.chain},hide:function(){for(var a=0;a<this.markers.length;a++)this.markers[a].setVisible(false)},show:function(){for(var a=0;a<this.markers.length;a++)this.markers[a].setVisible(true)},unset:function(){this.show();google.maps.event.clearListeners(this.dummy,"click");this.dummy.setMap(null);B=0},reopen:function(){this._open();google.maps.event.addListener(u,"domready",function(){o.close()})},_chain:function(){for(var a=[],b=0;b<this.markers.length;)a.push((b++).toString());return a},_bounds:function(){for(var a=
new google.maps.LatLngBounds,b=0;b<this.length;b++)a.extend(new google.maps.LatLng(this.markers[b].position.lat(),this.markers[b].position.lng()));return a},_getMax:function(){for(var a=0,b=0;b<this.markers.length;b++)a=this.markers[b].getZIndex()>a?this.markers[b].getZIndex():a;return a},_controller:function(){this._window();return this.dummy},_window:function(){var a=new google.maps.MarkerImage(this.image,new google.maps.Size(64,64),new google.maps.Point(0,0),new google.maps.Point(16,48),new google.maps.Size(64,
64));this.dummy.setOptions({map:j,clickable:true,title:"Click to see a list of markers at this location.",position:this.bounds.getCenter(),zIndex:this._getMax()+1E3,icon:a});this.listener=google.maps.event.addListener(this.dummy,"click",this._open.bind(this));google.maps.event.addListener(this.dummy,"click",function(){o.close()});return this.dummy},_html:function(){for(var a="<div id='list"+s+"' class='clumpContent'>",a=a+"Facilities at this location:",b=0;b<this.markers.length;b++){var c=this.markers[b],
a=a+"<div class='row'>",a=a+("<img class='insideIcon' src='"+c.getIcon().getUrl()+"' />"),a=a+("<a id='g"+c.id+"' href='javascript:void(0);'"),a=a+(" title='"+c.title+"' class='clumpList'>"),a=a+this.truncate(c.title.split("Click")[0],40),a=a+"</a></div>";b<this.markers.length-1&&(a=a+"<hr />")}google.maps.event.addListener(u,"domready",this._listen.bind(this),true);return a+"<br /></div>"},_call:function(a){a=Event.element(a).id.replace("g","");a=this.getMarkerById(a);try{I=this;t=true;google.maps.event.trigger(a,
"click");google.maps.event.addListener(o,"domready",function(){u.close()})}catch(b){return null}},_listen:function(){return $("list"+s).observe("click",this._call.bind(this))},_open:function(){u.setContent(this._html());H=j.getCenter();u.open(j,this.dummy);t=false},truncate:function(a,b){var c,d;c=a.split("");if(c.length>b){for(d=c.length-1;d>-1;--d)if(d>b)c.length=d;else if(" "===c[d]){c.length=d;break}c.push("...")}return c.join("").replace(/\s+$/,"").replace(/\s+\.\.\./,"...")}}),N="images/",m,
H,C=[],A=12,j,Q,T=new (Class.create({initialize:function(a){this.map=a?a:j;this.offset=268435456;this.radius=this.offset/Math.PI},haversine:function(a,b){var c=(b.lat()-a.lat())/180*Math.PI,d=(b.lng()-a.lng())/180*Math.PI,c=Math.sin(c/2)*Math.sin(c/2)+Math.cos(a.lat()/180*Math.PI)*Math.cos(b.lat()/180*Math.PI)*Math.sin(d/2)*Math.sin(d/2);return 6371*2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))},lngToX:function(a){return Math.round(this.offset+this.radius*a*Math.PI/180)},latToY:function(a){return Math.round(this.offset-
this.radius*Math.log((1+Math.sin(a*Math.PI/180))/(1-Math.sin(a*Math.PI/180)))/2)},pixel:function(c,d,e){var f=a(c.lng()),c=b(c.lat()),g=a(d.lng()),d=b(d.lat());return Math.sqrt(Math.pow(f-g,2)+Math.pow(c-d,2))>>21-e},toLatLng:function(a){return j.getProjection().fromPointToLatLng(a)},toPoint:function(a){return j.getProjection().fromLatLngToPoint(a)},shift:function(a,b,c){b=b||0;c=c||0;a=this.toPoint(a);return this.toLatLng(new google.maps.Point(a.x+b,a.y+c))},toSize:function(){}})),B=0,P=function(a,
b,c){var d={};$H(D[b][c]).each(function(b){if(b.value.id===a)d=b.value});var b=d,c=/(^|.|\r|\n)(\%\s*(\w+)\s*%)/,e=new Template("<strong>%name%</strong>: %value%<br />",c),f,g,h,i,j;Q=b.size.blank()?"":e.evaluate({name:"Size",value:b.size});f=b.facility_status.blank()?"":e.evaluate({name:"Status",value:b.facility_status});g=b.parent.blank()?"":e.evaluate({name:"Subordinate to",value:b.parent});e=b.alternate_names.blank()?"":e.evaluate({name:"Alternates names",value:b.alternate_names});h=b.location?
b.location:"";i=h.toLowerCase().search(b.country.toLowerCase())<0?b.country:"";h=h.length>1&&i.length>1?h+", "+i:h+i;j=b.url;return(new Template("<div id='infoWindow' style='width:350px'> <img src='images/nti_logo_wide.png' style='width: 360px; height: 74px;'> <br /><br /> <strong>%title%</strong><br /><br /> %alternates% <strong>Location</strong>: %location%<br /> %parent% %size% %status% <a href='%file%?s=%search%' target='_blank' title='Go to the %country% facilities page.'>Read more...</a><br /> <a id='reopen' href='javascript:void(0);'><br /> Reopen the list of facilities at this location<br /> </a><br /> <small>This material was produced independently for <a href='http://www.nti.org' title='NTI homepage'>NTI</a> by the <a href='http://cns.miis.edu/' title='CNS homepage' target='_blank'>James Martin Center for Nonproliferation Studies</a>. </small></div>",
c)).evaluate({title:b.name,alternates:e,location:h,parent:g,size:Q,status:f,country:i,file:j,search:escape(b.name)})},v=268435456,w=8.54456594471E7;Array.prototype.remove=function(a,b){var c=this.slice((b||a)+1||this.length);this.length=a<0?this.length+a:a;return this.push.apply(this,c)};google.setOnLoadCallback(function(){var c,d=$$("img.preload");$("helpText").style.zIndex=1E3;$("aboutText").style.zIndex=1E3;for(c=0;c<d.length;c++)d[c].setStyle({display:"block"});for(c=0;c<d.length;c++)d[c].setStyle({display:"none"});
c=google.maps.Map;var d=$("mapCanvas"),e=new google.maps.LatLng(48.5748,70.66),f;a:{try{f=p("type")?google.maps.MapTypeId[p("type").toUpperCase()]:google.maps.MapTypeId.TERRAIN;break a}catch(y){}f=void 0}j=new c(d,{zoom:3,center:e,mapTypeId:f,backgroundColor:"#000",streetViewControl:false,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.TERRAIN,google.maps.MapTypeId.HYBRID]}});google.maps.event.addListener(j,"click",function(){o.close();u.close();m.scaleIcons()});google.maps.event.addListener(j,
"zoom_changed",function(){j.getZoom()>A?j.setZoom(A):j.getZoom()<3&&j.setZoom(3);m.scaleIcons()});google.maps.event.addListener(o,"domready",function(){$($("infoWindow").ancestors()[0]).setStyle({overflow:"",width:$("infoWindow").ancestors()[0].getWidth()});$($("infoWindow").ancestors()[1]).setStyle({overflow:"",overflowX:"hidden",overflowY:"auto"});$("infoWindow").setStyle({width:$("infoWindow").ancestors()[1].getWidth()-20,top:$("infoWindow").ancestors()[1].viewportOffset().top+60+$("infoWindow").viewportOffset().top});
$("reopen").observe("click",function(){I.reopen()});(!t||B!=1)&&$("reopen").hide()});google.maps.event.addListener(o,"closeclick",function(){if(t){I.reopen();t=false}else{t=false;j.panTo(H)}});google.maps.event.addListener(j,"mouseout",function(){r();m.scaleIcons()});google.maps.event.addListener(j,"idle",function(){r();m.scaleIcons()});m=new O("Everything");for(var k in D){f=[];for(var n in D[k])f.push(n);c=new O(k);c.addLayers(D,f);m.addCluster(c)}google.maps.event.addListener(j,"idle",function(){m.pruneChildren();
m.scaleIcons();m.updateMenuCounter()});$("mapKey").getWidth();$("mapUI").getWidth();if($("mapUI").getWidth()<1040){$("mapUI").setStyle({width:1040});$("mapKey").setStyle({right:"",left:740})}n=$("mapUI").getHeight()-$("mapFoot").getHeight()-90;f=$("mapUI").getWidth()-$("mapKey").getWidth()-50;k=n;n<500&&(k=500);n=f<650?650:f;n=n<k?k:n;$("mapCanvas").setStyle({height:k,width:n});if(p("place")!==""){f=p("place").split(",",3);k=parseFloat(f[0]);n=parseFloat(f[1]);f=parseInt(f[2],10);j.setCenter(new google.maps.LatLng(k,
n));j.setZoom(f)}else p("country")!==""&&E(p("country").replace("_"," ").title());$$("a.stableLink")[0].observe("mouseover",function(){$$("a.stableLink")[0].href=L()});l();q();$("help").observe("click",l);$("about").observe("click",q);$$(".hide").each(function(a){$(a).observe("click",function(){i=h=1;l();q()})});$("see_nk").observe("click",function(){E("North Korea");return false});$("show_chem").observe("click",function(){m.getChildByName("Chemical").toggle();F("chemicalStem");return false});$("show_production").observe("click",
function(){m.getChildByName("Chemical").toggle();m.getChildByName("Chemical").getLayerByName("production").toggle();return false});if(k=p("layers")!==""?p("layers"):false){c=k.split(",");for(k=0;k<c.length;k++){n=c[k].split("_")[0];f=c[k].substring(c[k].indexOf("_")+1).replace(/_/g," ");n!==f?m.getChildByName(n).getLayerByName(f).toggle():m.getChildByName(n).toggle()}}google.maps.event.addListener(j,"idle",function(){var c;for(c=0;c<C.length;c++)C[c].unset();C.clear();clumpIds=0;if(j.getZoom()==A){c=
m.getMarkersInViewPort();for(var d=[],e=0,f=[];e<c.length;){for(var g=c.pop(),h=[],i=0;i<c.length;i++){h.highest=0;var k=c[i],l=g.position.lat(),n=g.position.lng(),o=k.position.lat(),p=k.position.lng(),q=j.getZoom(),n=a(n),l=b(l),p=a(p),o=b(o);if(Math.sqrt(Math.pow(n-p,2)+Math.pow(l-o,2))>>21-q<256&&f.indexOf(k.id)<0){h.push(k);f.push(k.id);h.highest=k.getZIndex()>h.highest?k.getZIndex():h.highest}}if(h.length>0){f.push(g.id);h.push(g);h.highest=g.getZIndex()>h.highest?g.getZIndex():h.highest;d.push(h)}e++}for(c=
0;c<d.length;c++)C.push(new U(d[c],N+"clump_fanned.png"))}});r();window.onresize=function(){window.clearTimeout(g);g=window.setTimeout(function(){window.location=L()},500)};$("mapFoot").observe("click",function(a){a.element().hasClassName("country")&&E(a.element().id);return false});$("mapFoot").observe("mouseover",function(a){a.element().hasClassName("country")&&K(a.element().id,false);return false});$("mapFoot").observe("mouseout",function(a){a.element().hasClassName("country")&&K(a.element().id,
false);return false});$$("a.country").each(function(a){a.setStyle({background:'transparent url("./images/'+a.id+'.gif") top left no-repeat'})});var x,s,v;$("mapKey").observe("click",function(a){x=a.element();x.hasClassName("active")&&(x.tagName==="A"?s(x):v(x));return false});s=function(a){var b,c="";if(a.hasClassName("collapse"))if(a.id==="deck")m.toggle();else if(a.hasClassName("parent"))F(a.id);else if(a.id.indexOf("Inner")>-1)m.getChildByName(a.id.replace("Inner","")).toggle();else if(a.hasClassName("child")){b=
a.id.split("_")[0];c=a.id.split("_").slice(1).join(" ");m.getChildByName(b).getLayerByName(c).toggle()}return false};v=function(a){a.hasClassName("child")?a.hasClassName("icon")&&s(a.siblings()[0]):a.ancestors()[0].id==="deck"?m.toggle():m.getChildByName(a.ancestors()[0].id.replace("All","")).toggle();return false};$("hidestuff")&&$("hidestuff").hide();var J,w;if(p("title").trim()){k=decodeURIComponent(p("title")).slice(0,40).split("(")[0].toLowerCase().trim();f=-1;for(n=0+z.length;n--;)z[n].title.toLowerCase().startsWith(k)&&
(f=z[n]);k=f;if(!(k>-1))try{w=m.getChildByName(k.parent);o.setContent(P(k.id,k.parent,k.layer));w.getLayerByName(k.layer).toggle(true);J=k.marker.position;j.setCenter(new google.maps.LatLng(J.lat(),J.lng()));o.open(j,k.marker);j.setZoom(6);F(k.parent.toLowerCase()+"Stem")}catch(G){}}});var y={Argentina:{name:"Argentina",lng:"-66.1816",lat:"-40.4469",zoom:"4"},Belarus:{name:"Belarus",lng:"27.9534",lat:"53.7098",zoom:"6"},China:{name:"China",lng:"104.195",lat:"35.8617",zoom:"4"},Cuba:{name:"Cuba",lng:"-80.2661",
lat:"21.2279",zoom:"6"},Egypt:{name:"Egypt",lng:"30.8025",lat:"26.8206",zoom:"6"},India:{name:"India",lng:"77.2558",lat:"21.2894",zoom:"5"},Iran:{name:"Iran",lng:"53.688",lat:"32.4279",zoom:"5"},Israel:{name:"Israel",lng:"34.8516",lat:"31.0461",zoom:"7"},Kazakhstan:{name:"Kazakhstan",lng:"66.9237",lat:"48.0196",zoom:"4"},"North Korea":{name:"North Korea",lng:"128.232",lat:"40.1789",zoom:"7"},Pakistan:{name:"Pakistan",lng:"70.2685",lat:"30.1641",zoom:"6"},Russia:{name:"Russia",lng:"90.7031",lat:"67.5422",
zoom:"3"},"South Korea":{name:"South Korea",lng:"127.365",lat:"36.3682",zoom:"7"},Syria:{name:"Syria",lng:"38.2983",lat:"34.7867",zoom:"7"},Ukraine:{name:"Ukraine",lng:"31.9262",lat:"48.5166",zoom:"6"},Uzbekistan:{name:"Uzbekistan",lng:"64.1162",lat:"41.4427",zoom:"6"},Armenia:{name:"Armenia",lng:"45.1154",lat:"40.1411",zoom:"8"},Estonia:{name:"Estonia",lng:"25.0136",lat:"58.5953",zoom:"7"},Georgia:{name:"Georgia",lng:"43.1433",lat:"42.3261",zoom:"7"},Kyrgyzstan:{name:"Kyrgyzstan",lng:"74.7661",lat:"41.2044",
zoom:"6"},Latvia:{name:"Latvia",lng:"24.6032",lat:"56.8796",zoom:"7"},Lithuania:{name:"Lithuania",lng:"23.8813",lat:"55.1694",zoom:"7"},Tajikistan:{name:"Tajikistan",lng:"71.2761",lat:"38.861",zoom:"7"},Turkey:{name:"Turkey",lng:"35.2433",lat:"38.9637",zoom:"6"}},D={Nuclear:{"Exploration and Mining":{"0":{id:"1",name:"Black Sand Deposits",alternate_names:"Egyptian Black Sands, Black Sand Resources, Egyptian Monazite Sands",facility_status:"Not used for uranium mining",location:"Rosetta Beach",country:"Egypt",
size:"Pilot scale plant",parent:"Nuclear Materials Authority (NMA)",longitude:"30.4233",latitude:"31.3997",url:"http://www.nti.org/facilities/342/"},icon:"nuclear_mining.png",counter:49,1:{id:"44",name:"Semi-Pilot Uranium Extraction Plant",alternate_names:"Phosphoric Acid Purification Plant, Phosphoric Acid Unit",facility_status:"Operational, failed to work as designed",location:"Inshas (NE Cairo suburb)",country:"Egypt",size:"Semi-pilot plant",parent:"Nuclear Materials Authority (NMA)",longitude:"31.4158",
latitude:"30.2496",url:"http://www.nti.org/facilities/345/"},2:{id:"46",name:"Unspecified; Exploration in Sinai Peninsula",alternate_names:"",facility_status:"Exploration and evaluation",location:"Sinai Peninsula, Egypt's Eastern Desert",country:"Egypt",size:"Multiple sites",parent:"Nuclear Materials Authority (NMA)",longitude:"33.9972",latitude:"29.5257",url:"http://www.nti.org/facilities/340/"},3:{id:"91",name:"Kusong Milling Facility",alternate_names:"",facility_status:"Operational",location:"Pyongan-bukto",
country:"North Korea",size:"",parent:"",longitude:"125.261",latitude:"40.0109",url:"http://www.nti.org/facilities/671/"},4:{id:"98",name:"Chonma-san Uranium Milling Facility and Suspected Uranium Enrichment Facility",alternate_names:"",facility_status:"Operational",location:"Taegwan-kun, North Pyongan Province",country:"North Korea",size:"",parent:"",longitude:"125.112",latitude:"40.2404",url:"http://www.nti.org/facilities/740/"},5:{id:"102",name:"Haegumgang Uranium Deposit",alternate_names:"",facility_status:"Operational",
location:"Haegumgang-ri, Kosong-kun",country:"North Korea",size:"",parent:"",longitude:"128.346",latitude:"38.6775",url:"http://www.nti.org/facilities/664/"},6:{id:"107",name:"Hyesan Uranium Mine",alternate_names:"",facility_status:"Operational",location:"Yanggang-do",country:"North Korea",size:"",parent:"",longitude:"128.16",latitude:"41.3828",url:"http://www.nti.org/facilities/668/"},7:{id:"112",name:"Kujang Uranium Mine",alternate_names:"",facility_status:"Unknown",location:"Kujang-ni, Pyongan-bukto",
country:"North Korea",size:"",parent:"Ministry of Extractive Industries, Cabinet",longitude:"126.028",latitude:"39.8671",url:"http://www.nti.org/facilities/669/"},8:{id:"114",name:"Kumchon Uranium Mine",alternate_names:"Wolam Mine, Wolbingson Mine",facility_status:"Operational",location:"Kumchon, North Hwanghae Province",country:"North Korea",size:"",parent:"Ministry of Extractive Industries, Cabinet",longitude:"126.477",latitude:"38.1633",url:"http://www.nti.org/facilities/670/"},9:{id:"121",name:"Musan Uranium Mine",
alternate_names:"",facility_status:"Unknown",location:"Musan-kun, North Hamgyong Province",country:"North Korea",size:"",parent:"Ministry of Extractive Industries, Cabinet",longitude:"129.24",latitude:"42.2282",url:"http://www.nti.org/facilities/672/"},10:{id:"122",name:"Najin Uranium Mine",alternate_names:"",facility_status:"Operational",location:"Najin-kuyok, special administrative city of Nason, North Hamgyong Province",country:"North Korea",size:"",parent:"",longitude:"130.32",latitude:"42.2435",
url:"http://www.nti.org/facilities/673/"},11:{id:"133",name:"Pakchon Uranium Mine",alternate_names:"",facility_status:"Operational",location:"Pakchon-kun, North Pyongan Province",country:"North Korea",size:"",parent:"",longitude:"125.639",latitude:"39.6649",url:"http://www.nti.org/facilities/674/"},12:{id:"136",name:"Pyongsan Uranium Mine",alternate_names:"",facility_status:"Operational",location:"Pyongsan",country:"North Korea",size:"",parent:"",longitude:"126.401",latitude:"38.3449",url:"http://www.nti.org/facilities/677/"},
13:{id:"142",name:"Sinpo Mines",alternate_names:"",facility_status:"Operational",location:"Sinpo",country:"North Korea",size:"",parent:"",longitude:"128.176",latitude:"40.0428",url:"http://www.nti.org/facilities/678/"},14:{id:"144",name:"Sonbong/ Unggi Mining",alternate_names:"",facility_status:"Operational",location:"Songbong-kun, special administrative city of Nason",country:"North Korea",size:"",parent:"",longitude:"130.332",latitude:"42.5729",url:"http://www.nti.org/facilities/679/"},15:{id:"147",
name:"Sunchon Uranium Mine",alternate_names:"",facility_status:"Offline",location:"Sunchon",country:"North Korea",size:"",parent:"",longitude:"125.928",latitude:"39.4245",url:"http://www.nti.org/facilities/680/"},16:{id:"153",name:"Wiwon Uranium Deposit",alternate_names:"",facility_status:"",location:"Wiwon-kun, Chagang Province",country:"North Korea",size:"",parent:"",longitude:"125.962",latitude:"40.8537",url:"http://www.nti.org/facilities/681/"},17:{id:"228",name:"Atomic Minerals Directorate for Exploration and Research (AMD)",
alternate_names:"",facility_status:"Operational",location:"Hyderabad",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"78.4867",latitude:"17.385",url:"http://www.nti.org/facilities/825/"},18:{id:"229",name:"Bhatin Mine",alternate_names:"",facility_status:"",location:"five kilometers from Jaduguda",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"85.5",latitude:"22.5",url:"http://www.nti.org/facilities/831/"},19:{id:"230",name:"Indian Rare Earths Limited (IREL)",
alternate_names:"",facility_status:"Operational",location:"Mumbai, Maharashtra",country:"India",size:"Eight major facilities",parent:"Department of Atomic Energy (DAE)",longitude:"72.8562",latitude:"19.0177",url:"http://www.nti.org/facilities/844/"},20:{id:"231",name:"Jaduguda Uranium Mine",alternate_names:"",facility_status:"Operational",location:"East Singhbum District, Jharkhand",country:"India",size:"Last known to be up to 200 megatons (Mt) of yellowcake yearly",parent:"Department of Atomic Energy (DAE)",
longitude:"85.5",latitude:"22.5",url:"http://www.nti.org/facilities/849/"},21:{id:"233",name:"Mineral Separation Plant",alternate_names:"",facility_status:"Operational",location:"Manavalakurichi, Tamil Nadu",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"77.3",latitude:"8.13",url:"http://www.nti.org/facilities/877/"},22:{id:"640",name:"Stepnoye Mining Directorate",alternate_names:"",facility_status:"Not Applicable",location:"Stepnoye, Suzak District, Shymkent Oblast",
country:"Kazakhstan",size:"Not Applicable",parent:"Kazatomprom",longitude:"73.9536",latitude:"43.1627",url:"http://www.nti.org/facilities/684/"},23:{id:"641",name:"Tsentralnoye Mining Directorate",alternate_names:"",facility_status:"Not Applicable",location:"Taukent, Suzak District, Shymkent Oblast",country:"Kazakhstan",size:"Not Applicable",parent:"Kazatomprom",longitude:"68.4657",latitude:"44.136",url:"http://www.nti.org/facilities/685/"},24:{id:"642",name:"Mining Directorate No. 6",alternate_names:"",
facility_status:"Not Applicable",location:"Chiili, Kzyl-Orda Oblast",country:"Kazakhstan",size:"The Directorate has total reserves of 120,000t.",parent:"Kazatomprom",longitude:"66.25",latitude:"44.3333",url:"http://www.nti.org/facilities/686/"},25:{id:"643",name:"Joint Venture Inkai (Inkay)",alternate_names:"",facility_status:"Unknown",location:"Stepnoye, Shymkent Oblast",country:"Kazakhstan",size:"Unknown",parent:"",longitude:"73.9536",latitude:"43.1627",url:"http://www.nti.org/facilities/688/"},
26:{id:"644",name:"Katko Joint Venture",alternate_names:"",facility_status:"Not Applicable",location:"Tsentralnoye, Shymkent Oblast; headquarters in Almaty",country:"Kazakhstan",size:"Not Applicable",parent:"",longitude:"49.9667",latitude:"50.8167",url:"http://www.nti.org/facilities/689/"},27:{id:"645",name:"KazSabton",alternate_names:"",facility_status:"Not Applicable",location:"Stepnogorsk (Stepnyak)",country:"Kazakhstan",size:"Not Applicable",parent:"Wholly-owned by Sabton Limited, a subsidiary of Israeli-owned Africa Israel Investment Ltd. [1]",
longitude:"71.89",latitude:"52.3497",url:"http://www.nti.org/facilities/690/"},28:{id:"646",name:"Kaskor Joint Stock Company",alternate_names:"",facility_status:"Last known: Suspended",location:"Aktau (formerly Shevchenko)",country:"Kazakhstan",size:"In 1994, total uranium resources of mines run by Kaskor were estimated at 64,400 metric tons of uranium.",parent:"",longitude:"51.1712",latitude:"43.6356",url:"http://www.nti.org/facilities/692/"},29:{id:"647",name:"Volkovgeologiya JSC",alternate_names:"",
facility_status:"Not Applicable",location:"Not Applicable",country:"Kazakhstan",size:"Not Applicable",parent:"Kazatomprom",longitude:"76.8958",latitude:"43.2775",url:"http://www.nti.org/facilities/694/"},30:{id:"648",name:"Zharys State Holding Company",alternate_names:"",facility_status:"Not Applicable",location:"Not Applicable",country:"Kazakhstan",size:"Not Applicable",parent:"The relationship between Volkovgeologiya and Zharys is unclear. Bakhytzhan Berikbolov is general director of both.",longitude:"66.9237",
latitude:"48.0196",url:"http://www.nti.org/facilities/695/"},31:{id:"745",name:"Deposit No. 1182",alternate_names:"Charkiet deposit, Charkia deposit, Sharquieh Mine, Alsharqia mines,",facility_status:"Operational",location:"45km southwest of Palmyra",country:"Syria",size:"Unknown",parent:"Ministry of Petroleum and Mineral Resources of Syria",longitude:"38.001",latitude:"34.1944",url:"http://www.nti.org/facilities/450/"},32:{id:"746",name:"Deposit No. 1184",alternate_names:"Eastern A and Eastern B, Sawwaneh Deposit",
facility_status:"Operational",location:"Sawwaneh, 45km southwest of Palmyra",country:"Syria",size:"Unknown",parent:"General Company for Phosphate and Mines; Ministry of Petroleum and Natural Resources",longitude:"38.0202",latitude:"34.2159",url:"http://www.nti.org/facilities/452/"},33:{id:"747",name:"Deposit No. 1188",alternate_names:"Khneifiss deposit, Kneifis deposit, Knifes deposit, Khneifess mines, Khunaifis mines",facility_status:"Operational",location:"Khneifiss; 50-75km southwest of Palmyra and approximately 160km southwest of Homs",
country:"Syria",size:"Three phosphate mines",parent:"General Company for Phosphate and Mines (GECOPHAM); Ministry of Petroleum and Mineral Resources",longitude:"37.8093",latitude:"34.2328",url:"http://www.nti.org/facilities/454/"},34:{id:"1101",name:"Bandar Abbas Uranium Production Plant (BUP)",alternate_names:"Gchine Mine, Ghachine Mine",facility_status:"Operational",location:"Bandar Abbas",country:"Iran",size:"100 tons of identified uranium reserves",parent:"AEOI",longitude:"55.9493",latitude:"27.0952",
url:"http://www.nti.org/facilities/155/"},35:{id:"1102",name:"Saghand",alternate_names:"Sagend, Sakhaid",facility_status:"Not currently operating",location:"Northeast of Yazd province in central Iran desert, Kavir",country:"Iran",size:"3,294 tons of identified uranium reserves",parent:"Ministry of Industry and Mines",longitude:"55.586",latitude:"32.5165",url:"http://www.nti.org/facilities/156/"},36:{id:"1341",name:"Cholsan Uranium Mine",alternate_names:"Ch'\u014flsan Uranium Mine",facility_status:"Unknown",
location:"Cholsan-kun, North Pyongan Province",country:"North Korea",size:"",parent:"Ministry of Extractive Industries",longitude:"124.668",latitude:"39.7713",url:"http://www.nti.org/facilities/661/"},37:{id:"1342",name:"Hamh\u016dng Uranium Deposit (\u54b8\u8208\uc6b0\ub77c\ub284\u57cb\u85cf\u5730)",alternate_names:"Hamh\u016dng Uranium Mine (\u54b8\u8208\u945b\u5c71)",facility_status:"",location:"Hamh\u016dng (\u54b8\u8208\u5e02), South Hamgy\u014fng Province (\u54b8\u93e1\u5357\u9053)",country:"North Korea",
size:"",parent:"Ministry of Extractive Industries",longitude:"127.539",latitude:"39.9194",url:"http://www.nti.org/facilities/665/"},38:{id:"1343",name:"H\u016dngnam Uranium Mine",alternate_names:"\u8208\u5357\uc6b0\ub77c\ub284\u945b\u5c71",facility_status:"Unknown",location:"Near H\u016dngnam (\u8208\u5357\u5e02), South Hamgy\u014fng Province (\u54b8\u93e1\u5357\u9053)",country:"North Korea",size:"",parent:"Ministry of Extractive Industries",longitude:"127.243",latitude:"39.7062",url:"http://www.nti.org/facilities/666/"},
39:{id:"1722",name:"Hwangsan January Industrial Mine",alternate_names:"\ud669\uc0b01\u6708\u4f01\u696d\u945b\u5c71, Hwangsan Mine",facility_status:"",location:"South P'y\u014fng'an Province (\u5e73\u5b89\u5357\u9053)",country:"North Korea",size:"",parent:"Ministry of Extractive Industries (\u63a1\u53d6\u5de5\u696d\u7701)",longitude:"125.866",latitude:"39.2468",url:"NK/Nuclear/facilities.html"},40:{id:"1770",name:"Rotem Amfert Negev Ltd.",alternate_names:"Mishor Rotem, Negev Phosphates Chemicals Company",
facility_status:"Operational",location:"Approximately 15km east of Dimona",country:"Israel",size:"Two sulfuric acid plants, three mining sites",parent:"Israel Chemicals Ltd.",longitude:"35.2042",latitude:"31.0711",url:"http://www.nti.org/facilities/336/"},41:{id:"1771",name:"Arad Phosphate Mine",alternate_names:"Zefa E'fe, Zefa Rotem",facility_status:"Operational",location:"Mishor Rotem",country:"Israel",size:"Unknown",parent:"Rotem Amfert Negev Ltd.",longitude:"35.2001",latitude:"31.1139",url:"http://www.nti.org/facilities/339/"},
42:{id:"1772",name:"Zin Phosphate Mine",alternate_names:"Nahal Zin, Har Tzin",facility_status:"Operational",location:"Northern Negev Desert",country:"Israel",size:"Unknown",parent:"Rotem Amfert Negev Ltd.",longitude:"35.0917",latitude:"30.8458",url:"http://www.nti.org/facilities/343/"},43:{id:"1773",name:"Oron Phosphates Mine",alternate_names:"",facility_status:"Operational",location:"Northern Negev Desert",country:"Israel",size:"Unknown",parent:"Rotem Amfert Negev Ltd.",longitude:"35.0167",latitude:"30.9103",
url:"http://www.nti.org/facilities/346/"},44:{id:"1808",name:"Baghalchore",alternate_names:"Baghalchur, Baghal Chur, Bagalchore",facility_status:"Mining operations discontinued; site used as low-level radioactive waste dump",location:"Near Dera Ghazi Khan, Southern Punjab Province",country:"Pakistan",size:"Unknown",parent:"Pakistan Atomic Energy Commission",longitude:"70.3872",latitude:"30.0627",url:""},45:{id:"1809",name:"Qabul Khel",alternate_names:"Kubel-Khel, Kubul Khel",facility_status:"Operational",
location:"Mianwali District, Punjab Province",country:"Pakistan",size:"Approximately 500 to 1,000 tonnes",parent:"Pakistan Atomic Energy Commission",longitude:"71.147",latitude:"32.7148",url:""},46:{id:"1824",name:"Nanganai",alternate_names:"Nangar Nai",facility_status:"Operational",location:"Near Dera Ghazi Khan, Southern Punjab Province",country:"Pakistan",size:"Unknown",parent:"Pakistan Atomic Energy Commission",longitude:"70.117",latitude:"29.7503",url:""},47:{id:"1825",name:"Taunsa",alternate_names:"Unknown",
facility_status:"",location:"Near Dera Ghazi Khan, Southern Punjab Province",country:"Pakistan",size:"Unknown",parent:"Pakistan Atomic Energy Commission",longitude:"70.479",latitude:"30.6911",url:""},48:{id:"1826",name:"Shanawa Uranium Mine Project",alternate_names:"Unknown",facility_status:"Under Construction",location:"Karak District, Khyber Pakhtunkhwa Province",country:"Pakistan",size:"Unknown",parent:"Pakistan Atomic Energy Commission",longitude:"72.5353",latitude:"35.5338",url:""}},Conversion:{"0":{id:"13",
name:"Nuclear Chemistry Building",alternate_names:"",facility_status:"Operational",location:"National Research Center (NRC), Inshas (NE Cairo suburb)",country:"Egypt",size:"Laboratories and storage area in basement",parent:"Atomic Energy Authority (AEA)",longitude:"31.456",latitude:"30.382",url:"http://www.nti.org/facilities/354/"},icon:"nuclear_conversion.png",counter:10,1:{id:"418",name:"Jabr Ibn Hayan Multipurpose Laboratories (JHL)",alternate_names:"Jaber Ibn Hayan, Research Department (JIHRD, Jabber Ibn Hayan, Jabir Bin Al-Hayyan",
facility_status:"Operational",location:"Tehran Nuclear Research Center (TNRC)",country:"Iran",size:"Numerous laboratories and facilities",parent:"TNRC; Atomic Energy Organization of Iran (AEOI)",longitude:"51.4231",latitude:"35.6961",url:"http://www.nti.org/facilities/157/"},2:{id:"419",name:"Rudan Conversion Facility",alternate_names:"Rudan Nuclear Research Center",facility_status:"Unknown",location:"Possibly Fasa, Fars Province",country:"Iran",size:"Unknown",parent:"Unknown",longitude:"53.6396",
latitude:"28.9325",url:"http://www.nti.org/facilities/158/"},3:{id:"420",name:"Uranium Conversion Facility (UCF)",alternate_names:"",facility_status:"Operational; undergoing maintenance since summer 2009",location:"Isfahan (Esfahan)",country:"Iran",size:"Industrial Scale",parent:"Isfahan Nuclear Technology Center (INTC); Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/159/"},4:{id:"654",name:"Ulba Metallurgy Plant",alternate_names:"",
facility_status:"Operational",location:"Ust-Kamenogorsk",country:"Kazakhstan",size:"Not Applicable",parent:"Kazatomprom",longitude:"82.6167",latitude:"49.9833",url:"http://www.nti.org/facilities/753/"},5:{id:"1793",name:"Negev Nuclear Research Center",alternate_names:"Dimona",facility_status:"Presumed Operational",location:"Dimona, Negev Desert",country:"Israel",size:"Unknown",parent:"Israel Atomic Energy Commission (IAEC)",longitude:"35.1465",latitude:"31.0021",url:"http://www.nti.org/facilities/418/"},
6:{id:"1795",name:"Marj as-Sultan",alternate_names:"",facility_status:"Unknown",location:"Approximately 15km east of Damascus",country:"Syria",size:"2 buildings",parent:"Unknown",longitude:"36.4416",latitude:"33.4952",url:"http://www.nti.org/facilities/458/"},7:{id:"1813",name:"Chemical Plant Complex",alternate_names:"Dera Ghazi Kahn Conversion Facility",facility_status:"Unknown",location:"Outside of Dera Ghazi Kahn",country:"Pakistan",size:"Appears to be a single building on a 200km\u00b2 lot",parent:"Pakistan Atomic Energy Commission",
longitude:"70.5751",latitude:"29.995",url:""},8:{id:"1814",name:"Islamabad Conversion Facility",alternate_names:"Unknown",facility_status:"Operational",location:"Islamabad",country:"Pakistan",size:"Unknown",parent:"Unknown",longitude:"73.0605",latitude:"33.7182",url:""},9:{id:"1815",name:"Chemical Processing Plant (CPP)",alternate_names:"Unknown",facility_status:"Under Construction",location:"Faisalabad, Punjab Province",country:"Pakistan",size:"Unknown",parent:"Pakistan Atomic Energy Commission",
longitude:"73.0835",latitude:"31.409",url:""}},"Research and Development":{"0":{id:"30",name:"Institute of Power Engineering Problems",alternate_names:"",facility_status:"Active Enrollment",location:"2 km from Sosny",country:"Belarus",size:"",parent:"",longitude:"27.7825",latitude:"53.8326",url:"http://www.nti.org/facilities/331/"},icon:"nuclear_development.png",counter:69,1:{id:"38",name:"Nuclear Research Center (NRC)",alternate_names:"",facility_status:"Operational, expanding",location:"Inshas (NE Cairo suburb)",
country:"Egypt",size:"Large complex of buildings",parent:"Egyptian Atomic Energy Authority (EAEA)",longitude:"31.4575",latitude:"30.3281",url:"http://www.nti.org/facilities/369/"},2:{id:"39",name:"The National Center for Radiation Research & Technology",alternate_names:"",facility_status:"Operational",location:"Nasr City",country:"Egypt",size:"",parent:"Egyptian Atomic Energy Authority (EAEA)",longitude:"31.3667",latitude:"30.05",url:"http://www.nti.org/facilities/370/"},3:{id:"50",name:"The Inshas Cyclotron Facility (ICF)",
alternate_names:"Cyclotron Project, MGC-20 Cyclotron",facility_status:"Operational",location:"Nuclear Research Center (NRC), Inshas (NE Cairo suburb)",country:"Egypt",size:"20 MeV",parent:"Egyptian Atomic Energy Authority (EAEA)",longitude:"31.4158",latitude:"30.2496",url:"http://www.nti.org/facilities/365/"},4:{id:"51",name:"Van de Graff Accelerator",alternate_names:"",facility_status:"Operational",location:"Nuclear Research Center (NRC), Inshas (NE Cairo suburb)",country:"Egypt",size:"2.5 MeV",
parent:"Egyptian Atomic Energy Authority (EAEA)",longitude:"31.4158",latitude:"30.2496",url:"http://www.nti.org/facilities/368/"},5:{id:"52",name:"Radioisotope Production Facility",alternate_names:"",facility_status:"Under construction",location:"Inshas (NE Cairo suburb)",country:"Egypt",size:"Unknown",parent:"Unknown",longitude:"31.4158",latitude:"30.2496",url:"http://www.nti.org/facilities/372/"},6:{id:"85",name:"Kim Il-sung University",alternate_names:"",facility_status:"Operational",location:"Pyongyang",
country:"North Korea",size:"",parent:"",longitude:"125.768",latitude:"39.0582",url:"http://www.nti.org/facilities/789/"},7:{id:"86",name:"Kim Chaek University of Technology",alternate_names:"",facility_status:"Operational",location:"Pyongyang",country:"North Korea",size:"",parent:"",longitude:"125.747",latitude:"39.0028",url:"http://www.nti.org/facilities/757/"},8:{id:"95",name:"Atomic Energy Research Institute",alternate_names:"",facility_status:"Operational",location:"Yongbyon",country:"North Korea",
size:"",parent:"",longitude:"125.751",latitude:"39.8074",url:"http://www.nti.org/facilities/776/"},9:{id:"96",name:"B-25 Betatron",alternate_names:"",facility_status:"Operational",location:"Yongbyon",country:"North Korea",size:"",parent:"",longitude:"125.751",latitude:"39.8009",url:"http://www.nti.org/facilities/755/"},10:{id:"109",name:"Korea National Defense College",alternate_names:"\u671d\u9bae\u570b\u9632\u5927\u5b78, Kanggye Defense College (\u6c5f\u754c\u570b\u9632\u5927\u5b78), Kanggye Defense University",
facility_status:"Operational",location:"Kanggye",country:"North Korea",size:"",parent:"",longitude:"126.598",latitude:"40.9703",url:"http://www.nti.org/facilities/195/"},11:{id:"118",name:"Laser Research Institute",alternate_names:"",facility_status:"Operational",location:"Kwanhak-2-dong, Unjong-kuyok, Pyongyang",country:"North Korea",size:"",parent:"",longitude:"125.861",latitude:"39.23",url:"http://www.nti.org/facilities/742/"},12:{id:"120",name:"MGC-20 Cyclotron",alternate_names:"",facility_status:"Operational",
location:"Sosan-dong, Sosong-kuyok, Pyongyang",country:"North Korea",size:"",parent:"",longitude:"125.74",latitude:"39.0594",url:"http://www.nti.org/facilities/758/"},13:{id:"124",name:"Nuclear Electronics Research Institute",alternate_names:"",facility_status:"Operational",location:"Yongbyon",country:"North Korea",size:"",parent:"",longitude:"125.751",latitude:"39.8074",url:"http://www.nti.org/facilities/761/"},14:{id:"125",name:"Nuclear Physics Research Institute",alternate_names:"",facility_status:"Operational",
location:"Yongbyon",country:"North Korea",size:"",parent:"",longitude:"125.751",latitude:"39.8074",url:"http://www.nti.org/facilities/762/"},15:{id:"232",name:"Mineral Research and Development Center (MRDC)",alternate_names:"",facility_status:"Operational",location:"Mumbai, Maharashtra",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"72.8562",latitude:"19.0177",url:"http://www.nti.org/facilities/855/"},16:{id:"246",name:"Bhabha Atomic Research Center (BARC)",alternate_names:"",
facility_status:"Operational",location:"Trombay, Mumbai",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"72.9254",latitude:"19.0235",url:"http://www.nti.org/facilities/829/"},17:{id:"247",name:"Center for Advanced Technology (CAT)",alternate_names:"",facility_status:"Operational",location:"Indore, Madhya Pradesh",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"75.79",latitude:"22.6652",url:"http://www.nti.org/facilities/833/"},18:{id:"248",
name:"Center for Development of Advanced Computing (C-DAC)",alternate_names:"",facility_status:"Operational",location:"Pune University Campus, Ganesh Khind, Pune",country:"India",size:"",parent:"Department of Information Technology",longitude:"73.8272",latitude:"18.5474",url:"http://www.nti.org/facilities/834/"},19:{id:"249",name:"Indian Institute of Science (IISc)",alternate_names:"",facility_status:"Active",location:"Bangalore, Karnataka",country:"India",size:"",parent:"Department of Education",
longitude:"77.5623",latitude:"13.0178",url:"http://www.nti.org/facilities/843/"},20:{id:"250",name:"Indira Gandhi Center for Atomic Research (IGCAR)",alternate_names:"",facility_status:"Operational",location:"Kalpakkam, Tamil Nadu",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"80.1566",latitude:"12.5126",url:"http://www.nti.org/facilities/845/"},21:{id:"251",name:"Institute of Mathematical Sciences (IMSc)",alternate_names:"",facility_status:"Active",location:"Taramani, Chennai",
country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"80.2403",latitude:"12.9787",url:"http://www.nti.org/facilities/847/"},22:{id:"252",name:"Institute of Physics (IOF)",alternate_names:"",facility_status:"Active",location:"Bhubaneswar, Orissa",country:"India",size:"",parent:"Department of Atomic Energy",longitude:"85.8527",latitude:"20.2956",url:"http://www.nti.org/facilities/848/"},23:{id:"253",name:"Institute for Plasma Research",alternate_names:"",facility_status:"Operational",
location:"Gandhinagar, Gujarat",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"71.1924",latitude:"22.2587",url:"http://www.nti.org/facilities/846/"},24:{id:"254",name:"National Center for Compositional Characterization of Materials",alternate_names:"",facility_status:"Operational",location:"Hyderabad",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"78.4867",latitude:"17.385",url:"http://www.nti.org/facilities/857/"},25:{id:"255",name:"Saha Institute for Nuclear Physics",
alternate_names:"",facility_status:"Active",location:"Bidhannagar, Kolkata (aka Calcutta)",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"88.3937",latitude:"22.5277",url:"http://www.nti.org/facilities/863/"},26:{id:"256",name:"Supercomputer Education and Research Center (SERC)",alternate_names:"",facility_status:"Operational",location:"Bangalore",country:"India",size:"",parent:"Ministry of Human Resource Development",longitude:"77.5944",latitude:"12.9716",url:"http://www.nti.org/facilities/864/"},
27:{id:"257",name:"Tata Institute of Fundamental Research (TIFR)",alternate_names:"",facility_status:"Operational",location:"Mumbai, Maharashtra",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",longitude:"72.8048",latitude:"18.9078",url:"http://www.nti.org/facilities/866/"},28:{id:"258",name:"Variable Energy Cyclotron Center (VECC)",alternate_names:"",facility_status:"Active",location:"Bidhannagar, Kolkata (aka Calcutta)",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",
longitude:"88.3639",latitude:"22.5726",url:"http://www.nti.org/facilities/869/"},29:{id:"429",name:"Isfahan Nuclear Fuel Research and Production Center (NFRPC)",alternate_names:"Esfahan Nuclear Fuel Research and Production Center",facility_status:"Operational",location:"Reshandasht, 15km SE of Isfahan (Esfahan)",country:"Iran",size:"Large complex",parent:"INTC/Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/235/"},30:{id:"441",name:"Bonab Atomic Energy Research Center",
alternate_names:"Bonab Atomic Research Center",facility_status:"Operational",location:"80km south of Tabriz",country:"Iran",size:"26 acres (at a minimum)",parent:"AEOI",longitude:"46.2901",latitude:"38.081",url:"http://www.nti.org/facilities/228/"},31:{id:"444",name:"Isfahan Nuclear Technology Center (INTC)",alternate_names:"Esfahan Nuclear Technology Center (ENTC), Esphahan, Esfahn Nuclear Research Center",facility_status:"Operational",location:"University of Isfahan",country:"Iran",size:"Numerous large buildings; approximately 3,000 scientists",
parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/237/"},32:{id:"445",name:"Institute for Studies in Theoretical Physics and Mathematics (IPM)",alternate_names:"Institute for Research in Fundamental Sciences",facility_status:"Open",location:"Tehran",country:"Iran",size:"Six departments",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.4231",latitude:"35.6961",url:"http://www.nti.org/facilities/254/"},33:{id:"447",
name:"Karaj Agricultural and Medical Research Center",alternate_names:"Nuclear Research Center for Agriculture and Medicine (NRCAM), Center for Agricultural Research and Nuclear Medicine, Karaj Nuclear Research Center",facility_status:"Operational",location:"Karaj",country:"Iran",size:"",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"50.9667",latitude:"35.8167",url:"http://www.nti.org/facilities/239/"},34:{id:"452",name:"Plasma Physics Research Center",alternate_names:"",facility_status:"Operational",
location:"Azad University, Tehran",country:"Iran",size:"Two buildings, 8000 square meters",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.3707",latitude:"35.754",url:"http://www.nti.org/facilities/243/"},35:{id:"454",name:"Sharif University of Technology (SUT)",alternate_names:"Arya-mehr University of Technology",facility_status:"Open",location:"Tehran",country:"Iran",size:"50 hectares",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.4231",latitude:"35.6961",url:"http://www.nti.org/facilities/257/"},
36:{id:"455",name:"Tehran Nuclear Research Center (TNRC)",alternate_names:"",facility_status:"Operational",location:"University of Tehran",country:"Iran",size:"Large, with numerous departments and facilities",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.4231",latitude:"35.6961",url:"http://www.nti.org/facilities/265/"},37:{id:"456",name:"Yazd Radiation Processing Center (YRPC)",alternate_names:"",facility_status:"Operational",location:"Yazd",country:"Iran",size:"1,700 sq meters",
parent:"AEOI",longitude:"54.3607",latitude:"31.8966",url:"http://www.nti.org/facilities/247/"},38:{id:"461",name:"Graphite Sub-Critical Reactor (INTC GSCR )",alternate_names:"IR-0003",facility_status:"Operational",location:"Isfahan Nuclear Technology Center (INTC)",country:"Iran",size:"Zero Power",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/230/"},39:{id:"462",name:"Light Water Sub-Critical Reactor (INTC-LWSCR)",alternate_names:"IR0002",
facility_status:"Operational",location:"Esfahan (Isfahan) Nuclear Technology Center (INTC)",country:"Iran",size:"Zero Power",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/241/"},40:{id:"463",name:"Heavy Water Zero Power Reactor (INTC-HWZPR)",alternate_names:"IR-0004",facility_status:"Operational",location:"Esfahan (Isfahan) Nuclear Technology Center (ENTC)",country:"Iran",size:"Zero Power",parent:"Atomic Energy Organization of Iran (AEOI)",
longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/232/"},41:{id:"562",name:"Negev Nuclear Research Center",alternate_names:"Hakirya Lemchkar Gariini Ba-Nnegev (KAMAG), Dimona",facility_status:"Operational",location:"Dimona",country:"Israel",size:"Unknown",parent:"Israel Atomic Enegy Comission (IAEC)",longitude:"35.1445",latitude:"31.0013",url:"http://www.nti.org/facilities/418/"},42:{id:"564",name:"Soreq Nuclear Research Center",alternate_names:"Merkaz Kemechkar Gariini (MAMAG)",
facility_status:"Operational",location:"Yavne",country:"Israel",size:"Large complex of buldings",parent:"Israel Atomic Energy Commission (IAEC)",longitude:"34.7007",latitude:"31.898",url:"http://www.nti.org/facilities/419/"},43:{id:"674",name:"Khan Research Laboratories (Kahuta)",alternate_names:"",facility_status:"Operational",location:"Kahuta",country:"Pakistan",size:"",parent:"",longitude:"73.3826",latitude:"33.6127",url:""},44:{id:"752",name:"Cyclotron Facility",alternate_names:"",facility_status:"Operational",
location:"Nuclear Medicine Centre, near Damascus",country:"Syria",size:"30 MeV",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.292",latitude:"33.513",url:"http://www.nti.org/facilities/468/"},45:{id:"753",name:"Der Al-Hadjar Nuclear Research Center",alternate_names:"Dayr al Hajar, Dahr el Hajar, SAEC Research Centre",facility_status:"Operational",location:"140km north of Damascus",country:"Syria",size:"Unknown",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",
latitude:"33.3529",url:"http://www.nti.org/facilities/469/"},46:{id:"754",name:"Ion Beam Accelerator Facility",alternate_names:"3.0 MV Tandetron Accelerator Facility",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",country:"Syria",size:"3.0 MV",parent:"AECS",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/470/"},47:{id:"755",name:"Neutron Activation Analytical Laboratory",alternate_names:"",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",
country:"Syria",size:"Laboratory",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/472/"},48:{id:"756",name:"Non-Destructive Testing Laboratory",alternate_names:"",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",country:"Syria",size:"Laboratory",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/473/"},49:{id:"757",
name:"Nuclear Analytical Laboratory",alternate_names:"",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",country:"Syria",size:"Laboratory",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/475/"},50:{id:"758",name:"Nuclear Electronics Laboratory",alternate_names:"Electronics Section",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",country:"Syria",
size:"Laboratory",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/476/"},51:{id:"759",name:"Nuclear Training Laboratory",alternate_names:"",facility_status:"Operational",location:"Der Al-Hadjar Nuclear Research Center, near Damascus",country:"Syria",size:"Laboratory",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/477/"},52:{id:"760",name:"Scientific Studies and Research Center (SSRC)",
alternate_names:"Centre D'Etudes et de Recherches Scientifiques (CERS)",facility_status:"Unknown",location:"Damascus, Syria",country:"Syria",size:"Unknown",parent:"President of the Syrian Republic",longitude:"36.292",latitude:"33.513",url:"http://www.nti.org/facilities/478/"},53:{id:"1098",name:"Tandem Accelerator",alternate_names:"Tandem Electrostatic Accelerator",facility_status:"Under commission, possibly operational",location:"Nuclear Research Center (NRC), Inshas (NE Cairo suburb)",country:"Egypt",
size:"3 MeV",parent:"Atomic Energy Authority (AEA)",longitude:"31.4575",latitude:"30.3281",url:"http://www.nti.org/facilities/366/"},54:{id:"1165",name:"Sarayk\u00f6y Nuclear Research and Training Centre",alternate_names:"SNAEM",facility_status:"Operational",location:"Ankara",country:"Turkey",size:"Unknown",parent:"Turkish Atomic Energy Authority",longitude:"32.6024",latitude:"40.0607",url:"http://www.nti.org/facilities/498/"},55:{id:"1167",name:"Nuclear Research and Training Centre for Turkish Speaking Countries",
alternate_names:"T\u00dcDAEM",facility_status:"Operational",location:"Ankara",country:"Turkey",size:"Unknown",parent:"Turkish Atomic Energy Authority",longitude:"32.8463",latitude:"39.9205",url:"http://www.nti.org/facilities/497/"},56:{id:"1168",name:"\u00c7ekmece Nuclear Research and Training Centre",alternate_names:"\u00c7NAEM",facility_status:"Operational",location:"Istanbul",country:"Turkey",size:"Not Applicable",parent:"Turkish Atomic Energy Authority",longitude:"28.7591",latitude:"41.0224",
url:"http://www.nti.org/facilities/496/"},57:{id:"1200",name:"Chinese Academy of Engineering Physics (CAEP)",alternate_names:"\u4e2d\u56fd\u5de5\u7a0b\u7269\u7406\u7814\u7a76\u9662, Ninth Academy, Science City, Zitong Facility, Mianyang Facility",facility_status:"Operational",location:"Mianyang, Sichuan Province",country:"China",size:"Over 8,000 employees",parent:"General Armaments Department",longitude:"104.768",latitude:"31.4528",url:"http://www.nti.org/facilities/702/"},58:{id:"1201",name:"China Institute of Atomic Energy (CIAE)",
alternate_names:"\u4e2d\u56fd\u539f\u5b50\u80fd\u79d1\u5b66\u7814\u7a76\u9662, Institute 401 (\u56db\u96f6\u4e00\u533b\u9662), China Academy of Atomic Science, Institute of Modern Physics of Chinese Academy of Sciences (CAS), Atomic Energy Institute (AEI) of CAS, Code Name \u201c601\u201d",facility_status:"Operational",location:"Tuoli, 35 km south of Beijing in",country:"China",size:"3,000 personnel, including 600 senior research and engineering technical staff, and 110 advisors for PhD students",
parent:"China National Nuclear Corporation (CNNC)",longitude:"116.308",latitude:"39.9242",url:"http://www.nti.org/facilities/700/"},59:{id:"1206",name:"Institute of Nuclear Energy Technology (INET)",alternate_names:"Tsinghua University Institute of Nuclear and New Energy Technology (\u6838\u80fd\u4e0e\u65b0\u80fd\u6e90\u6280\u672f\u7814\u7a76\u9662/\u6838\u7814\u9662), Number 200 (200 \u53f7), \u6e05\u534e\u5927\u5b66\u539f\u5b50\u80fd\u57fa\u5730, \u6e05\u534e\u5927\u5b66\u8bd5\u9a8c\u5316\u5de5\u5382, \u6838\u80fd\u6280\u672f\u8bbe\u8ba1\u7814\u7a76\u9662",
facility_status:"Operational",location:"Coordiantes are for Tsing-hua (Qinghua) University, Beijing",country:"China",size:"Approximately 500 staff, 300 contract employees, over 200 graduate students. Approximately 100,000 square meters of laboratory space",parent:"Tsinghua University",longitude:"116.325",latitude:"39.9991",url:"http://www.nti.org/facilities/704/"},60:{id:"1211",name:"Northwest Nuclear Weapons Research and Design Academy",alternate_names:"Plant No. 221 (\u4e8c\u4e8c\u4e00\u5382), Ninth Academy, Koko Nor Complex, Northwest Nuclear Weapons Design Center, Qinghai Academy",
facility_status:"Decommissioned, converted into tourist attraction",location:"Haiyan, Qinghai Province",country:"China",size:"Unknown",parent:"Unknown",longitude:"100.922",latitude:"36.9433",url:"http://www.nti.org/facilities/705/"},61:{id:"1219",name:"Northwest Institute of Nuclear Technology (NINT)",alternate_names:"\u897f\u5317\u6838\u6280\u672f\u7814\u7a76\u6240, Northwest Nuclear Technology Institute",facility_status:"Operational",location:"Xi'an, Shaanxi Province (Coordinates are for Xi'an in general)",
country:"China",size:"Unknown",parent:"General Armaments Department (unconfirmed)",longitude:"108.899",latitude:"34.2667",url:"http://www.nti.org/facilities/711/"},62:{id:"1221",name:"Institute of Applied Physics and Computational Mathematics (IAPCM)",alternate_names:"\u5317\u4eac\u5e94\u7528\u7269\u7406\u4e0e\u8ba1\u7b97\u6570\u5b66\u7814\u7a76\u6240, Ninth Academy",facility_status:"Operational",location:"Beijing, China",country:"China",size:"Over 400 specialized technical staff and over 100 researchers, among whom are 12 fellows of the Chinese Academy of Science and the Chinese Academy of Engineering",
parent:"Ninth Academy, General Armaments Department (GAD)",longitude:"116.392",latitude:"39.9139",url:"http://www.nti.org/facilities/703/"},63:{id:"1223",name:"China Nonferrous Mining Corporation (CNMC)",alternate_names:"Ningxia Orient Group Co., Ltd. (\u4e2d\u8272\uff08\u5b81\u590f\uff09\u4e1c\u65b9\u96c6\u56e2\u6709\u9650\u516c\u53f8), Plant 905, Ningxia Non-Ferrous Metal Research Institute",facility_status:"Operational",location:"Helanshan, Ningxia",country:"China",size:"Unknown",parent:"Subsidy of China Nonferrous Metal Mining Group Co., Ltd. (CNMC); Subordinate to State-owned Assets Supervision and Administration Commission of the State Council (SASAC)",
longitude:"106.6",latitude:"38.5",url:"http://www.nti.org/facilities/701/"},64:{id:"1247",name:"Nuclear Power Institute of China (NPIC)",alternate_names:"\u4e2d\u56fd\u6838\u52a8\u529b\u7814\u7a76\u8bbe\u8ba1\u9662, Southwest Reactor Engineering Research and Design Academy, \u897f\u5357\u53cd\u5e94\u63a8\u5de5\u7a0b\u7814\u7a76\u4e2d\u5fc3",facility_status:"Operational",location:"Chengdu, Sichuan",country:"China",size:"3,700 employees, 5 research institutes, over 90 laboratories [1]",parent:"China National Nuclear Corporation (CNNC)",
longitude:"104.092",latitude:"30.6373",url:"http://www.nti.org/facilities/719/"},65:{id:"1344",name:"Isotope Production Laboratory (\u540c\u4f4d\u539f\u7d20\u751f\u7523\u52a0\u5de5\u784f\u7a76\u6240)",alternate_names:"Radioactive Isotope Processing Laboratory, Isotope Processing Laboratory, Radioisotope Utilization Research Institute, Radioisotope Use Institute, Isotope Processing Research Institute",facility_status:"",location:"Y\u014fngby\u014fn Nuclear Research Center",country:"North Korea",size:"The laboratory has seven hot cells and glove boxes",
parent:"Y\u014fngby\u014fn Nuclear Research Center",longitude:"125.751",latitude:"39.8009",url:"http://www.nti.org/facilities/767/"},66:{id:"1790",name:"Proton Cyclotron Accelerator",alternate_names:"",facility_status:"Operational",location:"Soreq Nuclear Research Center, Yavne",country:"Israel",size:"10 MeV",parent:"Israel Atomic Energy Commission",longitude:"34.7007",latitude:"31.898",url:"http://www.nti.org/facilities/419/"},67:{id:"1791",name:"Soreq Applied Research Accelerator Facility (SARAF)",
alternate_names:"",facility_status:"Under construction, estimated completion 2013",location:"Soreq Nuclear Research Center, Yavne",country:"Israel",size:"Variable energy (5-40 MeV) and ion current (0.04-2 mA)",parent:"Israel Atomic Energy Commission",longitude:"34.7007",latitude:"31.898",url:"http://www.nti.org/facilities/419/"},68:{id:"1803",name:"Pakistan Institute of Nuclear Science and Technology (PINSTECH)",alternate_names:"Unknown",facility_status:"Operational",location:"Approximately 15km east of Rawalpindi",
country:"Pakistan",size:"Site appears to consist of various buildings",parent:"Pakistan Atomic Energy Commission",longitude:"73.258",latitude:"33.6525",url:""}},"Waste Management":{"0":{id:"34",name:"Facility 97045",alternate_names:"",facility_status:"",location:"2 km from Sosny",country:"Belarus",size:"",parent:"Ekorez (state-owned)",longitude:"27.7825",latitude:"53.8326",url:"http://www.nti.org/facilities/326/"},icon:"nuclear_waste.png",counter:11,1:{id:"40",name:"Hot Laboratory and Waste Management Center (HLWMC)",
alternate_names:"",facility_status:"Operational",location:"Inshas (NE Cairo Suburb)",country:"Egypt",size:"Waste station, laboratories, and disposal site",parent:"Egyptian Atomic Energy Authority (EAEA)",longitude:"31.4158",latitude:"30.2496",url:"http://www.nti.org/facilities/377/"},2:{id:"53",name:"Hydrometallurgy Pilot Plant (HPP)",alternate_names:"",facility_status:"Partially operational",location:"Inshas (NE Cairo Suburb)",country:"Egypt",size:"Unknown",parent:"Egyptian Atomic Energy Authority (EAEA)",
longitude:"31.4158",latitude:"30.2496",url:"http://www.nti.org/facilities/374/"},3:{id:"417",name:"Anarak Waste Storage Facility",alternate_names:"",facility_status:"Operational",location:"Anarak",country:"Iran",size:"Unknown",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"53.6961",latitude:"33.3107",url:"http://www.nti.org/facilities/214/"},4:{id:"465",name:"Isfahan (Esfahan) Nuclear Waste Storage Facility",alternate_names:"",facility_status:"Operational",location:"Isfahan (Esfahan)",
country:"Iran",size:"Unknown",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"51.6792",latitude:"32.6514",url:"http://www.nti.org/facilities/217/"},5:{id:"466",name:"Qom Waste Disposal Site",alternate_names:"",facility_status:"Operational",location:"Qom",country:"Iran",size:"Unknown",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"50.8833",latitude:"34.65",url:"http://www.nti.org/facilities/225/"},6:{id:"761",name:"Radioactive Waste Management Facility",alternate_names:"Radioactive Waste Management Center",
facility_status:"Operational",location:"Der Al-Hadjar Research Center, near Damascus",country:"Syria",size:"Unknown",parent:"Atomic Energy Commission of Syria (AECS)",longitude:"36.4487",latitude:"33.3529",url:"http://www.nti.org/facilities/479/"},7:{id:"1128",name:"Karaj Waste Storage Facility",alternate_names:"",facility_status:"Operational",location:"Karaj",country:"Iran",size:"Unknown",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"50.8837",latitude:"35.8976",url:"http://www.nti.org/facilities/218/"},
8:{id:"1229",name:"Beijing Research Institute of Uranium Geology (BRIUG)",alternate_names:"\u6838\u5de5\u4e1a\u5317\u4eac\u5730\u8d28\u7814\u7a76\u9662",facility_status:"Operational",location:"Beijing",country:"China",size:"Approximately 400 scientists, engineers, support staff and students",parent:"China National Nuclear Corporation (CNNC)",longitude:"116.415",latitude:"39.9775",url:"http://www.nti.org/facilities/733/"},9:{id:"1237",name:"Everclean Environmental Engineering Corporation (EEEC)",alternate_names:"\u4e2d\u6838\u6e05\u539f\u73af\u5883\u6280\u672f\u5de5\u7a0b\u6709\u9650\u8d23\u4efb\u516c\u53f8",
facility_status:"Operational",location:"Beijing",country:"China",size:"",parent:"China National Nuclear Corporation (CNNC)",longitude:"116.392",latitude:"39.9139",url:"http://www.nti.org/facilities/734/"},10:{id:"1789",name:"Negev Nuclear Research Center",alternate_names:"Dimona, Hakirya Lemchkar Gariini Ba-Nnegev (KAMAG)",facility_status:"Operational",location:"Dimona",country:"Israel",size:"Unknown",parent:"Israel Atomic Energy Commission",longitude:"35.1463",latitude:"31.0019",url:"http://www.nti.org/facilities/418/"}},
"Power Reactor":{"0":{id:"36",name:"IRT Research Reactor",alternate_names:"",facility_status:"Shut Down",location:"Sosny, near Minsk",country:"Belarus",size:"5 MW (IRT-M)",parent:"Institute for Power and Engineering Problems",longitude:"27.7825",latitude:"53.8326",url:"http://www.nti.org/facilities/767/"},icon:"powerReactor.png",counter:39,1:{id:"77",name:"Taecheon 200MWe Nuclear Power Reactor",alternate_names:"\ud0dc\ucc9c200MWe \uc6d0\uc790\ub825\ubc1c\uc804\uc18c, Taecheon 200MW Graphite-Moderated Reactor (\ud0dc\ucc9c 200MW \ud751\uc5f0\uac10\uc18d\ub85c), Taecheon Nuclear Reactor (\ud0dc\ucc9c\uc6d0\uc790\ub85c), Nuclear Reactor No. 4 (\uc81c4\ud638\uc6d0\uc790\ub85c), Taecheon Machine No. 1 (\ud0dc\ucc9c1\ud638\uae30), T'aech'\u014fn 200MWe Nuclear Power Plant",
facility_status:"Unfinished, abandoned",location:"Pyongan-bukto",country:"North Korea",size:"200MWe, about 800MWth",parent:"General Department of Atomic Energy (\uc6d0\uc790\ub825\ucd1d\uad6d), Cabinet (\ub0b4\uac01)",longitude:"125.57",latitude:"39.9278",url:"NK/Nuclear/facilities_reactors_assemblies.html"},2:{id:"92",name:"50MWe Reactor",alternate_names:"",facility_status:"Offline",location:"Yongbyon",country:"North Korea",size:"",parent:"",longitude:"125.762",latitude:"39.7887",url:"http://www.nti.org/facilities/727/"},
3:{id:"94",name:"5MWe Reactor",alternate_names:"Experimental Nuclear Power Station\u20131, Yongbyon No. 1 Machine (\uc601\ubcc01\ud638\uae30), the Second Reactor/Reactor No. 2 (\uc81c2\ud638\uc6d0\uc790\ub85c), February Enterprise (2\uc6d4\uae30\uc5c5\uc18c), Calder Hall Clone",facility_status:"Operational",location:"Yongbyon",country:"North Korea",size:"5MW(e)",parent:"Nuclear Physics Research Institute (\ud575\ubb3c\ub9ac\uc5f0\uad6c\uc18c)",longitude:"125.755",latitude:"39.7973",url:"NK/Nuclear/facilities_reactors_assemblies.html#5mwe"},
4:{id:"110",name:"Geumho-jigu Light Water Reactor Site (\u7434\u6e56\u5730\u5340\u8f15\u6c34\u7210)",alternate_names:"Shinp\u2019o Light Water Reactor Site (\u65b0\u6d66\u8f15\u6c34\u7210), Shinp\u2019o Nuclear Power Plant (\u65b0\u6d66\u539f\u5b50\u529b\u767c\u96fb\u6240), KEDO Light-Water Reactor Project",facility_status:"Offline",location:"K\u016dmho-chigu (\u7434\u6e56\u5730\u5340), Shinp\u2019o (\u65b0\u6d66\u5e02), South Hamgy\u014fng Province (\u54b8\u93e1\u5357\u9053)",country:"North Korea",
size:"",parent:"",longitude:"128.341",latitude:"40.0953",url:"NK/Nuclear/facilities_reactors_assemblies.html"},5:{id:"194",name:"Kaiga Atomic Power Station",alternate_names:"Kaiga 1,2,3",facility_status:"Operational",location:"Uttar Kannada, Karnataka",country:"India",size:"Operational",parent:"Department of Atomic Energy (DAE)",longitude:"74.4389",latitude:"14.8667",url:"http://www.nti.org/facilities/62/"},6:{id:"198",name:"Kakrapar Atomic Power Station (KAPS)",alternate_names:"Kakrapar 1,2",facility_status:"Operational",
location:"Near Surat, Gujarat",country:"India",size:"2 PHWR reactors, 220 MWe each",parent:"Department of Atomic Energy (DAE)",longitude:"73.3516",latitude:"21.2353",url:"http://www.nti.org/facilities/73/"},7:{id:"199",name:"Madras Atomic Power Station (MAPS)",alternate_names:"",facility_status:"Operational",location:"Kalpakkam, Tamil Nadu",country:"India",size:"2 PHWR, 170 MWe each",parent:"Department of Atomic Energy (DAE)",longitude:"80.175",latitude:"12.5583",url:"http://www.nti.org/facilities/74/"},
8:{id:"200",name:"Narora Atomic Power Station (NAPS)",alternate_names:"Narora 1,2",facility_status:"Operational",location:"Narora, Uttar Pradesh",country:"India",size:"2 PHWR, 220 MWe each",parent:"Department of Atomic Energy (DAE)",longitude:"78.43",latitude:"27.5",url:"http://www.nti.org/facilities/75/"},9:{id:"201",name:"Rajasthan Atomic Power Station (RAPS)",alternate_names:"",facility_status:"Operational",location:"Kota, Rajasthan",country:"India",size:"",parent:"Department of Atomic Energy (DAE)",
longitude:"75.83",latitude:"25.18",url:"http://www.nti.org/facilities/76/"},10:{id:"202",name:"Tarapur Atomic Power Station (TAPS)",alternate_names:"Tarapur 1,2,3,4",facility_status:"Operational",location:"Maharashtra",country:"India",size:"2 Boiling Water Reactors (BWR) 150 MWe, 2 Pressurised Heavy Water Reactors (PHWR), MWe each",parent:"Department of Atomic Energy (DAE)",longitude:"72.668",latitude:"19.8403",url:"http://www.nti.org/facilities/77/"},11:{id:"204",name:"Kalpakkam (PFBR)",alternate_names:"",
facility_status:"Under Construction",location:"Kalpakkam, Tamil Nadu",country:"India",size:"440 MWe FBR",parent:"Department of Atomic Energy (DAE)",longitude:"80.1566",latitude:"12.5126",url:"http://www.nti.org/facilities/850/"},12:{id:"353",name:"Balakovo",alternate_names:"\u0411\u0430\u043b\u0430\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational",location:"Balakovo, Saratov Oblast",country:"Russia",size:"Four 950MWe Units",parent:"Rosenergoatom",longitude:"47.95",
latitude:"52.0833",url:"http://www.nti.org/db/nisprofs/russia/reactor/power/balakovo.htm"},13:{id:"355",name:"Bilibino Nuclear Power Plant",alternate_names:"\u0411\u0438\u043b\u0438\u0431\u0438\u043d\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational",location:"Bilibino, Chukchi Autonomous Okrug",country:"Russia",size:"Four 12MWe and 62MWt units",parent:"Rosenergoatom",longitude:"166.45",latitude:"68.05",url:""},14:{id:"356",name:"Kalinin Nuclear Power Plant (KNPP)",alternate_names:"\u041a\u0430\u043b\u0438\u043d\u0438\u043d\u0441\u043a\u0430\u044f \u0410\u042d\u0421",
facility_status:"Operational (three units)",location:"Udomlya, Tver Oblast",country:"Russia",size:"Four 950MWe units, 287.37 hectares",parent:"Rosenergoatom",longitude:"35.05",latitude:"68.05",url:""},15:{id:"357",name:"Kola Nuclear Power Plant",alternate_names:"\u041a\u043e\u043b\u044c\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational",location:"Polyarnyye Zori, Mumansk Oblast, 50km from the Finnish border, 200km from the Norwegian border",country:"Russia",size:"Four 411MWe units",
parent:"Rosenergoatom",longitude:"32.4667",latitude:"67.45",url:""},16:{id:"358",name:"Kursk Nuclear Power Plant",alternate_names:"\u041a\u0443\u0440\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational",location:"Kurchatov, Kurk Oblast",country:"Russia",size:"Four 925MWe units",parent:"Rosenergoatom",longitude:"35.6",latitude:"51.6667",url:""},17:{id:"359",name:"Leningrad Nuclear Power Plant (LNPP)",alternate_names:"\u041b\u0435\u043d\u0438\u043d\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f \u0410\u042d\u0421",
facility_status:"Operational",location:"Sosnovyy Bor, Leningrad Oblast",country:"Russia",size:"Four 925MWe units, 454 hectares",parent:"Rosenergoatom",longitude:"29.0333",latitude:"59.8333",url:""},18:{id:"360",name:"Novovorenzh Nuclear Power Plant (NVNPP)",alternate_names:"\u041d\u043e\u0432\u043e\u0432\u043e\u0440\u043e\u043d\u0435\u0436\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational (3 operational, 2 decommisioned)",location:"Novovoronezh, Voronezh Oblast",country:"Russia",
size:"One 197MWe unit, one 336MWe unit, two 385MWe units, and one 950MWe unit",parent:"Rosenergoatom",longitude:"39.2",latitude:"51.2667",url:""},19:{id:"361",name:"Smolensk Nuclear Power Plant (SNPP)",alternate_names:"\u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a\u0430\u044f \u0410\u042d\u0421",facility_status:"Operational",location:"Desnogorsk, Smolensk Oblast, 40km from Roslavl",country:"Russia",size:"Three 925MWe units",parent:"Rosenergoatom",longitude:"33.2333",latitude:"54.15",url:""},20:{id:"362",
name:"Rostov Nuclear Power Plant (RNPP)",alternate_names:"\u0420\u043e\u0441\u0442\u043e\u0432\u0441\u043a\u0430\u044f \u0410\u042d\u0421, Formerly Volgodonsk Nuclear Power Plant",facility_status:"Operational ( 2 units operational, 2 under construction)",location:"Tsimlyanskiy reservoir, 13km from Volgodonsk, 190km from Rostov-na-Donu.",country:"Russia",size:"Two 950MWe units",parent:"Rosenergoatom",longitude:"42.1333",latitude:"47.5",url:"http://www.nti.org/db/nisprofs/russia/reactor/power/newpower/rostovna.htm"},
21:{id:"437",name:"Darkhovin Nuclear Power Plant",alternate_names:"Darkhouin, Ahvaz, Esteghlal, Karun,",facility_status:"In the planning stages",location:"South of Ahvaz, on the Karun River",country:"Iran",size:"360MW",parent:"Atomic Energy Organization of Iran (AEOI)",longitude:"48.4338",latitude:"30.7401",url:"http://www.nti.org/facilities/186/"},22:{id:"630",name:"Mangyshlak Atomic Energy Combine",alternate_names:"",facility_status:"Shut down",location:"Aktau (formerly Shevchenko), Mangystau Oblast",
country:"Kazakhstan",size:"BN-350 reactor was permanently shut down on 22 April 1999.",parent:"Kazakhstan State Corporation for Atomic Power and Industry (KATEP)",longitude:"51.1712",latitude:"43.6356",url:"http://www.nti.org/facilities/456/"},23:{id:"667",name:"CHASNUPP-1",alternate_names:"Chashma Nucear Power Plant 1",facility_status:"Operating",location:"Kundian, NW region of Punjab Province, approximately 200km SW of Islamabad",country:"Pakistan",size:"300 MWe",parent:"Pakistan Atomic Energy Commission (PAEC)",
longitude:"71.4614",latitude:"32.3919",url:""},24:{id:"668",name:"CHASNUPP-2",alternate_names:"Chashma Nuclear Power Plant 2",facility_status:"Under Construction",location:"Kundian, NW region of Punjab Province, approximately 200km SW of Islamabad",country:"Pakistan",size:"300 MWe",parent:"Pakistan Atomic Energy Commission (PAEC)",longitude:"71.4639",latitude:"32.3902",url:""},25:{id:"669",name:"Kanupp",alternate_names:"Karachi Nuclear Power Plant",facility_status:"Operating",location:"Approximately 25km west of Karachi",
country