//Проверка на фреймы
var buttons = 0;

if(!top.frames[0])
{
	document.location.href = "\index.html";
}

function fOnUnload()
{
	top.waiter.Show();
	if(document.all)	
	{
		if(buttons != 0)
			buttons.Hide();
		if(parent && parent != top && parent.buttons != 0)
			parent.buttons.Hide();
	}
}
