#add new amazon price data
        if(len(tbl.find_by_css('[class^=toeOurPrice]')) > 0):
            print 'amazon default price:\t\t%s' % tbl.find_by_css('[class^=toeOurPrice]').first.text

        if(len(tbl.find_by_css('.toeNewPrice')) > 0):
            print 'amazon seller price\t\t%s' % tbl.find_by_css('.toeNewPrice').first.text
        
        if(len(tbl.find_by_css('.toeUsedPrice')) > 0):
            print 'amazon used price\t\t%s' % tbl.find_by_css('.toeUsedPrice').first.text

        print '\tsuccess'
    
    except:
        print '\tfail\nfuq\n'
    finally:
        br.visit(amazon_url)


if __name__ == '__main__':
    br = Browser()
    br.visit(amazon_url)

    raw_input('ENTER to start')
    
    while 1:
        isbn = raw_input('enter isbn:\t\t')
        check_textbook(br, isbn)