I meant to bring this up several weeks ago, but if you haven't been to FiveThirtyEight.com you need to go. It's election analysis for math nerds. This excerpt from the site's FAQ says it all:
Firstly, we assign each poll a weighting based on that pollster's historical track record, the poll's sample size, and the recentness of the poll. More reliable polls are weighted more heavily in our averages.
Secondly, we include a regression estimate based on the demographics in each state among our 'polls', which helps to account for outlier polls and to keep the polling in its proper context.
Thirdly, we use an inferential process to compute a rolling trendline that allows us to adjust results in states that have not been polled recently and make them ‘current’.
Fourthly, we simulate the election 10,000 times for each site update in order to provide a probabilistic assessment of electoral outcomes based on a historical analysis of polling data since 1952.