AUI.add("aui-node-html5-print",function(B){(function(K,P,G,E,C,D){if(!D||D>=9){return;}var O=P.createDocumentFragment(),Q=P.createElement("body"),N=P.createElement("style"),H=P.documentElement,M=H.firstChild,A=new RegExp("(^|\\s)("+C+")","gi"),J=new RegExp("(^|[^\\n]*?\\s)("+C+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),R=new RegExp("<(/*)("+C+")","gi");var I;var F=YUI.AUI.html5shiv;function L(W,U){var T=-1;var S=W.length;var X;var V=[];while(++T<S){X=W[T];if((U=X.media||U)!="screen"){V.push(L(X.imports,U),X.cssText);}}return V.join("");}F(P);F(O);M.insertBefore(N,M.firstChild);N.media="print";K.attachEvent("onbeforeprint",function(){var c=-1;var Z;var V=L(P.styleSheets,"all");var S=[];var T;var U;var W;var Y;var X;I=I||P.body;while((X=J.exec(V))!=null){S.push((X[1]+X[2]+X[3]).replace(A,"$1.iepp_$2")+X[4]);}N.styleSheet.cssText=S.join("\n");while(++c<E){T=G[c];W=P.getElementsByTagName(T);Y=W.length;Z=-1;while(++Z<Y){U=W[Z];if(U.className.indexOf("iepp_")<0){U.className+=" iepp_"+T;}}}O.appendChild(I);H.appendChild(Q);Q.className=I.className;Q.innerHTML=I.innerHTML.replace(R,"<$1font");});K.attachEvent("onafterprint",function(){Q.innerHTML="";H.removeChild(Q);H.appendChild(I);N.styleSheet.cssText="";});})(B.config.win,B.config.doc,YUI.AUI.HTML5_ELEMENTS,YUI.AUI.HTML5_ELEMENTS.length,YUI.AUI.HTML5_ELEMENTS.join("|"),B.UA.ie);},"1.0.1",{requires:["aui-node-html5"]});