Public feed
#599114
function init()
{
chessboard = document.getElementById("chessboard");
chessboard.onmousedown = function(){ return false };
captured = document.getElementById("captured");
captured.onmousedown = function(){ return false };
var t = document.getElementsByTagName("td");
for (var d = 0;d<t.length;d++)
{
t[d].onmousedown = down;
t[d].onmouseup = up;
if (t[d].childNodes[0].data == '.') t[d].childNodes[0].data = ''; // fix for Konqueror 3.5.2 - repaints if a text node is initially "non empty" http://bugs.kde.org/show_bug.cgi?id=125715
setData(t[d],t[d].childNodes[0].data);
}
if (images && document.getElementById("images").value=="reset and switch to images") document.getElementById("images").value = "reset and switch to text";
}