rem:  if (column.length) { 
add:  if (item.length) { items = $('.collage-item', column); origin = $(item); } else if (column.length) { 
context: function triggerMove(event, direction) {    $ = event.data.jquery;    event.preventDefault();    var link = $(this);    link.blur();        var className = event.data.className;        var row = link.parents('.collage-row').eq(0);    var column = link.parents('.collage-column').eq(0);    var destination = null;    var origin = null;    var items = null;        if (column.length) {	items = $('.collage-column', row);	origin = $(column);    } else {	items = $('.collage-row');	origin = $(row);    }    var index = items.index(origin.get(0));    if (!(index+direction >= 0 && index+direction < items.length)) return false;        destination = $(items[index+direction]);    swap(origin, destination);    doSimpleQuery(link.attr('href'));    }
meta: 8994	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8994/29cd5c58f41dca83cb2d2430798573e74d3e76c2/collage.js/buggy/Products/Collage/skins/Collage/collage.js