function CheckFrame()
{
    if (top.location == self.location) {
        top.location = '/index.php?url=' + self.location;
    }
}