function newCaptcha(captchamd5, basePath)
{
	var elem;
	if (!basePath) basePath = '/incl';

	if (document.getElementById)
	{
		elem = document.getElementById('captcha_id');
		if (elem)
		{
			elem.src = basePath + "/captcha_img.inc.php?captcha_id=" + captchamd5 + "&" + Math.random();
		}
	}
}