// JavaScript Document

window.addEvent('domready', function() {

	if ($('refreshCaptcha')) {
		$('refreshCaptcha').addEvent('click', function(event){event=new Event(event).stop();});
		$('refreshCaptcha').addEvent('click', function(){
			$('captchaImage').setProperty('src','/images/captcha.php?width=90&height=35&characters=4&request='+dateStamp());
		});
	}

});

function dateStamp() { var tmpDate = new Date(); return tmpDate.getTime(); }