xcookie = 1;

function changeCaptcha()
{
	var e = document.getElementById('captid');
	if ( e != null ) {
		e.src= "captcha.php?"+xcookie+".png";
		xcookie++;
	}
}
