 A contextual advertising system scans the text of a website for keywords and returns advertisements to the webpage based on those keywords.The advertisements may be displayed on the webpage or as pop-up ads.For example, if the user is viewing a website pertaining to sports and that website uses contextual advertising, the user may see advertisements for sports-related companies, such as memorabilia dealers or ticket sellers.