function framecheck()
{var parentframe = '../fr_index.html';

if (parent.location.href == self.location.href)
{var current = window.self.location.pathname;
window.location.replace (parentframe + '?' + current);}
}

