Wilson, Chris M (2009): Market frictions: A unified model of search and switching costs. Unpublished.