if ((top == self) || (parent.frames[1].name != baFrameMain))
    top.location.href = '../ba/baFIndex.html?' + location.href;

