$(function(){
	$('.ui-state-default').hover(function () {
		$(this).toggleClass("ui-state-hover");
	});
});

function parseAccents(string) {
	//vowels
	string = string.replace(/%C3%A1/g,"á");
	string = string.replace(/%C3%A9/g,"é");
	string = string.replace(/%C3%AD/g,"í");
	string = string.replace(/%C3%B3/g,"ó");
	string = string.replace(/%C3%BA/g,"ú");
	//consonants
	string = string.replace(/%C3%B1/g,"ñ");
	
	return string;
}
