在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题?

百度源代码如下:

<!Doctype html>
<html xmlns=http://www.w3.org/1999/xhtml xmlns:bd=http://www.baidu.com/2010/xbdml>
<head>
<meta http-equiv=Content-Type content=“text/html;charset=utf-8″>
<meta http-equiv=X-UA-Compatible content=IE=EmulateIE7>
<title>百度一下,你就知道 </title>
<script>var wpo={start:new Date*1,pid:109,page:‘superpage’}</script><meta http-equiv=X-UA-Compatible content=IE=EmulateIE7>

可以打开百度,右键查看源码看下!我们可以看下文件头是否存在这样一行代码,这句话的意思是强制使用IE7模式来解析网页代码!

在这里送上几种IE使用模式:

1.强制使用IE5模式来解析

1 <meta http-equiv=“X-UA-Compatible” content=“IE=5″>

2.强制使用IE6模式来解析

1 <meta http-equiv=“X-UA-Compatible” content=“IE=6″>

3.强制使用IE7模式来解析的两种方式

1     <meta http-equiv=“X-UA-Compatible” content=“IE=EmulateIE7″>
2 <meta http-equiv=“X-UA-Compatible” content=“IE=7″>

4. 强制使用IE8模式来解析

1 <meta http-equiv=“X-UA-Compatible” content=“IE=8″>

5. Google Chrome Frame也可以让IE用上Chrome的引擎:

1 <meta http-equiv=“X-UA-Compatible” content=“chrome=1″/>

6.如果一个特定版本的IE支持所要求的兼容性模式多于一种,如下代码就是IE5和IE8两种模式:

1 <meta http-equiv=“X-UA-Compatible” content=“IE=5; IE=8″/>

除此之外,我们还可以设定网站服务器以指定预设兼容性模式

如 果服务器是自己的话,可以在服务器上定义一个自订标头来为它们的网站预设一个特定的文件兼容性模式。这个特定的方法取决于你的网站服务器。录入,下列的 web.config文件使Microsoft Internet Information Services (IIS)能定义一个自订标头以自动使用IE7 mode来编译所有网页。

另 外还有一起其他的解决方案,例如google的ie7 – js中是一个JavaScript库(解决IE与W3C标准的冲突的JS库),使微软的Internet Explorer的行为像一个Web标准兼容的浏览器,支持更多的W3C标准,支持CSS2、CSS3选择器。它修复了许多的HTML和CSS问题,并使 得透明PNG在IE5、IE6下正确显示。

使IE5,IE6兼容到IE7模式(推荐)

以下为google code的代码地址,但是被大天朝那个啥了,你懂得,所以得翻那个啥,你懂得,因此我将代码复制下来了,放在文章最后的代码框中了。

使IE5,IE6兼容到IE7模式(推荐)

<!–[if lt IE 7]><script src=” http://ie7-js.googlecode.com/svn/version/2.0(beta)/IE7.js” type=”text/javascript”></script><![endif]–>

使IE5,IE6,IE7兼容到IE8模式

<!–[if lt IE 8]><script src=” http://ie7-js.googlecode.com/svn/version/2.0(beta)/IE8.js” type=”text/javascript”></script><![endif]–>

使IE5,IE6,IE7,IE8兼容到IE9模式

<!–[if lt IE 9]><script src=” http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js”></script><![endif]–>

那么怎么解决解决PNG显示问题,只需将透明png图片命名为 *-trans.png ,而美中不足的是,此方法对背景平铺(background-repeat)和背景(background-position)无法起到任何作用,默认会占满整个容器。当然你也可以使用《 IE6 PNG透明终极解决方案》中所讲的方法。

还有一种有趣的方法

创建html5时发现这么一句话,如下:

1 <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″/>

这样写可以达到的效果是如果安装了GCF(Google Chrome Frame 谷歌内嵌浏览器框架的简称),则使用GCF来渲染页面,如果没安装GCF,则使用最高版本的IE内核进行渲染。这个插件可以让用户的IE浏览器外不变,但 用户在浏览网页时,实际上使用的是Google Chrome浏览器内核,而且支持IE6、7、8等多个版本的IE浏览器。

Google Code 代码下载

IE7.js

/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */
2 (function(){IE7={toString:function(){return"IE7 version 2.0 (beta)"}};var u=K();var v=/ie7_debug/.test(top.location.search);var w=IE7.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];var x=document.compatMode!="CSS1Compat";var y,z,A;var B="!";var C=/^[\w\.]+[^:]*$/;function D(a,b){if(C.test(a))a=(b||"")+a;return a};function E(a,b){a=D(a,b);return a.slice(0,a.lastIndexOf("/")+1)};var F=document.scripts[document.scripts.length-1];try{eval(F.innerHTML)}catch(e){}var G=E(F.src);try{var H=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}var I={};function J(a,b){try{a=D(a,b);if(!I[a]){H.open("GET",a,false);H.send();if(H.status==0||H.status==200){I[a]=H.responseText}}}catch(e){}finally{return I[a]||""}};if(w<5.5){undefined=u();if("".replace(/^/,String)){var L=/(g|gi)$/;var M=String.prototype.replace;String.prototype.replace=function(a,b){if(typeof b=="function"){if(a&&a.constructor==RegExp){var c=a;var d=c.global;if(d==null)d=L.test(c);if(d)c=new RegExp(c.source)}else{c=new RegExp(bj(a))}var e,f=this,g="";while(f&&(e=c.exec(f))){g+=f.slice(0,e.index)+b.apply(this,e);f=f.slice(e.index+e[0].length);if(!d)break}return g+f}return M.apply(this,arguments)}}B="HTML:!";Array.prototype.pop=function(){if(this.length){var i=this[this.length-1];this.length--;return i}return undefined};Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i]}return this.length};var N=this;Function.prototype.apply=function(o,a){if(o===undefined)o=N;else if(o==null)o=window;else if(typeof o=="string")o=new String(o);else if(typeof o=="number")o=new Number(o);else if(typeof o=="boolean")o=new Boolean(o);if(arguments.length==1)a=[];else if(a[0]&&a[0].writeln)a[0]=a[0].documentElement.document||a[0];var $="#ie7_apply",r;o[$]=this;switch(a.length){case 0:r=o[$]();break;case 1:r=o[$](a[0]);break;case 2:r=o[$](a[0],a[1]);break;case 3:r=o[$](a[0],a[1],a[2]);break;case 4:r=o[$](a[0],a[1],a[2],a[3]);break;case 5:r=o[$](a[0],a[1],a[2],a[3],a[4]);break;default:var b=[],i=a.length-1;do b[i]="a["+i+"]";while(i--);eval("r=o[$]("+b+")")}if(typeof o.valueOf=="function"){delete o[$]}else{o[$]=undefined;if(r&&r.writeln)r=r.documentElement.document||r}return r};Function.prototype.call=function(o){return this.apply(o,O.apply(arguments,[1]))};ct+="address,blockquote,body,dd,div,dt,fieldset,form,"+"frame,frameset,h1,h2,h3,h4,h5,h6,iframe,noframes,object,p,"+"hr,applet,center,dir,menu,pre,dl,li,ol,ul{display:block}"}var O=Array.prototype.slice;var P=/%([1-9])/g;var R=/^\s\s*/;var S=/\s\s*$/;var T=/([\/()[\]{}|*+-.,^$?\\])/g;var U=/\bbase\b/;var V=["constructor","toString"];var W;function X(){};X.extend=function(a,b){W=true;var c=new this;be(c,a);W=false;var d=c.constructor;function e(){if(!W)d.apply(this,arguments)};c.constructor=e;e.extend=arguments.callee;be(e,b);e.prototype=c;return e};X.prototype.extend=function(a){return be(this,a)};var Y="#";var Z="~";var ba=/\\./g;var bb=/\(\?[:=!]|\[[^\]]+\]/g;var bc=/\(/g;var bd=X.extend({constructor:function(a){this[Z]=[];this.merge(a)},exec:function(f,g){f+='';if(arguments.length==1){var h=this;var j=this[Z];g=function(a){if(a){var b,c=1,i=0;while((b=h[Y+j[i++]])){var d=c+b.length+1;if(arguments[c]){var e=b.replacement;switch(typeof e){case"function":return e.apply(h,O.call(arguments,c,d));case"number":return arguments[c+e];default:return e}}c=d}}return""}}return f.replace(new RegExp(this,this.ignoreCase?"gi":"g"),g)},add:function(a,b){if(a instanceof RegExp){a=a.source}if(!this[Y+a])this[Z].push(String(a));this[Y+a]=new bd.Item(a,b)},merge:function(a){for(var i in a)this.add(i,a[i])},toString:function(){return"("+this[Z].join(")|(")+")"}},{IGNORE:"$0",Item:X.extend({constructor:function(a,b){a=a instanceof RegExp?a.source:String(a);if(typeof b=="number")b=String(b);else if(b==null)b="";if(typeof b=="string"&&/\$(\d+)/.test(b)){if(/^\$\d+$/.test(b)){b=parseInt(b.slice(1))}else{var Q=/'/.test(b.replace(/\\./g,""))?'"':"'";b=b.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\$(\d+)/g,Q+"+(arguments[$1]||"+Q+Q+")+"+Q);b=new Function("return "+Q+b.replace(/(['"])\1\+(.*)\+\1\1$/,"$1")+Q)}}this.length=bd.count(a);this.replacement=b;this.toString=K(a)}}),count:function(a){a=String(a).replace(ba,"").replace(bb,"");return bi(a,bc).length}});function be(a,b){if(a&&b){if(arguments.length>2){var c=b;b={};b[c]=arguments[2]}var d=(typeof b=="function"?Function:Object).prototype;var i=V.length,c;if(W)while(c=V[--i]){var e=b[c];if(e!=d[c]){if(U.test(e)){bf(a,c,e)}else{a[c]=e}}}for(c in b)if(d[c]===undefined){var e=b[c];if(a[c]&&typeof e=="function"&&U.test(e)){bf(a,c,e)}else{a[c]=e}}}return a};function bf(c,d,e){var f=c[d];c[d]=function(){var a=this.base;this.base=f;var b=e.apply(this,arguments);this.base=a;return b}};function bg(a,b){if(!b)b=a;var c={};for(var i in a)c[i]=b[i];return c};function bh(c){var d=arguments;var e=new RegExp("%([1-"+arguments.length+"])","g");return String(c).replace(e,function(a,b){return b<d.length?d[b]:a})};function bi(a,b){return String(a).match(b)||[]};function bj(a){return String(a).replace(T,"\\$1")};function bk(a){return String(a).replace(R,"").replace(S,"")};function K(k){return function(){return k}};var bl=new bd({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",X:"Y"});function bm(a){return bl.exec(a)};var bn=X.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:u});function bo(){if(/ie7_off/.test(top.location.search)||w<5)return;y=document.documentElement;z=document.body;IE7._0=A=x?z:y;if(x)cO();IE7.CSS.init();IE7.HTML.init();IE7.HTML.apply();IE7.CSS.apply();br()};var bp=[];function bq(a){bp.push(a)};function br(){IE7.HTML.recalc();IE7.CSS.recalc();for(var i=0;i<bp.length;i++)bp[i]()};var bs=bd.extend({ignoreCase:true});function bt(a,b,c){if(!bP[a]){bK=[];var d="";var e=bQ.escape(a).split(",");for(var i=0;i<e.length;i++){bM=bL=bN=0;bO=e.length>1?2:0;var f=bQ.exec(e[i])||"if(0){";if(bM){f+=bh("if(e%1.nodeName!='!'){",bL)}var g=bO>1?bH:"";f+=bh(g+bI,bL);f+=Array(bi(f,/\{/g).length+1).join("}");d+=f}eval(bh(bJ,bK)+bQ.unescape(d)+"return s?null:r}");bP[a]=_1}return bP[a](b||document,c)};var bu=w<6;IE7._2=1;IE7._3=function(a,b){var c=a.all[b]||null;if(!c||c.id==b)return c;for(var i=0;i<c.length;i++){if(c[i].id==b)return c[i]}return null};var bv=/^(href|src)$/;var bw={"class":"className","for":"htmlFor"};IE7._4=function(a,b){if(b=="src"&&a.pngSrc)return a.pngSrc;var c=bu?(a.attributes[b]||a.attributes[bw[b.toLowerCase()]]):a.getAttributeNode(b);if(c&&(c.specified||b=="value")){if(bv.test(b)){return a.getAttribute(b,2)}else if(b=="style"){return a.style.cssText}else{return c.nodeValue}}return null};var bx="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";be(bw,bg(bx.toLowerCase().split(","),bx.split(",")));IE7._5=function(a){while(a&&(a=a.nextSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};IE7._6=function(a){while(a&&(a=a.previousSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};var by=/([\s>+~,]|[^(]\+|^)([#.:\[])/g,bz=/(^|,)([^\s>+~])/g,bA=/\s*([\s>+~(),]|^|$)\s*/g,bB=/\s\*\s/g;var bC=bd.extend({constructor:function(a){this.base(a);this.cache={};this.sorter=new bd;this.sorter.add(/:not\([^)]*\)/,bd.IGNORE);this.sorter.add(/([ >](\*|[\w-]+))([^: >+~]*)(:\w+-child(\([^)]+\))?)([^: >+~]*)/,"$1$3$6$4")},ignoreCase:true,escape:function(a){return this.optimise(this.format(a))},format:function(a){return a.replace(bA,"$1").replace(bz,"$1 $2").replace(by,"$1*$2")},optimise:function(a){return this.sorter.exec(a.replace(bB,">* "))},parse:function(a){return this.cache[a]||(this.cache[a]=this.unescape(this.exec(this.escape(a))))},unescape:function(a){return bZ(a)}});var bD={"":"%1!=null","=":"%1=='%2'","~=":/(^| )%1( |$)/,"|=":/^%1(-|$)/,"^=":/^%1/,"$=":/%1$/,"*=":/%1/};var bE={"first-child":"!IE7._6(e%1)","link":"e%1.currentStyle['ie7-link']=='link'","visited":"e%1.currentStyle['ie7-link']=='visited'"};var bF="var p%2=0,i%2,e%2,n%2=e%1.";var bG="e%1.sourceIndex";var bH="var g="+bG+";if(!p[g]){p[g]=1;";var bI="r[r.length]=e%1;if(s)return e%1;";var bJ="var _1=function(e0,s){IE7._2++;var r=[],p={},reg=[%1],d=document;";var bK;var bL;var bM;var bN;var bO;var bP={};var bQ=new bC({" (\\*|[\\w-]+)#([\\w-]+)":function(a,b,c){bM=false;var d="var e%2=IE7._3(d,'%4');if(e%2&&";if(b!="*")d+="e%2.nodeName=='%3'&&";d+="e%1==d||e%1.contains(e%2)){";if(bN)d+=bh("i%1=n%1.length;",bN);return bh(d,bL++,bL,b.toUpperCase(),c)}," (\\*|[\\w-]+)":function(a,b){bO++;bM=b=="*";var c=bF;c+=(bM&&bu)?"all":"getElementsByTagName('%3')";c+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";return bh(c,bL++,bN=bL,b.toUpperCase())},">(\\*|[\\w-]+)":function(a,b){var c=bN;bM=b=="*";var d=bF;d+=c?"children":"childNodes";if(!bM&&c)d+=".tags('%3')";d+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";if(bM){d+="if(e%2.nodeType==1){";bM=bu}else{if(!c)d+="if(e%2.nodeName=='%3'){"}return bh(d,bL++,bN=bL,b.toUpperCase())},"\\+(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;c+="e%1=IE7._5(e%1);if(e%1";if(b!="*")c+="&&e%1.nodeName=='%2'";c+="){";return bh(c,bL,b.toUpperCase())},"~(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;bO=2;c+="while(e%1=e%1.nextSibling){if(e%1.ie7_adjacent==IE7._2)break;if(";if(b=="*"){c+="e%1.nodeType==1";if(bu)c+="&&e%1.nodeName!='!'"}else c+="e%1.nodeName=='%2'";c+="){e%1.ie7_adjacent=IE7._2;";return bh(c,bL,b.toUpperCase())},"#([\\w-]+)":function(a,b){bM=false;var c="if(e%1.id=='%2'){";if(bN)c+=bh("i%1=n%1.length;",bN);return bh(c,bL,b)},"\\.([\\w-]+)":function(a,b){bM=false;bK.push(new RegExp("(^|\\s)"+bj(b)+"(\\s|$)"));return bh("if(e%1.className&®[%2].test(e%1.className)){",bL,bK.length-1)},"\\[([\\w-]+)\\s*([^=]?=)?\\s*([^\\]]*)\\]":function(a,b,c,d){var e=bw[b]||b;if(c){var f="e%1.getAttribute('%2',2)";if(!bv.test(b)){f="e%1.%3||"+f}b=bh("("+f+")",bL,b,e)}else{b=bh("IE7._4(e%1,'%2')",bL,b)}var g=bD[c||""];if(g&&g.source){bK.push(new RegExp(bh(g.source,bj(bQ.unescape(d)))));g="reg[%2].test(%1)";d=bK.length-1}return"if("+bh(g,b,d)+"){"},":([\\w-]+)(\\(([^)]+)\\))?":function(a,b,c,d){return"if("+bh(bE[b]||"false",bL,d||"")+"){"}});var bR=/'/g,bS=/^\x01/;var bT=[];var bU=new bs({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bW,'"(\\\\.|[^"\\\\])*"':bW,"\\s+":" "});function bV(a){return bU.exec(a)};function bW(c){return"\x01"+bT.push(c.replace(/\\([\da-fA-F]{1,4})/g,function(a,b){return"\\u"+"0000".slice(b.length)+a}).slice(1,-1).replace(bR,"\\'"))};function bX(a){return bS.test(a)?bT[a.slice(1)-1]:a};var bY=new bs({"\\x01(\\d+)":function(a,b){return bT[b-1]}});function bZ(a){return bY.exec(a)};var ca=[];function cb(a){bq(a);cc(window,"onresize",a)};function cc(a,b,c){a.attachEvent(b,c);ca.push(arguments)};function cd(a,b,c){try{a.detachEvent(b,c)}catch(ignore){}};cc(window,"onunload",function(){var a;while(a=ca.pop()){cd(a[0],a[1],a[2])}});function ce(a,b,c){if(!a.elements)a.elements={};if(c)a.elements[b.uniqueID]=b;else delete a.elements[b.uniqueID];return c};cc(window,"onbeforeprint",function(){if(!IE7.CSS.print)new cv("print");IE7.CSS.print.recalc()});var cf=/^\d+(px)?$/i;var cg=/^\d+%$/;var ch=function(a,b){if(cf.test(b))return parseInt(b);var c=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b||0;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return b};function ci(a){var b=document.createElement(a||"object");b.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";b.ie7_anon=true;return b};var cj="ie7-";function ck(a){return a.currentStyle["ie7-position"]=="fixed"};function cl(a,b){return a.currentStyle[cj+b]||a.currentStyle[b]};function cm(a,b,c){if(a.currentStyle[cj+b]==null){a.runtimeStyle[cj+b]=a.currentStyle[b]}a.runtimeStyle[b]=c};var cn=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i;var co=/\s*\{\s*/,cp=/\s*\}\s*/,cq=/\s*\,\s*/;var cr=/(.*)(:first-(line|letter))/;var cs=/UNKNOWN|([:.])\w+\1/;var ct=":link{ie7-link:link}:visited{ie7-link:visited}";var cu=document.styleSheets;IE7.CSS=new(bn.extend({parser:new bs,screen:"",print:"",styles:[],rules:[],pseudoClasses:w<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var a=[];for(var b in this)a.push(b);return a.join("|")}},init:function(){var a="^\x01[ DISCUZ_RUN_0 ]quot;;var b=[];if(this.pseudoClasses)b.push(this.pseudoClasses);var c=this.dynamicPseudoClasses.toString();if(c)b.push(c);b=b.join("|");var d=w<7?["[>+~[(]|([:.])\\w+\\1"]:[];if(b)d.push(":("+b+")");this.UNKNOWN=new RegExp(d.join("|")||a,"i");var e=w<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[];var f=e.concat();if(b)f.push(":("+b+")");cx.COMPLEX=new RegExp(f.join("|")||a,"gi");if(c)e.push(":("+c+")");cy.COMPLEX=new RegExp(e.join("|")||a,"gi");cy.MATCH=new RegExp(c?"(.*):("+c+")(.*)":a,"i");this.createStyleSheet();this.refresh()},refresh:function(){this.styleSheet.cssText=ct+this.screen+this.print},getInlineStyles:function(){var a=document.getElementsByTagName("style"),b;for(var i=a.length-1;(b=a[i]);i--){if(!b.disabled&&!b.ie7){this.styles.push(b.innerHTML)}}},apply:function(){this.getInlineStyles();new cv("screen");this.trash()},addFix:function(a,b){this.parser.add(a,b)},recalc:function(){this.screen.recalc();var a=/ie7_recalc\d+/g;var b=ct.match(/[{,]/g).length;var c=b+(this.screen.cssText.match(/\{/g)||"").length;var d=this.styleSheet.rules,e;var f,g,h,l,i,j,k,m;for(i=b;i<c;i++){e=d[i];if(e&&(f=e.style.cssText.match(a))){h=bt(e.selectorText);if(h.length)for(j=0;j<f.length;j++){m=f[j];g=IE7.CSS.recalcs[m.slice(10)][2];for(k=0;(l=h[k]);k++){if(l.currentStyle[m])g(l)}}}}},addRecalc:function(d,e,f,g){e=new RegExp("([{;\\s])"+d+"\\s*:\\s*"+e+"[^;}]*");var h=this.recalcs.length;if(g)g=d+":"+g;this.addFix(e,function(a,b,c){return(g?b+g:a)+";ie7-"+a.slice(1)+";ie7_recalc"+h+":1"});this.recalcs.push(arguments);return h},getText:function(a,b){var c=a.cssText;if(H&&cs.test(c))c=J(a.href,b)||c;return c},createStyleSheet:function(){this.styleSheet=document.createStyleSheet();this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=ct},trash:function(){for(var i=0;i<cu.length;i++){if(!cu[i].ie7&&cu[i].cssText){cu[i].cssText=""}}}}));var cv=X.extend({constructor:function(a){this.media=a;this.load();IE7.CSS[a]=this;IE7.CSS.refresh()},createRule:function(a,b){if(IE7.CSS.UNKNOWN.test(a)){var c;if(cw&&(c=a.match(cw.MATCH))){return new cw(c[1],c[2],b)}else if(c=a.match(cy.MATCH)){if(!cn.test(c)||cy.COMPLEX.test(c)){return new cy(a,c[1],c[2],c[3],b)}}else return new cx(a,b)}return a+" {"+b+"}"},load:function(){this.cssText="";this.getText();this.parse();this.cssText=bZ(this.cssText);I={}},getText:function(){var f=[].concat(IE7.CSS.styles);var g=/@media\s+([^{]*)\{([^@]+\})\s*\}/gi;var h=/\ball\b|^$/i,j=/\bscreen\b/i,k=/\bprint\b/i;function l(a,b){m.value=b;return a.replace(g,m)};function m(a,b,c){b=n(b);switch(b){case"screen":case"print":if(b!=m.value)return"";case"all":return c}return""};function n(a){if(h.test(a))return"all";else if(j.test(a))return(k.test(a))?"all":"screen";else if(k.test(a))return"print"};var o=this;function p(a,b,c,d){var e="";if(!d){c=n(a.media);d=0}if(c=="all"||c==o.media){if(d<3){for(var i=0;i<a.imports.length;i++){e+=p(a.imports[i],E(a.href,b),c,d+1)}}e+=bV(a.href?r(a,b):f.pop()||"");e=l(e,o.media)}return e};var q={};function r(a,b){var c=D(a.href,b);if(q[c])return"";q[c]=(a.disabled)?"":t(IE7.CSS.getText(a,b),E(a.href,b));return q[c]};var s=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function t(a,b){return a.replace(s,"$1"+b.slice(0,b.lastIndexOf("/")+1)+"$2")};for(var i=0;i<cu.length;i++){if(!cu[i].disabled&&!cu[i].ie7){this.cssText+=p(cu[i])}}},parse:function(){this.cssText=IE7.CSS.parser.exec(this.cssText);var a=IE7.CSS.rules.length;var b=this.cssText.split(cp),c;var d,e,i,j;for(i=0;i<b.length;i++){c=b[i].split(co);d=c[0].split(cq);e=c[1];for(j=0;j<d.length;j++){d[j]=e?this.createRule(d[j],e):""}b[i]=d.join("\n")}this.cssText=b.join("\n");this.rules=IE7.CSS.rules.slice(a)},recalc:function(){var a,i;for(i=0;(a=this.rules[i]);i++)a.recalc()},toString:function(){return"@media "+this.media+"{"+this.cssText+"}"}});var cw;var cx=X.extend({constructor:function(a,b){this.id=IE7.CSS.rules.length;this.className=cx.PREFIX+this.id;a=(a).match(cr)||a||"*";this.selector=a[1]||a;this.selectorText=cx.simple(this.selector)+"."+this.className+(a[2]||"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");IE7.CSS.rules.push(this);this.init()},init:u,add:function(a){a.className+=" "+this.className},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},recalc:function(){var a=bt(this.selector);for(i=0;i<a.length;i++)this.add(a[i])},toString:function(){return this.selectorText+" {"+this.cssText+"}"}},{PREFIX:"ie7_class",CHILD:/>/g,simple:function(a){return a.replace(this.CHILD," ").replace(this.COMPLEX,"").replace()}});var cy=cx.extend({constructor:function(a,b,c,d,e){this.attach=b||"*";this.dynamicPseudoClass=IE7.CSS.dynamicPseudoClasses[c];this.target=d;this.base(a,e)},recalc:function(){var a=bt(this.attach),b;for(var i=0;b=a[i];i++){var c=this.target?bt(this.target,b):[b];if(c.length)this.dynamicPseudoClass.apply(b,c,this)}}});var cz=X.extend({constructor:function(a,b){this.name=a;this.apply=b;this.instances={};IE7.CSS.dynamicPseudoClasses[a]=this},register:function(a){var b=a[2];a.id=b.id+a[0].uniqueID;if(!this.instances[a.id]){var c=a[1],j;for(j=0;j<c.length;j++)b.add(c[j]);this.instances[a.id]=a}},unregister:function(a){if(this.instances[a.id]){var b=a[2];var c=a[1],j;for(j=0;j<c.length;j++)b.remove(c[j]);delete this.instances[a.id]}}});if(w<7){var cA=new cz("hover",function(a){var b=arguments;cc(a,w<5.5?"onmouseover":"onmouseenter",function(){cA.register(b)});cc(a,w<5.5?"onmouseout":"onmouseleave",function(){cA.unregister(b)})});cc(document,"onmouseup",function(){var a=cA.instances;for(var i in a)if(!a[i][0].contains(event.srcElement))cA.unregister(a[i])})}var cB=w<5.5?"HTML:":"";ct+="h1{font-size:2em}h2{font-size:1.5em;}h3{font-size:1.17em;}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.67em}";IE7.HTML=new(bn.extend({fixed:{},init:u,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var i=0;i<this.fixes.length;i++){var a=bt(this.fixes[i][0]);var b=this.fixes[i][1]||this.fixElement;for(var j=0;j<a.length;j++)b(a[j])}},addRecalc:function(){this.recalcs.push(arguments)},fixElement:function(a){var b=document.createElement("<"+cB+a.outerHTML.slice(1));if(a.outerHTML.slice(-2)!="/>"){var c="</"+a.tagName+">",d;while((d=a.nextSibling)&&d.outerHTML!=c){b.appendChild(d)}if(d)d.removeNode()}a.parentNode.replaceChild(b,a)},recalc:function(){for(var i=0;i<this.recalcs.length;i++){var a=bt(this.recalcs[i][0]);var b=this.recalcs[i][1],c;var d=Math.pow(2,i);for(var j=0;(c=a[j]);j++){var e=c.uniqueID;if((this.fixed[e]&d)==0){c=b(c)||c;this.fixed[e]|=d}}}}}));if(w<7){IE7.HTML.addFix("abbr");IE7.HTML.addRecalc("label",function(a){if(!a.htmlFor){var b=bt("input,textarea",a,true);if(b){cc(a,"onclick",function(){b.click()})}}})}var cC="[.\\d]";new function(_){var layout=IE7.Layout=this;ct+="*{boxSizing:content-box}";IE7.hasLayout=w<5.5?function(a){return a.clientWidth}:function(a){return a.currentStyle.hasLayout};layout.boxSizing=function(a){if(!IE7.hasLayout(a)){a.style.height="0cm";if(a.currentStyle.verticalAlign=="auto")a.runtimeStyle.verticalAlign="top";collapseMargins(a)}};function collapseMargins(a){if(a!=A&&a.currentStyle.position!="absolute"){collapseMargin(a,"marginTop");collapseMargin(a,"marginBottom")}};function collapseMargin(a,b){if(!a.runtimeStyle[b]){var c=a.parentElement;if(c&&IE7.hasLayout(c)&&!IE7[b=="marginTop"?"_6":"_5"](a))return;var d=bt(">*:"+(b=="marginTop"?"first":"last")+"-child",a,true);if(d&&d.currentStyle.styleFloat=="none"&&IE7.hasLayout(d)){collapseMargin(d,b);margin=_7(a,a.currentStyle[b]);childMargin=_7(d,d.currentStyle[b]);if(margin<0||childMargin<0){a.runtimeStyle[b]=margin+childMargin}else{a.runtimeStyle[b]=Math.max(childMargin,margin)}d.runtimeStyle[b]="0px"}}};function _7(a,b){return b=="auto"?0:ch(a,b)};var UNIT=/^[.\d][\w%]*$/,AUTO=/^(auto|0cm)$/;var applyWidth,applyHeight;IE7.Layout.borderBox=function(a){applyWidth(a);applyHeight(a)};var fixWidth=function(e){applyWidth=function(a){if(!cg.test(a.currentStyle.width))f(a);collapseMargins(a)};function f(a,b){if(!a.runtimeStyle.fixedWidth){if(!b)b=a.currentStyle.width;a.runtimeStyle.fixedWidth=(UNIT.test(b))?Math.max(0,j(a,b)):b;cm(a,"width",a.runtimeStyle.fixedWidth)}};function g(a){if(!ck(a)){var b=a.offsetParent;while(b&&!IE7.hasLayout(b))b=b.offsetParent}return(b||A).clientWidth};function h(a,b){if(cg.test(b))return parseInt(parseFloat(b)/100*g(a));return ch(a,b)};var j=function(a,b){var c=a.currentStyle["box-sizing"]=="border-box";var d=0;if(x&&!c)d+=k(a)+l(a,"padding");else if(!x&&c)d-=k(a)+l(a,"padding");return h(a,b)+d};function k(a){return a.offsetWidth-a.clientWidth};function l(a,b){return h(a,a.currentStyle[b+"Left"])+h(a,a.currentStyle[b+"Right"])};ct+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";layout.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(ce(arguments.callee,a,a.currentStyle.minWidth!="none")){layout.boxSizing(a);f(a);m(a)}};eval("IE7.Layout.maxWidth="+String(layout.minWidth).replace(/min/g,"max"));function m(a){var b=a.getBoundingClientRect();var c=b.right-b.left;if(a.currentStyle.minWidth!="none"&&c<=j(a,a.currentStyle.minWidth)){a.runtimeStyle.width=j(a,a.currentStyle.minWidth)}else if(a.currentStyle.maxWidth!="none"&&c>=j(a,a.currentStyle.maxWidth)){a.runtimeStyle.width=j(a,a.currentStyle.maxWidth)}else{a.runtimeStyle.width=a.runtimeStyle.fixedWidth}};function n(a){if(ce(n,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&cl(a,"left")!="auto"&&cl(a,"right")!="auto"&&AUTO.test(cl(a,"width")))){o(a);IE7.Layout.boxSizing(a)}};IE7.Layout.fixRight=n;function o(a){var b=h(a,a.runtimeStyle._8||a.currentStyle.left);var c=g(a)-h(a,a.currentStyle.right)-b-l(a,"margin");if(parseInt(a.runtimeStyle.width)==c)return;a.runtimeStyle.width="";if(ck(a)||e||a.offsetWidth<c){if(!x)c-=k(a)+l(a,"padding");if(c<0)c=0;a.runtimeStyle.fixedWidth=c;cm(a,"width",c)}};var p=0;cb(function(){var i,a=(p<A.clientWidth);p=A.clientWidth;var b=layout.minWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.minWidth));if(a&&d)c.runtimeStyle.width="";if(a==d)m(c)}var b=layout.maxWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.maxWidth));if(!a&&d)c.runtimeStyle.width="";if(a!=d)m(c)}for(i in n.elements)o(n.elements[i])});if(x&&window.IE7_BOX_MODEL!==false){IE7.CSS.addRecalc("width",cC,applyWidth)}if(w<7){IE7.CSS.addRecalc("min-width",cC,layout.minWidth);IE7.CSS.addRecalc("max-width",cC,layout.maxWidth);IE7.CSS.addRecalc("right",cC,n)}};eval("var fixHeight="+bm(fixWidth));fixWidth();fixHeight(true)};var cD=D("blank.gif",G);var cE="DXImageTransform.Microsoft.AlphaImageLoader";var cF="progid:"+cE+"(src='%1',sizingMethod='%2')";var cG=new RegExp((window.IE7_PNG_SUFFIX||"-trans.png")+"[ DISCUZ_RUN_0 ]quot;,"i");var cH=[];function cI(a){if(cG.test(a.src)){var b=new Image(a.width,a.height);b.onload=function(){a.width=b.width;a.height=b.height;b=null};b.src=a.src;a.pngSrc=a.src;cL(a)}};if(w>=5.5&&w<7){var cJ=/background(-image)?\s*:\s*([^\(};]*)url\(([^\)]+)\)([^;}]*)/;IE7.CSS.addFix(cJ,function(a,b,c,d,e){d=bX(d);return cG.test(d)?"filter:"+bh(cF,d,"crop")+";zoom:1;background"+b+":"+c+"none"+e:a});IE7.HTML.addRecalc("img,input",function(a){if(a.tagName=="INPUT"&&a.type!="image")return;cI(a);cc(a,"onpropertychange",function(){if(!cK&&event.propertyName=="src"&&a.src.indexOf(cD)==-1)cI(a)})});var cK=false;cc(window,"onbeforeprint",function(){cK=true;for(var i=0;i<cH.length;i++)cM(cH[i])});cc(window,"onafterprint",function(){for(var i=0;i<cH.length;i++)cL(cH[i]);cK=false})}function cL(a,b){var c=a.filters[cE];if(c){c.src=a.src;c.enabled=true}else{a.runtimeStyle.filter=bh(cF,a.src,b||"scale");cH.push(a)}a.src=cD};function cM(a){a.src=a.pngSrc;a.filters[cE].enabled=false};new function(_){if(w>=7)return;IE7.CSS.addRecalc("position","fixed",_9,"absolute");IE7.CSS.addRecalc("background(-attachment)?","[^};]*fixed",_10);var $viewport=x?"body":"documentElement";function _11(){if(z.currentStyle.backgroundAttachment!="fixed"){if(z.currentStyle.backgroundImage=="none"){z.runtimeStyle.backgroundRepeat="no-repeat";z.runtimeStyle.backgroundImage="url("+cD+")"}z.runtimeStyle.backgroundAttachment="fixed"}_11=u};var _12=ci("img");function _13(a){return a?ck(a)||_13(a.parentElement):false};function _14(a,b,c){setTimeout("document.all."+a.uniqueID+".runtimeStyle.setExpression('"+b+"','"+c+"')",0)};function _10(a){if(ce(_10,a,a.currentStyle.backgroundAttachment=="fixed"&&!a.contains(z))){_11();bgLeft(a);bgTop(a);_15(a)}};function _15(a){_12.src=a.currentStyle.backgroundImage.slice(5,-2);var b=a.canHaveChildren?a:a.parentElement;b.appendChild(_12);setOffsetLeft(a);setOffsetTop(a);b.removeChild(_12)};function bgLeft(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!_13(a)){_14(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+$viewport+".scrollLeft)||0")}};eval(bm(bgLeft));function setOffsetLeft(a){var b=_13(a)?"backgroundPositionX":"offsetLeft";a.runtimeStyle[b]=getOffsetLeft(a,a.style.backgroundPositionX)-a.getBoundingClientRect().left-a.clientLeft+2};eval(bm(setOffsetLeft));function getOffsetLeft(a,b){switch(b){case"left":case"top":return 0;case"right":case"bottom":return A.clientWidth-_12.offsetWidth;case"center":return(A.clientWidth-_12.offsetWidth)/2;default:if(cg.test(b)){return parseInt((A.clientWidth-_12.offsetWidth)*parseFloat(b)/100)}_12.style.left=b;return _12.offsetLeft}};eval(bm(getOffsetLeft));function _9(a){if(ce(_9,a,ck(a))){cm(a,"position","absolute");cm(a,"left",a.currentStyle.left);cm(a,"top",a.currentStyle.top);_11();IE7.Layout.fixRight(a);_16(a)}};function _16(a,b){positionTop(a,b);positionLeft(a,b,true);if(!a.runtimeStyle.autoLeft&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.right!="auto"){var c=A.clientWidth-getPixelWidth(a,a.currentStyle.right)-getPixelWidth(a,a.runtimeStyle._8)-a.clientWidth;if(a.currentStyle.marginRight=="auto")c=parseInt(c/2);if(_13(a.offsetParent))a.runtimeStyle.pixelLeft+=c;else a.runtimeStyle.shiftLeft=c}clipWidth(a);clipHeight(a)};function clipWidth(a){if(a.currentStyle.width!="auto"){var b=a.getBoundingClientRect();var c=a.offsetWidth-A.clientWidth+b.left-2;if(c>=0){c=Math.max(ch(a,a.currentStyle.width)-c,0);cm(a,"width",c)}}};eval(bm(clipWidth));function positionLeft(a,b){if(!b&&cg.test(a.currentStyle.width)){a.runtimeStyle.fixWidth=a.currentStyle.width}if(a.runtimeStyle.fixWidth){a.runtimeStyle.width=getPixelWidth(a,a.runtimeStyle.fixWidth)}if(b){if(!a.runtimeStyle.autoLeft)return}else{a.runtimeStyle.shiftLeft=0;a.runtimeStyle._8=a.currentStyle.left;a.runtimeStyle.autoLeft=a.currentStyle.right!="auto"&&a.currentStyle.left=="auto"}a.runtimeStyle.left="";a.runtimeStyle.screenLeft=getScreenLeft(a);a.runtimeStyle.pixelLeft=a.runtimeStyle.screenLeft;if(!b&&!_13(a.offsetParent)){_14(a,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+$viewport+".scrollLeft")}};eval(bm(positionLeft));function getScreenLeft(a){var b=a.offsetLeft,c=1;if(a.runtimeStyle.autoLeft){b=A.clientWidth-a.offsetWidth-getPixelWidth(a,a.currentStyle.right)}if(a.currentStyle.marginLeft!="auto"){b-=getPixelWidth(a,a.currentStyle.marginLeft)}while(a=a.offsetParent){if(a.currentStyle.position!="static")c=-1;b+=a.offsetLeft*c}return b};eval(bm(getScreenLeft));function getPixelWidth(a,b){return cg.test(b)?parseInt(parseFloat(b)/100*A.clientWidth):ch(a,b)};eval(bm(getPixelWidth));function _17(){var a=_10.elements;for(var i in a)_15(a[i]);a=_9.elements;for(i in a){_16(a[i],true);_16(a[i],true)}_18=0};var _18;cb(function(){if(!_18)_18=setTimeout(_17,0)})};var cN={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,height:null,marginTop:0,marginBottom:0,marginRight:0,marginLeft:0,width:"100%"};IE7.CSS.addRecalc("overflow","visible",function(a){if(a.parentNode.ie7_wrapped)return;if(IE7.Layout&&a.currentStyle["max-height"]!="auto"){IE7.Layout.maxHeight(a)}if(a.currentStyle.marginLeft=="auto")a.style.marginLeft=0;if(a.currentStyle.marginRight=="auto")a.style.marginRight=0;var b=document.createElement(B);b.ie7_wrapped=a;for(var c in cN){b.style[c]=a.currentStyle[c];if(cN[c]!=null){a.runtimeStyle[c]=cN[c]}}b.style.display="block";b.style.position="relative";a.runtimeStyle.position="absolute";a.parentNode.insertBefore(b,a);b.appendChild(a)});function cO(){var e="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<e.length;i++){e[e[i]]=e[i-1]||"0.67em"}var f=/^\-/,g=/(em|ex)$/i;var h=/em$/i,j=/ex$/i;var k=ci();IE7.CSS.addFix(new RegExp("(font(-size)?\\s*:\\s*)([\\w\\-\\.]+)"),function(a,b,c,d){return b+(e[d]||d)});function l(a){var b=1;k.style.fontFamily=a.currentStyle.fontFamily;k.style.lineHeight=a.currentStyle.lineHeight;while(a!=z){var c=a.currentStyle["ie7-font-size"];if(c){if(h.test(c))b*=parseFloat(c);else if(cg.test(c))b*=(parseFloat(c)/100);else if(j.test(c))b*=(parseFloat(c)/2);else{k.style.fontSize=c;return 1}}a=a.parentElement}return b};ch=function(a,b){if(cf.test(b||0))return parseInt(b||0);var c=f.test(b)?-1:1;if(g.test(b))c*=l(a);k.style.width=(c<0)?b.slice(1):b;z.appendChild(k);b=c*k.offsetWidth;k.removeNode();return parseInt(b)};ct=ct.replace(/(font(-size)?\s*:\s*([^\s;}\/]*))/gi,"ie7-font-size:$3;$1");IE7.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");IE7.CSS.addFix(/display\s*:\s*list-item/,"display:block");function m(a){return ch(a,a.currentStyle.paddingLeft)+ch(a,a.currentStyle.paddingRight)};function n(a){if(w<5.5)IE7.Layout.boxSizing(a.parentElement);var b=a.parentElement;var c=b.offsetWidth-a.offsetWidth-m(b);var d=(a.currentStyle["ie7-margin"]&&a.currentStyle.marginRight=="auto")||a.currentStyle["ie7-margin-right"]=="auto";switch(b.currentStyle.textAlign){case"right":c=(d)?parseInt(c/2):0;a.runtimeStyle.marginRight=parseInt(c)+"px";break;case"center":if(d)c=0;default:if(d)c=parseInt(c/2);a.runtimeStyle.marginLeft=parseInt(c)+"px"}};IE7.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(ce(n,a,a.parentElement&&a.currentStyle.display=="block"&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.position!="absolute")){n(a)}});cb(function(){for(var i in n.elements){element=n.elements[i];element.runtimeStyle.marginLeft=element.runtimeStyle.marginRight="";n(element)}})};document.write("<script id=__ready defer src=//:><\/script>");document.all.__ready.onreadystatechange=function(){if(this.readyState=="complete"){this.removeNode();bo()}}})();

IE8.js

/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */
2 (function(){IE7={toString:function(){return"IE7 version 2.0 (beta)"}};var u=K();var v=/ie7_debug/.test(top.location.search);var w=IE7.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];var x=document.compatMode!="CSS1Compat";var y,z,A;var B="!";var C=/^[\w\.]+[^:]*$/;function D(a,b){if(C.test(a))a=(b||"")+a;return a};function E(a,b){a=D(a,b);return a.slice(0,a.lastIndexOf("/")+1)};var F=document.scripts[document.scripts.length-1];try{eval(F.innerHTML)}catch(e){}var G=E(F.src);try{var H=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}var I={};function J(a,b){try{a=D(a,b);if(!I[a]){H.open("GET",a,false);H.send();if(H.status==0||H.status==200){I[a]=H.responseText}}}catch(e){}finally{return I[a]||""}};if(w<5.5){undefined=u();if("".replace(/^/,String)){var L=/(g|gi)$/;var M=String.prototype.replace;String.prototype.replace=function(a,b){if(typeof b=="function"){if(a&&a.constructor==RegExp){var c=a;var d=c.global;if(d==null)d=L.test(c);if(d)c=new RegExp(c.source)}else{c=new RegExp(bj(a))}var e,f=this,g="";while(f&&(e=c.exec(f))){g+=f.slice(0,e.index)+b.apply(this,e);f=f.slice(e.index+e[0].length);if(!d)break}return g+f}return M.apply(this,arguments)}}B="HTML:!";Array.prototype.pop=function(){if(this.length){var i=this[this.length-1];this.length--;return i}return undefined};Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i]}return this.length};var N=this;Function.prototype.apply=function(o,a){if(o===undefined)o=N;else if(o==null)o=window;else if(typeof o=="string")o=new String(o);else if(typeof o=="number")o=new Number(o);else if(typeof o=="boolean")o=new Boolean(o);if(arguments.length==1)a=[];else if(a[0]&&a[0].writeln)a[0]=a[0].documentElement.document||a[0];var $="#ie7_apply",r;o[$]=this;switch(a.length){case 0:r=o[$]();break;case 1:r=o[$](a[0]);break;case 2:r=o[$](a[0],a[1]);break;case 3:r=o[$](a[0],a[1],a[2]);break;case 4:r=o[$](a[0],a[1],a[2],a[3]);break;case 5:r=o[$](a[0],a[1],a[2],a[3],a[4]);break;default:var b=[],i=a.length-1;do b[i]="a["+i+"]";while(i--);eval("r=o[$]("+b+")")}if(typeof o.valueOf=="function"){delete o[$]}else{o[$]=undefined;if(r&&r.writeln)r=r.documentElement.document||r}return r};Function.prototype.call=function(o){return this.apply(o,O.apply(arguments,[1]))};ct+="address,blockquote,body,dd,div,dt,fieldset,form,"+"frame,frameset,h1,h2,h3,h4,h5,h6,iframe,noframes,object,p,"+"hr,applet,center,dir,menu,pre,dl,li,ol,ul{display:block}"}var O=Array.prototype.slice;var P=/%([1-9])/g;var R=/^\s\s*/;var S=/\s\s*$/;var T=/([\/()[\]{}|*+-.,^$?\\])/g;var U=/\bbase\b/;var V=["constructor","toString"];var W;function X(){};X.extend=function(a,b){W=true;var c=new this;be(c,a);W=false;var d=c.constructor;function e(){if(!W)d.apply(this,arguments)};c.constructor=e;e.extend=arguments.callee;be(e,b);e.prototype=c;return e};X.prototype.extend=function(a){return be(this,a)};var Y="#";var Z="~";var ba=/\\./g;var bb=/\(\?[:=!]|\[[^\]]+\]/g;var bc=/\(/g;var bd=X.extend({constructor:function(a){this[Z]=[];this.merge(a)},exec:function(f,g){f+='';if(arguments.length==1){var h=this;var j=this[Z];g=function(a){if(a){var b,c=1,i=0;while((b=h[Y+j[i++]])){var d=c+b.length+1;if(arguments[c]){var e=b.replacement;switch(typeof e){case"function":return e.apply(h,O.call(arguments,c,d));case"number":return arguments[c+e];default:return e}}c=d}}return""}}return f.replace(new RegExp(this,this.ignoreCase?"gi":"g"),g)},add:function(a,b){if(a instanceof RegExp){a=a.source}if(!this[Y+a])this[Z].push(String(a));this[Y+a]=new bd.Item(a,b)},merge:function(a){for(var i in a)this.add(i,a[i])},toString:function(){return"("+this[Z].join(")|(")+")"}},{IGNORE:"$0",Item:X.extend({constructor:function(a,b){a=a instanceof RegExp?a.source:String(a);if(typeof b=="number")b=String(b);else if(b==null)b="";if(typeof b=="string"&&/\$(\d+)/.test(b)){if(/^\$\d+$/.test(b)){b=parseInt(b.slice(1))}else{var Q=/'/.test(b.replace(/\\./g,""))?'"':"'";b=b.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\$(\d+)/g,Q+"+(arguments[$1]||"+Q+Q+")+"+Q);b=new Function("return "+Q+b.replace(/(['"])\1\+(.*)\+\1\1$/,"$1")+Q)}}this.length=bd.count(a);this.replacement=b;this.toString=K(a)}}),count:function(a){a=String(a).replace(ba,"").replace(bb,"");return bi(a,bc).length}});function be(a,b){if(a&&b){if(arguments.length>2){var c=b;b={};b[c]=arguments[2]}var d=(typeof b=="function"?Function:Object).prototype;var i=V.length,c;if(W)while(c=V[--i]){var e=b[c];if(e!=d[c]){if(U.test(e)){bf(a,c,e)}else{a[c]=e}}}for(c in b)if(d[c]===undefined){var e=b[c];if(a[c]&&typeof e=="function"&&U.test(e)){bf(a,c,e)}else{a[c]=e}}}return a};function bf(c,d,e){var f=c[d];c[d]=function(){var a=this.base;this.base=f;var b=e.apply(this,arguments);this.base=a;return b}};function bg(a,b){if(!b)b=a;var c={};for(var i in a)c[i]=b[i];return c};function bh(c){var d=arguments;var e=new RegExp("%([1-"+arguments.length+"])","g");return String(c).replace(e,function(a,b){return b<d.length?d[b]:a})};function bi(a,b){return String(a).match(b)||[]};function bj(a){return String(a).replace(T,"\\$1")};function bk(a){return String(a).replace(R,"").replace(S,"")};function K(k){return function(){return k}};var bl=new bd({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",X:"Y"});function bm(a){return bl.exec(a)};var bn=X.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:u});function bo(){if(/ie7_off/.test(top.location.search)||w<5)return;y=document.documentElement;z=document.body;IE7._0=A=x?z:y;if(x)cO();IE7.CSS.init();IE7.HTML.init();IE7.HTML.apply();IE7.CSS.apply();br()};var bp=[];function bq(a){bp.push(a)};function br(){IE7.HTML.recalc();IE7.CSS.recalc();for(var i=0;i<bp.length;i++)bp[i]()};var bs=bd.extend({ignoreCase:true});function bt(a,b,c){if(!bP[a]){bK=[];var d="";var e=bQ.escape(a).split(",");for(var i=0;i<e.length;i++){bM=bL=bN=0;bO=e.length>1?2:0;var f=bQ.exec(e[i])||"if(0){";if(bM){f+=bh("if(e%1.nodeName!='!'){",bL)}var g=bO>1?bH:"";f+=bh(g+bI,bL);f+=Array(bi(f,/\{/g).length+1).join("}");d+=f}eval(bh(bJ,bK)+bQ.unescape(d)+"return s?null:r}");bP[a]=_1}return bP[a](b||document,c)};var bu=w<6;IE7._2=1;IE7._3=function(a,b){var c=a.all[b]||null;if(!c||c.id==b)return c;for(var i=0;i<c.length;i++){if(c[i].id==b)return c[i]}return null};var bv=/^(href|src)$/;var bw={"class":"className","for":"htmlFor"};IE7._4=function(a,b){if(b=="src"&&a.pngSrc)return a.pngSrc;var c=bu?(a.attributes[b]||a.attributes[bw[b.toLowerCase()]]):a.getAttributeNode(b);if(c&&(c.specified||b=="value")){if(bv.test(b)){return a.getAttribute(b,2)}else if(b=="style"){return a.style.cssText}else{return c.nodeValue}}return null};var bx="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";be(bw,bg(bx.toLowerCase().split(","),bx.split(",")));IE7._5=function(a){while(a&&(a=a.nextSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};IE7._6=function(a){while(a&&(a=a.previousSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};var by=/([\s>+~,]|[^(]\+|^)([#.:\[])/g,bz=/(^|,)([^\s>+~])/g,bA=/\s*([\s>+~(),]|^|$)\s*/g,bB=/\s\*\s/g;var bC=bd.extend({constructor:function(a){this.base(a);this.cache={};this.sorter=new bd;this.sorter.add(/:not\([^)]*\)/,bd.IGNORE);this.sorter.add(/([ >](\*|[\w-]+))([^: >+~]*)(:\w+-child(\([^)]+\))?)([^: >+~]*)/,"$1$3$6$4")},ignoreCase:true,escape:function(a){return this.optimise(this.format(a))},format:function(a){return a.replace(bA,"$1").replace(bz,"$1 $2").replace(by,"$1*$2")},optimise:function(a){return this.sorter.exec(a.replace(bB,">* "))},parse:function(a){return this.cache[a]||(this.cache[a]=this.unescape(this.exec(this.escape(a))))},unescape:function(a){return bZ(a)}});var bD={"":"%1!=null","=":"%1=='%2'","~=":/(^| )%1( |$)/,"|=":/^%1(-|$)/,"^=":/^%1/,"$=":/%1$/,"*=":/%1/};var bE={"first-child":"!IE7._6(e%1)","link":"e%1.currentStyle['ie7-link']=='link'","visited":"e%1.currentStyle['ie7-link']=='visited'"};var bF="var p%2=0,i%2,e%2,n%2=e%1.";var bG="e%1.sourceIndex";var bH="var g="+bG+";if(!p[g]){p[g]=1;";var bI="r[r.length]=e%1;if(s)return e%1;";var bJ="var _1=function(e0,s){IE7._2++;var r=[],p={},reg=[%1],d=document;";var bK;var bL;var bM;var bN;var bO;var bP={};var bQ=new bC({" (\\*|[\\w-]+)#([\\w-]+)":function(a,b,c){bM=false;var d="var e%2=IE7._3(d,'%4');if(e%2&&";if(b!="*")d+="e%2.nodeName=='%3'&&";d+="e%1==d||e%1.contains(e%2)){";if(bN)d+=bh("i%1=n%1.length;",bN);return bh(d,bL++,bL,b.toUpperCase(),c)}," (\\*|[\\w-]+)":function(a,b){bO++;bM=b=="*";var c=bF;c+=(bM&&bu)?"all":"getElementsByTagName('%3')";c+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";return bh(c,bL++,bN=bL,b.toUpperCase())},">(\\*|[\\w-]+)":function(a,b){var c=bN;bM=b=="*";var d=bF;d+=c?"children":"childNodes";if(!bM&&c)d+=".tags('%3')";d+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";if(bM){d+="if(e%2.nodeType==1){";bM=bu}else{if(!c)d+="if(e%2.nodeName=='%3'){"}return bh(d,bL++,bN=bL,b.toUpperCase())},"\\+(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;c+="e%1=IE7._5(e%1);if(e%1";if(b!="*")c+="&&e%1.nodeName=='%2'";c+="){";return bh(c,bL,b.toUpperCase())},"~(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;bO=2;c+="while(e%1=e%1.nextSibling){if(e%1.ie7_adjacent==IE7._2)break;if(";if(b=="*"){c+="e%1.nodeType==1";if(bu)c+="&&e%1.nodeName!='!'"}else c+="e%1.nodeName=='%2'";c+="){e%1.ie7_adjacent=IE7._2;";return bh(c,bL,b.toUpperCase())},"#([\\w-]+)":function(a,b){bM=false;var c="if(e%1.id=='%2'){";if(bN)c+=bh("i%1=n%1.length;",bN);return bh(c,bL,b)},"\\.([\\w-]+)":function(a,b){bM=false;bK.push(new RegExp("(^|\\s)"+bj(b)+"(\\s|$)"));return bh("if(e%1.className&®[%2].test(e%1.className)){",bL,bK.length-1)},"\\[([\\w-]+)\\s*([^=]?=)?\\s*([^\\]]*)\\]":function(a,b,c,d){var e=bw[b]||b;if(c){var f="e%1.getAttribute('%2',2)";if(!bv.test(b)){f="e%1.%3||"+f}b=bh("("+f+")",bL,b,e)}else{b=bh("IE7._4(e%1,'%2')",bL,b)}var g=bD[c||""];if(g&&g.source){bK.push(new RegExp(bh(g.source,bj(bQ.unescape(d)))));g="reg[%2].test(%1)";d=bK.length-1}return"if("+bh(g,b,d)+"){"},":([\\w-]+)(\\(([^)]+)\\))?":function(a,b,c,d){return"if("+bh(bE[b]||"false",bL,d||"")+"){"}});var bR=/'/g,bS=/^\x01/;var bT=[];var bU=new bs({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bW,'"(\\\\.|[^"\\\\])*"':bW,"\\s+":" "});function bV(a){return bU.exec(a)};function bW(c){return"\x01"+bT.push(c.replace(/\\([\da-fA-F]{1,4})/g,function(a,b){return"\\u"+"0000".slice(b.length)+a}).slice(1,-1).replace(bR,"\\'"))};function bX(a){return bS.test(a)?bT[a.slice(1)-1]:a};var bY=new bs({"\\x01(\\d+)":function(a,b){return bT[b-1]}});function bZ(a){return bY.exec(a)};var ca=[];function cb(a){bq(a);cc(window,"onresize",a)};function cc(a,b,c){a.attachEvent(b,c);ca.push(arguments)};function cd(a,b,c){try{a.detachEvent(b,c)}catch(ignore){}};cc(window,"onunload",function(){var a;while(a=ca.pop()){cd(a[0],a[1],a[2])}});function ce(a,b,c){if(!a.elements)a.elements={};if(c)a.elements[b.uniqueID]=b;else delete a.elements[b.uniqueID];return c};cc(window,"onbeforeprint",function(){if(!IE7.CSS.print)new cv("print");IE7.CSS.print.recalc()});var cf=/^\d+(px)?$/i;var cg=/^\d+%$/;var ch=function(a,b){if(cf.test(b))return parseInt(b);var c=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b||0;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return b};function ci(a){var b=document.createElement(a||"object");b.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";b.ie7_anon=true;return b};var cj="ie7-";function ck(a){return a.currentStyle["ie7-position"]=="fixed"};function cl(a,b){return a.currentStyle[cj+b]||a.currentStyle[b]};function cm(a,b,c){if(a.currentStyle[cj+b]==null){a.runtimeStyle[cj+b]=a.currentStyle[b]}a.runtimeStyle[b]=c};var cn=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i;var co=/\s*\{\s*/,cp=/\s*\}\s*/,cq=/\s*\,\s*/;var cr=/(.*)(:first-(line|letter))/;var cs=/UNKNOWN|([:.])\w+\1/;var ct=":link{ie7-link:link}:visited{ie7-link:visited}";var cu=document.styleSheets;IE7.CSS=new(bn.extend({parser:new bs,screen:"",print:"",styles:[],rules:[],pseudoClasses:w<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var a=[];for(var b in this)a.push(b);return a.join("|")}},init:function(){var a="^\x01[ DISCUZ_RUN_1 ]quot;;var b=[];if(this.pseudoClasses)b.push(this.pseudoClasses);var c=this.dynamicPseudoClasses.toString();if(c)b.push(c);b=b.join("|");var d=w<7?["[>+~[(]|([:.])\\w+\\1"]:[];if(b)d.push(":("+b+")");this.UNKNOWN=new RegExp(d.join("|")||a,"i");var e=w<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[];var f=e.concat();if(b)f.push(":("+b+")");cx.COMPLEX=new RegExp(f.join("|")||a,"gi");if(c)e.push(":("+c+")");cy.COMPLEX=new RegExp(e.join("|")||a,"gi");cy.MATCH=new RegExp(c?"(.*):("+c+")(.*)":a,"i");this.createStyleSheet();this.refresh()},refresh:function(){this.styleSheet.cssText=ct+this.screen+this.print},getInlineStyles:function(){var a=document.getElementsByTagName("style"),b;for(var i=a.length-1;(b=a[i]);i--){if(!b.disabled&&!b.ie7){this.styles.push(b.innerHTML)}}},apply:function(){this.getInlineStyles();new cv("screen");this.trash()},addFix:function(a,b){this.parser.add(a,b)},recalc:function(){this.screen.recalc();var a=/ie7_recalc\d+/g;var b=ct.match(/[{,]/g).length;var c=b+(this.screen.cssText.match(/\{/g)||"").length;var d=this.styleSheet.rules,e;var f,g,h,l,i,j,k,m;for(i=b;i<c;i++){e=d[i];if(e&&(f=e.style.cssText.match(a))){h=bt(e.selectorText);if(h.length)for(j=0;j<f.length;j++){m=f[j];g=IE7.CSS.recalcs[m.slice(10)][2];for(k=0;(l=h[k]);k++){if(l.currentStyle[m])g(l)}}}}},addRecalc:function(d,e,f,g){e=new RegExp("([{;\\s])"+d+"\\s*:\\s*"+e+"[^;}]*");var h=this.recalcs.length;if(g)g=d+":"+g;this.addFix(e,function(a,b,c){return(g?b+g:a)+";ie7-"+a.slice(1)+";ie7_recalc"+h+":1"});this.recalcs.push(arguments);return h},getText:function(a,b){var c=a.cssText;if(H&&cs.test(c))c=J(a.href,b)||c;return c},createStyleSheet:function(){this.styleSheet=document.createStyleSheet();this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=ct},trash:function(){for(var i=0;i<cu.length;i++){if(!cu[i].ie7&&cu[i].cssText){cu[i].cssText=""}}}}));var cv=X.extend({constructor:function(a){this.media=a;this.load();IE7.CSS[a]=this;IE7.CSS.refresh()},createRule:function(a,b){if(IE7.CSS.UNKNOWN.test(a)){var c;if(cw&&(c=a.match(cw.MATCH))){return new cw(c[1],c[2],b)}else if(c=a.match(cy.MATCH)){if(!cn.test(c)||cy.COMPLEX.test(c)){return new cy(a,c[1],c[2],c[3],b)}}else return new cx(a,b)}return a+" {"+b+"}"},load:function(){this.cssText="";this.getText();this.parse();this.cssText=bZ(this.cssText);I={}},getText:function(){var f=[].concat(IE7.CSS.styles);var g=/@media\s+([^{]*)\{([^@]+\})\s*\}/gi;var h=/\ball\b|^$/i,j=/\bscreen\b/i,k=/\bprint\b/i;function l(a,b){m.value=b;return a.replace(g,m)};function m(a,b,c){b=n(b);switch(b){case"screen":case"print":if(b!=m.value)return"";case"all":return c}return""};function n(a){if(h.test(a))return"all";else if(j.test(a))return(k.test(a))?"all":"screen";else if(k.test(a))return"print"};var o=this;function p(a,b,c,d){var e="";if(!d){c=n(a.media);d=0}if(c=="all"||c==o.media){if(d<3){for(var i=0;i<a.imports.length;i++){e+=p(a.imports[i],E(a.href,b),c,d+1)}}e+=bV(a.href?r(a,b):f.pop()||"");e=l(e,o.media)}return e};var q={};function r(a,b){var c=D(a.href,b);if(q[c])return"";q[c]=(a.disabled)?"":t(IE7.CSS.getText(a,b),E(a.href,b));return q[c]};var s=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function t(a,b){return a.replace(s,"$1"+b.slice(0,b.lastIndexOf("/")+1)+"$2")};for(var i=0;i<cu.length;i++){if(!cu[i].disabled&&!cu[i].ie7){this.cssText+=p(cu[i])}}},parse:function(){this.cssText=IE7.CSS.parser.exec(this.cssText);var a=IE7.CSS.rules.length;var b=this.cssText.split(cp),c;var d,e,i,j;for(i=0;i<b.length;i++){c=b[i].split(co);d=c[0].split(cq);e=c[1];for(j=0;j<d.length;j++){d[j]=e?this.createRule(d[j],e):""}b[i]=d.join("\n")}this.cssText=b.join("\n");this.rules=IE7.CSS.rules.slice(a)},recalc:function(){var a,i;for(i=0;(a=this.rules[i]);i++)a.recalc()},toString:function(){return"@media "+this.media+"{"+this.cssText+"}"}});var cw;var cx=X.extend({constructor:function(a,b){this.id=IE7.CSS.rules.length;this.className=cx.PREFIX+this.id;a=(a).match(cr)||a||"*";this.selector=a[1]||a;this.selectorText=cx.simple(this.selector)+"."+this.className+(a[2]||"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");IE7.CSS.rules.push(this);this.init()},init:u,add:function(a){a.className+=" "+this.className},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},recalc:function(){var a=bt(this.selector);for(i=0;i<a.length;i++)this.add(a[i])},toString:function(){return this.selectorText+" {"+this.cssText+"}"}},{PREFIX:"ie7_class",CHILD:/>/g,simple:function(a){return a.replace(this.CHILD," ").replace(this.COMPLEX,"").replace()}});var cy=cx.extend({constructor:function(a,b,c,d,e){this.attach=b||"*";this.dynamicPseudoClass=IE7.CSS.dynamicPseudoClasses[c];this.target=d;this.base(a,e)},recalc:function(){var a=bt(this.attach),b;for(var i=0;b=a[i];i++){var c=this.target?bt(this.target,b):[b];if(c.length)this.dynamicPseudoClass.apply(b,c,this)}}});var cz=X.extend({constructor:function(a,b){this.name=a;this.apply=b;this.instances={};IE7.CSS.dynamicPseudoClasses[a]=this},register:function(a){var b=a[2];a.id=b.id+a[0].uniqueID;if(!this.instances[a.id]){var c=a[1],j;for(j=0;j<c.length;j++)b.add(c[j]);this.instances[a.id]=a}},unregister:function(a){if(this.instances[a.id]){var b=a[2];var c=a[1],j;for(j=0;j<c.length;j++)b.remove(c[j]);delete this.instances[a.id]}}});if(w<7){var cA=new cz("hover",function(a){var b=arguments;cc(a,w<5.5?"onmouseover":"onmouseenter",function(){cA.register(b)});cc(a,w<5.5?"onmouseout":"onmouseleave",function(){cA.unregister(b)})});cc(document,"onmouseup",function(){var a=cA.instances;for(var i in a)if(!a[i][0].contains(event.srcElement))cA.unregister(a[i])})}var cB=w<5.5?"HTML:":"";ct+="h1{font-size:2em}h2{font-size:1.5em;}h3{font-size:1.17em;}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.67em}";IE7.HTML=new(bn.extend({fixed:{},init:u,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var i=0;i<this.fixes.length;i++){var a=bt(this.fixes[i][0]);var b=this.fixes[i][1]||this.fixElement;for(var j=0;j<a.length;j++)b(a[j])}},addRecalc:function(){this.recalcs.push(arguments)},fixElement:function(a){var b=document.createElement("<"+cB+a.outerHTML.slice(1));if(a.outerHTML.slice(-2)!="/>"){var c="</"+a.tagName+">",d;while((d=a.nextSibling)&&d.outerHTML!=c){b.appendChild(d)}if(d)d.removeNode()}a.parentNode.replaceChild(b,a)},recalc:function(){for(var i=0;i<this.recalcs.length;i++){var a=bt(this.recalcs[i][0]);var b=this.recalcs[i][1],c;var d=Math.pow(2,i);for(var j=0;(c=a[j]);j++){var e=c.uniqueID;if((this.fixed[e]&d)==0){c=b(c)||c;this.fixed[e]|=d}}}}}));if(w<7){IE7.HTML.addFix("abbr");IE7.HTML.addRecalc("label",function(a){if(!a.htmlFor){var b=bt("input,textarea",a,true);if(b){cc(a,"onclick",function(){b.click()})}}})}var cC="[.\\d]";new function(_){var layout=IE7.Layout=this;ct+="*{boxSizing:content-box}";IE7.hasLayout=w<5.5?function(a){return a.clientWidth}:function(a){return a.currentStyle.hasLayout};layout.boxSizing=function(a){if(!IE7.hasLayout(a)){a.style.height="0cm";if(a.currentStyle.verticalAlign=="auto")a.runtimeStyle.verticalAlign="top";collapseMargins(a)}};function collapseMargins(a){if(a!=A&&a.currentStyle.position!="absolute"){collapseMargin(a,"marginTop");collapseMargin(a,"marginBottom")}};function collapseMargin(a,b){if(!a.runtimeStyle[b]){var c=a.parentElement;if(c&&IE7.hasLayout(c)&&!IE7[b=="marginTop"?"_6":"_5"](a))return;var d=bt(">*:"+(b=="marginTop"?"first":"last")+"-child",a,true);if(d&&d.currentStyle.styleFloat=="none"&&IE7.hasLayout(d)){collapseMargin(d,b);margin=_7(a,a.currentStyle[b]);childMargin=_7(d,d.currentStyle[b]);if(margin<0||childMargin<0){a.runtimeStyle[b]=margin+childMargin}else{a.runtimeStyle[b]=Math.max(childMargin,margin)}d.runtimeStyle[b]="0px"}}};function _7(a,b){return b=="auto"?0:ch(a,b)};var UNIT=/^[.\d][\w%]*$/,AUTO=/^(auto|0cm)$/;var applyWidth,applyHeight;IE7.Layout.borderBox=function(a){applyWidth(a);applyHeight(a)};var fixWidth=function(e){applyWidth=function(a){if(!cg.test(a.currentStyle.width))f(a);collapseMargins(a)};function f(a,b){if(!a.runtimeStyle.fixedWidth){if(!b)b=a.currentStyle.width;a.runtimeStyle.fixedWidth=(UNIT.test(b))?Math.max(0,j(a,b)):b;cm(a,"width",a.runtimeStyle.fixedWidth)}};function g(a){if(!ck(a)){var b=a.offsetParent;while(b&&!IE7.hasLayout(b))b=b.offsetParent}return(b||A).clientWidth};function h(a,b){if(cg.test(b))return parseInt(parseFloat(b)/100*g(a));return ch(a,b)};var j=function(a,b){var c=a.currentStyle["box-sizing"]=="border-box";var d=0;if(x&&!c)d+=k(a)+l(a,"padding");else if(!x&&c)d-=k(a)+l(a,"padding");return h(a,b)+d};function k(a){return a.offsetWidth-a.clientWidth};function l(a,b){return h(a,a.currentStyle[b+"Left"])+h(a,a.currentStyle[b+"Right"])};ct+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";layout.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(ce(arguments.callee,a,a.currentStyle.minWidth!="none")){layout.boxSizing(a);f(a);m(a)}};eval("IE7.Layout.maxWidth="+String(layout.minWidth).replace(/min/g,"max"));function m(a){var b=a.getBoundingClientRect();var c=b.right-b.left;if(a.currentStyle.minWidth!="none"&&c<=j(a,a.currentStyle.minWidth)){a.runtimeStyle.width=j(a,a.currentStyle.minWidth)}else if(a.currentStyle.maxWidth!="none"&&c>=j(a,a.currentStyle.maxWidth)){a.runtimeStyle.width=j(a,a.currentStyle.maxWidth)}else{a.runtimeStyle.width=a.runtimeStyle.fixedWidth}};function n(a){if(ce(n,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&cl(a,"left")!="auto"&&cl(a,"right")!="auto"&&AUTO.test(cl(a,"width")))){o(a);IE7.Layout.boxSizing(a)}};IE7.Layout.fixRight=n;function o(a){var b=h(a,a.runtimeStyle._8||a.currentStyle.left);var c=g(a)-h(a,a.currentStyle.right)-b-l(a,"margin");if(parseInt(a.runtimeStyle.width)==c)return;a.runtimeStyle.width="";if(ck(a)||e||a.offsetWidth<c){if(!x)c-=k(a)+l(a,"padding");if(c<0)c=0;a.runtimeStyle.fixedWidth=c;cm(a,"width",c)}};var p=0;cb(function(){var i,a=(p<A.clientWidth);p=A.clientWidth;var b=layout.minWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.minWidth));if(a&&d)c.runtimeStyle.width="";if(a==d)m(c)}var b=layout.maxWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.maxWidth));if(!a&&d)c.runtimeStyle.width="";if(a!=d)m(c)}for(i in n.elements)o(n.elements[i])});if(x&&window.IE7_BOX_MODEL!==false){IE7.CSS.addRecalc("width",cC,applyWidth)}if(w<7){IE7.CSS.addRecalc("min-width",cC,layout.minWidth);IE7.CSS.addRecalc("max-width",cC,layout.maxWidth);IE7.CSS.addRecalc("right",cC,n)}};eval("var fixHeight="+bm(fixWidth));fixWidth();fixHeight(true)};var cD=D("blank.gif",G);var cE="DXImageTransform.Microsoft.AlphaImageLoader";var cF="progid:"+cE+"(src='%1',sizingMethod='%2')";var cG=new RegExp((window.IE7_PNG_SUFFIX||"-trans.png")+"[ DISCUZ_RUN_1 ]quot;,"i");var cH=[];function cI(a){if(cG.test(a.src)){var b=new Image(a.width,a.height);b.onload=function(){a.width=b.width;a.height=b.height;b=null};b.src=a.src;a.pngSrc=a.src;cL(a)}};if(w>=5.5&&w<7){var cJ=/background(-image)?\s*:\s*([^\(};]*)url\(([^\)]+)\)([^;}]*)/;IE7.CSS.addFix(cJ,function(a,b,c,d,e){d=bX(d);return cG.test(d)?"filter:"+bh(cF,d,"crop")+";zoom:1;background"+b+":"+c+"none"+e:a});IE7.HTML.addRecalc("img,input",function(a){if(a.tagName=="INPUT"&&a.type!="image")return;cI(a);cc(a,"onpropertychange",function(){if(!cK&&event.propertyName=="src"&&a.src.indexOf(cD)==-1)cI(a)})});var cK=false;cc(window,"onbeforeprint",function(){cK=true;for(var i=0;i<cH.length;i++)cM(cH[i])});cc(window,"onafterprint",function(){for(var i=0;i<cH.length;i++)cL(cH[i]);cK=false})}function cL(a,b){var c=a.filters[cE];if(c){c.src=a.src;c.enabled=true}else{a.runtimeStyle.filter=bh(cF,a.src,b||"scale");cH.push(a)}a.src=cD};function cM(a){a.src=a.pngSrc;a.filters[cE].enabled=false};new function(_){if(w>=7)return;IE7.CSS.addRecalc("position","fixed",_9,"absolute");IE7.CSS.addRecalc("background(-attachment)?","[^};]*fixed",_10);var $viewport=x?"body":"documentElement";function _11(){if(z.currentStyle.backgroundAttachment!="fixed"){if(z.currentStyle.backgroundImage=="none"){z.runtimeStyle.backgroundRepeat="no-repeat";z.runtimeStyle.backgroundImage="url("+cD+")"}z.runtimeStyle.backgroundAttachment="fixed"}_11=u};var _12=ci("img");function _13(a){return a?ck(a)||_13(a.parentElement):false};function _14(a,b,c){setTimeout("document.all."+a.uniqueID+".runtimeStyle.setExpression('"+b+"','"+c+"')",0)};function _10(a){if(ce(_10,a,a.currentStyle.backgroundAttachment=="fixed"&&!a.contains(z))){_11();bgLeft(a);bgTop(a);_15(a)}};function _15(a){_12.src=a.currentStyle.backgroundImage.slice(5,-2);var b=a.canHaveChildren?a:a.parentElement;b.appendChild(_12);setOffsetLeft(a);setOffsetTop(a);b.removeChild(_12)};function bgLeft(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!_13(a)){_14(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+$viewport+".scrollLeft)||0")}};eval(bm(bgLeft));function setOffsetLeft(a){var b=_13(a)?"backgroundPositionX":"offsetLeft";a.runtimeStyle[b]=getOffsetLeft(a,a.style.backgroundPositionX)-a.getBoundingClientRect().left-a.clientLeft+2};eval(bm(setOffsetLeft));function getOffsetLeft(a,b){switch(b){case"left":case"top":return 0;case"right":case"bottom":return A.clientWidth-_12.offsetWidth;case"center":return(A.clientWidth-_12.offsetWidth)/2;default:if(cg.test(b)){return parseInt((A.clientWidth-_12.offsetWidth)*parseFloat(b)/100)}_12.style.left=b;return _12.offsetLeft}};eval(bm(getOffsetLeft));function _9(a){if(ce(_9,a,ck(a))){cm(a,"position","absolute");cm(a,"left",a.currentStyle.left);cm(a,"top",a.currentStyle.top);_11();IE7.Layout.fixRight(a);_16(a)}};function _16(a,b){positionTop(a,b);positionLeft(a,b,true);if(!a.runtimeStyle.autoLeft&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.right!="auto"){var c=A.clientWidth-getPixelWidth(a,a.currentStyle.right)-getPixelWidth(a,a.runtimeStyle._8)-a.clientWidth;if(a.currentStyle.marginRight=="auto")c=parseInt(c/2);if(_13(a.offsetParent))a.runtimeStyle.pixelLeft+=c;else a.runtimeStyle.shiftLeft=c}clipWidth(a);clipHeight(a)};function clipWidth(a){if(a.currentStyle.width!="auto"){var b=a.getBoundingClientRect();var c=a.offsetWidth-A.clientWidth+b.left-2;if(c>=0){c=Math.max(ch(a,a.currentStyle.width)-c,0);cm(a,"width",c)}}};eval(bm(clipWidth));function positionLeft(a,b){if(!b&&cg.test(a.currentStyle.width)){a.runtimeStyle.fixWidth=a.currentStyle.width}if(a.runtimeStyle.fixWidth){a.runtimeStyle.width=getPixelWidth(a,a.runtimeStyle.fixWidth)}if(b){if(!a.runtimeStyle.autoLeft)return}else{a.runtimeStyle.shiftLeft=0;a.runtimeStyle._8=a.currentStyle.left;a.runtimeStyle.autoLeft=a.currentStyle.right!="auto"&&a.currentStyle.left=="auto"}a.runtimeStyle.left="";a.runtimeStyle.screenLeft=getScreenLeft(a);a.runtimeStyle.pixelLeft=a.runtimeStyle.screenLeft;if(!b&&!_13(a.offsetParent)){_14(a,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+$viewport+".scrollLeft")}};eval(bm(positionLeft));function getScreenLeft(a){var b=a.offsetLeft,c=1;if(a.runtimeStyle.autoLeft){b=A.clientWidth-a.offsetWidth-getPixelWidth(a,a.currentStyle.right)}if(a.currentStyle.marginLeft!="auto"){b-=getPixelWidth(a,a.currentStyle.marginLeft)}while(a=a.offsetParent){if(a.currentStyle.position!="static")c=-1;b+=a.offsetLeft*c}return b};eval(bm(getScreenLeft));function getPixelWidth(a,b){return cg.test(b)?parseInt(parseFloat(b)/100*A.clientWidth):ch(a,b)};eval(bm(getPixelWidth));function _17(){var a=_10.elements;for(var i in a)_15(a[i]);a=_9.elements;for(i in a){_16(a[i],true);_16(a[i],true)}_18=0};var _18;cb(function(){if(!_18)_18=setTimeout(_17,0)})};var cN={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,height:null,marginTop:0,marginBottom:0,marginRight:0,marginLeft:0,width:"100%"};IE7.CSS.addRecalc("overflow","visible",function(a){if(a.parentNode.ie7_wrapped)return;if(IE7.Layout&&a.currentStyle["max-height"]!="auto"){IE7.Layout.maxHeight(a)}if(a.currentStyle.marginLeft=="auto")a.style.marginLeft=0;if(a.currentStyle.marginRight=="auto")a.style.marginRight=0;var b=document.createElement(B);b.ie7_wrapped=a;for(var c in cN){b.style[c]=a.currentStyle[c];if(cN[c]!=null){a.runtimeStyle[c]=cN[c]}}b.style.display="block";b.style.position="relative";a.runtimeStyle.position="absolute";a.parentNode.insertBefore(b,a);b.appendChild(a)});function cO(){var e="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<e.length;i++){e[e[i]]=e[i-1]||"0.67em"}var f=/^\-/,g=/(em|ex)$/i;var h=/em$/i,j=/ex$/i;var k=ci();IE7.CSS.addFix(new RegExp("(font(-size)?\\s*:\\s*)([\\w\\-\\.]+)"),function(a,b,c,d){return b+(e[d]||d)});function l(a){var b=1;k.style.fontFamily=a.currentStyle.fontFamily;k.style.lineHeight=a.currentStyle.lineHeight;while(a!=z){var c=a.currentStyle["ie7-font-size"];if(c){if(h.test(c))b*=parseFloat(c);else if(cg.test(c))b*=(parseFloat(c)/100);else if(j.test(c))b*=(parseFloat(c)/2);else{k.style.fontSize=c;return 1}}a=a.parentElement}return b};ch=function(a,b){if(cf.test(b||0))return parseInt(b||0);var c=f.test(b)?-1:1;if(g.test(b))c*=l(a);k.style.width=(c<0)?b.slice(1):b;z.appendChild(k);b=c*k.offsetWidth;k.removeNode();return parseInt(b)};ct=ct.replace(/(font(-size)?\s*:\s*([^\s;}\/]*))/gi,"ie7-font-size:$3;$1");IE7.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");IE7.CSS.addFix(/display\s*:\s*list-item/,"display:block");function m(a){return ch(a,a.currentStyle.paddingLeft)+ch(a,a.currentStyle.paddingRight)};function n(a){if(w<5.5)IE7.Layout.boxSizing(a.parentElement);var b=a.parentElement;var c=b.offsetWidth-a.offsetWidth-m(b);var d=(a.currentStyle["ie7-margin"]&&a.currentStyle.marginRight=="auto")||a.currentStyle["ie7-margin-right"]=="auto";switch(b.currentStyle.textAlign){case"right":c=(d)?parseInt(c/2):0;a.runtimeStyle.marginRight=parseInt(c)+"px";break;case"center":if(d)c=0;default:if(d)c=parseInt(c/2);a.runtimeStyle.marginLeft=parseInt(c)+"px"}};IE7.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(ce(n,a,a.parentElement&&a.currentStyle.display=="block"&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.position!="absolute")){n(a)}});cb(function(){for(var i in n.elements){element=n.elements[i];element.runtimeStyle.marginLeft=element.runtimeStyle.marginRight="";n(element)}})};IE7.isEmpty=function(a){a=a.firstChild;while(a){if(a.nodeType==3||(a.nodeType==1&&a.nodeName!="!"))return false;a=a.nextSibling}return true};IE7._19=function(a,b){while(a&&!a.getAttribute("lang"))a=a.parentNode;return a&&new RegExp("^"+bj(b),"i").test(a.getAttribute("lang"))};function cP(c,d,e,f){f=/last/i.test(c)?f+"+1-":"";if(!isNaN(d))d="0n+"+d;else if(d=="even")d="2n";else if(d=="odd")d="2n+1";d=d.split("n");var a=d[0]?(d[0]=="-")?-1:parseInt(d[0]):1;var b=parseInt(d[1])||0;var g=a<0;if(g){a=-a;if(a==1)b++}var h=bh(a==0?"%3%7"+(f+b):"(%4%3-%2)%6%1%70%5%4%3>=%2",a,b,e,f,"&&","%","==");if(g)h="!("+h+")";return h};bE={"link":"e%1.currentStyle['ie7-link']=='link'","visited":"e%1.currentStyle['ie7-link']=='visited'","checked":"e%1.checked","contains":"e%1.innerText.indexOf('%2')!=-1","disabled":"e%1.isDisabled","empty":"IE7._20(e%1)","enabled":"e%1.disabled===false","first-child":"!IE7._6(e%1)","lang":"IE7._19(e%1,'%2')","last-child":"!IE7._5(e%1)","only-child":"!IE7._6(e%1)&&!IE7._5(e%1)","target":"e%1.id==location.hash.slice(1)","indeterminate":"e%1.indeterminate"};IE7._21=function(a){if(a.rows){a.ie7_length=a.rows.length;a.ie7_lookup="rowIndex"}else if(a.cells){a.ie7_length=a.cells.length;a.ie7_lookup="cellIndex"}else if(a.ie7_indexed!=IE7._2){var b=0;var c=a.firstChild;while(c){if(c.nodeType==1&&c.nodeName!="!"){c.ie7_index=++b}c=c.nextSibling}a.ie7_length=b;a.ie7_lookup="ie7_index"}a.ie7_indexed=IE7._2;return a};var cQ=bQ[Z];var cR=cQ[cQ.length-1];cQ.length--;bQ.merge({":not\\((\\*|[\\w-]+)?([^)]*)\\)":function(a,b,c){var d=(b&&b!="*")?bh("if(e%1.nodeName=='%2'){",bL,b.toUpperCase()):"";d+=bQ.exec(c);return"if(!"+d.slice(2,-1).replace(/\)\{if\(/g,"&&")+"){"},":nth(-last)?-child\\(([^)]+)\\)":function(a,b,c){bM=false;b=bh("e%1.parentNode.ie7_length",bL);var d="if(p%1!==e%1.parentNode)p%1=IE7._21(e%1.parentNode);";d+="var i=e%1[p%1.ie7_lookup];if(p%1.ie7_lookup!='ie7_index')i++;if(";return bh(d,bL)+cP(a,c,"i",b)+"){"}});cQ.push(cR);var cS="\\([^)]*\\)";if(IE7.CSS.pseudoClasses)IE7.CSS.pseudoClasses+="|";IE7.CSS.pseudoClasses+="before|after|last\\-child|only\\-child|empty|root|"+"not|nth\\-child|nth\\-last\\-child|contains|lang".split("|").join(cS+"|")+cS;var cT=new cz("focus",function(a){var b=arguments;cc(a,"onfocus",function(){cT.unregister(b);cT.register(b)});cc(a,"onblur",function(){cT.unregister(b)});if(a==document.activeElement){cT.register(b)}});var cU=new cz("active",function(a){var b=arguments;cc(a,"onmousedown",function(){cU.register(b)})});cc(document,"onmouseup",function(){var a=cU.instances;for(var i in a)cU.unregister(a[i])});var cV=new cz("checked",function(a){if(typeof a.checked!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="checked"){if(a.checked)cV.register(b);else cV.unregister(b)}});if(a.checked)cV.register(b)});var cW=new cz("enabled",function(a){if(typeof a.disabled!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="disabled"){if(!a.isDisabled)cW.register(b);else cW.unregister(b)}});if(!a.isDisabled)cW.register(b)});var cX=new cz("disabled",function(a){if(typeof a.disabled!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="disabled"){if(a.isDisabled)cX.register(b);else cX.unregister(b)}});if(a.isDisabled)cX.register(b)});var cY=new cz("indeterminate",function(a){if(typeof a.indeterminate!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="indeterminate"){if(a.indeterminate)cY.register(b);else cY.unregister(b)}});cc(a,"onclick",function(){cY.unregister(b)})});var cZ=new cz("target",function(a){var b=arguments;if(!a.tabIndex)a.tabIndex=0;cc(document,"onpropertychange",function(){if(event.propertyName=="activeElement"){if(a.id==location.hash.slice(1))cZ.register(b);else cZ.unregister(b)}});if(a.id==location.hash.slice(1))cZ.register(b)});var da=/^attr/;var db=/^url\s*\(\s*([^)]*)\)$/;var dc={before0:"beforeBegin",before1:"afterBegin",after0:"afterEnd",after1:"beforeEnd"};var cw=cx.extend({constructor:function(a,b,c){this.position=b;var d=c.match(cw.CONTENT),e,f;if(d){d=d[1];e=d.split(/\s+/);for(var i=0;(f=e[i]);i++){e[i]=da.test(f)?{attr:f.slice(5,-1)}:(f.charAt(0)=="'")?bX(f):bZ(f)}d=e}this.content=d;this.base(a,bZ(c))},init:function(){this.match=bt(this.selector);for(var i=0;i<this.match.length;i++){var a=this.match[i].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}},recalc:function(){if(this.content==null)return;for(var i=0;i<this.match.length;i++){this.create(this.match[i])}},create:function(a){var b=a.runtimeStyle[this.position];if(b){var c=[].concat(b.content||"");for(var j=0;j<c.length;j++){if(typeof c[j]=="object"){c[j]=a.getAttribute(c[j].attr)}}c=c.join("");var d=c.match(db);var e="overflow:hidden;"+b.cssText.replace(/'/g,'"');var f=dc[this.position+Number(a.canHaveChildren)];var g='ie7_psuedo'+cw.count++;a.insertAdjacentHTML(f,bh(cw.ANON,this.className,g,e,d?"":c));if(d){var h=document.getElementById(g);h.src=bX(d[1]);cL(h,"crop")}a.runtimeStyle[this.position]=null}},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});bU.add(/::/,":");var dd=/^(submit|reset|button)$/;IE7.HTML.addRecalc("button,input",function(a){if(a.tagName=="BUTTON"){var b=a.outerHTML.match(/ value="([^"]*)"/i);a.runtimeStyle.value=(b)?b[1]:""}if(a.type=="submit"){cc(a,"onclick",function(){a.runtimeStyle.clicked=true;setTimeout("document.all."+a.uniqueID+".runtimeStyle.clicked=false",1)})}});IE7.HTML.addRecalc("form",function(b){cc(b,"onsubmit",function(){for(var a,i=0;a=b[i];i++){if(dd.test(a.type)&&!a.disabled&&!a.runtimeStyle.clicked){a.disabled=true;setTimeout("document.all."+a.uniqueID+".disabled=false",1)}else if(a.tagName=="BUTTON"&&a.type=="submit"){setTimeout("document.all."+a.uniqueID+".value='"+a.value+"'",1);a.value=a.runtimeStyle.value}}})});IE7.HTML.addRecalc("img",function(a){if(a.alt&&!a.title)a.title=""});IE7.CSS.addRecalc("border-spacing",cC,function(a){if(a.currentStyle.borderCollapse!="collapse"){a.cellSpacing=ch(a,a.currentStyle["border-spacing"])}});IE7.CSS.addRecalc("box-sizing","content-box",IE7.Layout.boxSizing);IE7.CSS.addRecalc("box-sizing","border-box",IE7.Layout.borderBox);IE7.CSS.addFix(/opacity\s*:\s*([\d.]+)/,function(a,b){return"zoom:1;filter:Alpha(opacity="+((b*100)||1)+")"});var de=/^image/i;IE7.HTML.addRecalc("object",function(a){if(de.test(a.type)){a.body.style.margin="0";a.body.style.padding="0";a.body.style.border="none";a.body.style.overflow="hidden";return a}});document.write("<script id=__ready defer src=//:><\/script>");document.all.__ready.onreadystatechange=function(){if(this.readyState=="complete"){this.removeNode();bo()}}})(); IE9.js
1 /*
2 2 IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
3 3 http://code.google.com/p/ie7-js/
4 4 http://www.opensource.org/licenses/mit-license.php
5 5 */
6 6 ;(function(N,p){var h=N.IE7={version:"2.1(beta4)",toString:bT("[IE7]")};h.compat=9;var t=h.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1]-0;if(/ie7_off/.test(top.location.search)||t<5.5||t>=h.compat)return;var E=t<6,bj=bT(),bx=p.documentElement,B,x,cy="!",U=":link{ie7-link:link}:visited{ie7-link:visited}",cz=/^[\w\.]+[^:]*$/;function bk(c,a){if(cz.test(c))c=(a||"")+c;return c};function by(c,a){c=bk(c,a);return c.slice(0,c.lastIndexOf("/")+1)};var bU=p.scripts[p.scripts.length-1],cA=by(bU.src);try{var V=new ActiveXObject("Microsoft.XMLHTTP")}catch(ex){}var bl={};function cB(c,a){try{c=bk(c,a);if(!bl[c]){V.open("GET",c,false);V.send();if(V.status==0||V.status==200){bl[c]=V.responseText}}}catch(ex){}return bl[c]||""};var dA=Array.prototype.slice,dB=/%([1-9])/g,cC=/^\s\s*/,cD=/\s\s*$/,cE=/([\/()[\]{}|*+-.,^$?\\])/g,bV=/\bbase\b/,bW=["constructor","toString"],bm;function F(){};F.extend=function(g,f){bm=true;var d=new this;O(d,g);bm=false;var c=d.constructor;function a(){if(!bm)c.apply(this,arguments)};d.constructor=a;a.extend=arguments.callee;O(a,f);a.prototype=d;return a};F.prototype.extend=function(a){return O(this,a)};var P="#",Q="#",bc=".",bn="/",dC=/\\(\d+)/g,cF=/\[(\\.|[^\]\\])+\]|\\.|\(\?/g,cG=/\(/g,cH=/\$(\d+)/,cI=/^\$\d+$/,cJ=/(\[(\\.|[^\]\\])+\]|\\.|\(\?)|\(/g,cK=/^<#\w+>$/,cL=/<#(\w+)>/g,G=F.extend({constructor:function(a){this[bc]=[];this[Q]={};this.merge(a)},add:function(c,a){delete this[bn];if(c instanceof RegExp){c=c.source}if(!this[P+c])this[bc].push(String(c));return this[Q][P+c]=new G.Item(c,a,this)},compile:function(a){if(a||!this[bn]){this[bn]=new RegExp(this,this.ignoreCase?"gi":"g")}return this[bn]},merge:function(c){for(var a in c)this.add(a,c[a])},exec:function(o){var k=this,l=k[bc],m=k[Q],j,i=this.compile(true).exec(o);if(i){var g=0,f=1;while((j=m[P+l[g++]])){var d=f+j.length+1;if(i[f]){if(j.replacement===0){return k.exec(o)}else{var c=i.slice(f,d),a=c.length;while(--a)c[a]=c[a]||"";c[0]={match:c[0],item:j};return c}}f=d}}return null},parse:function(o){o+="";var k=this,l=k[bc],m=k[Q];return o.replace(this.compile(),function(j){var i=[],g,f=1,d=arguments.length;while(--d)i[d]=arguments[d]||"";while((g=m[P+l[d++]])){var c=f+g.length+1;if(i[f]){var a=g.replacement;switch(typeof a){case"function":return a.apply(k,i.slice(f,c));case"number":return i[f+a];default:return a}}f=c}return j})},toString:function(){var g=[],f=this[bc],d=this[Q],c;for(var a=0;c=d[P+f[a]];a++){g[a]=c.source}return"("+g.join(")|(")+")"}},{IGNORE:null,Item:F.extend({constructor:function(k,l,m){var j=k.indexOf("(")===-1?0:G.count(k),i=m.dictionary;if(i&&k.indexOf("<#")!==-1){if(cK.test(k)){var g=i[Q][P+k.slice(2,-1)];k=g.replacement;j=g._5}else{k=i.parse(k)}}if(typeof l=="number")l=String(l);else if(l==null)l=0;if(typeof l=="string"&&cH.test(l)){if(cI.test(l)){var f=l.slice(1)-0;if(f&&f<=j)l=f}else{var d=l,c;l=function(a){if(!c){c=new RegExp(k,"g"+(this.ignoreCase?"i":""))}return a.replace(c,d)}}}this.length=j;this.source=String(k);this.replacement=l}}),count:function(a){return(String(a).replace(cF,"").match(cG)||"").length}}),cM=G.extend({parse:function(f){var d=this[Q];return f.replace(cL,function(c,a){a=d[P+a];return a?a._6:c})},add:function(g,f){if(f instanceof RegExp){f=f.source}var d=f.replace(cJ,cN);if(f.indexOf("(")!==-1){var c=G.count(f)}if(f.indexOf("<#")!==-1){f=this.parse(f);d=this.parse(d)}var a=this.base(g,f);a._6=d;a._5=c||a.length;return a},toString:function(){return"(<#"+this[PATTERNS].join(">)|(<#")+">)"}});function cN(c,a){return a||"(?:"};function O(i,g){if(i&&g){var f=(typeof g=="function"?Function:Object).prototype;var d=bW.length,c;if(bm)while(c=bW[--d]){var a=g[c];if(a!=f[c]){if(bV.test(a)){bX(i,c,a)}else{i[c]=a}}}for(c in g)if(typeof f[c]=="undefined"){var a=g[c];if(i[c]&&typeof a=="function"&&bV.test(a)){bX(i,c,a)}else{i[c]=a}}}return i};function bX(i,g,f){var d=i[g];i[g]=function(){var c=this.base;this.base=d;var a=f.apply(this,arguments);this.base=c;return a}};function cO(f,d){if(!d)d=f;var c={};for(var a in f)c[a]=d[a];return c};function H(g){var f=arguments,d=new RegExp("%([1-"+arguments.length+"])","g");return String(g).replace(d,function(c,a){return a<f.length?f[a]:c})};function bo(c,a){return String(c).match(a)||[]};function bY(a){return String(a).replace(cE,"\\$1")};function bZ(a){return String(a).replace(cC,"").replace(cD,"")};function bT(a){return function(){return a}};var ca=G.extend({ignoreCase:true}),cP=/'/g,cb=/'(\d+)'/g,dD=/\\/g,bz=/\\([nrtf'"])/g,W=[],cc=new ca({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":cd,'"(\\\\.|[^"\\\\])*"':cd,"\\s+":" "});function cQ(a){return cc.parse(a).replace(bz,"$1")};function bd(a){return a.replace(cb,cR)};function cd(c){var a=W.length;W[a]=c.slice(1,-1).replace(bz,"$1").replace(cP,"\\'");return"'"+a+"'"};function cR(d,c){var a=W[c];if(a==null)return d;return"'"+W[c]+"'"};function bp(a){return a.indexOf("'")===0?W[a.slice(1,-1)]:a};var cS=new G({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",onX:"onY"});function ce(a){return cS.parse(a)};var cf=[];function bA(a){cT(a);y(N,"onresize",a)};function y(d,c,a){d.attachEvent(c,a);cf.push(arguments)};function cU(d,c,a){try{d.detachEvent(c,a)}catch(ex){}};y(N,"onunload",function(){var a;while(a=cf.pop()){cU(a[0],a[1],a[2])}});function be(d,c,a){if(!d.elements)d.elements={};if(a)d.elements[c.uniqueID]=c;else delete d.elements[c.uniqueID];return a};y(N,"onbeforeprint",function(){if(!h.CSS.print)new cg("print");h.CSS.print.recalc()});var ch=/^\d+(px)?$/i,X=/^\d+%$/,C=function(f,d){if(ch.test(d))return parseInt(d);var c=f.style.left,a=f.runtimeStyle.left;f.runtimeStyle.left=f.currentStyle.left;f.style.left=d||0;d=f.style.pixelLeft;f.style.left=c;f.runtimeStyle.left=a;return d},bB="ie7-",ci=F.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:bj}),bC=[];function cT(a){bC.push(a)};h.recalc=function(){h.HTML.recalc();h.CSS.recalc();for(var a=0;a<bC.length;a++)bC[a]()};function bq(a){return a.currentStyle["ie7-position"]=="fixed"};function bD(c,a){return c.currentStyle[bB+a]||c.currentStyle[a]};function Y(d,c,a){if(d.currentStyle[bB+c]==null){d.runtimeStyle[bB+c]=d.currentStyle[c]}d.runtimeStyle[c]=a};function cj(c){var a=p.createElement(c||"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 bE="(e.nextSibling&&IE7._1(e,'next'))",ck=bE.replace(/next/g,"previous"),cl="e.nodeName>'@'",cm="if("+cl+"){",cn="(e.nodeName==='FORM'?IE7._0(e,'id'):e.id)",cV=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i,cW=/(.*)(:first-(line|letter))/,cX=/\s/,cY=/((?:\\.|[^{\\])+)\{((?:\\.|[^}\\])+)\}/g,cZ=/(?:\\.|[^,\\])+/g,I=p.styleSheets,bF=[];h.CSS=new(ci.extend({parser:new ca,screen:"",print:"",styles:[],rules:[],pseudoClasses:t<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var c=[];for(var a in this)c.push(a);return c.join("|")}},init:function(){var j="^\x01[ DISCUZ_RUN_2 ]quot;,i="\\[class=?[^\\]]*\\]",g=[];if(this.pseudoClasses)g.push(this.pseudoClasses);var f=this.dynamicPseudoClasses.toString();if(f)g.push(f);g=g.join("|");var d=t<7?["[>+~\\[(]|([:.])[\\w-]+\\1"]:[i];if(g)d.push(":("+g+")");this.UNKNOWN=new RegExp(d.join("|")||j,"i");var c=t<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[i],a=c.concat();if(g)a.push(":("+g+")");u.COMPLEX=new RegExp(a.join("|")||j,"ig");if(this.pseudoClasses)c.push(":("+this.pseudoClasses+")");bf.COMPLEX=new RegExp(c.join("|")||j,"i");f="not\\(:"+f.split("|").join("\\)|not\\(:")+"\\)|"+f;bf.MATCH=new RegExp(f?"(.*?):("+f+")(.*)":j,"i");this.createStyleSheet();this.refresh()},addEventHandler:function(){y.apply(null,arguments)},addFix:function(c,a){this.parser.add(c,a)},addRecalc:function(i,g,f,d){i=i.source||i;g=new RegExp("([{;\\s])"+i+"\\s*:\\s*"+g+"[^;}]*");var c=this.recalcs.length;if(typeof d=="string")d=i+":"+d;this.addFix(g,function(a){if(typeof d=="function")d=d(a);return(d?d:a)+";ie7-"+a.slice(1)+";ie7_recalc"+c+":1"});this.recalcs.push(arguments);return c},apply:function(){this.getInlineCSS();new cg("screen");this.trash()},createStyleSheet:function(){p.getElementsByTagName("head")[0].appendChild(p.createElement("style"));this.styleSheet=I[I.length-1];this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=U},getInlineCSS:function(){var d=p.getElementsByTagName("style"),c;for(var a=d.length-1;c=d[a];a--){if(!c.disabled&&!c.ie7){c._7=c.innerHTML}}},getText:function(d,c){try{var a=d.cssText}catch(e){a=""}if(V)a=cB(d.href,c)||a;return a},recalc:function(){this.screen.recalc();var q=/ie7_recalc\d+/g,n=U.match(/[{,]/g).length,o=this.styleSheet.rules,k,l,m,j,i,g,f,d,c;for(g=n;k=o[g];g++){var a=k.style.cssText;if(l=a.match(q)){j=J(k.selectorText);if(j.length)for(f=0;f<l.length;f++){c=l[f];m=h.CSS.recalcs[c.slice(10)][2];for(d=0;(i=j[d]);d++){if(i.currentStyle[c])m(i,a)}}}}},refresh:function(){this.styleSheet.cssText=U+this.screen+this.print},trash:function(){for(var c=0;c<I.length;c++){if(!I[c].ie7){try{var a=I[c].cssText}catch(e){a=""}if(a)I[c].cssText=""}}}}));var cg=F.extend({constructor:function(a){this.media=a;this.load();h.CSS[a]=this;h.CSS.refresh()},createRule:function(d,c){var a;if(R&&(a=d.match(R.MATCH))){return new R(a[1],a[2],c)}else if(a=d.match(bf.MATCH)){if(!cV.test(a[0])||bf.COMPLEX.test(a[0])){return new bf(d,a[1],a[2],a[3],c)}}else{return new u(d,c)}return d+" {"+c+"}"},getText:function(){var v=/@media\s+([^{]+?)\s*\{([^@]+\})\s*\}/gi,Z=/@import[^;\n]+/gi,S=/@import\s+url\s*\(\s*["']?|["']?\s*\)\s*/gi,ba=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi,K=this,L={};function z(k,l,m,j){var i="";if(!j){m=q(k.media);j=0}if(m==="none"){k.disabled=true;return""}if(m==="all"||m===K.media){try{var g=!!k.cssText}catch(exe){}if(j<3&&g){var f=k.cssText.match(Z);for(var d=0,c;d<k.imports.length;d++){var c=k.imports[d];var a=k._2||k.href;c._2=f[d].replace(S,"");i+=z(c,by(a,l),m,j+1)}}i+=cQ(k.href?n(k,l):k.owningElement._7);i=A(i,K.media)}return i};for(var w=0;w<I.length;w++){var r=I[w];if(!r.disabled&&!r.ie7)this.cssText+=z(r)}function A(c,a){s.value=a;return c.replace(v,s)};function s(d,c,a){c=q(c);switch(c){case"screen":case"print":if(c!==s.value)return"";case"all":return a}return""};function q(d){if(!d)return"all";var c=d.toLowerCase().split(/\s*,\s*/);d="none";for(var a=0;a<c.length;a++){if(c[a]==="all")return"all";if(c[a]==="screen"){if(d==="print")return"all";d="screen"}else if(c[a]==="print"){if(d==="screen")return"all";d="print"}}return d};function n(f,d){var c=f._2||f.href,a=bk(c,d);if(L[a])return"";L[a]=f.disabled?"":o(h.CSS.getText(f,d),by(c,d));return L[a]};function o(c,a){return c.replace(ba,"$1"+a.slice(0,a.lastIndexOf("/")+1)+"$2")}},load:function(){this.cssText="";this.getText();this.parse();if(bF.length){this.cssText=da(this.cssText)}this.cssText=bd(this.cssText);bl={}},parse:function(){var j=h.CSS.parser.parse(this.cssText),o="";this.cssText=j.replace(/@charset[^;]+;|@font\-face[^\}]+\}/g,function(a){o+=a+"\n";return""});this.declarations=bd(o);var k=h.CSS.rules.length,l=[],m;while((m=cY.exec(this.cssText))){var j=m[2];if(j){var i=t<7&&j.indexOf("AlphaImageLoader")!==-1;var g=m[1].match(cZ),f;for(var d=0;f=g[d];d++){f=bZ(f);var c=h.CSS.UNKNOWN.test(f);g[d]=c?this.createRule(f,j):f+"{"+j+"}";if(i)g[d]+=this.createRule(f+">*","position:relative")}l.push(g.join("\n"))}}this.cssText=l.join("\n");this.rules=h.CSS.rules.slice(k)},recalc:function(){var c,a;for(a=0;(c=this.rules[a]);a++)c.recalc()},toString:function(){return this.declarations+"@media "+this.media+"{"+this.cssText+"}"}}),R,u=h.Rule=F.extend({constructor:function(d,c){this.id=h.CSS.rules.length;this.className=u.PREFIX+this.id;var a=d.match(cW);this.selector=(a?a[1]:d)||"*";this.selectorText=this.parse(this.selector)+(a?a[2]:"");this.cssText=c;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");h.CSS.rules.push(this);this.init()},init:bj,add:function(a){a.className+=" "+this.className},recalc:function(){var c=J(this.selector);for(var a=0;a<c.length;a++)this.add(c[a])},parse:function(g){var f=g.replace(u.CHILD," ").replace(u.COMPLEX,"");if(t<7)f=f.replace(u.MULTI,"");var d=bo(f,u.TAGS).length-bo(g,u.TAGS).length,c=bo(f,u.CLASSES).length-bo(g,u.CLASSES).length+1;while(c>0&&u.CLASS.test(f)){f=f.replace(u.CLASS,"");c--}while(d>0&&u.TAG.test(f)){f=f.replace(u.TAG,"$1*");d--}f+="."+this.className;c=Math.min(c,2);d=Math.min(d,2);var a=-10*c-d;if(a>0){f=f+","+u.MAP[a]+" "+f}return f},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},toString:function(){return H("%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"}}),bf=u.extend({constructor:function(g,f,d,c,a){this.negated=d.indexOf("not")===0;if(this.negated)d=d.slice(5,-1);this.attach=f||"*";this.dynamicPseudoClass=h.CSS.dynamicPseudoClasses[d];this.target=c;this.base(g,a)},recalc:function(){var f=J(this.attach),d;for(var c=0;d=f[c];c++){var a=this.target?J(this.target,d):[d];if(a.length)this.dynamicPseudoClass.apply(d,a,this)}}}),M=F.extend({constructor:function(c,a){this.name=c;this.apply=a;this.instances={};h.CSS.dynamicPseudoClasses[c]=this},register:function(g,f){var d=g[2];if(!f&&d.negated){this.unregister(g,true)}else{g.id=d.id+g[0].uniqueID;if(!this.instances[g.id]){var c=g[1],a;for(a=0;a<c.length;a++)d.add(c[a]);this.instances[g.id]=g}}},unregister:function(g,f){var d=g[2];if(!f&&d.negated){this.register(g,true)}else{if(this.instances[g.id]){var c=g[1],a;for(a=0;a<c.length;a++)d.remove(c[a]);delete this.instances[g.id]}}}}),br=new M("hover",function(c){var a=arguments;h.CSS.addEventHandler(c,"onmouseenter",function(){br.register(a)});h.CSS.addEventHandler(c,"onmouseleave",function(){br.unregister(a)})});y(p,"onmouseup",function(){var c=br.instances;for(var a in c)if(!c[a][0].contains(event.srcElement))br.unregister(c[a])});var co={"=":"%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"};co[""]="%1!=null";var T={"<#attr>":function(g,f,d,c){var a="IE7._0(e,'"+f+"')";c=bp(c);if(d.length>1){if(!c||d==="~="&&cX.test(c)){return"false&&"}a="("+a+"||'')"}return"("+H(co[d],a,c)+")&&"},"<#id>":cn+"==='$1'&&","<#class>":"e.className&&(' '+e.className+' ').indexOf(' $1 ')!==-1&&",":first-child":"!"+ck+"&&",":link":"e.currentStyle['ie7-link']=='link'&&",":visited":"e.currentStyle['ie7-link']=='visited'&&"};h.HTML=new(ci.extend({fixed:{},init:bj,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var f=0;f<this.fixes.length;f++){var d=J(this.fixes[f][0]);var c=this.fixes[f][1];for(var a=0;a<d.length;a++)c(d[a])}},addRecalc:function(){this.recalcs.push(arguments)},recalc:function(){for(var j=0;j<this.recalcs.length;j++){var i=J(this.recalcs[j][0]);var g=this.recalcs[j][1],f;var d=Math.pow(2,j);for(var c=0;(f=i[c]);c++){var a=f.uniqueID;if((this.fixed[a]&d)===0){f=g(f)||f;this.fixed[a]|=d}}}}}));if(t<7){p.createElement("abbr");h.HTML.addRecalc("label",function(c){if(!c.htmlFor){var a=J("input,textarea",c,true);if(a){y(c,"onclick",function(){a.click()})}}})}var bg="[.\\d]";(function(){var v=h.Layout={};U+="*{boxSizing:content-box}";v.boxSizing=function(a){if(!a.currentStyle.hasLayout){a.style.height="0cm";if(a.currentStyle.verticalAlign==="auto")a.runtimeStyle.verticalAlign="top";Z(a)}};function Z(a){if(a!=x&&a.currentStyle.position!=="absolute"){S(a,"marginTop");S(a,"marginBottom")}};function S(g,f){if(!g.runtimeStyle[f]){var d=g.parentElement;var c=f==="marginTop";if(d&&d.currentStyle.hasLayout&&!h._1(g,c?"previous":"next"))return;var a=g[c?"firstChild":"lastChild"];if(a&&a.nodeName<"@")a=h._1(a,c?"next":"previous");if(a&&a.currentStyle.styleFloat==="none"&&a.currentStyle.hasLayout){S(a,f);margin=ba(g,g.currentStyle[f]);childMargin=ba(a,a.currentStyle[f]);if(margin<0||childMargin<0){g.runtimeStyle[f]=margin+childMargin}else{g.runtimeStyle[f]=Math.max(childMargin,margin)}a.runtimeStyle[f]="0px"}}};function ba(c,a){return a==="auto"?0:C(c,a)};var K=/^[.\d][\w]*$/,L=/^(auto|0cm)$/,z={};v.borderBox=function(a){z.Width(a);z.Height(a)};var w=function(r){z.Width=function(a){if(!X.test(a.currentStyle.width))A(a);if(r)Z(a)};function A(c,a){if(!c.runtimeStyle.fixedWidth){if(!a)a=c.currentStyle.width;c.runtimeStyle.fixedWidth=K.test(a)?Math.max(0,n(c,a))+"px":a;Y(c,"width",c.runtimeStyle.fixedWidth)}};function s(c){if(!bq(c)){var a=c.offsetParent;while(a&&!a.currentStyle.hasLayout)a=a.offsetParent}return(a||x).clientWidth};function q(c,a){if(X.test(a))return parseInt(parseFloat(a)/100*s(c));return C(c,a)};var n=function(f,d){var c=f.currentStyle["ie7-box-sizing"]==="border-box",a=0;if(E&&!c)a+=o(f)+k(f,"padding");else if(!E&&c)a-=o(f)+k(f,"padding");return q(f,d)+a};function o(a){return a.offsetWidth-a.clientWidth};function k(c,a){return q(c,c.currentStyle[a+"Left"])+q(c,c.currentStyle[a+"Right"])};U+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";v.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(be(arguments.callee,a,a.currentStyle.minWidth!=="none")){v.boxSizing(a);A(a);l(a)}};eval("IE7.Layout.maxWidth="+String(v.minWidth).replace(/min/g,"max"));function l(d){if(d==p.body){var c=d.clientWidth}else{var a=d.getBoundingClientRect();c=a.right-a.left}if(d.currentStyle.minWidth!=="none"&&c<n(d,d.currentStyle.minWidth)){d.runtimeStyle.width=d.currentStyle.minWidth}else if(d.currentStyle.maxWidth!=="none"&&c>=n(d,d.currentStyle.maxWidth)){d.runtimeStyle.width=d.currentStyle.maxWidth}else{d.runtimeStyle.width=d.runtimeStyle.fixedWidth}};function m(a){if(be(m,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&bD(a,"left")!=="auto"&&bD(a,"right")!=="auto"&&L.test(bD(a,"width")))){j(a);v.boxSizing(a)}};v.fixRight=m;function j(d){var c=q(d,d.runtimeStyle._3||d.currentStyle.left),a=s(d)-q(d,d.currentStyle.right)-c-k(d,"margin");if(parseInt(d.runtimeStyle.width)===a)return;d.runtimeStyle.width="";if(bq(d)||r||d.offsetWidth<a){if(!E)a-=o(d)+k(d,"padding");if(a<0)a=0;d.runtimeStyle.fixedWidth=a;Y(d,"width",a)}};var i=0;bA(function(){if(!x)return;var g,f=(i<x.clientWidth);i=x.clientWidth;var d=v.minWidth.elements;for(g in d){var c=d[g];var a=(parseInt(c.runtimeStyle.width)===n(c,c.currentStyle.minWidth));if(f&&a)c.runtimeStyle.width="";if(f==a)l(c)}var d=v.maxWidth.elements;for(g in d){var c=d[g];var a=(parseInt(c.runtimeStyle.width)===n(c,c.currentStyle.maxWidth));if(!f&&a)c.runtimeStyle.width="";if(f!==a)l(c)}for(g in m.elements)j(m.elements[g])});if(E){h.CSS.addRecalc("width",bg,z.Width)}if(t<7){h.CSS.addRecalc("max-width",bg,v.maxWidth);h.CSS.addRecalc("right",bg,m)}else if(t==7){if(r)h.CSS.addRecalc("height","[\\d.]+%",function(element){element.runtimeStyle.pixelHeight=parseInt(s(element)*element.currentStyle["ie7-height"].slice(0,-1)/100)})}};eval("var _8="+ce(w));w();_8(true);if(t<7){h.CSS.addRecalc("min-width",bg,v.minWidth);h.CSS.addFix(/\bmin-height\s*/,"height")}})();var bG=bk("blank.gif",cA),bH="DXImageTransform.Microsoft.AlphaImageLoader",cp="progid:"+bH+"(src='%1',sizingMethod='%2')",bh,bi=[];function cq(c){if(bh.test(c.src)){var a=new Image(c.width,c.height);a.onload=function(){c.width=a.width;c.height=a.height;a=null};a.src=c.src;c.pngSrc=c.src;bs(c)}};if(t<7){h.CSS.addFix(/background(-image)?\s*:\s*([^};]*)?url\(([^\)]+)\)([^;}]*)?/,function(g,f,d,c,a){c=bp(c);return bh.test(c)?"filter:"+H(cp,c,a.indexOf("no-repeat")===-1?"scale":"crop")+";zoom:1;background"+(f||"")+":"+(d||"")+"none"+(a||""):g});h.CSS.addRecalc(/list\-style(\-image)?/,"[^};]*url",function(f){var d=f.currentStyle.listStyleImage.slice(5,-2);if(bh.test(d)){if(f.nodeName==="LI"){cr(f,d)}else if(f.nodeName==="UL"){for(var c=0,a;a=f.childNodes[c];c++){if(a.nodeName==="LI")cr(a,d)}}}});function cr(i,g){var f=i.runtimeStyle,d=i.offsetHeight,c=new Image;c.onload=function(){var a=i.currentStyle.paddingLeft;a=a==="0px"?0:C(i,a);f.paddingLeft=(a+this.width)+"px";f.marginLeft=-this.width+"px";f.listStyleType="none";f.listStyleImage="none";f.paddingTop=Math.max(d-i.offsetHeight,0)+"px";bs(i,"crop",g);i.style.zoom="100%"};c.src=g};h.HTML.addRecalc("img,input",function(a){if(a.nodeName==="INPUT"&&a.type!=="image")return;cq(a);y(a,"onpropertychange",function(){if(!bI&&event.propertyName==="src"&&a.src.indexOf(bG)===-1)cq(a)})});var bI=false;y(N,"onbeforeprint",function(){bI=true;for(var a=0;a<bi.length;a++)db(bi[a])});y(N,"onafterprint",function(){for(var a=0;a<bi.length;a++)bs(bi[a]);bI=false})}function bs(f,d,c){var a=f.filters[bH];if(a){a.src=c||f.src;a.enabled=true}else{f.runtimeStyle.filter=H(cp,c||f.src,d||"scale");bi.push(f)}f.src=bG};function db(a){a.src=a.pngSrc;a.filters[bH].enabled=false};(function(){if(t>=7)return;h.CSS.addRecalc("position","fixed",o,"absolute");h.CSS.addRecalc("background(-attachment)?","[^};]*fixed",q);var z=E?"body":"documentElement";function w(){if(B.currentStyle.backgroundAttachment!=="fixed"){if(B.currentStyle.backgroundImage==="none"){B.runtimeStyle.backgroundRepeat="no-repeat";B.runtimeStyle.backgroundImage="url("+bG+")"}B.runtimeStyle.backgroundAttachment="fixed"}w=bj};var r=cj("img");function A(a){return a?bq(a)||A(a.parentElement):false};function s(d,c,a){setTimeout("document.all."+d.uniqueID+".runtimeStyle.setExpression('"+c+"','"+a+"')",0)};function q(a){if(be(q,a,a.currentStyle.backgroundAttachment==="fixed"&&!a.contains(B))){w();j.bgLeft(a);j.bgTop(a);n(a)}};function n(c){r.src=c.currentStyle.backgroundImage.slice(5,-2);var a=c.canHaveChildren?c:c.parentElement;a.appendChild(r);j.setOffsetLeft(c);j.setOffsetTop(c);a.removeChild(r)};function o(a){if(be(o,a,bq(a))){Y(a,"position","absolute");Y(a,"left",a.currentStyle.left);Y(a,"top",a.currentStyle.top);w();h.Layout.fixRight(a);k(a)}};function k(d,c){p.body.getBoundingClientRect();j.positionTop(d,c);j.positionLeft(d,c,true);if(!d.runtimeStyle.autoLeft&&d.currentStyle.marginLeft==="auto"&&d.currentStyle.right!=="auto"){var a=x.clientWidth-j.getPixelWidth(d,d.currentStyle.right)-j.getPixelWidth(d,d.runtimeStyle._3)-d.clientWidth;if(d.currentStyle.marginRight==="auto")a=parseInt(a/2);if(A(d.offsetParent))d.runtimeStyle.pixelLeft+=a;else d.runtimeStyle.shiftLeft=a}if(!d.runtimeStyle.fixedWidth)j.clipWidth(d);if(!d.runtimeStyle.fixedHeight)j.clipHeight(d)};function l(){var c=q.elements;for(var a in c)n(c[a]);c=o.elements;for(a in c){k(c[a],true);k(c[a],true)}m=0};var m;bA(function(){if(!m)m=setTimeout(l,100)});var j={},i=function(g){g.bgLeft=function(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!A(a)){s(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+z+".scrollLeft)||0")}};g.setOffsetLeft=function(c){var a=A(c)?"backgroundPositionX":"offsetLeft";c.runtimeStyle[a]=g.getOffsetLeft(c,c.style.backgroundPositionX)-c.getBoundingClientRect().left-c.clientLeft+2};g.getOffsetLeft=function(c,a){switch(a){case"left":case"top":return 0;case"right":case"bottom":return x.clientWidth-r.offsetWidth;case"center":return(x.clientWidth-r.offsetWidth)/2;default:if(X.test(a)){return parseInt((x.clientWidth-r.offsetWidth)*parseFloat(a)/100)}r.style.left=a;return r.offsetLeft}};g.clipWidth=function(f){var d=f.runtimeStyle.fixWidth;f.runtimeStyle.borderRightWidth="";f.runtimeStyle.width=d?g.getPixelWidth(f,d)+"px":"";if(f.currentStyle.width!=="auto"){var c=f.getBoundingClientRect();var a=f.offsetWidth-x.clientWidth+c.left-2;if(a>=0){f.runtimeStyle.borderRightWidth="0px";a=Math.max(C(f,f.currentStyle.width)-a,0);Y(f,"width",a);return a}}};g.positionLeft=function(c,a){if(!a&&X.test(c.currentStyle.width)){c.runtimeStyle.fixWidth=c.currentStyle.width}if(c.runtimeStyle.fixWidth){c.runtimeStyle.width=g.getPixelWidth(c,c.runtimeStyle.fixWidth)}c.runtimeStyle.shiftLeft=0;c.runtimeStyle._3=c.currentStyle.left;c.runtimeStyle.autoLeft=c.currentStyle.right!=="auto"&&c.currentStyle.left==="auto";c.runtimeStyle.left="";c.runtimeStyle.screenLeft=g.getScreenLeft(c);c.runtimeStyle.pixelLeft=c.runtimeStyle.screenLeft;if(!a&&!A(c.offsetParent)){s(c,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+z+".scrollLeft")}};g.getScreenLeft=function(d){var c=d.offsetLeft,a=1;if(d.runtimeStyle.autoLeft){c=x.clientWidth-d.offsetWidth-g.getPixelWidth(d,d.currentStyle.right)}if(d.currentStyle.marginLeft!=="auto"){c-=g.getPixelWidth(d,d.currentStyle.marginLeft)}while(d=d.offsetParent){if(d.currentStyle.position!=="static")a=-1;c+=d.offsetLeft*a}return c};g.getPixelWidth=function(c,a){return X.test(a)?parseInt(parseFloat(a)/100*x.clientWidth):C(c,a)}};eval("var _9="+ce(i));i(j);_9(j)})();if(t<7){var bJ={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(d){if(d.currentStyle.position==="absolute")return;if(d.parentNode.ie7_wrapped)return;if(h.Layout&&d.currentStyle["max-height"]!=="auto"){h.Layout.maxHeight(d)}if(d.currentStyle.marginLeft==="auto")d.style.marginLeft=0;if(d.currentStyle.marginRight==="auto")d.style.marginRight=0;var c=p.createElement(cy);c.ie7_wrapped=d;for(var a in bJ){c.style[a]=d.currentStyle[a];if(bJ[a]!=null){d.runtimeStyle[a]=bJ[a]}}c.style.display="block";c.style.position="relative";d.runtimeStyle.position="absolute";d.parentNode.insertBefore(c,d);c.appendChild(d)})}function dc(){var s="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var q=0;q<s.length;q++){s[s[q]]=s[q-1]||"0.67em"}h.CSS.addFix(/(font(-size)?\s*:\s*)([\w.-]+)/,function(f,d,c,a){return d+(s[a]||a)});var n=/^\-/,o=/(em|ex)$/i,k=/em$/i,l=/ex$/i;C=function(d,c){if(ch.test(c))return parseInt(c)||0;var a=n.test(c)?-1:1;if(o.test(c))a*=j(d);m.style.width=a<0?c.slice(1):c;B.appendChild(m);c=a*m.offsetWidth;m.removeNode();return parseInt(c)};var m=cj();function j(d){var c=1;m.style.fontFamily=d.currentStyle.fontFamily;m.style.lineHeight=d.currentStyle.lineHeight;while(d!=B){var a=d.currentStyle["ie7-font-size"];if(a){if(k.test(a))c*=parseFloat(a);else if(X.test(a))c*=(parseFloat(a)/100);else if(l.test(a))c*=(parseFloat(a)/2);else{m.style.fontSize=a;return 1}}d=d.parentElement}return c};h.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");h.CSS.addFix(/display\s*:\s*list-item/,"display:block");function i(f){var d=f.parentElement,c=d.offsetWidth-f.offsetWidth-g(d),a=(f.currentStyle["ie7-margin"]&&f.currentStyle.marginRight==="auto")||f.currentStyle["ie7-margin-right"]==="auto";switch(d.currentStyle.textAlign){case"right":c=a?parseInt(c/2):0;f.runtimeStyle.marginRight=c+"px";break;case"center":if(a)c=0;default:if(a)c/=2;f.runtimeStyle.marginLeft=parseInt(c)+"px"}};function g(a){return C(a,a.currentStyle.paddingLeft)+C(a,a.currentStyle.paddingRight)};h.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(be(i,a,a.parentElement&&a.currentStyle.display==="block"&&a.currentStyle.marginLeft==="auto"&&a.currentStyle.position!=="absolute")){i(a)}});bA(function(){for(var c in i.elements){var a=i.elements[c];a.runtimeStyle.marginLeft=a.runtimeStyle.marginRight="";i(a)}})};var bK="\\([^)]+\\)";cc.add(/::(before|after)/,":$1");if(t<8){if(h.CSS.pseudoClasses)h.CSS.pseudoClasses+="|";h.CSS.pseudoClasses+="before|after|lang"+bK;function da(a){return a.replace(new RegExp("([{;\\s])("+bF.join("|")+")\\s*:\\s*([^;}]+)","g"),"$1$2:$3;ie7-$2:$3")};var dd=/[\w-]+\s*:\s*inherit/g;var de=/ie7\-|\s*:\s*inherit/g;var df=/\-([a-z])/g;function dg(c,a){return a.toUpperCase()};h.CSS.addRecalc("[\\w-]+","inherit",function(g,f){if(g.parentElement){var d=f.match(dd);for(var c=0;c<d.length;c++){var a=d[c].replace(de,"");if(g.currentStyle["ie7-"+a]==="inherit"){a=a.replace(df,dg);g.runtimeStyle[a]=g.parentElement.currentStyle[a]}}}},function(a){bF.push(bY(a.slice(1).split(":")[0]));return a});var bt=new M("focus",function(c){var a=arguments;h.CSS.addEventHandler(c,"onfocus",function(){bt.unregister(a);bt.register(a)});h.CSS.addEventHandler(c,"onblur",function(){bt.unregister(a)});if(c==p.activeElement){bt.register(a)}});var bL=new M("active",function(c){var a=arguments;h.CSS.addEventHandler(c,"onmousedown",function(){bL.register(a)})});y(p,"onmouseup",function(){var c=bL.instances;for(var a in c)bL.unregister(c[a])});var dh=/^url\s*\(\s*([^)]*)\)$/;var di={before0:"beforeBegin",before1:"afterBegin",after0:"afterEnd",after1:"beforeEnd"};var R=h.PseudoElement=u.extend({constructor:function(j,i,g){this.position=i;var f=g.match(R.CONTENT),d,c;if(f){f=f[1];d=f.split(/\s+/);for(var a=0;(c=d[a]);a++){d[a]=/^attr/.test(c)?{attr:c.slice(5,-1)}:c.charAt(0)==="'"?bp(c):bd(c)}f=d}this.content=f;this.base(j,bd(g))},init:function(){this.match=J(this.selector);for(var c=0;c<this.match.length;c++){var a=this.match[c].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(n){var o=n.runtimeStyle[this.position];if(o){var k=[].concat(o.content||"");for(var l=0;l<k.length;l++){if(typeof k[l]=="object"){k[l]=n.getAttribute(k[l].attr)}}k=k.join("");var m=k.match(dh);var j="overflow:hidden;"+o.cssText.replace(/'/g,'"');var i=di[this.position+Number(n.canHaveChildren)];var g='ie7_pseudo'+R.count++;n.insertAdjacentHTML(i,H(R.ANON,this.className,g,j,m?"":k));if(m){var f=bp(m[1]);var d=p.getElementById(g);d.src=f;bs(d,"crop");var c=n.currentStyle.styleFloat!=="none";if(d.currentStyle.display==="inline"||c){if(t<7&&c&&n.canHaveChildren){n.runtimeStyle.display="inline";n.runtimeStyle.position="relative";d.runtimeStyle.position="absolute"}d.style.display="inline-block";if(n.currentStyle.styleFloat!=="none"){d.style.pixelWidth=n.offsetWidth}var a=new Image;a.onload=function(){d.style.pixelWidth=this.width;d.style.pixelHeight=Math.max(this.height,d.offsetHeight)};a.src=f}}n.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(c){var a="";while(c&&c.nodeType===1){a=c.lang||c.getAttribute("lang")||"";if(a)break;c=c.parentNode}return a};T=O(T,{":lang\\(([^)]+)\\)":"((ii=IE7._getLang(e))==='$1'||ii.indexOf('$1-')===0)&&"})}var dj=/^(submit|reset|button)$/;h.HTML.addRecalc("button,input",function(c){if(c.nodeName==="BUTTON"){var a=c.outerHTML.match(/ value="([^"]*)"/i);c.runtimeStyle.value=a?a[1]:""}if(c.type==="submit"){y(c,"onclick",function(){c.runtimeStyle.clicked=true;setTimeout("document.all."+c.uniqueID+".runtimeStyle.clicked=false",1)})}});h.HTML.addRecalc("form",function(d){y(d,"onsubmit",function(){for(var c,a=0;c=d[a];a++){if(dj.test(c.type)&&!c.disabled&&!c.runtimeStyle.clicked){c.disabled=true;setTimeout("document.all."+c.uniqueID+".disabled=false",1)}else if(c.nodeName==="BUTTON"&&c.type==="submit"){setTimeout("document.all."+c.uniqueID+".value='"+c.value+"'",1);c.value=c.runtimeStyle.value}}})});h.HTML.addRecalc("img",function(a){if(a.alt&&!a.title)a.title=""});if(t<8){h.CSS.addRecalc("border-spacing",bg,function(a){if(a.currentStyle.borderCollapse!=="collapse"){a.cellSpacing=C(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(t<8){var dk=/^image/i;h.HTML.addRecalc("object",function(a){if(dk.test(a.type)){a.body.style.cssText="margin:0;padding:0;border:none;overflow:hidden";return a}})}var bM="!IE7._a(e,'next')&&",cs=bM.replace("next","previous");if(h.CSS.pseudoClasses)h.CSS.pseudoClasses+="|";h.CSS.pseudoClasses+="(?:first|last|only)\\-(?:child|of\\-type)|empty|root|target|"+("not|nth\\-child|nth\\-last\\-child|nth\\-of\\-type|nth\\-last\\-of\\-type".split("|").join(bK+"|")+bK);var bN=new M("checked",function(c){if(typeof c.checked!=="boolean")return;var a=arguments;h.CSS.addEventHandler(c,"onpropertychange",function(){if(event.propertyName==="checked"){if(c.checked===true)bN.register(a);else bN.unregister(a)}});if(c.checked===true)bN.register(a)}),bO=new M("enabled",function(c){if(typeof c.disabled!=="boolean")return;var a=arguments;h.CSS.addEventHandler(c,"onpropertychange",function(){if(event.propertyName==="disabled"){if(c.disabled===false)bO.register(a);else bO.unregister(a)}});if(c.disabled===false)bO.register(a)}),bP=new M("disabled",function(c){if(typeof c.disabled!=="boolean")return;var a=arguments;h.CSS.addEventHandler(c,"onpropertychange",function(){if(event.propertyName==="disabled"){if(c.disabled===true)bP.register(a);else bP.unregister(a)}});if(c.disabled===true)bP.register(a)}),bQ=new M("indeterminate",function(c){if(typeof c.indeterminate!=="boolean")return;var a=arguments;h.CSS.addEventHandler(c,"onpropertychange",function(){if(event.propertyName==="indeterminate"){if(c.indeterminate===true)bQ.register(a);else bQ.unregister(a)}});h.CSS.addEventHandler(c,"onclick",function(){bQ.unregister(a)})}),bR=new M("target",function(c){var a=arguments;if(!c.tabIndex)c.tabIndex=0;h.CSS.addEventHandler(p,"onpropertychange",function(){if(event.propertyName==="activeElement"){if(c.id&&c.id===location.hash.slice(1))bR.register(a);else bR.unregister(a)}});if(c.id&&c.id===location.hash.slice(1))bR.register(a)}),ct=1,bu={_4:1};h._b=function(l,m,j){var i=l.parentNode;if(!i||i.nodeType!==1)return NaN;var g=j?l.nodeName:"";if(g==="TR"&&l.sectionRowIndex>=0){var c=l.sectionRowIndex;return m?l.parentNode.rows.length-c+1:c}if((g==="TD"||g==="TH")&&l.cellIndex>=0){c=l.cellIndex;return m?l.parentNode.cells.length-c+1:c}if(bu._4!==ct){bu={_4:ct}}var f=(i.uniqueID)+"-"+g,d=bu[f];if(!d){d={};var c=0,a=i.firstChild;while(a){if(j?a.nodeName===g:a.nodeName>"@"){d[a.uniqueID]=++c}a=a.nextSibling}d.length=c;bu[f]=d}c=d[l.uniqueID];return m?d.length-c+1:c};h._c=function(a){a=a.firstChild;while(a){if(a.nodeType===3||a.nodeName>"@")return false;a=a.nextSibling}return true};h._a=function(d,c){var a=d.nodeName;c+="Sibling";do{d=d[c];if(d&&d.nodeName===a)break}while(d);return d};var dl={"+":1,"-":-1},dm=/ /g;T=O(O({":nth(-last)?-(?:child|(of-type))\\((<#nth_arg>)\\)(<#filter>)?":function(m,j,i,g,f){g=g.replace(dm,"");var d="IE7._b(e,"+!!j+","+!!i+")";if(g==="even")g="2n";else if(g==="odd")g="2n+1";else if(!isNaN(g))g="0n"+~~g;g=g.split("n");var c=~~(dl[g[0]]||g[0]||1),b=~~g[1];if(c===0){var a=d+"==="+b}else{a="((ii="+d+")-("+b+"))%"+c+"===0&ⅈ"+(c<0?"<":">")+"="+b}return this.parse(f)+a+"&&"},"<#negation>":function(c,a){if(/:not/i.test(a))bv();if(/^[#.:\[]/.test(a)){a="*"+a}return"!("+D.parse(a).slice(3,-2)+")&&"}},T),{":checked":"e.checked===true&&",":disabled":"e.disabled===true&&",":enabled":"e.disabled===false&&",":last-child":"!"+bE+"&&",":only-child":"!"+ck+"&&!"+bE+"&&",":first-of-type":cs,":last-of-type":bM,":only-of-type":cs+bM,":empty":"IE7._c(e)&&",":root":"e==R&&",":target":"H&&"+cn+"===H&&"});var dn="article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video".split(",");for(var cu=0,cv;cv=dn[cu];cu++)p.createElement(cv);U+="datalist{display:none}details{padding-left:40px;display:block;margin:1em 0}meter,progress{vertical-align:-0.2em;width:5em;height:1em;display:inline-block}progress{width:10em;}article,aside,figcaption,footer,header,hgroup,summary,section,nav{display:block;margin:1em 0}figure{margin:1em 40px;display:block}mark{background:yellow}";h.CSS.addFix(/\bopacity\s*:\s*([\d.]+)/,function(c,a){return"zoom:1;filter:Alpha(opacity="+((a*100)||1)+")"});var D,J=(function(){var o0=/^[>+~]/,bw=false;function dp(f,d,c){f=bZ(f);if(!d)d=p;var a=d;bw=o0.test(f);if(bw){d=d.parentNode;f="*"+f}try{return n.create(f,bw)(d,c?null:[],a)}catch(ex){return c?null:[]}};var dq=/^(\\.|[' >+~#.\[\]:*(),\w-\^|$=]|[^\x00-\xa0])+$/,dE=/^(href|src)$/,cw={"class":"className","for":"htmlFor"},dF=/\sie7_\w+/g,dr=/^(action|cite|codebase|data|dynsrc|href|longdesc|lowsrc|src|usemap|url)$/i;h._0=function(f,d){if(f.getAttributeNode){var c=f.getAttributeNode(d)}d=cw[d.toLowerCase()]||d;if(!c)c=f.attributes[d];var a=c&&c.specified;if(f[d]&&typeof f[d]=="boolean")return d.toLowerCase();if((a&&dr.test(d))||(!c&&E)||d==="value"||d==="type"){return f.getAttribute(d,2)}if(d==="style")return f.style.cssText.toLowerCase()||null;return a?String(c.nodeValue):null};var cx="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";O(cw,cO(cx.toLowerCase().split(","),cx.split(",")));h._1=function(c,a){a+="Sibling";do{c=c[a];if(c&&c.nodeName>"@")break}while(c);return c};var ds=/(^|[, >+~])([#.:\[])/g,dG=/\)\{/g,dt=/,/,dH=/^['"]/,du=/\\([\da-f]{2,2})/gi,dI=/last/i;h._d=function(f,d){var c=f.all[d]||null;if(!c||(c.nodeType&&h._0(c,"id")===d))return c;for(var a=0;a<c.length;a++){if(h._0(c[a],"id")===d)return c[a]}return null};var bb=G.extend({dictionary:new cM({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}),dv=new bb({"\\\\.|[~*]\\s+=|\\+\\s+\\d":G.IGNORE,"\\[\\s+":"[","\\(\\s+":"(","\\s+\\)":")","\\s+\\]":"]","\\s*([,>+~]|<#operator>)\\s*":"$1","\\s+[ DISCUZ_RUN_2 ]quot;:"","\\s+":" "});function dw(a){a=dv.parse(a.replace(du,"\\x$1")).replace(bz,"$1").replace(ds,"$1*$2");if(!dq.test(a))bv();return a};function dJ(a){return a.replace(cb,dx)};function dx(c,a){return W[a]};var dy=/\{/g,dz=/\\{/g;function bS(a){return Array((a.replace(dz,"").match(dy)||"").length+1).join("}")};T=new bb(T);var v=/:target/i,Z=/:root/i;function S(c){var a="";if(Z.test(c))a+=",R=d.documentElement";if(v.test(c))a+=",H=d.location;H=H&&H.hash.replace('#','')";if(a||c.indexOf("#")!==-1){a=",t=c.nodeType,d=t===9?c:c.ownerDocument||(c.document||c).parentWindow.document"+a}return"var ii"+a+";"};var ba={" ":";while(e!=s&&(e=e.parentNode)&&e.nodeType===1){",">":".parentElement;if(e){","+":";while((e=e.previousSibling)&&!("+cl+"))continue;if(e){","~":";while((e=e.previousSibling)){"+cm},K=/\be\b/g;D=new bb({"(?:(<#selector>)(<#combinator>))?(<#tag>)(<#filter>)?[ DISCUZ_RUN_2 ]quot;:function(j,i,g,f,d){var c="";if(f!=="*"){var a=f.toUpperCase();c+="if(e.nodeName==='"+a+(a===f?"":"'||e.nodeName==='"+f)+"'){"}if(d){c+="if("+T.parse(d).slice(0,-2)+"){"}c=c.replace(K,"e"+this.index);if(g){c+="var e=e"+(this.index++)+ba[g];c=c.replace(K,"e"+this.index)}if(i){c+=this.parse(i)}return c}});var L="e0=IE7._d(d,'%1');if(e0){",z="var n=c.getElementsByTagName('%1');",w="if(r==null)return e0;r[k++]=e0;",r=1,A=new bb({"^((?:<#selector>)?(?:<#combinator>))(<#tag>)(<#filter>)?[ DISCUZ_RUN_2 ]quot;:true}),s={},q=new bb({"^(<#tag>)#(<#ident>)(<#filter>)?( [^,]*)?[ DISCUZ_RUN_2 ]quot;:function(j,i,g,f,d){var c=H(L,g),a="}";if(f){c+=D.parse(i+f);a=bS(c)}if(d){c+="s=c=e0;"+n.parse("*"+d)}else{c+=w}return c+a},"^([^#,]+)#(<#ident>)(<#filter>)?[ DISCUZ_RUN_2 ]quot;:function(g,f,d,c){var a=H(L,d);if(f==="*"){a+=w}else{a+=D.parse(f+c)+w+"break"}return a+bS(a)},"^.*[ DISCUZ_RUN_2 ]quot;:""}),n=new bb({"<#grammar>":function(k,l,m){if(!this.groups)this.groups=[];var j=A.exec(" "+l);if(!j)bv();this.groups.push(j.slice(1));if(m){return this.parse(m.replace(dt,""))}var i=this.groups,g=i[0][r];for(var c=1;j=i[c];c++){if(g!==j[r]){g="*";break}}var f="",d=w+"continue filtering;";for(var c=0;j=i[c];c++){D.index=0;if(g!=="*")j[r]="*";j=j.join("");if(j===" *"){f=d;break}else{j=D.parse(j);if(bw)j+="if(e"+D.index+"==s){";f+=j+d+bS(j)}}var a=g==="*";return(a?"var n=c.all;":H(z,g))+"filtering:while((e0=n[i++]))"+(a?cm.replace(K,"e0"):"{")+f+"}"},"^.*[ DISCUZ_RUN_2 ]quot;:bv}),o=/\&\&(e\d+)\.nodeType===1(\)\{\s*if\(\1\.nodeName=)/g;n.create=function(d){if(!s[d]){d=dw(d);this.groups=null;D.index=0;var c=this.parse(d);this.groups=null;D.index=0;if(d.indexOf("#")!==-1){var a=q.parse(d);if(a){c="if(t===1||t===11|!c.getElementById){"+c+"}else{"+a+"}"}}c=c.replace(o,"$2");c=S(d)+bd(c);s[d]=new Function("return function(c,r,s){var i=0,k=0,e0;"+c+"return r}")()}return s[d]};return dp})();function bv(){throw new SyntaxError("Invalid selector.");};h.loaded=true;(function(){try{if(!p.body)throw"continue";bx.doScroll("left")}catch(ex){setTimeout(arguments.callee,1);return}try{eval(bU.innerHTML)}catch(ex){}if(typeof IE7_PNG_SUFFIX=="object"){bh=IE7_PNG_SUFFIX}else{bh=new RegExp(bY(N.IE7_PNG_SUFFIX||"-trans.png")+"(\\?.*)?[ DISCUZ_RUN_2 ]quot;,"i")}B=p.body;x=E?B:bx;B.className+=" ie7_body";bx.className+=" ie7_html";if(E)dc();h.CSS.init();h.HTML.init();h.HTML.apply();h.CSS.apply();h.recalc()})()})(this,document);

一行代码轻松搞定各种IE兼容问题,IE6,IE7,IE8,IE9,IE10的更多相关文章

  1. 一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10

    行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10 2012-04-25 16:29:04| 分类: 学习 |字号 订阅 在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE ...

  2. 一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10 http://www.jb51.net/css/383986.html

    在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题   百度源代码如下 复制代码 代码如下: <!Do ...

  3. 一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10(转)

     在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题 百度源代码如下 <!Doctype html&g ...

  4. 一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10(转载)

    在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题 百度源代码如下 <!Doctype html> ...

  5. 网页头一定要加的代码段(加注版)一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10

      网页头部常见的一段代码 <!--[if lt IE 7 ]><html class="ie6"><![endif]--> <!--[i ...

  6. (转)一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10

    原文链接 http://blog.csdn.net/h5_queenstyle12/article/details/50424862 百度源代码如下 <!Doctype html> < ...

  7. 一行代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10 (转)

    x-ua-compatible 用来指定IE浏览器解析编译页面的model x-ua-compatible 头标签大小写不敏感,必须用在 head 中,必须在除 title 外的其他 meta 之前使 ...

  8. meta 标签代码解决IE兼容问题,IE6,IE7,IE8,IE9,IE10(包括360的兼容模式)

    最近做了一个项目,客户反映,在360下布局错位,远程调试了一下,发现客户使用的是360的兼容模式,然而我在自己的电脑上测试的时候是正常的(兼容模式也正常):简单研究了一下360的兼容模式,在360的兼 ...

  9. 记录各种IE兼容问题,IE6,IE7,IE8,IE9,IE10

     记录遇到的IE BUG:  1.IE8开发者工具打不开 解决办法:IE8新增了开发人员工具,非常不错,比早期的DevToolbar好用多了.不过在我的Win7下 使用的时候偶尔会出现一个莫名其妙的问 ...

随机推荐

  1. js(鼠标键盘拖动事件)

    拖动事件是h5(HTML5的) 1:draggable(true) 2:拖动源 ondragstart ,ondragend 3:目的地 ondraglenter,ondragover,ondragl ...

  2. hexo发表博文

    3.4创建博客文章与发布 在hexo 目录下终端命令: $ hexo new '文件名' //会在source/_posts创建一个文件名.md文件 这就可以使用markdown编辑器开始写自己的博客 ...

  3. javascript 中Array.prototype.sort 函数的用法

    来源:http://www.jb51.net/article/5769.htm JavaScript中对变量的操作都是通过引用方式,而对数组也一样. 前两天想要对一个数组进行复制,一直苦于找不到办法( ...

  4. Android Debug Bridge命令介绍[转]

    Android Debug Bridge命令介绍 Android Debug Bridge的一些基本命令.这个工具直译过来就是Android调试桥的意思.它提供了强大的特性,例如复制文件到设备或从设备 ...

  5. PR(Precision-Recall)曲线和mAP指标

    来自: https://www.zhihu.com/question/41540197 https://www.douban.com/note/518998773/ 作者:水哥链接:https://w ...

  6. SSM商城项目(一)

    1. 学习计划 1.电商行业的背景. 2.宜立方商城介绍 3.宜立方商城的系统架构 a) 功能介绍 b) 架构讲解 4.工程搭建-后台工程 a) 使用maven搭建工程 b) 使用maven的tomc ...

  7. SpringJDBC数据库的基本使用

    SpringJDBC的基础使用部分内容 云笔记项目数据库部分采用的是Spring-MyBatis,前面学过了JDBC,SpringJDBC,Mybatis和Spring-MyBatis,有必要重新复习 ...

  8. 基于oslo_log的日志管理

    oslo_log是openstack中的日志模块,其对python logging的封装,可以快速便捷地写出我们的日志模块.官网上有许多参考示例,但实例永远是实例,其配合oslo_config模块,快 ...

  9. sql语句中的不等于 <>

    建议最好使用 <> 表示不等于 原因:!=在sql2000不表示不等于

  10. tomcat实现https

    第一步:生成key文件: C:\>keytool -genkey -alias tomcat -keyalg RSA -keystore C:\tomcat.key 密码最好设置默认change ...