use top.location.href for iframe