var message = "You Can't Click The Right Mouse Button !!!";

function click(e)
	{
		if (document.all)
			{
			    if (event.button == 2||event.button == 3)
			    {
			      alert(message);
			      return false;
			    }
			}

		if (document.layers)
			{
				if (e.which == 3)
				{
			      alert(message);
				  return false;
				}
			}
	}

if (document.layers)
	{
		 document.captureEvents(Event.MOUSEDOWN);
	}
document.onmousedown=click;


function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
} // end of th

function ChangeStatus(message) {
	window.status = message
	}
