rem: card.top = card.top - 0 + CardPositioner.slideOffset; card.left = card.left - 0 + CardPositioner.slideOffset; 
add: card.top = card.top - 0 + Cards.cardSlideOffset; card.left = card.left - 0 + Cards.cardSlideOffset; 
context: function _createCardPile(elt) {  elt.isCard = false;  elt.isPile = true;  elt.isFoundation = false;  elt.isCell = false;  elt.isReserve = false;  elt.isStock = false;  elt.isWaste = false;    // for the animated move stack and the drag stack |source|  // is set to the pile the cards originally came from.  elt.source = elt;    if(elt.className=="card-fan-down") {    elt.getNextCardLeft = function() { return 0; };        elt.getNextCardTop = function() {      if(!this.hasChildNodes()) return 0;      return this.lastChild.top - 0 + (this.lastChild.faceUp() ? (this.offset || CardPositioner.faceUpOffset) : CardPositioner.faceDownOffset);    };        elt.positionCard = function(card) {      var prev = card.previousSibling;      if(prev)        card.top = prev.top - 0 + (prev.faceUp() ? (this.offset || CardPositioner.faceUpOffset) : CardPositioner.faceDownOffset);      else         card.top = 0;      card.left = 0;    };      } else if(elt.className=="card-slide") {    elt.getNextCardLeft = function() {      if(!this.hasChildNodes()) return 0;      // xxx: move slideOffset to |window| or |document|      return this.lastChild.left - 0 + ((this.childNodes.length < 6) ? CardPositioner.slideOffset : 0);    };        elt.getNextCardTop = function() {      if(!this.hasChildNodes()) return 0;      if(this.childNodes.length < 6)        return this.lastChild.top - 0 + CardPositioner.slideOffset;      return this.lastChild.top;    };    elt.positionCard =  function(card) {      var prev = card.previousSibling;      if(!prev) {        card.top = 0;        card.left = 0;        return;      }      card.top = prev.top;      card.left = prev.left;      if(this.childNodes.length < 6) {        card.top = card.top - 0 + CardPositioner.slideOffset;        card.left = card.left - 0 + CardPositioner.slideOffset;      }    };    } else {    elt.getNextCardLeft = function() { return 0; };    elt.getNextCardTop = function() { return 0; };    elt.positionCard = function(card) {      card.top = 0;      card.left = 0;    };  }  elt.addCard = function(card) {    this.appendChild(card);    this.positionCard(card);  };    // transfers the card and all those that follow it  // xxx: not in use yet  elt.transferCards = function(first) {    var next, card = first;    while(card) {      next = card.nextSibling;      card.parentNode.removeChild(card);      this.appendChild(card);      card = next;    }    CardPositioner.fixStack(this);  };    return elt;}
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/8a71de27d5efd7b98e135d1b2654438f84c50c0d/cardslib.js/clean/cardslib.js