;(function(g){function k(c){c&&c.printPage?c.printPage():setTimeout(function(){k(c)},50)}function l(c){c=a(c);a(":checked",c).each(function(){this.setAttribute("checked","checked")});a("input[type='text']",c).each(function(){this.setAttribute("value",a(this).val())});a("select",c).each(function(){var b=a(this);a("option",b).each(function(){b.val()==a(this).val()&&this.setAttribute("selected","selected")})});a("textarea",c).each(function(){var b=a(this).attr("value");if(a.browser.b&&this.firstChild)this.firstChild.textContent= b;else this.innerHTML=b});return a("
").append(c.clone()).html()}function m(c,b){var i=a(c);c=l(c);var d=[];d.push(""+b.pageTitle+"
");if(b.overrideElementCSS){if(b.overrideElementCSS.length>0)for(var f=0;f'):d.push('')}}else a("link",j).filter(function(){return a(this).attr("rel").toLowerCase()== "stylesheet"}).each(function(){d.push('')});d.push('');d.push('');d.push('
'+c+"
");d.push('