if (top.location == self.location)
{//force to go to main page only
	var vUrl =top.location.toString();
	top.location =vUrl.substring(0, vUrl.indexOf('/', 10));
}