function CheckFrames()
{	var strPage, strURL
	strPage = location.pathname + location.search
	strURL = strMyProtocol + "//" + location.hostname +
			"/index.asp?page=" + escape(strPage)

	if (location.search.length > 0)
		strURL.concat ("&amp;" + location.search.substring(1,location.search.substring.length-1))
	
	if ((window.name != "body") || (window.parent.name != "frameset") ||
		(location.protocol != strMyProtocol) || 
		(window.parent.parent.parent != window.parent.parent))
	{
		window.top.location.replace(strURL)
	}
}

