var rtp = "http://www.exprofesso.fi/indexx.html";

if (window.name!='main' && !((self.innerHeight == 0) && (self.innerWidth == 0)))
	{
	rtp=rtp+"?"+window.location.href;
	top.location.href = rtp;
	}

