ん?
location.href = 'http://amazon.jp/dp/' + document.getElementById('ASIN').value;