rem: card = this.stock.lastChild; 
add: card = this.stock.lastChild; 
context: Golf.autoplayMove = function() {	var card = this.stock.lastChild;	if(card && card.faceUp()) {  // We must have just flipped it... see below...		card.moveTo(this.foundation);		this.trackMove("dealt-from-stock", null, null);		return true;	}	var allEmpty = true;	// If there are no moveable cards move a card from the stock to the foundation	// (Any possible moves might be delayed as strategy otherwise...)	for(var i = 0; i<7; i++) {		card = this.stacks[i].lastChild;		if(card) {		  allEmpty = false;			if(this.canMoveTo(card, this.foundation))				return false;		}	}	  // dealFromStock doesn't animate, so it's easy to miss...  we can do it ourself	card = this.stock.lastChild;  // If we want to move a card, first we'll flip it, then next autoplay will move it.	if(card) { 		card.turnFaceUp();		return true;	}	return false;};
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/66d74ea71196b9e74b97e01a3cc0a139a5f4f580/golf.js/buggy/golf.js