
locEmptyTxt = '(jump to location)';
grpChatEmptyTxt = '(broadcast message to players)';
allyEmptyTxt = '(search contacts)';

GMAPfirstCellBubble = "<font style='color:black;'><b>Congratulations!</b>  This is your first cell. <br><br>This cell was randomly selected from your selected region.<br>If this is not the cell you desired, you can still purchase that<br>cell after you complete the tutorial.</font>";

MSGwinPopFail = 'Cannot open Profiles window. Allow popups from WWW.BATTLECELL.COM or manually open the Profiles window via the Headquarters screen.';

titleWwMapInstr = 'Double-click color areas to zoom.';

NOTICE_GC_LOW = 'Global Bank: low balance warning. Play BattleCell Arena to earn more Global Credits.';

TR_TUT_STEP0  = '~Welcome.~ I am Lazarus Alpha.~ I am a product of the Lazarus artificial intelligence research initiative within the military conglomerate, Section 6.~ My objective is to monitor global communications and provide you with the strategic intelligence you need to defeat the rogue Lazarus Kappa agent.~ ';
TR_TUT_STEP1  = '~My last contact had to interrupt her briefing and flee...~ Lazarus Kappa sentinels tracked her location.~ You are my new contact...~ ...~ ...~ ...~ ...but you have no operating base!~ Follow the instructions to obtain a secure cell anywhere in the world.~ Complete steps 1 and 2 now.~~';
TR_TUT_STEP1A = '<DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 303px; left: 619px;"><DIV CLASS="tutorialCircle1" STYLE="top:7px;left:5px;"></DIV><DIV CLASS="tutorialHelpText1">Open the global map and navigate to the desired coordinates.<BR><BR>Click desired coordinate to jump to that location.</DIV></DIV><DIV CLASS="atut210 tutorialAux" STYLE="left: 845px; top: 320px;"></DIV><DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 365px; left: 5px;"><DIV CLASS="tutorialCircle2" STYLE="top:7px;left:5px;"></DIV><DIV CLASS="tutorialHelpText1">Select a cell in the desired region on the map and click <B>[GET MY FIRST CELL]</B> to claim your cell.</DIV></DIV><DIV CLASS="atut120 tutorialAux" STYLE="left: 60px; top: 410px;"></DIV>';
TR_TUT_STEP2  = '~Alert!~~ Alert!~~ It seems that Lazarus Kappa has pinpointed your newly secured cell.~ It has mobilized some forces, though they seem disorganized at the moment.~ Buy 10 additional troops on your cell and conquer the neighboring enemy cells!~ (NOTE: Troops consume credits! Cells with more troops produce fewer daily credits.)~~';
TR_TUT_STEP2A = '<DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 305px; left: 5px;"><DIV CLASS="tutorialCircle1" STYLE="top:7px;left:5px;"></DIV><DIV CLASS="tutorialHelpText1"><B>Buy Troops:</B> Click your cell and press <B>[t]</B> for troop purchase. Press <B>[x]</B> / <B>[z]</B> or click the numbers to set the <SPAN STYLE="color: #FF0000">red</SPAN> counter to 10. Press <B>[space]</B> or click [confirm] to finalize purchase.</DIV></DIV><DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 390px; left: 5px;"><DIV CLASS="tutorialCircle2" STYLE="top:7px;left:5px;"></DIV><DIV CLASS="tutorialHelpText1"><B>Attack Cells:</B> Select your cell and press <B>[a]</B> to attack. Click adjacent cell to attack it. Repeat adjacent clicks as necessary. Transfer all troops to newly conquered cell. Repeat attack.</DIV></DIV>';
TR_TUT_STEP3  = '~The Info Pane provides cell details.~ Click the silver shuttles to slide them and access additional data on the Info Pane.~ You can also press the [home], [page up], [page down], and [end] buttons to toggle between Info Pane details.~~';
TR_TUT_STEP3A = '<DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 222px; left: 205px; height: 20px;"><DIV CLASS="tutorialHelpText2"><B>Troop Count:</B> number of troops on the cell</DIV></DIV><DIV CLASS="atut90 tutorialAux" STYLE="left: 570px; top: 220px;"></DIV><DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 317px; left: 205px; height: 20px;"><DIV CLASS="tutorialHelpText2"><B>Altitude:</B> cell altitude above sea level in meters</DIV></DIV><DIV CLASS="atut90 tutorialAux" STYLE="left: 570px; top: 315px;"></DIV><DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 414px; left: 205px; height: 20px;"><DIV CLASS="tutorialHelpText2"><B>Credits:</B> number of credits available to spend</DIV></DIV><DIV CLASS="atut90 tutorialAux" STYLE="left: 570px; top: 412px;"></DIV>';
TR_TUT_STEP4  = '~At the bottom are the Action and the View panes.~ Click the various icons on the blue Action pane to initiate map actions.~ Click one of the four icons on the yellow View pane to change map views.~ Most actions on this console may be accessed via keyboard shortcuts.~ Pres shift+[g] to see a list of the available shortcuts.~~';
TR_TUT_STEP4A = '<DIV CLASS="atut150 tutorialAux" STYLE="left: 140px; top: 330px;"></DIV><DIV CLASS="atut210 tutorialAux" STYLE="left: 520px; top: 330px;"></DIV>';
TR_TUT_STEP5  = '~Each cell with 0 troops produces 6 Normal Credits per day by default.~ But, a cell with 20 troops produces only 1 Credit per day.~ You want to grow your cell count as quickly as possible.~~ I see you have XX Global Credits in your Global Bank account.~ A new cell costs 10 credits.~ You should buy another cell with your Global Credits.~~';
TR_TUT_STEP5A = '<DIV CLASS="tutorialHelpBubble tutorialAux" STYLE="top: 335px; left: 5px; height: 120px;"><DIV CLASS="tutorialCircle1" STYLE="top:7px;left:5px;"></DIV><DIV CLASS="tutorialHelpText1"><B>Buy Cell:</B> Click an adjacent gray unowned cell and press <B>[c]</B> to initiate cell purchase.<BR><BR>Click the checkbox on the right to purchase the cell using Global Credits.<BR><BR>Press <B>[space]</B> or click [confirm] to finalize the purchase.</DIV></DIV>';
TR_TUT_STEP6  = '~You can contact me at anytime via the messaging pane on the left.~ Press the [tab] key to open and close this pane.~ If you\'re not sure what to say to me, just type "help" and hit [enter]. I\'ll see what I can do.~~';
TR_TUT_STEP6A = '<DIV CLASS="atut270 tutorialAux" STYLE="left: 150px; top: 179px;"></DIV>';
TR_TUT_STEP7  = '~Build a city.~ Every city you complete immediately provides 20 credits for cells, troops and other items.~ To complete a city, you must utilize at least 90% of the cell land.~ If you run out of funds, then your city has failed.~ Reset the city and try again.~ Press shift+[u] to build a city now.~~';

A_TUT_STEP1 = '<b>Game Timer</b><br><br>This is a timed game. Bot games last 10 minutes. Multi-player games last 55 minutes. Game ends when timer reaches 00:00:00.<br><br>The player with the most cells wins.<br><br><table style="border: none; width: 97%;"><tr><td></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(2);" value=" Next "></td></tr></table>';
A_TUT_STEP2 = '<b>Find Location</b><br><br>Click the world map to jump anywhere in the world.<br><br>Stay close to shore. Arena cells exist only near the coast.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(1);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(3);" value=" Next "></td></tr></table>';
A_TUT_STEP3 = '<b>Start Game</b><br><br>Select an empty (non-colored) cell on the map.<br><br>Click <b>[SET ARENA CENTER]</b> in the action pane below to start the game.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(2);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(4);" value=" Next "></td></tr></table>';
A_TUT_STEP4 = '<b>Map Views</b><br><br>Different map views show different cell details.<br>Click the (<img src="/images/skins/fb/03_UI_Military_View_Icon_Unlit_483,535.png" style="position: relative; top: 10px;">) icon to switch to the military view.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(3);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(5);" value=" Next "></td></tr></table>';
A_TUT_STEP5 = '<b>Cell Details</b><br><br>The Info Pane provides cell details. The 3 most important ones are marked with arrows, from top to bottom:<br><br><b>troop count:</b> shows the troop count in the cell<br><br><b>altitude:</b> shows the cell altitude in meters<br><br><b>credits:</b> shows how many credits are on cell<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(4);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(6);" value=" Next "></td></tr></table>';
A_TUT_STEP6 = '<b>Buy Troops</b><br><br>Your cells are the green cells. ( <span style="background-color: #4A9100;">&nbsp; &nbsp; &nbsp; &nbsp;</span> ) Click one of your cells to select it.<br>1. Click the troop menu icon. (<img src="/images/skins/fb/03_UI_Troop_Icon_Unlit_236,539.png" style="position: relative; top: 10px;">)<br><br>2. Click the buy troops icon. (<img src="/images/skins/fb/03_UI_ACQUIRE_Troops_UNLIT.png" style="position: relative; top: 10px;">)<br><br>3. Click the yellow/red numbers to set the red number troops to buy.<br><br>4. Click confirm.<br><br>More troops provide a military advantage. But, cells with more than 20 troops lose a soldier every minute until there are only 20 left.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(5);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(7);" value=" Next "></td></tr></table>';
A_TUT_STEP7 = '<b>Attack Enemy</b><br><br>Select one of your cells that is next to an enemy cell.<br>1. Click the troop menu icon. (<img src="/images/skins/fb/03_UI_Troop_Icon_Unlit_236,539.png" style="position: relative; top: 10px;">)<br>2. Now, click the attack icon. (<img src="/images/skins/fb/03_UI_Actions_Attack_Unlit.png" style="position: relative; top: 8px;">)<br><br>Your cell is ready to attack.<BR><BR>3. Click an adjacent enemy cell to launch one attack round.<BR><BR>The yellow/red numbers show remaining troops on the attacking/defending cells.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(6);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(8);" value=" Next "></td></tr></table>';
A_TUT_STEP8 = '<b>Move Troops</b><br><br>Select one of your cells.<br>1. Click the troop menu icon. (<img src="/images/skins/fb/03_UI_Troop_Icon_Unlit_236,539.png" style="position: relative; top: 10px;">)<br>2. Now click the move icon. (<img src="/images/skins/fb/03_UI_Actions_Move_Unlit.png" style="position: relative; top: 8px;">)<br><br>3. Set the number of troops to move.<br><br>4. Click another cell you own to set destination.<br><br>5. Click Confirm.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(7);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(9);" value=" Next "></td></tr></table>';
A_TUT_STEP9 = '<b>Ships</b><br><br>Ships are similar to troops.<br><br>You can: buy ships on shore cells, load and unload troops, and move ships to other shore cells.<br><br>Ships arriving at enemy cells will automatically attack.<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(8);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(10);" value=" Next "></td></tr></table>';
A_TUT_STEP10 = '<b>Nuclear Booby Traps</b><br>Plant a Nuke on one of your cells. (<img src="/images/skins/fb/03_UI_ACQUIRE_Radioactive_Trap_UNLIT.png" style="position: relative; top: 8px;">)<br><br>When an enemy takes the cell, the nuke explodes.<br><br>Nukes destroy an area of 5 by 5 cells. Nukes are invisible to other players. You get one nuke free in each game. You can deploy additional nukes from your stockpile.<br><br>Get stockpile nukes from your friends. Your rank determines how many nukes you can deploy in each game. (click Guide in the navigation menu at the top for additional details)<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(9);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(11);" value=" Next "></td></tr></table>';
A_TUT_STEP11 = '<b>Ally Units</b><br><br>Place cannons near your borders<br><br>1. Click the green cannon icon.<br><br>2. Click a cell near enemy lines to place cannon.<br><br>The cannon fires automatically until all enemy cells within range are destroyed<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(10);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(12);" value=" Next "></td></tr></table>';
A_TUT_STEP12 = '<b>Strategy Tips</b><br><br>1. Buy troops before attacking. The more troops you start with, the fewer you will lose.<br><br>2. Use the MILITARY VIEW to identify weak enemy cells. Attack those cells.<br><br>3. Bring troops from rear cells to reinforce your border cells.<br><br>4. Sometimes the best strategy is to wait for the enemy to attack first.<br><br>(click Guide in the navigation menu at the top-right for more)<br><br><table style="border: none; width: 97%;"><tr><td><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(11);" value=" Previous "></td><td style="text-align: right;"><input class="bcButBlack pointerhand" type="button" onclick="arena_tut(13);" value=" Close "></td></tr></table>';

