function refresh_captcha()
{
	document.getElementById('captcha-image').innerHTML = '<img src="captcha.php?refresh=' + Math.random() + '" class="captcha-image" />';
}

