1<!DOCTYPE HTML>
2<html>
3
4<!--
5  pgn4web javascript chessboard
6  copyright (C) 2009-2014 Paolo Casaschi
7  see README file and http://pgn4web.casaschi.net
8  for credits, license and more details
9-->
10
11<head>
12
13<title>The Week In Chess #944</title>
14
15<link href="twic944.css" type="text/css" rel="stylesheet" />
16
17<link rel="icon" sizes="16x16" href="pawn.ico" />
18
19<script src="pgn4web.js" type="text/javascript"></script>
20
21<script src="fide-lookup.js" type="text/javascript"></script>
22
23<script type="text/javascript">
24   "use strict";
25
26   SetPgnUrl("twic944.pgn");
27   SetImagePath("images/merida/36");
28   SetImageType("png");
29   SetHighlightOption(true);
30   SetGameSelectorOptions(" Event         Site          Rd  White            Black            Res  Date", true, 12, 12, 2, 15, 15, 3, 10); // (head, num, chEvent, chSite, chRound, chWhite, chBlack, chResult, chDate);
31   SetCommentsIntoMoveText(false);
32   SetCommentsOnSeparateLines(true);
33   SetAutoplayDelay(1000); // milliseconds
34   SetAutostartAutoplay(false);
35   SetAutoplayNextGame(false);
36   SetInitialGame(55);
37   SetInitialVariation(0);
38   SetInitialHalfmove(71);
39   SetShortcutKeysEnabled(true);
40
41   function customFunctionOnPgnTextLoad() { document.getElementById('numGm').innerHTML = numberOfGames; }
42
43   function customFunctionOnPgnGameLoad() {
44     var theObj;
45     document.getElementById('currGm').innerHTML = currentGame+1;
46     customPgnHeaderTag('WhiteTitle', 'GameWhiteTitle');
47     customPgnHeaderTag('WhiteElo', 'GameWhiteElo');
48     customPgnHeaderTag('BlackTitle', 'GameBlackTitle');
49     customPgnHeaderTag('BlackElo', 'GameBlackElo');
50     customPgnHeaderTag('ECO', 'GameECO');
51     customPgnHeaderTag('Opening', 'GameOpening');
52     if (theObj = document.getElementById('GameOpening')) { theObj.innerHTML = fixCommentForDisplay(theObj.innerHTML); }
53     customPgnHeaderTag('Variation', 'GameVariation');
54     if (theObj = document.getElementById('GameVariation')) { theObj.innerHTML = fixCommentForDisplay(theObj.innerHTML); }
55     customPgnHeaderTag('Result', 'ResultAtGametextEnd');
56   }
57
58   // customShortcutKey_Shift_1 defined by fide-lookup.js
59   // customShortcutKey_Shift_2 defined by fide-lookup.js
60
61   function searchPlayer(name, FideId) {
62     if (typeof(openFidePlayerUrl) == "function") { openFidePlayerUrl(name, FideId); }
63   }
64
65</script>
66
67</head>
68
69<body>
70
71<!-- paste your PGN below and make sure you dont specify an external source with SetPgnUrl() -->
72<form style="display: none;"><textarea style="display: none;" id="pgnText">
73
74</textarea></form>
75<!-- paste your PGN above and make sure you dont specify an external source with SetPgnUrl() -->
76
77<div style="font-weight: bold; font-size: 200%; text-align: center;">
78<a href="http://www.theweekinchess.com/html/twic944.html" target="_blank">
79&nbsp;<br>
80The Week In Chess #944
81</a>
82</div>
83<p></p>
84
85<table width="100%" cellspacing="25" cellpadding="0">
86
87<tr valign="bottom">
88
89<td colspan="2" align="center">
90<div class="label" style="text-align: right; font-size: 66%;">
91game:<span id=currGm>0</span>/<span id=numGm>0</span>
92</div>
93<div id="GameSelector"></div>
94<div id="GameSearch" style="white-space:nowrap;"></div>
95</td>
96
97</tr>
98
99<tr valign="top">
100
101<td style="font-size: 85%;" align="center" width="366">
102<div id="GameBoard"><span class="loading">...loading PGN data...</span></div>
103<p></p>
104<div id="GameButtons"></div>
105</td>
106
107<td style="font-size: 85%;">
108
109<span class="label">Date:</span> <span id="GameDate"></span>
110<br>
111<span class="label">Site:</span> <span id="GameSite"></span>
112<p></p>
113<span class="label">Event:</span> <span id="GameEvent"></span>
114<br>
115<span class="label">Round:</span> <span id="GameRound"></span>
116<p></p>
117<span class="label">White:</span> <a id="GameWhite" href="javascript:void(0);" onclick="searchPlayer(this.innerHTML, customPgnHeaderTag('WhiteFideId')); this.blur();"></a>&nbsp; &nbsp;<span id="GameWhiteElo"></span>&nbsp; &nbsp;<span id="GameWhiteTitle"></span>
118<br>
119<span class="label">Black:</span> <a id="GameBlack" href="javascript:void(0);" onclick="searchPlayer(this.innerHTML, customPgnHeaderTag('BlackFideId')); this.blur();"></a></span>&nbsp; &nbsp;<span id="GameBlackElo"></span>&nbsp; &nbsp;<span id="GameBlackTitle"></span>
120<p></p>
121<span class="label">Result:</span> <span id="GameResult"></span>
122<p></p>
123<span class="label">Opening:</span> <span id="GameECO"></span>&nbsp; &nbsp;<span id="GameOpening"></span>&nbsp; &nbsp;<span id="GameVariation"></span>
124<!--
125<p></p>
126<span class="label">Side to move:</span> <span id="GameSideToMove"></span>
127<br>
128<span class="label">Last move:</span> <span class="move" id="GameLastMove"></span>
129<br>
130<span class="label">Next move:</span> <span class="move" id="GameNextMove"></span>
131<p></p>
132<span class="label">Move comment:</span><br><span id="GameLastComment"></span>
133-->
134<p></p>
135<div style="text-align: justify;"><span id="GameText"></span>&nbsp;<span class="move" style="white-space: nowrap;" id="ResultAtGametextEnd"></span></div>
136
137</td>
138
139</tr>
140</table>
141
142<br>
143
144</body>
145
146</html>
147