
var numPages = 0;

function IncreaseHistory()
{
	numPages++;
}

function DecreseHistory()
{
	numPages--;
	history.back(0);
}

function SetHistoryCount(count)
{
	numPages = count;
}

function GetHistoryCount()
{
	return numPages;
}