﻿// JScript File

// td effect
    var marked_cell = new Array;
    function setPointer(theCell, CellNum, Action, thePointerColor)
	{

	if (Action == 'click') 
	{
	    if (marked_cell[CellNum] == true) 
	    {
		    marked_cell[CellNum] = false;
		    theCell.style.backgroundColor = '#FFFFFF';
	    } 
	    else 
	    {
		    marked_cell[CellNum] = true;
		    theCell.style.backgroundColor = '#FF0000';
	    }
	} 
	else 
	{
	    if (marked_cell[CellNum] == true) 
	    {
	    } 
	    else 
	    {
		    theCell.style.backgroundColor = thePointerColor;
	    }
	}

	return true;
}

function Back()
{
    history.back(-1);
}	
