U2QQ5UXXKU5XEH27NUYVOFOSHXO4KVYIL6UQ45KSPBYDDANAMIGQC
},
setupCardTileHighlightConnection: function(card_div, name) {
dojo.connect(card_div, 'mouseover', this, function (e) {
// First reset all others. A bit of a hack, so that if we lose a
// card in the UI (e.g. goes to discard), we are not stuck with
// the highlight. With this line, it does as soon as we want
// another highlight.
dojo.query('.locslot div.stockitem').removeClass('highlight');
dojo.addClass(this.tileDivsByName[name], 'highlight');
});
dojo.connect(card_div, 'mouseout', this, function (e) {
dojo.removeClass(this.tileDivsByName[name], 'highlight');
});
dojo.place('<div class="cardname casecard">' + _(this.gamedatas.cardinfos[card_type_id].name) + '</div>', card_div.id);
var name = this.gamedatas.cardinfos[card_type_id].name;
this.setupCardTileHighlightConnection(card_div, name);
dojo.place('<div class="cardname casecard">' + _(name) + '</div>', card_div.id);
dojo.place('<div class="cardname">' + _(this.gamedatas.cardinfos[card_type_id].name) + '</div>', card_div.id);
var name = this.gamedatas.cardinfos[card_type_id].name;
this.setupCardTileHighlightConnection(card_div, name);
dojo.place('<div class="cardname">' + _(name) + '</div>', card_div.id);