jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//en" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html itemscope itemtype="http://schema.org/Product" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="title" content="eRepublik" />
<meta name="robots" content="index, follow" />
<meta name="description" content="The New World" />
<meta name="keywords" content="" />
<meta name="language" content="en" />
<meta property="og:image" content="http://www.erepublik.com/images/modules/homepage/logo.png" />
<meta itemprop="name" content="eRepublik - The New World | Online Social Strategy Game" />
<meta itemprop="description" content="Create your Citizen and you will have the opportunity to develop your military, economy or political career." />
<meta itemprop="image" content="http://www.erepublik.com/images/modules/homepage/logo.png" />
<title>eRepublik</title>
<link rel="shortcut icon" href="http://www.erepublik.com/images/favicon.ico" />
<link rel="stylesheet" href="http://www.erepublik.com/css/cmp/app.1321634279.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.erepublik.com/css/cmp/pvp.1321634279.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.erepublik.com/css/cmp/my_land.1321634279.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.erepublik.com/css/layout/en.css" type="text/css" />
<link rel="stylesheet" href="http://www.erepublik.com/css/layout/menu_v4_en.css" type="text/css" />
<link rel="stylesheet" href="http://www.erepublik.com/css/texts/en.css" type="text/css" />
<link rel="stylesheet" href="http://www.erepublik.com/fonts/Franchise/font.css?1309958974" type="text/css" />
<link rel="stylesheet" href="http://www.erepublik.com/fonts/Delicious/font.css?1309958974" type="text/css" />
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://www.erepublik.com/css/cmp/ie.css" type="text/css" media="screen" />
<![endif]-->
<script type="text/javascript" charset="utf-8">
var hostname = 'www.erepublik.com';//do not remove this
var domainname = 'erepublik.com';//do not remove this
var economyhostname = 'economy.erepublik.com';//do not remove this
var culture = 'en';//do not remove this
var short_links = {"inventory":"http:\/\/www.erepublik.com\/en\/economy\/inventory","myland":"http:\/\/economy.erepublik.com\/en\/land\/overview\/3258684","campaigns":"http:\/\/www.erepublik.com\/en\/military\/campaigns","top_news":"http:\/\/www.erepublik.com\/en\/news\/international","new_message":"http:\/\/www.erepublik.com\/en\/main\/messages-compose\/0","world_map":"http:\/\/www.erepublik.com\/en\/map","military_unit":"http:\/\/www.erepublik.com\/en\/main\/group-home\/military","alerts":"http:\/\/www.erepublik.com\/en\/messages\/alerts\/1"};
</script>
<script type="text/javascript" src="/js/global.1321345978.js"></script>
<script type="text/javascript" charset="utf-8">
window.confirmation = {
ok: 'ok',
yes: 'yes',
no: 'no'
};
</script>
<script type="text/javascript" charset="utf-8">
if (top.location != location) {
top.location.href = document.location.href ;
}
</script>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">var $j = jQuery.noConflict();</script>
<script type="text/javascript" src="/js/jquery.hotkeys.js"></script>
<script type="text/javascript" src="/js/axs.js"></script>
<script type="text/javascript" src="/js/misc.1311078156.js"></script>
<script type="text/javascript" src="/js/ambient.js"></script>
<script type="text/javascript" src="http://economy.erepublik.com/js/Eat/daily_food_consumtion.1319555900.js"></script>
<script type="text/javascript" src="/js/jquery.blockUI.js"></script>
<script type="text/javascript" src="/js/awards/awards.1320415795.js"></script>
<script type="text/javascript" src="/js/GX.js"></script>
<script type="text/javascript" src="/js/GX.transitions.js"></script>
<script type="text/javascript" src="/js/missions/missions.1321270066.js"></script>
<script type="text/javascript" src="http://www.erepublik.com/js/ERPK.js?v=1"></script>
<script type="text/javascript" src="http://www.erepublik.com/js/jquery.countdown.pack.js"></script>
<script type="text/javascript" src="/js/GX.js?1311078151"></script><script type="text/javascript" src="/js/GX.transitions.js?1311078151"></script><script type="text/javascript" src="/js/to.js?1311078159"></script><script type="text/javascript" src="/js/jquery.countdown.pack.js?1311078155"></script><script type="text/javascript" src="/js/jquery.spritely.js?1319185765"></script><script type="text/javascript" src="/js/jquery.tipsy.js?1311078155"></script><script type="text/javascript" src="/js/jquery.blockUI.js?1320404699"></script><script type="text/javascript" src="/js/jquery.tools.custom.min.js?1319185765"></script><script type="text/javascript" src="/js/battle/main.js?1320168310"></script><script type="text/javascript" src="/js/battle/heal.js?1316438657"></script><script type="text/javascript" src="/js/custom-form-elements.js?1311078151"></script>
<script type="text/javascript" charset="utf-8">
var citizen_regionList_select = "Select your eRepublik region.";
var citizen_regionList_no_region = "The country selected does not have any regions.";
var citizen_items_confirm = "Are you sure you want to throw away this item? Maybe you want to donate it to someone else.";
var citizen_friends_prev = "Prev";
var citizen_friends_next = "Next";
var company_browsers_quality_level = "Quality Level";
var election_list_select_party = "Please select a party";
var scriptFeeds_countryAccounts_choose = "Choose";
var scriptFeeds_proposedCongressman_search = "Search";
var scriptFeeds_proposedCongressman_close = "Close";
var scriptFeeds_proposedCongressman_replace = "Replace";
var scriptFeeds_proposedCongressman_close = "Close";
var scriptFeeds_proposedCongressman_presentation = "Presentation";
var scriptFeeds_proposedCongressman_no_presentation = "No presentation";
var scriptFeeds_regionList_select = "Select your eRepublik region";
var register_region_list_belongs_to = "annexed by ";
var citizenship_application_accepted = "Accepted!"
var citizenship_application_canceled = "You have canceled your citizenship application"
var citizenship_application_cancel_confirm = "Are you sure you want to cancel your citizenship application?"
var company_market_offers_invalid_amount = "Please enter a valid amount";
var company_market_offers_invalid_price = "Please enter a valid price";
var company_market_offers_invalid_country = "Please select a new market";
var company_market_offers_embargo_confirm = "Even if you buy this market license, you won't be able to trade with this country due to a trading embargo. Are you sure you want to buy this market license?";
var company_market_offers_atwar_confirm = "Even if you buy this market license, you won't be able to trade with this country due to a war. Are you sure you want to buy this market license?";
var company_market_offers_remove_confirm = "Because your company has changed it's product customization, you cannot take this products back into your company stock anymore. However, you can remove the current market offer by destroying your products. Do you want to proceed and destroy these products?";
var company_create_same_industry_error = "You cannot own two companies in the same industry.";
var citizen_profile_show_all_skills = "show all skills";
var citizen_profile_hide_all_skills = "hide all skills";
var citizen_move_countryList_select = "Please select a country.";
var citizen_move_regionList_select = "Please select a region.";
var timeManagement_buy_wellness_pack_confirm = "Are you sure you want to buy a health pack for %%1%% Gold?";
var company_customize = "All products in stock, finished components and components in progress will be lost. Are you sure?";
var missions_unlock_confirm = "Are you sure you want to unlock for %%1%% Gold?";
var migrate_company_industry_confirm = "Are you sure that you want to migrate the %%1%% from %%2%% industry into %%3%% industry? Only one migration is allowed and its effects are irreversible";
var eat_food_confirm = "One unit of q%%1%% food will be consumed but you will recover only %%2%% health. Would you like to use it anyway?";
var energy_confirm = "You are about to eat an Energy Bar. This will restore your health to 100 without affecting your daily food consumption limit. Continue?";
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2001550-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body id="general" >
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId: '300511377223',
status: true,
cookie: true,
xfbml: true,
channelUrl: 'http://www.erepublik.com/xd_receiver.htm'
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
<!--[if lt IE 9]>
<script type="text/javascript">
var IE6UPDATE_OPTIONS = {
icons_path: "/images/ie6/"
}
</script>
<script type="text/javascript" src="http://www.erepublik.com/js/ie6update.js"></script>
<![endif]-->
<div class="at">
<div class="ath">
<a href="javascript:;" class="ambient_toggler"><span>Ambient on/off</span></a>
</div>
</div>
<div id="container">
<div id="header">
<div id="logo" class="anniversary" title="eRepublik - 4 Years">
<a href="http://www.erepublik.com/en" title="eRepublik - 4 Years"><span>eRepublik – Online Strategy Game</span></a>
</div>
<div class="advisor">
<div id="hinfo">
<div id="clock" >
<span id="live_time" class="time"></span>
<span class="date">Nov19</span>
<span class="eday">
Day <strong>1,507<script src="//ajax.googleapis.com/ajax/libs/prototype/1/prototype.js"></script>
</strong> of the New World </span>
</div>
<div id="searchholder"></div>
</div>
</div>
</div>
<div id="menu">
<ul id="nav">
<li id="menu1">
<a href="http://www.erepublik.com/en"><span>Home</span></a>
</li>
<li id="menu2">
<a href="http://economy.erepublik.com/en/land/overview/3258684">
<span>My Land</span>
</a>
</li>
<li id="menu3">
<a href="http://www.erepublik.com/en/military/campaigns"><span>Wars</span></a>
</li>
<li id="menu4">
<p></p>
<a href="javascript:;"><span>Market</span></a>
<ul>
<li><a href="http://economy.erepublik.com/en/market/14">Marketplace</a></li>
<li><a href="http://economy.erepublik.com/en/market/job/14">Job market</a></li>
<li><a href="http://www.erepublik.com/en/exchange">Monetary market</a></li>
<li><a href="http://economy.erepublik.com/en/market/company/14">Companies for sale</a></li>
</ul>
</li>
<li id="menu5">
<a href="#"><span>Community</span></a>
<ul>
<li><a href="http://www.erepublik.com/en/map" rel="nofollow">World Map</a></li>
<li><a href="http://www.erepublik.com/en/my-places/party" rel="nofollow">My Party</a></li>
<li><a href="http://www.erepublik.com/en/elections/current">Elections</a></li>
<li><a href="http://www.erepublik.com/en/main/group-home/military">Military Unit</a></li>
<li><a href="http://www.erepublik.com/en/invite-friends">Invite friends</a></li>
<li><a href="http://www.erepublik.com/en/badges">Badges</a></li>
</ul>
</li>
<li id="menu6">
<a href="http://www.erepublik.com/en/get-gold/gold"><span>Get Gold & Extras</span></a>
</li>
</ul>
</div>
<div id="large_sidebar">
<a id="financier" href="http://www.erepublik.com/en/citizen/profile/3258684"></a>
<div class="user_section">
<a href="http://www.erepublik.com/en/citizen/profile/3258684" class="user_avatar" title="cozyhh">
<img src="http://static.erepublik.com/uploads/avatars/Citizens/2010/04/30/a47e1aef8ff74382820a57dba18c54b6_55x55.jpg" alt="cozyhh" width="40" height="40" />
</a>
<div class="user_info">
<a href="http://www.erepublik.com/en/citizen/profile/3258684">cozyhh</a>
<div class="user_level">
<b>30</b>
<div class="user_progress">
<div class="progress_bar" style="width:96%"><span></span></div>
</div>
<a class="user_country" href="http://www.erepublik.com/en/country/society/China">
<img src="/images/flags_png/S/China.png" alt="" />
</a>
</div>
</div>
</div>
<div class="user_health">
<script type="text/javascript">
var reset_health_to_recover = 550;
var reset_has_food = 2;
</script>
<input type="hidden" value="2c253aab5e13ef69bdcb823bf070fbaf" id="a69925ed4a6ac8d4b191ead1ab58e853">
<div class="health_bar">
<img src="http://www.erepublik.com/images/modules/sidebar/health_bar_icon.png" alt="" class="health_icon" />
<strong id="current_health">100</strong>
<div class="progress" id="health_bar_progress" style="width:100%">
</div>
<div class="back_progress" id="health_back_progress"></div>
</div>
<a href="javascript:;" title="" class="eat_food_wide disabled " id="DailyConsumtionTrigger">
<img src="http://www.erepublik.com/images/modules/sidebar/eating.gif" id="eatload" alt="" width="139" height="23"/>
<q>
<span>
<img alt="" class="warn" src="http://www.erepublik.com/images/modules/_icons/swarning.png" />
</span>
<strong id="foodText">Eat food</strong>
</q>
</a>
</div>
<div class="user_finances">
<div class="gold_amount">
<a href="http://www.erepublik.com/en/economy/citizen-accounts/3258684">
<img src="http://www.erepublik.com/images/modules/_icons/gold_icon.png" alt="Gold" />
<strong id="side_bar_gold_account_value">16</strong> <span>Gold</span>
</a>
</div>
<div class="currency_amount">
<a href="http://www.erepublik.com/en/economy/citizen-accounts/3258684">
<img src="/images/flags_png/S/China.png" alt="CNY" title="CNY" />
<strong>5310</strong> <span>CNY</span>
</a>
</div>
</div>
<input type="hidden" id="c_hash" value="a47e1aef8ff74382820a57dba18c54b6"/>
<div class="user_missions extended">
<script type="text/javascript">
var missionsJSON = [{"id":63,"title":"China needs help!","description":"Opponents are getting stronger! The national army needs fresh blood. Let's call for some support!<br \/><br \/> <strong>Attention!<\/strong> Respect the eRepublik Laws while solving this mission!","rewards":[{"category":"gold","value":4},{"category":"experience_points","value":4},{"category":"","value":0}],"conditions":["Get a new citizen in your country","Help him reach Lieutenant Rank Level",""],"conditionsUnlock":[14,14,0],"hint":{"hints":{"1":"Stay in touch with him and encourage him to fight every day."},"links":[{"url":"http:\/\/www.erepublik.com\/en\/invite-friends","link":"Invite friends"}]},"img":"http:\/\/www.erepublik.com\/images\/modules\/missions\/63.png","partial":[],"isOld":1,"type":"land","conditionIcons":[true,true]},{"id":70,"title":"It's time to get a medal","description":"Dedicated players get achievements! Get one too!","rewards":[{"category":"experience_points","value":44},{"category":"gold","value":4},{"category":"","value":0}],"conditions":["Get a hard worker achievement","",""],"conditionsUnlock":[44,0,0],"hint":{"hints":["Work for 30 different days and you also get 5 gold"],"links":[]},"img":"http:\/\/www.erepublik.com\/images\/modules\/missions\/70.png","partial":[],"isOld":1,"type":"land","conditionIcons":[true]},{"id":68,"title":"Big battle time","description":"Big battles are for strong and dedicated soldiers. Prove that you're one of them.","rewards":[{"category":"military_skill","value":44},{"category":"military_rank","value":4444},{"category":"","value":0}],"conditions":["Defeat 444 opponents","",""],"conditionsUnlock":[94,0,0],"hint":{"hints":false,"links":[{"url":"http:\/\/www.erepublik.com\/en\/military\/campaigns","link":"Go to Military campaigns","is_battle":true}]},"img":"http:\/\/www.erepublik.com\/images\/modules\/missions\/68.png","partial":["enemies defeated"],"isOld":1,"type":"land","conditionIcons":[true]},{"id":50,"title":"Offense is the best defense","description":"It's easier to take down enemies when having good weapons rather than fighting with your bare hands. Time to setup your own weapon industry!","rewards":[{"category":"experience_points","value":2},{"category":"weapon_q5","value":5},{"category":"","value":0}],"conditions":["Build 1 Weapon Factory","Build 1 Iron Mine",""],"conditionsUnlock":[0,0,0],"hint":{"hints":[""],"links":[{"url":"http:\/\/economy.erepublik.com\/en\/company\/create#factory","link":"Go to Build menu"},{"url":"http:\/\/economy.erepublik.com\/en\/company\/create#weapon-raw","link":"Go to Build menu"}]},"img":"http:\/\/www.erepublik.com\/images\/modules\/missions\/50.png","partial":[],"isOld":1,"type":"military","conditionIcons":[true,true]},{"id":9,"title":"Society builder","description":"You can be really powerful only by having your friends near you.","rewards":[{"category":"experience_points","value":10},{"category":"","value":0},{"category":"","value":0}],"conditions":["Get the Society Builder Achievement.",null,null],"conditionsUnlock":[20,0,0],"hint":{"hints":["Invite 10 people to eRepublik and help them reach level 10."],"links":[{"url":"http:\/\/www.erepublik.com\/en\/invite-friends","link":"Invite friends"}]},"img":"http:\/\/www.erepublik.com\/images\/modules\/missions\/9.png","partial":[],"isOld":1,"type":"land","conditionIcons":false}];
var csrfToken = '2c253aab5e13ef69bdcb823bf070fbaf';
var unlock_cost_text = "to complete";
var mainHost = 'www.erepublik.com';
var isJsonP = false;
</script>
<div id="sidebar_missions">
<img src="http://www.erepublik.com/images/modules/missions/pop.png" id="point" width="18" alt="" />
<div class="content">
<b>Missions</b>
<div class="mission_bubble" style="display: none;">
<strong></strong>
<p></p>
</div>
<div class="mission_holder">
</div>
</div>
<div class="end"></div>
<div class="flares">
<img src="http://www.erepublik.com/images/modules/sidebar/flare_left.png" id="flare_left" alt="" />
<img src="http://www.erepublik.com/images/modules/sidebar/flare_right.png" id="flare_right" alt="" />
</div>
</div>
<div class="mission_pop land" id="mission_status">
<a href="javascript:;" class="close" title="Close window">X</a>
<div class="top"></div>
<div class="repeat">
<div class="content">
<h3>
<img src="http://www.erepublik.com/images/parts/pixel.gif" alt="" />
<b></b>
</h3>
<em></em>
<div class="requirements">
<div class="mission_error">
<strong>You don't have enough Gold to complete the task</strong>
<a href="http://www.erepublik.com/en/get-gold/gold" title="Get Gold" class="req_get_gold"><span>Get Gold</span></a>
</div>
<h2>Completed!</h2>
<ul class="req_content">
<li>
<img src="http://www.erepublik.com/images/parts/pixel.gif" class="mission_pic" alt=""/>
<span class="status"></span>
<div class="details">
<strong></strong>
<small></small>
<a href="javascript:;" class="hint"></a>
</div>
<div class="actions">
<q>3/10</q>
<a href="javascript:;" title="" class="req_unlock disabled"></a>
</div>
</li>
<li>
<img src="http://www.erepublik.com/images/parts/pixel.gif" class="mission_pic" alt=""/>
<span class="status"></span>
<div class="details">
<strong></strong>
<small></small>
<a href="javascript:;" class="hint"></a>
</div>
<div class="actions">
<q>3/10</q>
<a href="javascript:;" title="" class="req_unlock disabled"></a>
</div>
</li>
<li>
<img src="http://www.erepublik.com/images/parts/pixel.gif" class="mission_pic" alt=""/>
<span class="status"></span>
<div class="details">
<strong></strong>
<small></small>
<a href="javascript:;" class="hint"></a>
</div>
<div class="actions">
<q>3/10</q>
<a href="javascript:;" title="" class="req_unlock disabled"></a>
</div>
</li>
</ul>
<div class="reward">
<h4>Reward</h4>
<table width="100%">
<tr>
<td>
</td>
</tr>
</table>
</div>
</div>
<a href="javascript:;" class="get_reward" title="">Ok</a>
</div>
<div class="end"></div>
</div>
</div>
<div id="mission_rank_popup" style="display:none" class="pop rank_up">
<div class="heading">
<img src="http://www.erepublik.com/images/parts/pixel.gif" class="next_rank mission_rank_img" alt="" />
<p>Congratulations, your rank is now</p>
<h2 id="mission_rank_name"></h2>
</div>
<div class="content">
<div>
<div class="symbol rank_holder">
<img src="http://www.erepublik.com/images/parts/pixel.gif" alt="" class="mission_rank_img"/>
</div>
<strong>Rank Bonus on attack</strong>
<big>+5%</big>
</div>
<div>
<img class="symbol" src="http://www.erepublik.com/images/modules/pvp/energy_bar.png" alt="" />
<strong>Energy bar</strong>
</div>
</div>
<a href="javascript:;" title="" id="mission_rank_popup_ok">Ok</a>
</div>
</div>
<div id="rewards_text" style="display:none;">
<div class="mskill">
<img src="http://www.erepublik.com/images/modules/_icons/strength_icon.png" alt="" />
<strong></strong>
<small>Strength</small>
</div>
<div class="xp">
<img src="http://www.erepublik.com/images/modules/_icons/xp_icon.png" alt="" />
<strong></strong>
<small>Experience points</small>
</div>
<div class="health">
<img src="http://www.erepublik.com/images/modules/_icons/health_icon.png" alt="" />
<strong></strong>
<small>Health</small>
</div>
<div class="mrank">
<img src="http://www.erepublik.com/images/modules/_icons/rank_icon.png" alt="" />
<strong></strong>
<small>Rank points</small>
</div>
<div class="gold">
<img src="http://www.erepublik.com/images/modules/homepage/gold.png" alt="" />
<strong></strong>
<small>Gold</small>
</div>
<div class="energy">
<img src="http://www.erepublik.com/images/modules/pvp/energy_bar.png" alt="" />
<strong></strong>
<small>Energy bar</small>
</div>
<div class="money">
<img src="http://www.erepublik.com/images/flags_png/M/China.png" alt="CNY" title="CNY" />
<strong></strong>
<small>CNY</small>
</div>
<div class="land">
<img src="http://www.erepublik.com/images/modules/myland/new_land.png" style="margin-top:10px;" alt="" />
<strong></strong>
<small>Free Lands</small>
</div>
<div class="collection_parts">
<img src="http://www.erepublik.com/images/icons/industry/000/4.png" alt="" />
<strong></strong>
<small>Scope</small>
</div>
<div class="bazooka">
<img src="http://www.erepublik.com/images/icons/industry/000/1.png" alt="" />
<strong></strong>
<small>Bazooka</small>
</div>
<div class="q1weapon">
<img src="http://www.erepublik.com/images/icons/industry/2/q1_30x30.png" alt="" />
<strong></strong>
<small>Weapons</small>
</div>
<div class="q2weapon">
<img src="http://www.erepublik.com/images/icons/industry/2/q2_30x30.png" alt="" />
<strong></strong>
<small>Weapons</small>
</div>
<div class="q5weapon">
<img src="http://www.erepublik.com/images/icons/industry/2/q5_30x30.png" alt="" />
<strong></strong>
<small>Weapons</small>
</div>
<div class="q1food">
<img src="http://www.erepublik.com/images/icons/industry/1/q1_30x30.png" alt="" />
<strong></strong>
<small>Food units</small>
</div>
<div class="q2food">
<img src="http://www.erepublik.com/images/icons/industry/1/q2_30x30.png" alt="" />
<strong></strong>
<small>Food units</small>
</div>
<div class="q5food">
<img src="http://www.erepublik.com/images/icons/industry/1/q5_30x30.png" alt="" />
<strong></strong>
<small>Food units</small>
</div>
<div class="grain">
<img src="http://www.erepublik.com/images/modules/misc/grain_30.png" alt="" />
<strong></strong>
<small>Grain Farms</small>
</div>
<div class="damage">
<img src="http://www.erepublik.com/images/modules/pvp/damage_icon.png" alt="" />
<strong></strong>
<small>Damage</small>
</div>
<div class="elite_ach">
<img src="http://www.erepublik.com/images/modules/_icons/top_player.png" alt="" />
<strong></strong>
<small>Elite Citizen Achievement</small>
</div>
</div>
<div class="award_pop_up">
<input type="hidden" name="_token" value="2c253aab5e13ef69bdcb823bf070fbaf" id="award_token" />
</div>
<div id="award_pop_up_ajax">
</div>
<div class="user_notify">
<a href="http://www.erepublik.com/en/main/messages-inbox" title="0 new messages" class="notify nmail">
<img src="http://www.erepublik.com/images/modules/sidebar/mail_icon_off.png" alt="" />
<b class="off">0</b>
</a>
<a href="http://www.erepublik.com/en/messages/alerts/1" title="0 new alerts" class="notify nalert">
<img src="http://www.erepublik.com/images/modules/sidebar/alert_icon_off.png" alt="" />
<b class="off">0</b>
</a>
</div>
<a href="http://www.erepublik.com/en/logout" class="logout">Logout</a>
<div id="experienceTooltip" class="simple_yellow" style="display:none;">
<img src="http://www.erepublik.com/images/modules/sidebar/yellow_arrow_tip.png" class="tip" alt="" />
Experience level: <strong>30</strong><br />
Experience points: <strong>29804</strong><br />
Next level at: <strong>30000</strong>
</div>
<div id="wellnessTooltip" class="simple_yellow" style="display:none;width:250px;">
<img src="http://www.erepublik.com/images/modules/sidebar/yellow_arrow_tip.png" class="tip" alt="" />
• Working, training and fighting decreases health<br />
• Houses, health boxes, food, hospitals restore health.</div>
<div id="eatFoodTooltip" class="simple_yellow" style="display:none; width: 250px;">
<img src="http://www.erepublik.com/images/modules/sidebar/yellow_arrow_tip.png" class="tip" alt="" />
<p>
This action restores as much health as possible by eating Food from your Storage. </p>
<p style="margin:0">
You can recover up to: <big class="tooltip_health_limit">550 / 550</big> Health<img class="mini_health" src="http://www.erepublik.com/images/modules/_icons/mini_health.png" alt="" /> </p>
<small id="foodResetHoursContainer" style="display:none">100 more recoverable Health in: <em id="foodResetHours">00:59:59</em></small>
</div>
<div id="limit_health_pop" class="health_limit">
<h2>Food limit reached</h2>
<p>
You have reached your food consumption limit.<br />
You can recover 100 health every hour. </p>
<div class="time_left">
<small>100 more recoverable Health in:</small>
<em id="pop_timer">00:00:00</em>
</div>
<a href="http://www.erepublik.com/en/get-gold/health" class="get_health" title="Restore 10 wellness">Buy health kit</a>
<a href="javascript:;" class="green_go" id="close_limit_health">Close</a>
</div>
<script type="text/javascript">
function sidebar_tooltip(trigger, tooltip){
$j(trigger).hover(
function() { $j(tooltip).css({ display: "block" }); },
function() { $j(tooltip).css({ display: "none" }); }
);
$j(trigger).mousemove(function(e) {
var mousex = e.pageX - 10;
var mousey = e.pageY + 25;
$j(tooltip).css({ top: mousey, left: mousex });
});
}
$j(document).ready(function() {
sidebar_tooltip(".user_health b", "#wellnessTooltip");
sidebar_tooltip(".user_progress", "#experienceTooltip");
sidebar_tooltip("#DailyConsumtionTrigger", "#eatFoodTooltip");
});
linkForBuy = 'http://economy.erepublik.com/en/market/14/1';
textForBuy = "Buy food";
food_remaining = parseInt("550", 10);
var smallestFood = {"q":"1","use":2};
</script>
</div>
<div id="content">
<script type="text/javascript">
var SERVER_DATA = {
battleId : 19900,
countryId : 14,
invaderId : 57,
defenderId : 14,
isResistance : 1,
zoneId : 8,
citizenId : 3258684,
battleFinished : 0,
battle_critical_at : new Date('Sat, 19 Nov 2011 07:53:02 -0800'),
battle_start_at : new Date('Sat, 19 Nov 2011 05:53:02 -0800'),
server_time : new Date('Sat, 19 Nov 2011 07:10:57 -0800'),
zoneElapsedTime : "1:17:55",
ERPK_ECONOMY_HOST : 'economy.erepublik.com',
ERPK_MAIN_HOST : 'www.erepublik.com',
health : 100.00,
mustInvert : false,
oldEnemyHealth : 100,
remainingHospitals : 0,
fighterCountryId : 14,
countries : {"1":{"id":"1","name":"Romania","initials":"RO","permalink":"Romania","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"FFE97F","capital_region_id":"39","can_create_party":"1"},"9":{"id":"9","name":"Brazil","initials":"BR","permalink":"Brazil","is_active":"1","continent":"5","created_at":"1970-01-01 00:00:00","color":"7ACCA2","capital_region_id":"149","can_create_party":"1"},"10":{"id":"10","name":"Italy","initials":"IT","permalink":"Italy","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"2E7599","capital_region_id":null,"can_create_party":"1"},"11":{"id":"11","name":"France","initials":"FR","permalink":"France","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"FFD2B3","capital_region_id":"207","can_create_party":"1"},"12":{"id":"12","name":"Germany","initials":"DE","permalink":"Germany","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"CDFFB3","capital_region_id":"258","can_create_party":"1"},"13":{"id":"13","name":"Hungary","initials":"HU","permalink":"Hungary","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"7ACC52","capital_region_id":"108","can_create_party":"1"},"14":{"id":"14","name":"China","initials":"CN","permalink":"China","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"CCBE7A","capital_region_id":"372","can_create_party":"1"},"15":{"id":"15","name":"Spain","initials":"ES","permalink":"Spain","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"661414","capital_region_id":"184","can_create_party":"1"},"23":{"id":"23","name":"Canada","initials":"CA","permalink":"Canada","is_active":"1","continent":"4","created_at":"1970-01-01 00:00:00","color":"CC5252","capital_region_id":"95","can_create_party":"1"},"24":{"id":"24","name":"USA","initials":"US","permalink":"USA","is_active":"1","continent":"4","created_at":"1970-01-01 00:00:00","color":"6752CC","capital_region_id":"44","can_create_party":"1"},"26":{"id":"26","name":"Mexico","initials":"MX","permalink":"Mexico","is_active":"1","continent":"4","created_at":"1970-01-01 00:00:00","color":"7FFFBE","capital_region_id":null,"can_create_party":"1"},"27":{"id":"27","name":"Argentina","initials":"AR","permalink":"Argentina","is_active":"1","continent":"5","created_at":"1970-01-01 00:00:00","color":"295166","capital_region_id":"155","can_create_party":"1"},"28":{"id":"28","name":"Venezuela","initials":"VE","permalink":"Venezuela","is_active":"1","continent":"5","created_at":"1970-01-01 00:00:00","color":"CB7ACC","capital_region_id":null,"can_create_party":"1"},"29":{"id":"29","name":"United Kingdom","initials":"UK","permalink":"United-Kingdom","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"342966","capital_region_id":"216","can_create_party":"1"},"30":{"id":"30","name":"Switzerland","initials":"CH","permalink":"Switzerland","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"CC8552","capital_region_id":"338","can_create_party":"1"},"31":{"id":"31","name":"Netherlands","initials":"NL","permalink":"Netherlands","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"CC7A7A","capital_region_id":"531","can_create_party":"1"},"32":{"id":"32","name":"Belgium","initials":"BE","permalink":"Belgium","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"7E992E","capital_region_id":"228","can_create_party":"1"},"33":{"id":"33","name":"Austria","initials":"AT","permalink":"Austria","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"994C4C","capital_region_id":"344","can_create_party":"1"},"34":{"id":"34","name":"Czech Republic","initials":"CZ","permalink":"Czech-Republic","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"402E99","capital_region_id":null,"can_create_party":"1"},"35":{"id":"35","name":"Poland","initials":"PL","permalink":"Poland","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"FF7FFD","capital_region_id":"425","can_create_party":"1"},"36":{"id":"36","name":"Slovakia","initials":"SK","permalink":"Slovakia","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"7FD4FF","capital_region_id":"315","can_create_party":"1"},"37":{"id":"37","name":"Norway","initials":"NO","permalink":"Norway","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"DFFF7F","capital_region_id":"292","can_create_party":"1"},"38":{"id":"38","name":"Sweden","initials":"SE","permalink":"Sweden","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"594C99","capital_region_id":"325","can_create_party":"1"},"39":{"id":"39","name":"Finland","initials":"FI","permalink":"Finland","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"576629","capital_region_id":"242","can_create_party":"1"},"40":{"id":"40","name":"Ukraine","initials":"UA","permalink":"Ukraine","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"144B66","capital_region_id":"138","can_create_party":"1"},"41":{"id":"41","name":"Russia","initials":"RU","permalink":"Russia","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"FF7F7F","capital_region_id":"532","can_create_party":"1"},"42":{"id":"42","name":"Bulgaria","initials":"BG","permalink":"Bulgaria","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"662965","capital_region_id":"353","can_create_party":"1"},"43":{"id":"43","name":"Turkey","initials":"TR","permalink":"Turkey","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"FFB3B3","capital_region_id":"516","can_create_party":"1"},"44":{"id":"44","name":"Greece","initials":"GR","permalink":"Greece","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"996C4C","capital_region_id":null,"can_create_party":"1"},"45":{"id":"45","name":"Japan","initials":"JP","permalink":"Japan","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"992E2E","capital_region_id":"486","can_create_party":"1"},"47":{"id":"47","name":"South Korea","initials":"KR","permalink":"South-Korea","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"96CC7A","capital_region_id":null,"can_create_party":"1"},"48":{"id":"48","name":"India","initials":"IN","permalink":"India","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"FEB3FF","capital_region_id":"443","can_create_party":"1"},"49":{"id":"49","name":"Indonesia","initials":"ID","permalink":"Indonesia","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"4C7F99","capital_region_id":"466","can_create_party":"1"},"50":{"id":"50","name":"Australia","initials":"AU","permalink":"Australia","is_active":"1","continent":"6","created_at":"1970-01-01 00:00:00","color":"66994C","capital_region_id":null,"can_create_party":"1"},"51":{"id":"51","name":"South Africa","initials":"ZA","permalink":"South-Africa","is_active":"1","continent":"3","created_at":"1970-01-01 00:00:00","color":"994C98","capital_region_id":"498","can_create_party":"1"},"52":{"id":"52","name":"Republic of Moldova","initials":"MD","permalink":"Republic-of-Moldova","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"99872E","capital_region_id":"94","can_create_party":"1"},"53":{"id":"53","name":"Portugal","initials":"PT","permalink":"Portugal","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"ADCC52","capital_region_id":"159","can_create_party":"1"},"54":{"id":"54","name":"Ireland","initials":"IE","permalink":"Ireland","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"CCB852","capital_region_id":"208","can_create_party":"1"},"55":{"id":"55","name":"Denmark","initials":"DK","permalink":"Denmark","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"662929","capital_region_id":"233","can_create_party":"1"},"56":{"id":"56","name":"Iran","initials":"IR","permalink":"Iran","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"BFB3FF","capital_region_id":"479","can_create_party":"1"},"57":{"id":"57","name":"Pakistan","initials":"PK","permalink":"Pakistan","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"FFF2B3","capital_region_id":"492","can_create_party":"1"},"58":{"id":"58","name":"Israel","initials":"IL","permalink":"Israel","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"992E98","capital_region_id":"469","can_create_party":"1"},"59":{"id":"59","name":"Thailand","initials":"TH","permalink":"Thailand","is_active":"1","continent":"2","created_at":"1970-01-01 00:00:00","color":"296648","capital_region_id":"511","can_create_party":"1"},"61":{"id":"61","name":"Slovenia","initials":"SI","permalink":"Slovenia","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"7AB1CC","capital_region_id":"611","can_create_party":"1"},"62":{"id":"62","name":"Erepublik","initials":"ER","permalink":"Erepublik","is_active":"1","continent":"1","created_at":"1970-01-01 00:00:00","color":"","capital_region_id":null,"can_create_party":"1"},"63":{"id":"63","name":"Croatia","initials":"HR","permalink":"Croatia","is_active":"1","continent":"1","created_at":"2008-12-08 02:41:12","color":"877ACC","capital_region_id":"691","can_create_party":"1"},"64":{"id":"64","name":"Chile","initials":"CL","permalink":"Chile","is_active":"1","continent":"5","created_at":"2009-01-05 02:28:00","color":"ECFFB3","capital_region_id":"631","can_create_party":"1"},"65":{"id":"65","name":"Serbia","initials":"CS","permalink":"Serbia","is_active":"1","continent":"1","created_at":"2009-01-30 06:37:01","color":"FFB47F","capital_region_id":"635","can_create_party":"1"},"66":{"id":"66","name":"Malaysia","initials":"MY","permalink":"Malaysia","is_active":"1","continent":"2","created_at":"2009-02-03 21:39:30","color":"AAFF7F","capital_region_id":"642","can_create_party":"1"},"67":{"id":"67","name":"Philippines","initials":"PH","permalink":"Philippines","is_active":"1","continent":"2","created_at":"2009-02-03 21:42:36","color":"651466","capital_region_id":null,"can_create_party":"1"},"68":{"id":"68","name":"Singapore","initials":"SG","permalink":"Singapore","is_active":"1","continent":"2","created_at":"2009-02-03 21:43:19","color":"CC52CB","capital_region_id":"648","can_create_party":"1"},"69":{"id":"69","name":"Bosnia and Herzegovina","initials":"BH","permalink":"Bosnia-Herzegovina","is_active":"1","continent":"1","created_at":"2009-03-10 04:01:41","color":"2E9963","capital_region_id":"650","can_create_party":"1"},"70":{"id":"70","name":"Estonia","initials":"EE","permalink":"Estonia","is_active":"1","continent":"1","created_at":"2009-04-07 05:00:17","color":"B3FFD8","capital_region_id":"658","can_create_party":"1"},"71":{"id":"71","name":"Latvia","initials":"LV","permalink":"Latvia","is_active":"1","continent":"1","created_at":"2009-04-07 05:30:05","color":"CC9C7A","capital_region_id":null,"can_create_party":"1"},"72":{"id":"72","name":"Lithuania","initials":"LT","permalink":"Lithuania","is_active":"1","continent":"1","created_at":"2009-04-07 06:25:42","color":"B8CC7A","capital_region_id":"665","can_create_party":"1"},"73":{"id":"73","name":"North Korea","initials":"KP","permalink":"North-Korea","is_active":"1","continent":"2","created_at":"2009-05-11 05:18:33","color":"306614","capital_region_id":"669","can_create_party":"1"},"74":{"id":"74","name":"Uruguay","initials":"UY","permalink":"Uruguay","is_active":"1","continent":"5","created_at":"2009-06-09 02:34:41","color":"957FFF","capital_region_id":"674","can_create_party":"1"},"75":{"id":"75","name":"Paraguay","initials":"PY","permalink":"Paraguay","is_active":"1","continent":"5","created_at":"2009-06-09 02:35:13","color":"211466","capital_region_id":null,"can_create_party":"1"},"76":{"id":"76","name":"Bolivia","initials":"BO","permalink":"Bolivia","is_active":"1","continent":"5","created_at":"2009-06-09 02:37:01","color":"14663C","capital_region_id":"680","can_create_party":"1"},"77":{"id":"77","name":"Peru","initials":"PE","permalink":"Peru","is_active":"1","continent":"5","created_at":"2009-06-09 02:38:10","color":"998C4C","capital_region_id":null,"can_create_party":"1"},"78":{"id":"78","name":"Colombia","initials":"CO","permalink":"Colombia","is_active":"1","continent":"5","created_at":"2009-06-09 02:39:21","color":"52A3CC","capital_region_id":"689","can_create_party":"1"},"79":{"id":"79","name":"Republic of Macedonia (FYROM)","initials":"MK","permalink":"Republic-of-Macedonia-FYROM","is_active":"1","continent":"1","created_at":"2010-10-07 00:00:00","color":"577D2F","capital_region_id":"695","can_create_party":"1"},"80":{"id":"80","name":"Montenegro","initials":"ME","permalink":"Montenegro","is_active":"1","continent":"1","created_at":"2010-10-07 00:00:00","color":"C9A22C","capital_region_id":"699","can_create_party":"1"},"81":{"id":"81","name":"Republic of China (Taiwan)","initials":"TW","permalink":"Republic-of-China-Taiwan","is_active":"1","continent":"2","created_at":"2010-10-07 00:00:00","color":"BEA2EB","capital_region_id":"701","can_create_party":"1"},"82":{"id":"82","name":"Cyprus","initials":"CY","permalink":"Cyprus","is_active":"1","continent":"1","created_at":"2010-10-07 00:00:00","color":"4802CE","capital_region_id":"705","can_create_party":"1"},"83":{"id":"83","name":"Belarus","initials":"BY","permalink":"Belarus","is_active":"1","continent":"1","created_at":"2010-10-07 00:00:00","color":"C91E5D","capital_region_id":null,"can_create_party":"1"},"84":{"id":"84","name":"New Zealand","initials":"NZ","permalink":"New-Zealand","is_active":"1","continent":"2","created_at":"2010-10-07 00:00:00","color":"D6D400","capital_region_id":"716","can_create_party":"1"},"164":{"id":"164","name":"Saudi Arabia","initials":"SA","permalink":"Saudi-Arabia","is_active":"1","continent":"2","created_at":"2011-01-17 00:00:00","color":"347235","capital_region_id":"729","can_create_party":"0"},"165":{"id":"165","name":"Egypt","initials":"RE","permalink":"Egypt","is_active":"1","continent":"3","created_at":"2011-01-17 00:00:00","color":"800517","capital_region_id":"732","can_create_party":"1"},"166":{"id":"166","name":"United Arab Emirates","initials":"AE","permalink":"United-Arab-Emirates","is_active":"1","continent":"2","created_at":"2011-01-17 00:00:00","color":"B93B8F","capital_region_id":"738","can_create_party":"1"},"167":{"id":"167","name":"Albania","initials":"AL","permalink":"Albania","is_active":"1","continent":"1","created_at":"2011-08-11 05:00:00","color":"B02B2C","capital_region_id":"744","can_create_party":"1"}},
onlySpectator : 0,
culture : 'en',
csrfToken : '2c253aab5e13ef69bdcb823bf070fbaf',
texts : {won_zone: 'won the previous battle', won_battle: 'won this campaign', yourHealth: 'Your health:', opponentHealth: 'Opponent health:', defenderHero: 'Our battle hero', attackerHero: 'Enemy battle hero'},
points : {defender: 1420 , attacker: 20},
initialLoad : true,
mission1Completed : true,
mission2Completed : true,
mission3Completed : true,
level : 30,
};
var regionsInvolved = {"14":{"361":{"id":"361","name":"Anhui","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Anhui","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"362":{"id":"362","name":"Fujian","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Fujian","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"363":{"id":"363","name":"Gansu","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Gansu","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"364":{"id":"364","name":"Guangdong","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Guangdong","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"368":{"id":"368","name":"Heilongjiang","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Heilongjiang","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"370":{"id":"370","name":"Hubei","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Hubei","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"371":{"id":"371","name":"Hunan","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Hunan","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"372":{"id":"372","name":"Jiangsu","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Jiangsu","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"373":{"id":"373","name":"Jiangxi","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Jiangxi","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"375":{"id":"375","name":"Liaoning","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Liaoning","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"377":{"id":"377","name":"Shaanxi","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Shaanxi","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"378":{"id":"378","name":"Shandong","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Shandong","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"379":{"id":"379","name":"Shanxi","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Shanxi","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"380":{"id":"380","name":"Sichuan","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Sichuan","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"381":{"id":"381","name":"Yunnan","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Yunnan","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"382":{"id":"382","name":"Zhejiang","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Zhejiang","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"384":{"id":"384","name":"Guizhou","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Guizhou","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"385":{"id":"385","name":"Hainan","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Hainan","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"386":{"id":"386","name":"Henan","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Henan","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"387":{"id":"387","name":"Jilin","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Jilin","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"389":{"id":"389","name":"Qinghai","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Qinghai","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"390":{"id":"390","name":"Guangxi","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Guangxi","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"391":{"id":"391","name":"Inner Mongolia","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Inner-Mongolia","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"392":{"id":"392","name":"Ningxia","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Ningxia","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"393":{"id":"393","name":"Xinjiang","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Xinjiang","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"394":{"id":"394","name":"Tibet","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Tibet","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"395":{"id":"395","name":"Beijing","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Beijing","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"396":{"id":"396","name":"Chongqing","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Chongqing","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"397":{"id":"397","name":"Shanghai","current_owner_country_id":"14","original_owner_country_id":"14","permalink":"Shanghai","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"459":{"id":"459","name":"North Eastern India","current_owner_country_id":"14","original_owner_country_id":"48","permalink":"North-Eastern-India","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"493":{"id":"493","name":"North-West Frontier Province","current_owner_country_id":"14","original_owner_country_id":"57","permalink":"North-West-Frontier","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"494":{"id":"494","name":"Punjab","current_owner_country_id":"14","original_owner_country_id":"57","permalink":"Punjab","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"495":{"id":"495","name":"Sindh","current_owner_country_id":"14","original_owner_country_id":"57","permalink":"Sindh","zone":"42","zoneId":"B4","distance":1,"travelCost":20},"519":{"id":"519","name":"Gyeonggi-do","current_owner_country_id":"14","original_owner_country_id":"47","permalink":"Gyeonggi","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"520":{"id":"520","name":"Gangwon-do","current_owner_country_id":"14","original_owner_country_id":"47","permalink":"Gangwon","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"522":{"id":"522","name":"Chungcheongnam-do","current_owner_country_id":"14","original_owner_country_id":"47","permalink":"Chungcheongnam","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"525":{"id":"525","name":"Gyeongsangbuk-do","current_owner_country_id":"14","original_owner_country_id":"47","permalink":"Gyeongsangbuk","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"526":{"id":"526","name":"Gyeongsangnam-do","current_owner_country_id":"14","original_owner_country_id":"47","permalink":"Gyeongsangnam","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"670":{"id":"670","name":"Hwangae","current_owner_country_id":"14","original_owner_country_id":"73","permalink":"Hwangae","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"671":{"id":"671","name":"Kangwon","current_owner_country_id":"14","original_owner_country_id":"73","permalink":"Kangwon","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"672":{"id":"672","name":"Hamgyong","current_owner_country_id":"14","original_owner_country_id":"73","permalink":"Hamgyong","zone":"52","zoneId":"B5","distance":2,"travelCost":40},"673":{"id":"673","name":"Ryanggang","current_owner_country_id":"14","original_owner_country_id":"73","permalink":"Ryanggang","zone":"52","zoneId":"B5","distance":2,"travelCost":40}}};
</script>
<style type="text/css">
.opacity_fix {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.erepublik.com/images/modules/pvp/weapons/weapon_q5.png', sizingMethod='scale');
}
.glow_fix {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.erepublik.com/images/modules/pvp/glow_warning2.png', sizingMethod='scale')
}
</style>
<input type="hidden" id="isFightMain" value="true"/>
<div id="pvp">
<div id="pvp_header">
<div class="country left_side">
<a href="javascript:;" title=""><img src="http://www.erepublik.com/images/flags_png/L/China.png" alt="" /></a>
<div>
<h3>China</h3>
<a id="defender_allies" href="javascript:;" class="none">
no allies <div class="allies_tooltip left_side">
<img src="http://www.erepublik.com/images/modules/pvp/tip.png" class="tip" alt="" />
<ul>
</ul>
<div class="clear"></div>
</div>
</a>
</div>
</div>
<div class="crowns no7 left_side"></div>
<h2>North-West Frontier Province</h2>
<img src="http://www.erepublik.com/images/modules/pvp/small_vs.png" class="small_vs" alt="" />
<div class="domination">
<div class="domibar" style="background-position:20% 0;">
<img src="http://www.erepublik.com/images/modules/pvp/blu_glow.png" id="blu_active" alt="" />
<img src="http://www.erepublik.com/images/modules/pvp/red_glow.png" id="red_active" alt="" />
<div id="left_points" class="points left_side" title="Country points">
<img src="http://www.erepublik.com/images/modules/pvp/blu_corners.png" alt="" />
<div id="left_counter_wrap">
<div id="left_counter"></div>
</div>
</div>
<div id="right_points" class="points right_side" title="Enemy country points">
<img src="http://www.erepublik.com/images/modules/pvp/red_corners.png" alt="" />
<div id="right_counter_wrap">
<div id="right_counter"></div>
</div>
</div>
<strong id="blue_domination" class="left_side">80%</strong>
<strong id="red_domination" class="right_side">20%</strong>
</div>
<div class="clock_holder">
<div id="battle_countdown" class="countdown_amount"></div>
</div>
<div class="mask left_side">
<ul id="left_attackers">
<li>
</li>
<li>
</li>
<li>
</li>
</ul>
</div>
<div class="mask right_side">
<ul id="right_attackers">
<li>
</li>
<li>
</li>
<li>
</li>
</ul>
</div>
</div>
<div class="country right_side">
<a href="javascript:;" title=""><img src="http://www.erepublik.com/images/flags_png/L/Pakistan.png" alt="" /></a>
<div>
<h3>Resistance Force Of Pakistan</h3>
<a id="attacker_allies" href="javascript:;" class="none">
no allies <div class="allies_tooltip right_side">
<img src="http://www.erepublik.com/images/modules/pvp/tip.png" class="tip" alt="" />
<ul>
</ul>
<div class="clear"></div>
</div>
</a>
</div>
</div>
<div class="crowns no0 right_side"></div>
<div title="Our battle hero"id="defenderHero" class="battle_hero left_side">
<div class="crown"></div>
<img src="" alt="" width="25" height="25" />
<small></small>
<strong></strong>
</div>
<div title="Enemy battle hero" id="attackerHero" class="battle_hero right_side">
<div class="crown"></div>
<img src="" alt="" width="25" height="25" />
<small></small>
<strong></strong>
</div>
</div>
<div id="pvp_battle_area">
<span class="drop_protect"></span>
<a href="javascript:;" title="" id="drop_part" class="part">
<span>
<p>
You found <strong id="part_name">1</strong>.<br />
Click to collect.
</p>
<img src="http://www.erepublik.com/images/modules/pvp/tip_down.png" alt="" />
</span>
<img id="part_icon" src="http://www.erepublik.com/images/parts/pixel.gif" alt="" />
</a>
<table width="100%" class="damage_aligner">
<tr>
<td>
<div id="total_damage" title="Your total war influence">
<small>My influence</small>
<strong>0</strong>
</div>
</td>
</tr>
</table>
<div class="player left_side">
<div class="head_tag">
<div class="avatar">
<img width="40" height="40" title="cozyhh" src="http://static.erepublik.com/uploads/avatars/Citizens/2010/04/30/a47e1aef8ff74382820a57dba18c54b6_55x55.jpg" alt="" />
</div>
<div class="progress">
<strong id="player_loss"> <span></span><small> health</small></strong>
<div id="player_life" title="Your health: 100.00" class="life " style="width:100.00%">
<img src="http://www.erepublik.com/images/modules/pvp/life_shadow.png" alt="" />
</div>
</div>
<div class="info">
<h4 title="cozyhh">cozyhh</h4>
<span>
<img id="fighter_skill_icon" src="http://www.erepublik.com/images/modules/pvp/small_strength.png" alt="" />
<strong id="fighter_skill">4,854<em></em></strong>
</span>
</div>
</div>
<div id="scroller" class="weapon selector">
<div class="listing">
<span>
<img src="/images/modules/pvp/weapons/weapon_q5.png" class="opacity_fix fighter_weapon_image" alt="" />
</span>
</div>
</div>
<a href="javascript:;" id="change_weapon" title="Change weapon"><span>Change weapon</span></a>
</div>
<div class="player right_side">
<div class="head_tag">
<div class="avatar">
<img id="enemy_avatar" title="bigSkenda" width="40" height="40" src="http://static.erepublik.com/uploads/avatars/Citizens/2009/09/10/775cd83abfd5d5ed4d33bdcbc762345c_55x55.jpg" alt="" />
<img id="enemy_country_flag" src="http://static.erepublik.com/images/flags/S/Pakistan.gif" class="flag" alt="" />
</div>
<div class="progress">
<strong id="enemy_loss"><span></span> <small>health</small></strong>
<div id="enemy_life" title="Opponent health: 100" class="life " style="width:100%">
<img src="http://www.erepublik.com/images/modules/pvp/life_shadow.png" alt="" />
</div>
</div>
<div class="info">
<h4 title="bigSkenda" id="enemy_name">bigSkenda</h4>
<span>
<img id="enemy_skill_icon" src="http://www.erepublik.com/images/modules/pvp/small_strength.png" alt="" />
<strong id="enemy_skill">3,936<em></em></strong>
</span>
</div>
</div>
<div id="hit_explosion"></div>
<div id="final_explosion"></div>
<div class="weapon">
<img id="enemy_weapon" src="/images/modules/pvp/weapons/weapon_q2.png" alt="" />
</div>
</div>
</div>
<div id="player_rank">
<div id="rank_icon" class="rank_icon" title="Military rank: Supreme Marshal ">
<img src="http://www.erepublik.com/images/modules/ranks/supreme_marshal_0.png" alt="" />
</div>
<div class="rank_holder">
<strong title="Next rank at: 3000000" id="rank_max"><span id="rank_min">2891892 rank points</span> </strong>
<div id="rank_status" class="rank_bar" style="width:75.976%">
<img src="http://www.erepublik.com/images/modules/pvp/life_shadow.png" alt="" />
</div>
</div>
</div>
<div id="pvp_actions">
<div id="no_food">
<a href="javascript:;" class="close" title="Close">Close</a>
<strong>No more food</strong>
<a href="http://economy.erepublik.com/en/market/14/1" class="fluid_green_small" title="Buy food from the Marketplace"><span>Buy food</span></a>
</div>
<div id="health_limit">
<a href="javascript:;" class="close" title="Close">Close</a>
<strong>Food limit reached</strong>
<p>You can recover 100 health every hour. <br />
To fight now buy health kits using gold.</p>
</div>
<div id="gold_warning">
<strong>Not enough gold</strong>
<a href="http://www.erepublik.com/en/get-gold/gold" class="get_gold" title="Get gold"><span>Get gold</span></a>
<div class="clear"></div>
<img src="http://www.erepublik.com/images/modules/pvp/tip_down.png" alt="" />
</div>
<div id="health_warning">
<strong>Health refill needed</strong>
<img src="http://www.erepublik.com/images/modules/pvp/tip_down.png" alt="" />
</div>
<div class="action_holder">
<div id="loader">
<img src="http://www.erepublik.com/images/modules/pvp/loader.gif" alt="" />
</div>
<div id="button_locker" class="locker">
<img src="http://www.erepublik.com/images/modules/pvp/busy_gif.gif" width="20" height="20" alt="" />
</div>
<a href="javascript:;" id="heal_btn" class="hospital_btn " title="Use Hospital">
<small>0</small>
Hospital <img class="cost" src="http://www.erepublik.com/images/modules/pvp/gold_cost.png" alt="" />
</a>
<div id="health_glow"><img class="glow_fix" src="http://www.erepublik.com/images/modules/pvp/glow_warning2.png" alt="" /></div>
<a href="javascript:;" class="fight_btn" id="fight_btn" title="Fight!">
Fight </a>
</div>
</div>
<img src="http://www.erepublik.com/images/modules/pvp/beta.png" class="beta_notice" alt="" />
<img src="http://www.erepublik.com/images/modules/pvp/beta_2.png" class="beta_notice_middle" alt="" />
<a href="javascript:;" id="go_stats" class="battle_stats_button" title="View battle statistics">Battle stats</a>
<a href="javascript:popup('http://www.erepublik.com/en/help/military')" class="help_button" title="Open help">Help</a>
<div id="tip_battle_hero" class="black_tip left_tip">
<span></span>
<strong>Battle Hero</strong>
<p>The citizen with the highest war influence so far</p>
</div>
<div id="tip_crowns" class="black_tip left_tip">
<span></span>
<strong>Battles won by each side</strong>
<p>Be the first to gain 8 victories to win the campaign.</p>
</div>
</div>
<div id="enemy_defeated" style="display:none" class="pop enemy_defeated">
<div class="heading">
<h2>Enemy Defeated</h2>
</div>
<div class="content">
<div>
<img class="symbol" src="http://www.erepublik.com/images/modules/pvp/war_effort.png" alt="" />
<strong>War influence</strong>
<big class="blued" id="war_influence">0</big>
</div>
<div id="natural_enemy_bonus" style="display:none">
<img class="symbol" src="http://www.erepublik.com/images/modules/pvp/natural_enemy_icon.png" alt="" />
<strong>Natural enemy bonus</strong>
<big class="blued" id="war_influence_natural_enemy">+ 10%</big>
</div>
<div>
<div class="symbol rank_holder">
<img id="current_rank_img" src="http://www.erepublik.com/images/modules/ranks/supreme_marshal_0.png" alt="" />
</div>
<strong>Rank points</strong>
<big id="rank_points">0</big>
</div>
<div>
<img class="symbol" src="http://www.erepublik.com/images/modules/pvp/xp_icon.png" alt="" />
<strong>Experience points</strong>
<big id="xp_points">0</big>
</div>
</div>
<a id="add_damage_btn" href="javascript:;" title="Add influence">Add influence</a>
</div>
<div id="rank_up" style="display:none" class="pop rank_up">
<div class="heading">
<img id="rank_up_img" src="http://www.erepublik.com/images/modules/ranks/supreme_marshal_0.png" class="next_rank" alt="" />
<p>Congratulations, your rank is now</p>
<h2 id="rank_up_name"></h2>
</div>
<div class="content">
<div>
<div class="symbol rank_holder">
<img id="rank_up_influence_img" src="http://www.erepublik.com/images/modules/ranks/supreme_marshal_0.png" alt="" />
</div>
<strong>Rank Bonus on attack</strong>
<big id="damage_power">+5%</big>
</div>
<div>
<img class="symbol" src="http://www.erepublik.com/images/modules/pvp/energy_bar.png" alt="" />
<strong>+1 Energy bar</strong>
</div>
</div>
<a id="add_rank_btn" href="javascript:;" title="Get reward">Get reward</a>
</div>
<div class="weapon_attributes">
<img class="tip" src="http://www.erepublik.com/images/modules/pvp/left_tip.png" alt="" />
<div class="wdamage">
<p>Fire power<strong>100</strong></p>
<div class="bar_progress">
<div class="progress" style="width:100%"></div>
</div>
</div>
<div class="wdurability">
<p>Durability<strong><span>5</span> uses</strong></p>
<div class="bar_progress">
<div class="progr<script src="//ajax.googleapis.com/ajax/libs/mootools/1.3/mootools-yui-compressed.js"></script>
Ready to run.
Test | Ops/sec | |
---|---|---|
t1 |
| ready |
t2 |
| ready |
| ready | |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.