try {
	if (parent.location.href == self.location.href) {
   		window.location.href = 'index.html';
	}
} catch (e) {
	eval(true);
}