// JavaScript Document
function checkFrames(page)
{
	if(top.document.URL.indexOf("index.html") == -1 && top.document.URL.lastIndexOf('/') != top.document.URL.length - 1)
	{
		top.location.replace("index.html?page=" + page);
	}
}