function replaceImage(img) {
    if (img.width == '1' && img.src.match(/\.01\./)) {
	img.src = '/images/no_image.THUMBZZZ.jpg';
    } else if (img.width == '1') {
	img.src = img.src.replace('.09.','.01.');
    }
}

function getOffers(asin) {
	new Ajax.Updater(asin, '/stronger/?action_offers=1&asin=' + asin,
		{
			method: 'get',
			parameters: asin,
			asynchronous: true,
			//evalScripts: true,
			onLoading: function(request) {
				var el = 's' + asin;
				var ll = 'l' + asin;
				$(el).style.display = 'inline';
				$(ll).style.display = 'none';				
			},
			onComplete: function(request) {
				var el = 's' + asin;
				$(el).style.display = 'none';
			}
         });
	return false;
}
