var gwt_parameters={view:"registroUsuario"};
$(function(){doingFocusFirstInput.init()
});
function registrarUsuario(){$("#registroExplicitoSubmit").click()
}function fillUseTermPopUp(){var a=$(window).height()-150;
if(a<0){$("#privacyLiteralPopup p.popUpLoadContent").css("height","100px");
$("#privacyLiteralPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup p.popUpLoadContent").css("height","100px");
$("#useTermsPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup .wrapper").css("overflow-y","hidden")
}else{if(a>680){$("#privacyLiteralPopup p.popUpLoadContent").css("height","680px");
$("#privacyLiteralPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup p.popUpLoadContent").css("height","680px");
$("#useTermsPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup .wrapper").css("overflow-y","hidden")
}else{$("#privacyLiteralPopup p.popUpLoadContent").css("height",a+"px");
$("#privacyLiteralPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup p.popUpLoadContent").css("height",a+"px");
$("#useTermsPopup p.popUpLoadContent").css("overflow-y","auto");
$("#useTermsPopup .wrapper").css("overflow-y","hidden")
}}$("p.close a").click(function(){var b=$("#useTermsLink").offset().top-($(window).height()/2);
$("html, body").animate({scrollTop:b},"slow")
});
$("#useTermsPopup p.popUpLoadContent").html($("#useTermsLiteral").html());
$("#useTermsPopup").css("top","20px");
$("html, body").animate({scrollTop:0},"slow");
$("#useTermsPopup").center()
}$(function(){$("#privacyLiteralLink").click(function(){$("#privacyLiteralPopup p.popUpLoadContent").html($("#privacyLiteral").html());
$("#privacyLiteralPopup").css("top","20px");
$("#privacyLiteralPopup").css("display","block");
$("html, body").animate({scrollTop:0},"slow");
$("#privacyLiteralPopup").center()
})
});
