captchaN=0;
function showRecaptcha(element,n) {
	document.getElementById(element).style.display= "block";
	if (captchaN != n){
		
		if(captchaN!=0){
			nombreCapa="dynamic_recaptcha"+captchaN;
			document.getElementById(nombreCapa).innerHTML = "";	
		}
		Recaptcha.destroy();
	}
		captchaN = n;
		document.getElementById(element).innerHTML = "" +
				"<div id='recaptcha_div'>" +
				"	<div id='recaptcha_image'></div>" +
				"	<span id='recaptcha_challenge_field_holder' style='display: none;'>" +
				"		<input type='hidden' id='recaptcha_challenge_field' name='recaptcha_challenge_field'/>" +
				"	</span>" +
				"</div>" +
				"<div class='filaRecaptcha'>" +
				"<div class='recaptcha_capa_caja'>" +
				"	<input value='&#191;Qu&eacute; pone arriba&#63;' onfocus='vaciarInputText(\"&#191;Qu&eacute; pone arriba&#63;\",this);' class='recaptcha_caja' type='text' name='recaptcha_response_field' id='recaptcha_response_field' autocomplete='off'/>" +
				"</div>" +
				"	<div class='recaptcha_imagenes'>" +
				"		<div class='icono'><a href='javascript:Recaptcha.reload()'>" +
				"			<img src='http://www.umacon.com/elementos/recapcha_refresh.png'/>" +
				"		</a></div>" +
				"		<div class='icono'>" +
				"			<a href='javascript:Recaptcha.switch_type(\"audio\")' style='height: 13px;'>" +
				"				<img src='http://www.umacon.com/elementos/recapcha_voice.png'/>" +
				"			</a>" +
				"		</div>" +
				"		<div class='icono'><a href='javascript:Recaptcha.showhelp()' style='height: 13px;'>" +
				"			<img src='http://www.umacon.com/elementos/recapcha_info.png'/>" +
				"		</a></div>" +
				"	</div>" +
				"</div>";
		Recaptcha.create("6Lcf38ESAAAAAJONajiKdUKbEsEq8pui_xd6eZvq", 'recaptcha_div', {
		      theme: 'custom',
		      tabindex: 0,
		      custom_theme_widget : "recaptcha_div",
			  lang : "es"
		});
		

}
function vaciarInputText(textoInit,inpText){
	if(textoInit == inpText.value){
		inpText.value="";
	}
}


