function clickMatrix(x,y)
{
	document.matrix.x.value = x;
	document.matrix.y.value = y;
	document.matrix.submit();	
}