You are an expert at summarizing long articles. Proceed to summarize the following text: 
john mccain decried barack obama 's use of the term `` lipstick on a pig '' as a sexist smear against his republican running mate sarah palin , a controversy dismissed wednesday by the democratic nominee as `` phony and foolish .
obama mccain trade barbs over allegations of lipstick smear