“);a.close()},docType:function(){return”iframe”==d.mode?””:”html5″==d.standard?””:’oose”==d.standard?” Transitional”:””)+’//EN” “http://www.w3.org/TR/html4/’+(“loose”==d.standard?”loose”:”strict”)+’.dtd”>’},getHead:function(){var a=””,b=””;d.extraHead&&d.extraHead.replace(/([^,]+)/g,function(b){a+=b});c(document).find(“link”).filter(function(){var a= c(this).attr(“rel”);return”undefined”===c.type(a)==0&&”stylesheet”==a.toLowerCase()}).filter(function(){var a=c(this).attr(“media”);return”undefined”===c.type(a)||””==a||”print”==a.toLowerCase()||”all”==a.toLowerCase()}).each(function(){b+=”});d.extraCss&&d.extraCss.replace(/([^,\s]+)/g,function(a){b+=”});return” “+d.popTitle+” “+a+b+””},getBody:function(a){var b= “”,f=d.retainAttr;a.each(function(){for(var a=e.getFormData(c(this)),d=””,g=0;g”+c(a).html()+””});return””+b+””},getFormData:function(a){var b=a.clone(),d=c(“input,select,textarea”,b);c(“input,select,textarea”,a).each(function(a){var b=c(this).attr(“type”);”undefined”===c.type(b)&&(b=c(this).is(“select”)?”select”:c(this).is(“textarea”)?”textarea”:””);var e=d.eq(a);”radio”==b||”checkbox”== b?e.attr(“checked”,c(this).is(“:checked”)):”text”==b?e.attr(“value”,c(this).val()):”select”==b?c(this).find(“option”).each(function(a){c(this).is(“:selected”)&&c(“option”,e).eq(a).attr(“selected”,!0)}):”textarea”==b&&e.text(c(this).val())});return b},getPrintWindow:function(){switch(d.mode){case “iframe”:var a=new e.Iframe;return{win:a.contentWindow||a,doc:a.doc};case “popup”:return a=new e.Popup,{win:a,doc:a.doc}}},Iframe:function(){var a=d.id,b;try{b=document.createElement(“iframe”),document.body.appendChild(b), c(b).attr({style:”border:0;position:absolute;width:0px;height:0px;right:0px;top:0px;”,id:a,src:”#”+(new Date).getTime()}),b.doc=null,b.doc=b.contentDocument?b.contentDocument:b.contentWindow?b.contentWindow.document:b.document}catch(f){throw f+”. iframes may not…