function loadHistory() {
	$.historyInit(processHistory);

	$('a[rel=history]').click(function(){
		var hash = this.href;
		hash = hash.replace(/^.*#/, '');
		$.historyLoad(hash);
		return false;
	});
}

function processHistory(hash)
{
	if(hash == 'credit-faq-form')
	{
		$('#your_captcha').val('');
		$('#your_captcha_img').attr('src','/plugins/feedback/kcaptcha/index.php?time=' + Math.random());
		$("div.feedback-popup").addClass("open-feedback");
		$('#message-result').html('').hide();
		return false;
	}
}
