var cw = 4;
var ht = 15;
var wd = 15;
var dsize = 24;
var fsize = 16;
var grid = new Array(85, 78, 83, 87, 69, 69, 84, 69, 78, 69, 68, 0,  69, 71, 71, 
                     76, 0,  80, 0,  86, 0,  72, 0,  0,  78, 0,  76, 0,  65, 0,  
                     67, 72, 73, 78, 69, 83, 69, 0,  67, 69, 82, 69, 65, 76, 83, 
                     69, 0,  78, 0,  78, 0,  79, 0,  0,  82, 0,  71, 0,  76, 0,  
                     82, 69, 65, 83, 83, 85, 82, 73, 78, 71, 0,  85, 0,  79, 0,  
                     0,  0,  67, 0,  0,  0,  73, 0,  0,  73, 77, 77, 85, 78, 69, 
                     65, 83, 72, 0,  0,  0,  69, 0,  0,  83, 0,  69, 0,  0,  77, 
                     84, 0,  0,  67, 79, 78, 83, 85, 77, 69, 82, 83, 0,  0,  73, 
                     79, 0,  0,  65, 0,  85, 0,  0,  65, 0,  0,  0,  78, 69, 84, 
                     77, 85, 76, 76, 69, 84, 0,  0,  82, 0,  0,  0,  79, 0,  0,  
                     0,  78, 0,  79, 0,  82, 69, 83, 73, 83, 84, 65, 78, 67, 69, 
                     0,  84, 0,  82, 0,  73, 0,  0,  78, 0,  79, 0,  83, 0,  65, 
                     66, 82, 79, 73, 76, 69, 68, 0,  65, 68, 65, 80, 84, 69, 82, 
                     0,  85, 0,  69, 0,  78, 0,  0,  68, 0,  83, 0,  79, 0,  78, 
                     69, 69, 76, 0,  83, 84, 69, 82, 69, 79, 84, 89, 80, 69, 83);
var guess = new Array(225);
var nums = new Array(0, 2, 4, 6, 9, 12, 13, 26, 30, 38, 60, 84, 89, 90, 108, 110, 113, 132, 135, 136, 155, 160, 164, 180, 188, 210, 214);
var cluesA = new Array("1. United Nations sugar-coated? No (11)", "6. Scrambled geg? (3)", "9. Lower jaw points east, then south-east to find person from the east (7)", "10. Grains sound like they're produced in installments (7)", "11. Rage in USSR could be restoring confidence (10)", "12. I, two thousand Romans and a French take drug and become resistant to infection (6)", "14. Burnt bits in a shop (3)", "15. People who buy food and eat it (9)", "18. Mesh to catch fish doesn't sound gross (3)", "19. Fish with unfashionable haircut? (6)", "21. Opposition to strengthening exercise? (10)", "24. Cooked with oil in bred (7)", "25. Date arranged throughout Apr yields compatibility device (7)", "26. Remove skin, topless to catch long, slimy fish (3)", "27. The kinds of hi-fi you would expect? (11)");
var cluesD = new Array("1. Lesion in the mouth or stomach can be cruel (5)", "2. Twist into endless pain for edible leaves (7)", "3. 50/50 chance of not being odds (5)", "4. Ideas to clarify hero's tie (8)", "5. Green sei cut up to excite (8)", "7. Bile, not off. There's 8 pints of it (6)", "8. Muse around after lower limb to discover beans (7)", "13. Turn back time to give out (4)", "14. Austrian and Omani internet domains combine but can they be split (4)", "15. Mixing oracle with one gives a little bit of energy (7)", "16. A nourishing ingredient shows Utah and Rhode Island are in Nebraska and Tennessee is backward. (8)", "17. District attorney goes back into navy corps to make flavouring soak for food (8)", "18. Reversing pots with no French is never ending (7)", "20. Crazy nut on a French street? That's false (6)", "22. Raise a glass inside to a star (5)", "23. Beating snare gets the profit it deserves (5)");
