Florian Mayer defeated top-seeded Rafael Nadal in straight sets Thursday in third-round play of the Shanghai Masters tennis tournament. Mayer ousted Nadal 7-6 (7-5), 6-3. He missed out on a pair of break points when leading 5-4 in the first set but took the tiebreaker with an ace after a Nadal error put Mayer ahead. Mayer had the match\'s first break to go up 4-3 in the second set and finished the win with another break. Nadal did win 75 percent of the points on serve but failed to generate a single break-point opportunity Thursday. Second-seed Andy Murray, the defending Shanghai champion, got by Stanislas Wawrinka in a tight 6-4, 3-6, 6-3. Murray won only four more points (84-80) over the course of the match but was able to hang on after building a 5-1 lead in the third set. No. 3-seeded David Ferrer was also taken to three sets before claiming a 1-6, 7-5, 6-2 decision over Juan Carlos Ferrero. But Feliciano Lopez upset sixth-seeded Tomas Berdych 6-4, 6-4; 10th-seeded Andy Roddick ousted seventh-seeded Nicolas Almagro in straight sets; and Matthew Ebden eliminated No. 8-seeded Gilles Simon 6-2, 2-6, 7-6 (10-8). No. 12th-seeded Alexandr Dolgopolov rebounded for a 5-7, 6-1, 6-0 win over Bernard Tomic, and Kei Nishikori beat Santiago Giraldo 7-6 (8-6), 4-6, 6-3 in a match that involved a pair of unseeded players. Murray goes against Ebden and Dolgopolov meets Nishikori in quarterfinals on one half of the draw while the other half has Mayer playing Lopez and Ferrer going against Roddick.