if(typeof TGN=="undefined"){var TGN={}}TGN.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e++){f=b[e].split(".");g=TGN;for(c=(f[0]=="TGN")?1:0;c<f.length;c++){g[f[c]]=g[f[c]]||{};g=g[f[c]]}}return g};var $Anc=TGN.namespace("Ancestry");$Anc.ShowHide=function(b){var a=document.getElementById(b);if(a!=null){if(a.style.display=="block"){a.style.display="none"}else{a.style.display="block"}}};$Anc.PublishException=function(c,e,d,b){var a="/JavaScriptException.ashx?f="+escape(c)+"&m="+escape(e)+"&e="+escape(d)+"&js="+escape(b)+"&u="+escape(document.location.href);YAHOO.util.Get.script(a,{});if(typeof console!="undefined"){console.error("JavaScript Error: Feature: "+c+" Method: "+e+" Err: "+d+" JsFile: "+b)}if(document.location.href.indexOf("jsdebug=alert")>1){alert("JavaScript Error: \nFeature: "+c+" \nMethod: "+e+" \nErr: "+d+" \nJsFile: "+b)}if(document.location.href.indexOf("jsdebug=break")>1){throw"$Anc.PublishException: jsdebug=break"}};