captCounter = 0;
function newCapt()
{
	var pic = document.getElementById('capt');
	pic.src = "/capt.php?"+(++captCounter);
}