if(typeof jQuery=="undefined")jQuery=function(){};if(typeof jQuery.classBehaviours=="undefined")jQuery.classBehaviours=function(){};if(typeof jQuery.classBehaviours.handlers=="undefined")jQuery.classBehaviours.handlers=function(){};jQuery.classBehaviours.handlers.openAsPrintable={name:"openAsPrintable",start:function(a){a.onclick=this.process},process:function(a){var b=typeof this.nodeName=="undefined"?a:this;if(document.getElementById("tgtPopTitle")){document.getElementById("tgtPopTitle").innerHTML=document.getElementById("content").getElementsByTagName("h1")[0].innerHTML;document.getElementById("tgtPopText").innerHTML=document.getElementById("content").innerHTML.indexOf("</h1>")>-1?document.getElementById("content").innerHTML.split("</h1>")[1]:document.getElementById("content").innerHTML.split("</H1>")[1];jQuery.classBehaviours.handlers.openLayerPopUp.show(document.getElementById("popup0"));setTimeout("window.print();",2048)}else window.print();return false}};if(typeof jQuery.fn!="undefined"){jQuery.fn.openAsPrintable=function(){return this.each(function(){jQuery.classBehaviours.handlers.openAsPrintable.start(this)})};$(document).ready(function(){$(".openAsPrintable").openAsPrintable()})}