document.domain="uol.com.br";

if (location.href.substring(location.href.indexOf('?')+1).match(/^http:\/\/.+?\.uol\.com\.br.+/)) {
	frameurl = location.href.substring(location.href.indexOf('?')+1)
} else {frameurl=""; location.href = "http://economia.uol.com.br" }

if (top.location.href.indexOf('http://economia.uol.com.br/iframefundos.jhtm')==-1) {
	top.location.href = "http://economia.uol.com.br/iframefundos.jhtm?" + location.href;
}
