-
Notifications
You must be signed in to change notification settings - Fork 0
/
IE8.js
executable file
·6 lines (6 loc) · 36.6 KB
/
IE8.js
1
2
3
4
5
6
/*
IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
http://code.google.com/p/ie7-js/
http://www.opensource.org/licenses/mit-license.php
*/
;(function(L,r){var h=L.IE7={version:"2.1(beta4)",toString:bJ("[IE7]")};h.compat=8;var s=h.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1]-0;if(/ie7_off/.test(top.location.search)||s<5.5||s>=h.compat)return;var C=s<6,bh=bJ(),bt=r.documentElement,A,w,ci="!",X=":link{ie7-link:link}:visited{ie7-link:visited}",cj=/^[\w\.]+[^:]*$/;function bi(b,a){if(cj.test(b))b=(a||"")+b;return b};function bu(b,a){b=bi(b,a);return b.slice(0,b.lastIndexOf("/")+1)};var bK=r.scripts[r.scripts.length-1],ck=bu(bK.src);try{var Q=new ActiveXObject("Microsoft.XMLHTTP")}catch(ex){}var bj={};function cl(b,a){try{b=bi(b,a);if(!bj[b]){Q.open("GET",b,false);Q.send();if(Q.status==0||Q.status==200){bj[b]=Q.responseText}}}catch(ex){}return bj[b]||""};var dl=Array.prototype.slice,dm=/%([1-9])/g,cm=/^\s\s*/,cn=/\s\s*$/,co=/([\/()[\]{}|*+-.,^$?\\])/g,bL=/\bbase\b/,bM=["constructor","toString"],bk;function D(){};D.extend=function(f,d){bk=true;var c=new this;Y(c,f);bk=false;var b=c.constructor;function a(){if(!bk)b.apply(this,arguments)};c.constructor=a;a.extend=arguments.callee;Y(a,d);a.prototype=c;return a};D.prototype.extend=function(a){return Y(this,a)};var M="#",N="#",Z=".",bl="/",dn=/\\(\d+)/g,cp=/\[(\\.|[^\]\\])+\]|\\.|\(\?/g,cq=/\(/g,cr=/\$(\d+)/,cs=/^\$\d+$/,ct=/(\[(\\.|[^\]\\])+\]|\\.|\(\?)|\(/g,cu=/^<#\w+>$/,cv=/<#(\w+)>/g,E=D.extend({constructor:function(a){this[Z]=[];this[N]={};this.merge(a)},add:function(b,a){delete this[bl];if(b instanceof RegExp){b=b.source}if(!this[M+b])this[Z].push(String(b));return this[N][M+b]=new E.Item(b,a,this)},compile:function(a){if(a||!this[bl]){this[bl]=new RegExp(this,this.ignoreCase?"gi":"g")}return this[bl]},merge:function(b){for(var a in b)this.add(a,b[a])},exec:function(n){var j=this,k=j[Z],l=j[N],i,g=this.compile(true).exec(n);if(g){var f=0,d=1;while((i=l[M+k[f++]])){var c=d+i.length+1;if(g[d]){if(i.replacement===0){return j.exec(n)}else{var b=g.slice(d,c),a=b.length;while(--a)b[a]=b[a]||"";b[0]={match:b[0],item:i};return b}}d=c}}return null},parse:function(n){n+="";var j=this,k=j[Z],l=j[N];return n.replace(this.compile(),function(i){var g=[],f,d=1,c=arguments.length;while(--c)g[c]=arguments[c]||"";while((f=l[M+k[c++]])){var b=d+f.length+1;if(g[d]){var a=f.replacement;switch(typeof a){case"function":return a.apply(j,g.slice(d,b));case"number":return g[d+a];default:return a}}d=b}return i})},toString:function(){var f=[],d=this[Z],c=this[N],b;for(var a=0;b=c[M+d[a]];a++){f[a]=b.source}return"("+f.join(")|(")+")"}},{IGNORE:null,Item:D.extend({constructor:function(j,k,l){var i=j.indexOf("(")===-1?0:E.count(j),g=l.dictionary;if(g&&j.indexOf("<#")!==-1){if(cu.test(j)){var f=g[N][M+j.slice(2,-1)];j=f.replacement;i=f._4}else{j=g.parse(j)}}if(typeof k=="number")k=String(k);else if(k==null)k=0;if(typeof k=="string"&&cr.test(k)){if(cs.test(k)){var d=k.slice(1)-0;if(d&&d<=i)k=d}else{var c=k,b;k=function(a){if(!b){b=new RegExp(j,"g"+(this.ignoreCase?"i":""))}return a.replace(b,c)}}}this.length=i;this.source=String(j);this.replacement=k}}),count:function(a){return(String(a).replace(cp,"").match(cq)||"").length}}),cw=E.extend({parse:function(d){var c=this[N];return d.replace(cv,function(b,a){a=c[M+a];return a?a._5:b})},add:function(f,d){if(d instanceof RegExp){d=d.source}var c=d.replace(ct,cx);if(d.indexOf("(")!==-1){var b=E.count(d)}if(d.indexOf("<#")!==-1){d=this.parse(d);c=this.parse(c)}var a=this.base(f,d);a._5=c;a._4=b||a.length;return a},toString:function(){return"(<#"+this[PATTERNS].join(">)|(<#")+">)"}});function cx(b,a){return a||"(?:"};function Y(g,f){if(g&&f){var d=(typeof f=="function"?Function:Object).prototype;var c=bM.length,b;if(bk)while(b=bM[--c]){var a=f[b];if(a!=d[b]){if(bL.test(a)){bN(g,b,a)}else{g[b]=a}}}for(b in f)if(typeof d[b]=="undefined"){var a=f[b];if(g[b]&&typeof a=="function"&&bL.test(a)){bN(g,b,a)}else{g[b]=a}}}return g};function bN(g,f,d){var c=g[f];g[f]=function(){var b=this.base;this.base=c;var a=d.apply(this,arguments);this.base=b;return a}};function cy(d,c){if(!c)c=d;var b={};for(var a in d)b[a]=c[a];return b};function F(f){var d=arguments,c=new RegExp("%([1-"+arguments.length+"])","g");return String(f).replace(c,function(b,a){return a<d.length?d[a]:b})};function bm(b,a){return String(b).match(a)||[]};function bO(a){return String(a).replace(co,"\\$1")};function bP(a){return String(a).replace(cm,"").replace(cn,"")};function bJ(a){return function(){return a}};var bQ=E.extend({ignoreCase:true}),cz=/'/g,bR=/'(\d+)'/g,o0=/\\/g,bv=/\\([nrtf'"])/g,R=[],bS=new bQ({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bT,'"(\\\\.|[^"\\\\])*"':bT,"\\s+":" "});function cA(a){return bS.parse(a).replace(bv,"$1")};function ba(a){return a.replace(bR,cB)};function bT(b){var a=R.length;R[a]=b.slice(1,-1).replace(bv,"$1").replace(cz,"\\'");return"'"+a+"'"};function cB(c,b){var a=R[b];if(a==null)return c;return"'"+R[b]+"'"};function bn(a){return a.indexOf("'")===0?R[a.slice(1,-1)]:a};var cC=new E({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",onX:"onY"});function bU(a){return cC.parse(a)};var bV=[];function bw(a){cD(a);x(L,"onresize",a)};function x(c,b,a){c.attachEvent(b,a);bV.push(arguments)};function cE(c,b,a){try{c.detachEvent(b,a)}catch(ex){}};x(L,"onunload",function(){var a;while(a=bV.pop()){cE(a[0],a[1],a[2])}});function bb(c,b,a){if(!c.elements)c.elements={};if(a)c.elements[b.uniqueID]=b;else delete c.elements[b.uniqueID];return a};x(L,"onbeforeprint",function(){if(!h.CSS.print)new bW("print");h.CSS.print.recalc()});var bX=/^\d+(px)?$/i,S=/^\d+%$/,B=function(d,c){if(bX.test(c))return parseInt(c);var b=d.style.left,a=d.runtimeStyle.left;d.runtimeStyle.left=d.currentStyle.left;d.style.left=c||0;c=d.style.pixelLeft;d.style.left=b;d.runtimeStyle.left=a;return c},bx="ie7-",bY=D.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:bh}),by=[];function cD(a){by.push(a)};h.recalc=function(){h.HTML.recalc();h.CSS.recalc();for(var a=0;a<by.length;a++)by[a]()};function bo(a){return a.currentStyle["ie7-position"]=="fixed"};function bz(b,a){return b.currentStyle[bx+a]||b.currentStyle[a]};function T(c,b,a){if(c.currentStyle[bx+b]==null){c.runtimeStyle[bx+b]=c.currentStyle[b]}c.runtimeStyle[b]=a};function bZ(b){var a=r.createElement(b||"object");a.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";a.ie7_anon=true;return a};var cF="(e.nextSibling&&IE7._1(e,'next'))",cG=cF.replace(/next/g,"previous"),ca="e.nodeName>'@'",cb="if("+ca+"){",cH="(e.nodeName==='FORM'?IE7._0(e,'id'):e.id)",cI=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i,cJ=/(.*)(:first-(line|letter))/,cK=/\s/,cL=/((?:\\.|[^{\\])+)\{((?:\\.|[^}\\])+)\}/g,cM=/(?:\\.|[^,\\])+/g,G=r.styleSheets,bA=[];h.CSS=new(bY.extend({parser:new bQ,screen:"",print:"",styles:[],rules:[],pseudoClasses:s<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var b=[];for(var a in this)b.push(a);return b.join("|")}},init:function(){var i="^\x01$",g="\\[class=?[^\\]]*\\]",f=[];if(this.pseudoClasses)f.push(this.pseudoClasses);var d=this.dynamicPseudoClasses.toString();if(d)f.push(d);f=f.join("|");var c=s<7?["[>+~\\[(]|([:.])[\\w-]+\\1"]:[g];if(f)c.push(":("+f+")");this.UNKNOWN=new RegExp(c.join("|")||i,"i");var b=s<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[g],a=b.concat();if(f)a.push(":("+f+")");t.COMPLEX=new RegExp(a.join("|")||i,"ig");if(this.pseudoClasses)b.push(":("+this.pseudoClasses+")");bc.COMPLEX=new RegExp(b.join("|")||i,"i");d="not\\(:"+d.split("|").join("\\)|not\\(:")+"\\)|"+d;bc.MATCH=new RegExp(d?"(.*?):("+d+")(.*)":i,"i");this.createStyleSheet();this.refresh()},addEventHandler:function(){x.apply(null,arguments)},addFix:function(b,a){this.parser.add(b,a)},addRecalc:function(g,f,d,c){g=g.source||g;f=new RegExp("([{;\\s])"+g+"\\s*:\\s*"+f+"[^;}]*");var b=this.recalcs.length;if(typeof c=="string")c=g+":"+c;this.addFix(f,function(a){if(typeof c=="function")c=c(a);return(c?c:a)+";ie7-"+a.slice(1)+";ie7_recalc"+b+":1"});this.recalcs.push(arguments);return b},apply:function(){this.getInlineCSS();new bW("screen");this.trash()},createStyleSheet:function(){r.getElementsByTagName("head")[0].appendChild(r.createElement("style"));this.styleSheet=G[G.length-1];this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=X},getInlineCSS:function(){var c=r.getElementsByTagName("style"),b;for(var a=c.length-1;b=c[a];a--){if(!b.disabled&&!b.ie7){b._6=b.innerHTML}}},getText:function(c,b){try{var a=c.cssText}catch(e){a=""}if(Q)a=cl(c.href,b)||a;return a},recalc:function(){this.screen.recalc();var o=/ie7_recalc\d+/g,m=X.match(/[{,]/g).length,n=this.styleSheet.rules,j,k,l,i,g,f,d,c,b;for(f=m;j=n[f];f++){var a=j.style.cssText;if(k=a.match(o)){i=H(j.selectorText);if(i.length)for(d=0;d<k.length;d++){b=k[d];l=h.CSS.recalcs[b.slice(10)][2];for(c=0;(g=i[c]);c++){if(g.currentStyle[b])l(g,a)}}}}},refresh:function(){this.styleSheet.cssText=X+this.screen+this.print},trash:function(){for(var b=0;b<G.length;b++){if(!G[b].ie7){try{var a=G[b].cssText}catch(e){a=""}if(a)G[b].cssText=""}}}}));var bW=D.extend({constructor:function(a){this.media=a;this.load();h.CSS[a]=this;h.CSS.refresh()},createRule:function(c,b){var a;if(O&&(a=c.match(O.MATCH))){return new O(a[1],a[2],b)}else if(a=c.match(bc.MATCH)){if(!cI.test(a[0])||bc.COMPLEX.test(a[0])){return new bc(c,a[1],a[2],a[3],b)}}else{return new t(c,b)}return c+" {"+b+"}"},getText:function(){var u=/@media\s+([^{]+?)\s*\{([^@]+\})\s*\}/gi,U=/@import[^;\n]+/gi,P=/@import\s+url\s*\(\s*["']?|["']?\s*\)\s*/gi,V=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi,I=this,J={};function y(j,k,l,i){var g="";if(!i){l=o(j.media);i=0}if(l==="none"){j.disabled=true;return""}if(l==="all"||l===I.media){try{var f=!!j.cssText}catch(exe){}if(i<3&&f){var d=j.cssText.match(U);for(var c=0,b;c<j.imports.length;c++){var b=j.imports[c];var a=j._2||j.href;b._2=d[c].replace(P,"");g+=y(b,bu(a,k),l,i+1)}}g+=cA(j.href?m(j,k):j.owningElement._6);g=z(g,I.media)}return g};for(var v=0;v<G.length;v++){var p=G[v];if(!p.disabled&&!p.ie7)this.cssText+=y(p)}function z(b,a){q.value=a;return b.replace(u,q)};function q(c,b,a){b=o(b);switch(b){case"screen":case"print":if(b!==q.value)return"";case"all":return a}return""};function o(c){if(!c)return"all";var b=c.toLowerCase().split(/\s*,\s*/);c="none";for(var a=0;a<b.length;a++){if(b[a]==="all")return"all";if(b[a]==="screen"){if(c==="print")return"all";c="screen"}else if(b[a]==="print"){if(c==="screen")return"all";c="print"}}return c};function m(d,c){var b=d._2||d.href,a=bi(b,c);if(J[a])return"";J[a]=d.disabled?"":n(h.CSS.getText(d,c),bu(b,c));return J[a]};function n(b,a){return b.replace(V,"$1"+a.slice(0,a.lastIndexOf("/")+1)+"$2")}},load:function(){this.cssText="";this.getText();this.parse();if(bA.length){this.cssText=cN(this.cssText)}this.cssText=ba(this.cssText);bj={}},parse:function(){var i=h.CSS.parser.parse(this.cssText),n="";this.cssText=i.replace(/@charset[^;]+;|@font\-face[^\}]+\}/g,function(a){n+=a+"\n";return""});this.declarations=ba(n);var j=h.CSS.rules.length,k=[],l;while((l=cL.exec(this.cssText))){var i=l[2];if(i){var g=s<7&&i.indexOf("AlphaImageLoader")!==-1;var f=l[1].match(cM),d;for(var c=0;d=f[c];c++){d=bP(d);var b=h.CSS.UNKNOWN.test(d);f[c]=b?this.createRule(d,i):d+"{"+i+"}";if(g)f[c]+=this.createRule(d+">*","position:relative")}k.push(f.join("\n"))}}this.cssText=k.join("\n");this.rules=h.CSS.rules.slice(j)},recalc:function(){var b,a;for(a=0;(b=this.rules[a]);a++)b.recalc()},toString:function(){return this.declarations+"@media "+this.media+"{"+this.cssText+"}"}}),O,t=h.Rule=D.extend({constructor:function(c,b){this.id=h.CSS.rules.length;this.className=t.PREFIX+this.id;var a=c.match(cJ);this.selector=(a?a[1]:c)||"*";this.selectorText=this.parse(this.selector)+(a?a[2]:"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");h.CSS.rules.push(this);this.init()},init:bh,add:function(a){a.className+=" "+this.className},recalc:function(){var b=H(this.selector);for(var a=0;a<b.length;a++)this.add(b[a])},parse:function(f){var d=f.replace(t.CHILD," ").replace(t.COMPLEX,"");if(s<7)d=d.replace(t.MULTI,"");var c=bm(d,t.TAGS).length-bm(f,t.TAGS).length,b=bm(d,t.CLASSES).length-bm(f,t.CLASSES).length+1;while(b>0&&t.CLASS.test(d)){d=d.replace(t.CLASS,"");b--}while(c>0&&t.TAG.test(d)){d=d.replace(t.TAG,"$1*");c--}d+="."+this.className;b=Math.min(b,2);c=Math.min(c,2);var a=-10*b-c;if(a>0){d=d+","+t.MAP[a]+" "+d}return d},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},toString:function(){return F("%1 {%2}",this.selectorText,this.cssText)}},{CHILD:/>/g,CLASS:/\.[\w-]+/,CLASSES:/[.:\[]/g,MULTI:/(\.[\w-]+)+/g,PREFIX:"ie7_class",TAG:/^\w+|([\s>+~])\w+/,TAGS:/^\w|[\s>+~]\w/g,MAP:{"1":"html","2":"html body","10":".ie7_html","11":"html.ie7_html","12":"html.ie7_html body","20":".ie7_html .ie7_body","21":"html.ie7_html .ie7_body","22":"html.ie7_html body.ie7_body"}}),bc=t.extend({constructor:function(f,d,c,b,a){this.negated=c.indexOf("not")===0;if(this.negated)c=c.slice(5,-1);this.attach=d||"*";this.dynamicPseudoClass=h.CSS.dynamicPseudoClasses[c];this.target=b;this.base(f,a)},recalc:function(){var d=H(this.attach),c;for(var b=0;c=d[b];b++){var a=this.target?H(this.target,c):[c];if(a.length)this.dynamicPseudoClass.apply(c,a,this)}}}),bB=D.extend({constructor:function(b,a){this.name=b;this.apply=a;this.instances={};h.CSS.dynamicPseudoClasses[b]=this},register:function(f,d){var c=f[2];if(!d&&c.negated){this.unregister(f,true)}else{f.id=c.id+f[0].uniqueID;if(!this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.add(b[a]);this.instances[f.id]=f}}},unregister:function(f,d){var c=f[2];if(!d&&c.negated){this.register(f,true)}else{if(this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.remove(b[a]);delete this.instances[f.id]}}}}),bp=new bB("hover",function(b){var a=arguments;h.CSS.addEventHandler(b,"onmouseenter",function(){bp.register(a)});h.CSS.addEventHandler(b,"onmouseleave",function(){bp.unregister(a)})});x(r,"onmouseup",function(){var b=bp.instances;for(var a in b)if(!b[a][0].contains(event.srcElement))bp.unregister(b[a])});var cc={"=":"%1==='%2'","~=":"(' '+%1+' ').indexOf(' %2 ')!==-1","|=":"%1==='%2'||%1.indexOf('%2-')===0","^=":"%1.indexOf('%2')===0","$=":"%1.slice(-'%2'.length)==='%2'","*=":"%1.indexOf('%2')!==-1"};cc[""]="%1!=null";var bd={"<#attr>":function(f,d,c,b){var a="IE7._0(e,'"+d+"')";b=bn(b);if(c.length>1){if(!b||c==="~="&&cK.test(b)){return"false&&"}a="("+a+"||'')"}return"("+F(cc[c],a,b)+")&&"},"<#id>":cH+"==='$1'&&","<#class>":"e.className&&(' '+e.className+' ').indexOf(' $1 ')!==-1&&",":first-child":"!"+cG+"&&",":link":"e.currentStyle['ie7-link']=='link'&&",":visited":"e.currentStyle['ie7-link']=='visited'&&"};h.HTML=new(bY.extend({fixed:{},init:bh,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var d=0;d<this.fixes.length;d++){var c=H(this.fixes[d][0]);var b=this.fixes[d][1];for(var a=0;a<c.length;a++)b(c[a])}},addRecalc:function(){this.recalcs.push(arguments)},recalc:function(){for(var i=0;i<this.recalcs.length;i++){var g=H(this.recalcs[i][0]);var f=this.recalcs[i][1],d;var c=Math.pow(2,i);for(var b=0;(d=g[b]);b++){var a=d.uniqueID;if((this.fixed[a]&c)===0){d=f(d)||d;this.fixed[a]|=c}}}}}));if(s<7){r.createElement("abbr");h.HTML.addRecalc("label",function(b){if(!b.htmlFor){var a=H("input,textarea",b,true);if(a){x(b,"onclick",function(){a.click()})}}})}var be="[.\\d]";(function(){var u=h.Layout={};X+="*{boxSizing:content-box}";u.boxSizing=function(a){if(!a.currentStyle.hasLayout){a.style.height="0cm";if(a.currentStyle.verticalAlign==="auto")a.runtimeStyle.verticalAlign="top";U(a)}};function U(a){if(a!=w&&a.currentStyle.position!=="absolute"){P(a,"marginTop");P(a,"marginBottom")}};function P(f,d){if(!f.runtimeStyle[d]){var c=f.parentElement;var b=d==="marginTop";if(c&&c.currentStyle.hasLayout&&!h._1(f,b?"previous":"next"))return;var a=f[b?"firstChild":"lastChild"];if(a&&a.nodeName<"@")a=h._1(a,b?"next":"previous");if(a&&a.currentStyle.styleFloat==="none"&&a.currentStyle.hasLayout){P(a,d);margin=V(f,f.currentStyle[d]);childMargin=V(a,a.currentStyle[d]);if(margin<0||childMargin<0){f.runtimeStyle[d]=margin+childMargin}else{f.runtimeStyle[d]=Math.max(childMargin,margin)}a.runtimeStyle[d]="0px"}}};function V(b,a){return a==="auto"?0:B(b,a)};var I=/^[.\d][\w]*$/,J=/^(auto|0cm)$/,y={};u.borderBox=function(a){y.Width(a);y.Height(a)};var v=function(p){y.Width=function(a){if(!S.test(a.currentStyle.width))z(a);if(p)U(a)};function z(b,a){if(!b.runtimeStyle.fixedWidth){if(!a)a=b.currentStyle.width;b.runtimeStyle.fixedWidth=I.test(a)?Math.max(0,m(b,a))+"px":a;T(b,"width",b.runtimeStyle.fixedWidth)}};function q(b){if(!bo(b)){var a=b.offsetParent;while(a&&!a.currentStyle.hasLayout)a=a.offsetParent}return(a||w).clientWidth};function o(b,a){if(S.test(a))return parseInt(parseFloat(a)/100*q(b));return B(b,a)};var m=function(d,c){var b=d.currentStyle["ie7-box-sizing"]==="border-box",a=0;if(C&&!b)a+=n(d)+j(d,"padding");else if(!C&&b)a-=n(d)+j(d,"padding");return o(d,c)+a};function n(a){return a.offsetWidth-a.clientWidth};function j(b,a){return o(b,b.currentStyle[a+"Left"])+o(b,b.currentStyle[a+"Right"])};X+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";u.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(bb(arguments.callee,a,a.currentStyle.minWidth!=="none")){u.boxSizing(a);z(a);k(a)}};eval("IE7.Layout.maxWidth="+String(u.minWidth).replace(/min/g,"max"));function k(c){if(c==r.body){var b=c.clientWidth}else{var a=c.getBoundingClientRect();b=a.right-a.left}if(c.currentStyle.minWidth!=="none"&&b<m(c,c.currentStyle.minWidth)){c.runtimeStyle.width=c.currentStyle.minWidth}else if(c.currentStyle.maxWidth!=="none"&&b>=m(c,c.currentStyle.maxWidth)){c.runtimeStyle.width=c.currentStyle.maxWidth}else{c.runtimeStyle.width=c.runtimeStyle.fixedWidth}};function l(a){if(bb(l,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&bz(a,"left")!=="auto"&&bz(a,"right")!=="auto"&&J.test(bz(a,"width")))){i(a);u.boxSizing(a)}};u.fixRight=l;function i(c){var b=o(c,c.runtimeStyle._3||c.currentStyle.left),a=q(c)-o(c,c.currentStyle.right)-b-j(c,"margin");if(parseInt(c.runtimeStyle.width)===a)return;c.runtimeStyle.width="";if(bo(c)||p||c.offsetWidth<a){if(!C)a-=n(c)+j(c,"padding");if(a<0)a=0;c.runtimeStyle.fixedWidth=a;T(c,"width",a)}};var g=0;bw(function(){if(!w)return;var f,d=(g<w.clientWidth);g=w.clientWidth;var c=u.minWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===m(b,b.currentStyle.minWidth));if(d&&a)b.runtimeStyle.width="";if(d==a)k(b)}var c=u.maxWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===m(b,b.currentStyle.maxWidth));if(!d&&a)b.runtimeStyle.width="";if(d!==a)k(b)}for(f in l.elements)i(l.elements[f])});if(C){h.CSS.addRecalc("width",be,y.Width)}if(s<7){h.CSS.addRecalc("max-width",be,u.maxWidth);h.CSS.addRecalc("right",be,l)}else if(s==7){if(p)h.CSS.addRecalc("height","[\\d.]+%",function(element){element.runtimeStyle.pixelHeight=parseInt(q(element)*element.currentStyle["ie7-height"].slice(0,-1)/100)})}};eval("var _7="+bU(v));v();_7(true);if(s<7){h.CSS.addRecalc("min-width",be,u.minWidth);h.CSS.addFix(/\bmin-height\s*/,"height")}})();var bC=bi("blank.gif",ck),bD="DXImageTransform.Microsoft.AlphaImageLoader",cd="progid:"+bD+"(src='%1',sizingMethod='%2')",bf,bg=[];function ce(b){if(bf.test(b.src)){var a=new Image(b.width,b.height);a.onload=function(){b.width=a.width;b.height=a.height;a=null};a.src=b.src;b.pngSrc=b.src;bq(b)}};if(s<7){h.CSS.addFix(/background(-image)?\s*:\s*([^};]*)?url\(([^\)]+)\)([^;}]*)?/,function(f,d,c,b,a){b=bn(b);return bf.test(b)?"filter:"+F(cd,b,a.indexOf("no-repeat")===-1?"scale":"crop")+";zoom:1;background"+(d||"")+":"+(c||"")+"none"+(a||""):f});h.CSS.addRecalc(/list\-style(\-image)?/,"[^};]*url",function(d){var c=d.currentStyle.listStyleImage.slice(5,-2);if(bf.test(c)){if(d.nodeName==="LI"){cf(d,c)}else if(d.nodeName==="UL"){for(var b=0,a;a=d.childNodes[b];b++){if(a.nodeName==="LI")cf(a,c)}}}});function cf(g,f){var d=g.runtimeStyle,c=g.offsetHeight,b=new Image;b.onload=function(){var a=g.currentStyle.paddingLeft;a=a==="0px"?0:B(g,a);d.paddingLeft=(a+this.width)+"px";d.marginLeft=-this.width+"px";d.listStyleType="none";d.listStyleImage="none";d.paddingTop=Math.max(c-g.offsetHeight,0)+"px";bq(g,"crop",f);g.style.zoom="100%"};b.src=f};h.HTML.addRecalc("img,input",function(a){if(a.nodeName==="INPUT"&&a.type!=="image")return;ce(a);x(a,"onpropertychange",function(){if(!bE&&event.propertyName==="src"&&a.src.indexOf(bC)===-1)ce(a)})});var bE=false;x(L,"onbeforeprint",function(){bE=true;for(var a=0;a<bg.length;a++)cO(bg[a])});x(L,"onafterprint",function(){for(var a=0;a<bg.length;a++)bq(bg[a]);bE=false})}function bq(d,c,b){var a=d.filters[bD];if(a){a.src=b||d.src;a.enabled=true}else{d.runtimeStyle.filter=F(cd,b||d.src,c||"scale");bg.push(d)}d.src=bC};function cO(a){a.src=a.pngSrc;a.filters[bD].enabled=false};(function(){if(s>=7)return;h.CSS.addRecalc("position","fixed",n,"absolute");h.CSS.addRecalc("background(-attachment)?","[^};]*fixed",o);var y=C?"body":"documentElement";function v(){if(A.currentStyle.backgroundAttachment!=="fixed"){if(A.currentStyle.backgroundImage==="none"){A.runtimeStyle.backgroundRepeat="no-repeat";A.runtimeStyle.backgroundImage="url("+bC+")"}A.runtimeStyle.backgroundAttachment="fixed"}v=bh};var p=bZ("img");function z(a){return a?bo(a)||z(a.parentElement):false};function q(c,b,a){setTimeout("document.all."+c.uniqueID+".runtimeStyle.setExpression('"+b+"','"+a+"')",0)};function o(a){if(bb(o,a,a.currentStyle.backgroundAttachment==="fixed"&&!a.contains(A))){v();i.bgLeft(a);i.bgTop(a);m(a)}};function m(b){p.src=b.currentStyle.backgroundImage.slice(5,-2);var a=b.canHaveChildren?b:b.parentElement;a.appendChild(p);i.setOffsetLeft(b);i.setOffsetTop(b);a.removeChild(p)};function n(a){if(bb(n,a,bo(a))){T(a,"position","absolute");T(a,"left",a.currentStyle.left);T(a,"top",a.currentStyle.top);v();h.Layout.fixRight(a);j(a)}};function j(c,b){r.body.getBoundingClientRect();i.positionTop(c,b);i.positionLeft(c,b,true);if(!c.runtimeStyle.autoLeft&&c.currentStyle.marginLeft==="auto"&&c.currentStyle.right!=="auto"){var a=w.clientWidth-i.getPixelWidth(c,c.currentStyle.right)-i.getPixelWidth(c,c.runtimeStyle._3)-c.clientWidth;if(c.currentStyle.marginRight==="auto")a=parseInt(a/2);if(z(c.offsetParent))c.runtimeStyle.pixelLeft+=a;else c.runtimeStyle.shiftLeft=a}if(!c.runtimeStyle.fixedWidth)i.clipWidth(c);if(!c.runtimeStyle.fixedHeight)i.clipHeight(c)};function k(){var b=o.elements;for(var a in b)m(b[a]);b=n.elements;for(a in b){j(b[a],true);j(b[a],true)}l=0};var l;bw(function(){if(!l)l=setTimeout(k,100)});var i={},g=function(f){f.bgLeft=function(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!z(a)){q(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+y+".scrollLeft)||0")}};f.setOffsetLeft=function(b){var a=z(b)?"backgroundPositionX":"offsetLeft";b.runtimeStyle[a]=f.getOffsetLeft(b,b.style.backgroundPositionX)-b.getBoundingClientRect().left-b.clientLeft+2};f.getOffsetLeft=function(b,a){switch(a){case"left":case"top":return 0;case"right":case"bottom":return w.clientWidth-p.offsetWidth;case"center":return(w.clientWidth-p.offsetWidth)/2;default:if(S.test(a)){return parseInt((w.clientWidth-p.offsetWidth)*parseFloat(a)/100)}p.style.left=a;return p.offsetLeft}};f.clipWidth=function(d){var c=d.runtimeStyle.fixWidth;d.runtimeStyle.borderRightWidth="";d.runtimeStyle.width=c?f.getPixelWidth(d,c)+"px":"";if(d.currentStyle.width!=="auto"){var b=d.getBoundingClientRect();var a=d.offsetWidth-w.clientWidth+b.left-2;if(a>=0){d.runtimeStyle.borderRightWidth="0px";a=Math.max(B(d,d.currentStyle.width)-a,0);T(d,"width",a);return a}}};f.positionLeft=function(b,a){if(!a&&S.test(b.currentStyle.width)){b.runtimeStyle.fixWidth=b.currentStyle.width}if(b.runtimeStyle.fixWidth){b.runtimeStyle.width=f.getPixelWidth(b,b.runtimeStyle.fixWidth)}b.runtimeStyle.shiftLeft=0;b.runtimeStyle._3=b.currentStyle.left;b.runtimeStyle.autoLeft=b.currentStyle.right!=="auto"&&b.currentStyle.left==="auto";b.runtimeStyle.left="";b.runtimeStyle.screenLeft=f.getScreenLeft(b);b.runtimeStyle.pixelLeft=b.runtimeStyle.screenLeft;if(!a&&!z(b.offsetParent)){q(b,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+y+".scrollLeft")}};f.getScreenLeft=function(c){var b=c.offsetLeft,a=1;if(c.runtimeStyle.autoLeft){b=w.clientWidth-c.offsetWidth-f.getPixelWidth(c,c.currentStyle.right)}if(c.currentStyle.marginLeft!=="auto"){b-=f.getPixelWidth(c,c.currentStyle.marginLeft)}while(c=c.offsetParent){if(c.currentStyle.position!=="static")a=-1;b+=c.offsetLeft*a}return b};f.getPixelWidth=function(b,a){return S.test(a)?parseInt(parseFloat(a)/100*w.clientWidth):B(b,a)}};eval("var _8="+bU(g));g(i);_8(i)})();if(s<7){var bF={backgroundColor:"transparent",backgroundImage:"none",backgroundPositionX:null,backgroundPositionY:null,backgroundRepeat:null,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",borderLeftWidth:0,borderLeftColor:"#000",borderTopColor:"#000",borderRightColor:"#000",borderBottomColor:"#000",height:null,marginTop:0,marginBottom:0,marginRight:0,marginLeft:0,width:"100%"};h.CSS.addRecalc("overflow","visible",function(c){if(c.currentStyle.position==="absolute")return;if(c.parentNode.ie7_wrapped)return;if(h.Layout&&c.currentStyle["max-height"]!=="auto"){h.Layout.maxHeight(c)}if(c.currentStyle.marginLeft==="auto")c.style.marginLeft=0;if(c.currentStyle.marginRight==="auto")c.style.marginRight=0;var b=r.createElement(ci);b.ie7_wrapped=c;for(var a in bF){b.style[a]=c.currentStyle[a];if(bF[a]!=null){c.runtimeStyle[a]=bF[a]}}b.style.display="block";b.style.position="relative";c.runtimeStyle.position="absolute";c.parentNode.insertBefore(b,c);b.appendChild(c)})}function cP(){var q="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var o=0;o<q.length;o++){q[q[o]]=q[o-1]||"0.67em"}h.CSS.addFix(/(font(-size)?\s*:\s*)([\w.-]+)/,function(d,c,b,a){return c+(q[a]||a)});var m=/^\-/,n=/(em|ex)$/i,j=/em$/i,k=/ex$/i;B=function(c,b){if(bX.test(b))return parseInt(b)||0;var a=m.test(b)?-1:1;if(n.test(b))a*=i(c);l.style.width=a<0?b.slice(1):b;A.appendChild(l);b=a*l.offsetWidth;l.removeNode();return parseInt(b)};var l=bZ();function i(c){var b=1;l.style.fontFamily=c.currentStyle.fontFamily;l.style.lineHeight=c.currentStyle.lineHeight;while(c!=A){var a=c.currentStyle["ie7-font-size"];if(a){if(j.test(a))b*=parseFloat(a);else if(S.test(a))b*=(parseFloat(a)/100);else if(k.test(a))b*=(parseFloat(a)/2);else{l.style.fontSize=a;return 1}}c=c.parentElement}return b};h.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");h.CSS.addFix(/display\s*:\s*list-item/,"display:block");function g(d){var c=d.parentElement,b=c.offsetWidth-d.offsetWidth-f(c),a=(d.currentStyle["ie7-margin"]&&d.currentStyle.marginRight==="auto")||d.currentStyle["ie7-margin-right"]==="auto";switch(c.currentStyle.textAlign){case"right":b=a?parseInt(b/2):0;d.runtimeStyle.marginRight=b+"px";break;case"center":if(a)b=0;default:if(a)b/=2;d.runtimeStyle.marginLeft=parseInt(b)+"px"}};function f(a){return B(a,a.currentStyle.paddingLeft)+B(a,a.currentStyle.paddingRight)};h.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(bb(g,a,a.parentElement&&a.currentStyle.display==="block"&&a.currentStyle.marginLeft==="auto"&&a.currentStyle.position!=="absolute")){g(a)}});bw(function(){for(var b in g.elements){var a=g.elements[b];a.runtimeStyle.marginLeft=a.runtimeStyle.marginRight="";g(a)}})};var cQ="\\([^)]+\\)";bS.add(/::(before|after)/,":$1");if(s<8){if(h.CSS.pseudoClasses)h.CSS.pseudoClasses+="|";h.CSS.pseudoClasses+="before|after|lang"+cQ;function cN(a){return a.replace(new RegExp("([{;\\s])("+bA.join("|")+")\\s*:\\s*([^;}]+)","g"),"$1$2:$3;ie7-$2:$3")};var cR=/[\w-]+\s*:\s*inherit/g;var cS=/ie7\-|\s*:\s*inherit/g;var cT=/\-([a-z])/g;function cU(b,a){return a.toUpperCase()};h.CSS.addRecalc("[\\w-]+","inherit",function(f,d){if(f.parentElement){var c=d.match(cR);for(var b=0;b<c.length;b++){var a=c[b].replace(cS,"");if(f.currentStyle["ie7-"+a]==="inherit"){a=a.replace(cT,cU);f.runtimeStyle[a]=f.parentElement.currentStyle[a]}}}},function(a){bA.push(bO(a.slice(1).split(":")[0]));return a});var br=new bB("focus",function(b){var a=arguments;h.CSS.addEventHandler(b,"onfocus",function(){br.unregister(a);br.register(a)});h.CSS.addEventHandler(b,"onblur",function(){br.unregister(a)});if(b==r.activeElement){br.register(a)}});var bG=new bB("active",function(b){var a=arguments;h.CSS.addEventHandler(b,"onmousedown",function(){bG.register(a)})});x(r,"onmouseup",function(){var b=bG.instances;for(var a in b)bG.unregister(b[a])});var cV=/^url\s*\(\s*([^)]*)\)$/;var cW={before0:"beforeBegin",before1:"afterBegin",after0:"afterEnd",after1:"beforeEnd"};var O=h.PseudoElement=t.extend({constructor:function(i,g,f){this.position=g;var d=f.match(O.CONTENT),c,b;if(d){d=d[1];c=d.split(/\s+/);for(var a=0;(b=c[a]);a++){c[a]=/^attr/.test(b)?{attr:b.slice(5,-1)}:b.charAt(0)==="'"?bn(b):ba(b)}d=c}this.content=d;this.base(i,ba(f))},init:function(){this.match=H(this.selector);for(var b=0;b<this.match.length;b++){var a=this.match[b].runtimeStyle;if(!a[this.position])a[this.position]={cssText:""};a[this.position].cssText+=";"+this.cssText;if(this.content!=null)a[this.position].content=this.content}},create:function(m){var n=m.runtimeStyle[this.position];if(n){var j=[].concat(n.content||"");for(var k=0;k<j.length;k++){if(typeof j[k]=="object"){j[k]=m.getAttribute(j[k].attr)}}j=j.join("");var l=j.match(cV);var i="overflow:hidden;"+n.cssText.replace(/'/g,'"');var g=cW[this.position+Number(m.canHaveChildren)];var f='ie7_pseudo'+O.count++;m.insertAdjacentHTML(g,F(O.ANON,this.className,f,i,l?"":j));if(l){var d=bn(l[1]);var c=r.getElementById(f);c.src=d;bq(c,"crop");var b=m.currentStyle.styleFloat!=="none";if(c.currentStyle.display==="inline"||b){if(s<7&&b&&m.canHaveChildren){m.runtimeStyle.display="inline";m.runtimeStyle.position="relative";c.runtimeStyle.position="absolute"}c.style.display="inline-block";if(m.currentStyle.styleFloat!=="none"){c.style.pixelWidth=m.offsetWidth}var a=new Image;a.onload=function(){c.style.pixelWidth=this.width;c.style.pixelHeight=Math.max(this.height,c.offsetHeight)};a.src=d}}m.runtimeStyle[this.position]=null}},recalc:function(){if(this.content==null)return;for(var a=0;a<this.match.length;a++){this.create(this.match[a])}},toString:function(){return"."+this.className+"{display:inline}"}},{CONTENT:/content\s*:\s*([^;]*)(;|$)/,ANON:"<ie7:! class='ie7_anon %1' id=%2 style='%3'>%4</ie7:!>",MATCH:/(.*):(before|after).*/,count:0});h._getLang=function(b){var a="";while(b&&b.nodeType===1){a=b.lang||b.getAttribute("lang")||"";if(a)break;b=b.parentNode}return a};bd=Y(bd,{":lang\\(([^)]+)\\)":"((ii=IE7._getLang(e))==='$1'||ii.indexOf('$1-')===0)&&"})}var cX=/^(submit|reset|button)$/;h.HTML.addRecalc("button,input",function(b){if(b.nodeName==="BUTTON"){var a=b.outerHTML.match(/ value="([^"]*)"/i);b.runtimeStyle.value=a?a[1]:""}if(b.type==="submit"){x(b,"onclick",function(){b.runtimeStyle.clicked=true;setTimeout("document.all."+b.uniqueID+".runtimeStyle.clicked=false",1)})}});h.HTML.addRecalc("form",function(c){x(c,"onsubmit",function(){for(var b,a=0;b=c[a];a++){if(cX.test(b.type)&&!b.disabled&&!b.runtimeStyle.clicked){b.disabled=true;setTimeout("document.all."+b.uniqueID+".disabled=false",1)}else if(b.nodeName==="BUTTON"&&b.type==="submit"){setTimeout("document.all."+b.uniqueID+".value='"+b.value+"'",1);b.value=b.runtimeStyle.value}}})});h.HTML.addRecalc("img",function(a){if(a.alt&&!a.title)a.title=""});if(s<8){h.CSS.addRecalc("border-spacing",be,function(a){if(a.currentStyle.borderCollapse!=="collapse"){a.cellSpacing=B(a,a.currentStyle["ie7-border-spacing"].split(" ")[0])}});h.CSS.addRecalc("box-sizing","content-box",h.Layout.boxSizing);h.CSS.addRecalc("box-sizing","border-box",h.Layout.borderBox)}if(s<8){var cY=/^image/i;h.HTML.addRecalc("object",function(a){if(cY.test(a.type)){a.body.style.cssText="margin:0;padding:0;border:none;overflow:hidden";return a}})}var K,H=(function(){var cZ=/^[>+~]/,bs=false;function da(d,c,b){d=bP(d);if(!c)c=r;var a=c;bs=cZ.test(d);if(bs){c=c.parentNode;d="*"+d}try{return m.create(d,bs)(c,b?null:[],a)}catch(ex){return b?null:[]}};var db=/^(\\.|[' >+~#.\[\]:*(),\w-\^|$=]|[^\x00-\xa0])+$/,dp=/^(href|src)$/,cg={"class":"className","for":"htmlFor"},dq=/\sie7_\w+/g,dc=/^(action|cite|codebase|data|dynsrc|href|longdesc|lowsrc|src|usemap|url)$/i;h._0=function(d,c){if(d.getAttributeNode){var b=d.getAttributeNode(c)}c=cg[c.toLowerCase()]||c;if(!b)b=d.attributes[c];var a=b&&b.specified;if(d[c]&&typeof d[c]=="boolean")return c.toLowerCase();if((a&&dc.test(c))||(!b&&C)||c==="value"||c==="type"){return d.getAttribute(c,2)}if(c==="style")return d.style.cssText.toLowerCase()||null;return a?String(b.nodeValue):null};var ch="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";Y(cg,cy(ch.toLowerCase().split(","),ch.split(",")));h._1=function(b,a){a+="Sibling";do{b=b[a];if(b&&b.nodeName>"@")break}while(b);return b};var dd=/(^|[, >+~])([#.:\[])/g,dr=/\)\{/g,de=/,/,ds=/^['"]/,df=/\\([\da-f]{2,2})/gi,dt=/last/i;h._9=function(d,c){var b=d.all[c]||null;if(!b||(b.nodeType&&h._0(b,"id")===c))return b;for(var a=0;a<b.length;a++){if(h._0(b[a],"id")===c)return b[a]}return null};var W=E.extend({dictionary:new cw({ident:/\-?(\\.|[_a-z]|[^\x00-\xa0])(\\.|[\w-]|[^\x00-\xa0])*/,combinator:/[\s>+~]/,operator:/[\^~|$*]?=/,nth_arg:/[+-]?\d+|[+-]?\d*n(?:\s*[+-]\s*\d+)?|even|odd/,tag:/\*|<#ident>/,id:/#(<#ident>)/,'class':/\.(<#ident>)/,pseudo:/\:([\w-]+)(?:\(([^)]+)\))?/,attr:/\[(<#ident>)(?:(<#operator>)((?:\\.|[^\[\]#.:])+))?\]/,negation:/:not\((<#tag>|<#id>|<#class>|<#attr>|<#pseudo>)\)/,sequence:/(\\.|[~*]=|\+\d|\+?\d*n\s*\+\s*\d|[^\s>+~,\*])+/,filter:/[#.:\[]<#sequence>/,selector:/[^>+~](\\.|[^,])*?/,grammar:/^(<#selector>)((,<#selector>)*)$/}),ignoreCase:true}),dg=new W({"\\\\.|[~*]\\s+=|\\+\\s+\\d":E.IGNORE,"\\[\\s+":"[","\\(\\s+":"(","\\s+\\)":")","\\s+\\]":"]","\\s*([,>+~]|<#operator>)\\s*":"$1","\\s+$":"","\\s+":" "});function dh(a){a=dg.parse(a.replace(df,"\\x$1")).replace(bv,"$1").replace(dd,"$1*$2");if(!db.test(a))bH();return a};function du(a){return a.replace(bR,di)};function di(b,a){return R[a]};var dj=/\{/g,dk=/\\{/g;function bI(a){return Array((a.replace(dk,"").match(dj)||"").length+1).join("}")};bd=new W(bd);var u=/:target/i,U=/:root/i;function P(b){var a="";if(U.test(b))a+=",R=d.documentElement";if(u.test(b))a+=",H=d.location;H=H&&H.hash.replace('#','')";if(a||b.indexOf("#")!==-1){a=",t=c.nodeType,d=t===9?c:c.ownerDocument||(c.document||c).parentWindow.document"+a}return"var ii"+a+";"};var V={" ":";while(e!=s&&(e=e.parentNode)&&e.nodeType===1){",">":".parentElement;if(e){","+":";while((e=e.previousSibling)&&!("+ca+"))continue;if(e){","~":";while((e=e.previousSibling)){"+cb},I=/\be\b/g;K=new W({"(?:(<#selector>)(<#combinator>))?(<#tag>)(<#filter>)?$":function(i,g,f,d,c){var b="";if(d!=="*"){var a=d.toUpperCase();b+="if(e.nodeName==='"+a+(a===d?"":"'||e.nodeName==='"+d)+"'){"}if(c){b+="if("+bd.parse(c).slice(0,-2)+"){"}b=b.replace(I,"e"+this.index);if(f){b+="var e=e"+(this.index++)+V[f];b=b.replace(I,"e"+this.index)}if(g){b+=this.parse(g)}return b}});var J="e0=IE7._9(d,'%1');if(e0){",y="var n=c.getElementsByTagName('%1');",v="if(r==null)return e0;r[k++]=e0;",p=1,z=new W({"^((?:<#selector>)?(?:<#combinator>))(<#tag>)(<#filter>)?$":true}),q={},o=new W({"^(<#tag>)#(<#ident>)(<#filter>)?( [^,]*)?$":function(i,g,f,d,c){var b=F(J,f),a="}";if(d){b+=K.parse(g+d);a=bI(b)}if(c){b+="s=c=e0;"+m.parse("*"+c)}else{b+=v}return b+a},"^([^#,]+)#(<#ident>)(<#filter>)?$":function(f,d,c,b){var a=F(J,c);if(d==="*"){a+=v}else{a+=K.parse(d+b)+v+"break"}return a+bI(a)},"^.*$":""}),m=new W({"<#grammar>":function(j,k,l){if(!this.groups)this.groups=[];var i=z.exec(" "+k);if(!i)bH();this.groups.push(i.slice(1));if(l){return this.parse(l.replace(de,""))}var g=this.groups,f=g[0][p];for(var b=1;i=g[b];b++){if(f!==i[p]){f="*";break}}var d="",c=v+"continue filtering;";for(var b=0;i=g[b];b++){K.index=0;if(f!=="*")i[p]="*";i=i.join("");if(i===" *"){d=c;break}else{i=K.parse(i);if(bs)i+="if(e"+K.index+"==s){";d+=i+c+bI(i)}}var a=f==="*";return(a?"var n=c.all;":F(y,f))+"filtering:while((e0=n[i++]))"+(a?cb.replace(I,"e0"):"{")+d+"}"},"^.*$":bH}),n=/\&\&(e\d+)\.nodeType===1(\)\{\s*if\(\1\.nodeName=)/g;m.create=function(c){if(!q[c]){c=dh(c);this.groups=null;K.index=0;var b=this.parse(c);this.groups=null;K.index=0;if(c.indexOf("#")!==-1){var a=o.parse(c);if(a){b="if(t===1||t===11|!c.getElementById){"+b+"}else{"+a+"}"}}b=b.replace(n,"$2");b=P(c)+ba(b);q[c]=new Function("return function(c,r,s){var i=0,k=0,e0;"+b+"return r}")()}return q[c]};return da})();function bH(){throw new SyntaxError("Invalid selector.");};h.loaded=true;(function(){try{if(!r.body)throw"continue";bt.doScroll("left")}catch(ex){setTimeout(arguments.callee,1);return}try{eval(bK.innerHTML)}catch(ex){}if(typeof IE7_PNG_SUFFIX=="object"){bf=IE7_PNG_SUFFIX}else{bf=new RegExp(bO(L.IE7_PNG_SUFFIX||"-trans.png")+"(\\?.*)?$","i")}A=r.body;w=C?A:bt;A.className+=" ie7_body";bt.className+=" ie7_html";if(C)cP();h.CSS.init();h.HTML.init();h.HTML.apply();h.CSS.apply();h.recalc()})()})(this,document);