I'd like to compare Yahoo Ads with Google Ads and of course you can't mix Yahoo and Google Ads on the same page at the same time.

Can anyone think of an easy way to wrap the ad code to make it so that only Google ads or only Yahoo ads load on a page (in different content islands and also the header) 50%/50% percent of the time?