Added ASIN detection function.