btn.style.left = asta_xarr[i % 3];
btn.style.top = parseInt(i / 3) * 50 + 24;
btn.src = "img/astalascio"+lng+".png";
- btn.style.visibility = "visible";
+ btn.style.visibility = "";
btn.onclick = function () { safelascio(); };
}
else {
show_astat(-2,-2,-2,-2,-2);
set_iscalling(-1);
- for (i=0 ; i < 8 ; i++) {
+ for (i=0 ; i < CARD_HAND ; i++) {
Drag.init($("card" + i), card_mouseup_cb);
for (e = 0 ; e < PLAYERS_N ; e++)
$("card"+sux[e]+i).style.visibility = "hidden";
$("takes"+sux[i]).style.visibility = "hidden";
}
- for (i = 0 ; i < 8 ; i++) {
+ for (i=0 ; i < CARD_HAND ; i++) {
cards_pos[i] = i;
cards_ea_pos[i] = i;
cards_ne_pos[i] = i;