<\/div><\/div>';document.getElementById("dynamicChildaltmet").appendChild(n)}function removekidaltmet(n){document.getElementById("dynamicChildaltmet").removeChild(n.parentNode);k--}function admSelectCheck(n){n?(admOptionValue=document.getElementById("admOption").value,document.getElementById("admDivCheck").style.display=admOptionValue==n.value?"block":"none"):document.getElementById("admDivCheck").style.display="none"}var k,selector;$(document).ready(function(){$('input[type="radio"]').click(function(){$(this).attr("id")=="show-advance-directive"?$("#advance-directive-holder").show():$("#advance-directive-holder").hide()});$('input[type="radio"]').click(function(){$(this).attr("id")=="show-hospitalized"?$("#hospitalized-holder").show():$("#hospitalized-holder").hide()})});k=1;$(document).ready(function(){$('input[type="radio"]').click(function(){var t=$(this).attr("value"),n=$("."+t);$(".box").not(n).hide();$(n).show()})});selector=".xss-handler";$(document).on("keypress",selector,function(n){var t=n.keyCode?n.keyCode:n.which;if(t=="60"||t=="62"||t=="63")return n.stopPropagation(),n.preventDefault(),!1});$(document).on("focusout",selector,function(n){var t=n.target;t.value.indexOf("script")!=-1&&(t.value=t.value.replace(/<\/script>/g,""),t.value=t.value.replace(/