function GetInstructions(){

return(' <div class="styleInstructions"><h1>How to play Badger Kingdom</h1><p>Badger Kingdom simulates the life of a group (or clan) of badgers. </p><p> As the player, your goal is to keep the clan healthy and happy by managing the badgers and their territory.</p><h2>The screen</h2><img src="images/screen1.jpg"/><p>On the left is a 10x10 map with areas of different kinds - grass, woods, scrub, roads and houses. The clan\'s sett (their home) is in the middle left. The buttons at the bottom right change the contents of this section.</p><br/><img src="images/screen2.jpg"/><p>This is where the current season is displayed and the current score. It also shows the number of badgers in the foraging party, how much food they will find and the percentage of badgers that may come to harm in the process.</p><br/><img src="images/screen3.jpg"/><p>This table shows the badgers in the clan - their age, sex, current health and a comment about them.  Each badger is named but you can change the names or simply use the box to make notes for that badger.</p><br/><img src="images/screen4.jpg"/><p>This is where reports are shown.</p><br/><img src="images/screen5.jpg"/><p>These are the buttons that control play. The button marked \'Next season\' ends the current season and advances the game. You may quit the game at any time by pressing \'Quit.\'  These instructions can be brought up at any time by pressing \'Instructions.\' If \'Table\' is pressed the badger table is displayed in the larger map area. If the table or the instructions are showing, the \'Map\' button will redisplay the map.</p><h2>Start playing</h2><p>There are only three things to do in the game. <ol><li> Select areas where the badgers go to forage for food.<li>Select badgers to join the forage party and go foraging.<li>Advance the game to the next season.</ol></p><p> Each season you must select areas for the clan to forage for food. To do that, simply select any part of the map marked with a square.  When you have made your choice, click on it. A badger will appear in the selected square to indicate that area will be foraged by the clan. Click again to remove the badger if you change your mind.</p><p> The location of the white squares depends on the areas that were foraged last season. The area that was foraged is available, plus the areas above, below and to the sides.</p><p>You will notice that there are also red badgers on the map. These are the areas rival badger clans are foraging. Occasionally an area will be selected for foraging that has also been selected by the red badger clan. This will cause a dispute and the winning clan will take the food from that area. Encounters with other clans may lead to transfers of badgers from one clan to the other.<p>Venturing into urban areas can be dangerous. Many badgers are killed on the roads, while human habitation may hold increased dangers for the badger.</p><p>When the mouse pointer is paused over an area on the map, food and danger valuse are displayed. The food value shows the number of badgers the area will sustain. It also shows the danger level that may be encountered. The amount of risk being taken by the foraging badgers is the total of the danger values from all the foraged areas put together.</p><h2>Forage setting</h2><p>It is possible to set a badger to go foraging or to stay in the sett. A badger will go foraging if it has a ticked checkbox under the forage column in the table. </p><p>A badger that stays in the sett forages in that territory only and will not face the same level of risk as the other badgers. This is a method of preserving the life of a special badger, or younger members of the clan who are particularly vulnerable.</p></p>For the first season after birth, a cub will be suckled by its mother and doesn\'t need to go foraging. Badgers automatically join the foraging party when they are old enough at 4 months. However, they do face an increased risk by doing so.<p><h2>Game over</h2><p>There is no victory condition to end the game. Success is keeping the clan going indefinitely. However, if all the badgers die, you have lost.</p><p>Please report bugs and crashes here:<a href="mailto:admin@pantomimepony.co.uk">admin@pantomimepony.co.uk</a></p><p> The game can usually be restarted by clicking refresh in your browser.</p><hr /><p>Badger Kingdom Version 2.0</p><p>Copyright Alexander Martin, Pantomimepony, 2003-2007</p>  </div> ');
}

function GetGameOverReport(){

return(' <div class="styleInstructions"><h1>GAME OVER</h1><p>You have failed to manage the clan correctly. As a result, the entire clan has perished.</p><h2>You scored:'+game.score+' points</h2><p>Maybe you\'ll do better next time. </p> <input type="button" class="btn" id="but6" value="Play again" onclick="RestartGame();"> <input type="button" id="but7" value="Quit" class="btn" onclick="quit();"></div> ');
}

