pie-rails 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -36,6 +36,38 @@ See [PIE repo](git://github.com/lojjic/PIE.git) for more usage guides, demos etc
36
36
 
37
37
  Note: A `PIE.js` file is also included
38
38
 
39
+ ## IE7, IE8, IE9
40
+
41
+ See [github repo](https://github.com/roylory/ie7-js) and [original](http://code.google.com/p/ie7-js/)
42
+
43
+ IE7.js is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6.
44
+
45
+ Use any of the following:
46
+
47
+ ```html
48
+ <!--[if lt IE 7]>
49
+ <script src="/assets/IE7.js"></script>
50
+ <![endif]-->
51
+
52
+ <!--[if lt IE 8]>
53
+ <script src="/assets/IE8.js"></script>
54
+ <![endif]-->
55
+
56
+ <!--[if lt IE 8]>
57
+ <script src="/assets/IE9.js"></script>
58
+ <![endif]-->
59
+ ```
60
+
61
+ ### Transparent PNGs
62
+
63
+ The script only fixes images named: `*-trans.png
64
+
65
+ If you want the fix to apply to all PNG images then set a global variable as follows:
66
+
67
+ ```html
68
+ <script src="/assets/IE8.js">IE7_PNG_SUFFIX=".png";</script>
69
+ ```
70
+
39
71
  ## Box-sizing
40
72
 
41
73
  A HTC file to enable _Box sizing_ for IE 6 & 7 is also included:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.1.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pie-rails"
8
- s.version = "1.0.3"
8
+ s.version = "1.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
@@ -29,9 +29,15 @@ Gem::Specification.new do |s|
29
29
  "pie-rails.gemspec",
30
30
  "spec/pie-rails_spec.rb",
31
31
  "spec/spec_helper.rb",
32
+ "vendor/assets/javascripts/IE7.js",
33
+ "vendor/assets/javascripts/IE8.js",
34
+ "vendor/assets/javascripts/IE9.js",
32
35
  "vendor/assets/javascripts/PIE.htc",
33
36
  "vendor/assets/javascripts/PIE.js",
37
+ "vendor/assets/javascripts/blank.gif",
34
38
  "vendor/assets/javascripts/boxsizing.htc",
39
+ "vendor/assets/javascripts/ie7-recalc.js",
40
+ "vendor/assets/javascripts/ie7-squish.js",
35
41
  "vendor/assets/javascripts/jquery.text-overflow.js",
36
42
  "vendor/assets/javascripts/jquery.text-overflow.min.js",
37
43
  "vendor/assets/javascripts/jquery.textshadow.js",
@@ -0,0 +1,6 @@
1
+ /*
2
+ IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
3
+ http://code.google.com/p/ie7-js/
4
+ http://www.opensource.org/licenses/mit-license.php
5
+ */
6
+ ;(function(J,r){var i=J.IE7={version:"2.1(beta4)",toString:bE("[IE7]")};i.compat=7;var t=i.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1]-0;if(/ie7_off/.test(top.location.search)||t<5.5||t>=i.compat)return;var B=t<6,bc=bE(),bn=r.documentElement,z,w,cc="!",W=":link{ie7-link:link}:visited{ie7-link:visited}",cd=/^[\w\.]+[^:]*$/;function bd(b,a){if(cd.test(b))b=(a||"")+b;return b};function bo(b,a){b=bd(b,a);return b.slice(0,b.lastIndexOf("/")+1)};var bF=r.scripts[r.scripts.length-1],ce=bo(bF.src);try{var P=new ActiveXObject("Microsoft.XMLHTTP")}catch(ex){}var be={};function cf(b,a){try{b=bd(b,a);if(!be[b]){P.open("GET",b,false);P.send();if(P.status==0||P.status==200){be[b]=P.responseText}}}catch(ex){}return be[b]||""};var cZ=Array.prototype.slice,da=/%([1-9])/g,cg=/^\s\s*/,ch=/\s\s*$/,ci=/([\/()[\]{}|*+-.,^$?\\])/g,bG=/\bbase\b/,bH=["constructor","toString"],bf;function C(){};C.extend=function(f,d){bf=true;var c=new this;bg(c,f);bf=false;var b=c.constructor;function a(){if(!bf)b.apply(this,arguments)};c.constructor=a;a.extend=arguments.callee;bg(a,d);a.prototype=c;return a};C.prototype.extend=function(a){return bg(this,a)};var K="#",L="#",X=".",bh="/",db=/\\(\d+)/g,cj=/\[(\\.|[^\]\\])+\]|\\.|\(\?/g,ck=/\(/g,cl=/\$(\d+)/,cm=/^\$\d+$/,cn=/(\[(\\.|[^\]\\])+\]|\\.|\(\?)|\(/g,co=/^<#\w+>$/,cp=/<#(\w+)>/g,D=C.extend({constructor:function(a){this[X]=[];this[L]={};this.merge(a)},add:function(b,a){delete this[bh];if(b instanceof RegExp){b=b.source}if(!this[K+b])this[X].push(String(b));return this[L][K+b]=new D.Item(b,a,this)},compile:function(a){if(a||!this[bh]){this[bh]=new RegExp(this,this.ignoreCase?"gi":"g")}return this[bh]},merge:function(b){for(var a in b)this.add(a,b[a])},exec:function(m){var j=this,l=j[X],k=j[L],h,g=this.compile(true).exec(m);if(g){var f=0,d=1;while((h=k[K+l[f++]])){var c=d+h.length+1;if(g[d]){if(h.replacement===0){return j.exec(m)}else{var b=g.slice(d,c),a=b.length;while(--a)b[a]=b[a]||"";b[0]={match:b[0],item:h};return b}}d=c}}return null},parse:function(m){m+="";var j=this,l=j[X],k=j[L];return m.replace(this.compile(),function(h){var g=[],f,d=1,c=arguments.length;while(--c)g[c]=arguments[c]||"";while((f=k[K+l[c++]])){var b=d+f.length+1;if(g[d]){var a=f.replacement;switch(typeof a){case"function":return a.apply(j,g.slice(d,b));case"number":return g[d+a];default:return a}}d=b}return h})},toString:function(){var f=[],d=this[X],c=this[L],b;for(var a=0;b=c[K+d[a]];a++){f[a]=b.source}return"("+f.join(")|(")+")"}},{IGNORE:null,Item:C.extend({constructor:function(j,l,k){var h=j.indexOf("(")===-1?0:D.count(j),g=k.dictionary;if(g&&j.indexOf("<#")!==-1){if(co.test(j)){var f=g[L][K+j.slice(2,-1)];j=f.replacement;h=f._4}else{j=g.parse(j)}}if(typeof l=="number")l=String(l);else if(l==null)l=0;if(typeof l=="string"&&cl.test(l)){if(cm.test(l)){var d=l.slice(1)-0;if(d&&d<=h)l=d}else{var c=l,b;l=function(a){if(!b){b=new RegExp(j,"g"+(this.ignoreCase?"i":""))}return a.replace(b,c)}}}this.length=h;this.source=String(j);this.replacement=l}}),count:function(a){return(String(a).replace(cj,"").match(ck)||"").length}}),cq=D.extend({parse:function(d){var c=this[L];return d.replace(cp,function(b,a){a=c[K+a];return a?a._5:b})},add:function(f,d){if(d instanceof RegExp){d=d.source}var c=d.replace(cn,cr);if(d.indexOf("(")!==-1){var b=D.count(d)}if(d.indexOf("<#")!==-1){d=this.parse(d);c=this.parse(c)}var a=this.base(f,d);a._5=c;a._4=b||a.length;return a},toString:function(){return"(<#"+this[PATTERNS].join(">)|(<#")+">)"}});function cr(b,a){return a||"(?:"};function bg(g,f){if(g&&f){var d=(typeof f=="function"?Function:Object).prototype;var c=bH.length,b;if(bf)while(b=bH[--c]){var a=f[b];if(a!=d[b]){if(bG.test(a)){bI(g,b,a)}else{g[b]=a}}}for(b in f)if(typeof d[b]=="undefined"){var a=f[b];if(g[b]&&typeof a=="function"&&bG.test(a)){bI(g,b,a)}else{g[b]=a}}}return g};function bI(g,f,d){var c=g[f];g[f]=function(){var b=this.base;this.base=c;var a=d.apply(this,arguments);this.base=b;return a}};function cs(d,c){if(!c)c=d;var b={};for(var a in d)b[a]=c[a];return b};function M(f){var d=arguments,c=new RegExp("%([1-"+arguments.length+"])","g");return String(f).replace(c,function(b,a){return a<d.length?d[a]:b})};function bi(b,a){return String(b).match(a)||[]};function ct(a){return String(a).replace(ci,"\\$1")};function bJ(a){return String(a).replace(cg,"").replace(ch,"")};function bE(a){return function(){return a}};var bK=D.extend({ignoreCase:true}),cu=/'/g,bL=/'(\d+)'/g,dc=/\\/g,bp=/\\([nrtf'"])/g,Q=[],cv=new bK({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bM,'"(\\\\.|[^"\\\\])*"':bM,"\\s+":" "});function cw(a){return cv.parse(a).replace(bp,"$1")};function bq(a){return a.replace(bL,cx)};function bM(b){var a=Q.length;Q[a]=b.slice(1,-1).replace(bp,"$1").replace(cu,"\\'");return"'"+a+"'"};function cx(c,b){var a=Q[b];if(a==null)return c;return"'"+Q[b]+"'"};function bN(a){return a.indexOf("'")===0?Q[a.slice(1,-1)]:a};var cy=new D({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",onX:"onY"});function bO(a){return cy.parse(a)};var bP=[];function br(a){cz(a);A(J,"onresize",a)};function A(c,b,a){c.attachEvent(b,a);bP.push(arguments)};function cA(c,b,a){try{c.detachEvent(b,a)}catch(ex){}};A(J,"onunload",function(){var a;while(a=bP.pop()){cA(a[0],a[1],a[2])}});function Y(c,b,a){if(!c.elements)c.elements={};if(a)c.elements[b.uniqueID]=b;else delete c.elements[b.uniqueID];return a};A(J,"onbeforeprint",function(){if(!i.CSS.print)new bQ("print");i.CSS.print.recalc()});var bR=/^\d+(px)?$/i,R=/^\d+%$/,E=function(d,c){if(bR.test(c))return parseInt(c);var b=d.style.left,a=d.runtimeStyle.left;d.runtimeStyle.left=d.currentStyle.left;d.style.left=c||0;c=d.style.pixelLeft;d.style.left=b;d.runtimeStyle.left=a;return c},bs="ie7-",bS=C.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:bc}),bt=[];function cz(a){bt.push(a)};i.recalc=function(){i.HTML.recalc();i.CSS.recalc();for(var a=0;a<bt.length;a++)bt[a]()};function bj(a){return a.currentStyle["ie7-position"]=="fixed"};function bu(b,a){return b.currentStyle[bs+a]||b.currentStyle[a]};function S(c,b,a){if(c.currentStyle[bs+b]==null){c.runtimeStyle[bs+b]=c.currentStyle[b]}c.runtimeStyle[b]=a};function bT(b){var a=r.createElement(b||"object");a.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";a.ie7_anon=true;return a};var cB="(e.nextSibling&&IE7._1(e,'next'))",cC=cB.replace(/next/g,"previous"),bU="e.nodeName>'@'",bV="if("+bU+"){",cD="(e.nodeName==='FORM'?IE7._0(e,'id'):e.id)",cE=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i,cF=/(.*)(:first-(line|letter))/,cG=/\s/,cH=/((?:\\.|[^{\\])+)\{((?:\\.|[^}\\])+)\}/g,cI=/(?:\\.|[^,\\])+/g,F=r.styleSheets,cJ=[];i.CSS=new(bS.extend({parser:new bK,screen:"",print:"",styles:[],rules:[],pseudoClasses:t<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var b=[];for(var a in this)b.push(a);return b.join("|")}},init:function(){var h="^\x01$",g="\\[class=?[^\\]]*\\]",f=[];if(this.pseudoClasses)f.push(this.pseudoClasses);var d=this.dynamicPseudoClasses.toString();if(d)f.push(d);f=f.join("|");var c=t<7?["[>+~\\[(]|([:.])[\\w-]+\\1"]:[g];if(f)c.push(":("+f+")");this.UNKNOWN=new RegExp(c.join("|")||h,"i");var b=t<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[g],a=b.concat();if(f)a.push(":("+f+")");s.COMPLEX=new RegExp(a.join("|")||h,"ig");if(this.pseudoClasses)b.push(":("+this.pseudoClasses+")");Z.COMPLEX=new RegExp(b.join("|")||h,"i");d="not\\(:"+d.split("|").join("\\)|not\\(:")+"\\)|"+d;Z.MATCH=new RegExp(d?"(.*?):("+d+")(.*)":h,"i");this.createStyleSheet();this.refresh()},addEventHandler:function(){A.apply(null,arguments)},addFix:function(b,a){this.parser.add(b,a)},addRecalc:function(g,f,d,c){g=g.source||g;f=new RegExp("([{;\\s])"+g+"\\s*:\\s*"+f+"[^;}]*");var b=this.recalcs.length;if(typeof c=="string")c=g+":"+c;this.addFix(f,function(a){if(typeof c=="function")c=c(a);return(c?c:a)+";ie7-"+a.slice(1)+";ie7_recalc"+b+":1"});this.recalcs.push(arguments);return b},apply:function(){this.getInlineCSS();new bQ("screen");this.trash()},createStyleSheet:function(){r.getElementsByTagName("head")[0].appendChild(r.createElement("style"));this.styleSheet=F[F.length-1];this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=W},getInlineCSS:function(){var c=r.getElementsByTagName("style"),b;for(var a=c.length-1;b=c[a];a--){if(!b.disabled&&!b.ie7){b._6=b.innerHTML}}},getText:function(c,b){try{var a=c.cssText}catch(e){a=""}if(P)a=cf(c.href,b)||a;return a},recalc:function(){this.screen.recalc();var n=/ie7_recalc\d+/g,q=W.match(/[{,]/g).length,m=this.styleSheet.rules,j,l,k,h,g,f,d,c,b;for(f=q;j=m[f];f++){var a=j.style.cssText;if(l=a.match(n)){h=N(j.selectorText);if(h.length)for(d=0;d<l.length;d++){b=l[d];k=i.CSS.recalcs[b.slice(10)][2];for(c=0;(g=h[c]);c++){if(g.currentStyle[b])k(g,a)}}}}},refresh:function(){this.styleSheet.cssText=W+this.screen+this.print},trash:function(){for(var b=0;b<F.length;b++){if(!F[b].ie7){try{var a=F[b].cssText}catch(e){a=""}if(a)F[b].cssText=""}}}}));var bQ=C.extend({constructor:function(a){this.media=a;this.load();i.CSS[a]=this;i.CSS.refresh()},createRule:function(c,b){var a;if(bv&&(a=c.match(bv.MATCH))){return new bv(a[1],a[2],b)}else if(a=c.match(Z.MATCH)){if(!cE.test(a[0])||Z.COMPLEX.test(a[0])){return new Z(c,a[1],a[2],a[3],b)}}else{return new s(c,b)}return c+" {"+b+"}"},getText:function(){var u=/@media\s+([^{]+?)\s*\{([^@]+\})\s*\}/gi,T=/@import[^;\n]+/gi,O=/@import\s+url\s*\(\s*["']?|["']?\s*\)\s*/gi,U=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi,G=this,H={};function x(j,l,k,h){var g="";if(!h){k=n(j.media);h=0}if(k==="none"){j.disabled=true;return""}if(k==="all"||k===G.media){try{var f=!!j.cssText}catch(exe){}if(h<3&&f){var d=j.cssText.match(T);for(var c=0,b;c<j.imports.length;c++){var b=j.imports[c];var a=j._2||j.href;b._2=d[c].replace(O,"");g+=x(b,bo(a,l),k,h+1)}}g+=cw(j.href?q(j,l):j.owningElement._6);g=y(g,G.media)}return g};for(var v=0;v<F.length;v++){var o=F[v];if(!o.disabled&&!o.ie7)this.cssText+=x(o)}function y(b,a){p.value=a;return b.replace(u,p)};function p(c,b,a){b=n(b);switch(b){case"screen":case"print":if(b!==p.value)return"";case"all":return a}return""};function n(c){if(!c)return"all";var b=c.toLowerCase().split(/\s*,\s*/);c="none";for(var a=0;a<b.length;a++){if(b[a]==="all")return"all";if(b[a]==="screen"){if(c==="print")return"all";c="screen"}else if(b[a]==="print"){if(c==="screen")return"all";c="print"}}return c};function q(d,c){var b=d._2||d.href,a=bd(b,c);if(H[a])return"";H[a]=d.disabled?"":m(i.CSS.getText(d,c),bo(b,c));return H[a]};function m(b,a){return b.replace(U,"$1"+a.slice(0,a.lastIndexOf("/")+1)+"$2")}},load:function(){this.cssText="";this.getText();this.parse();if(cJ.length){this.cssText=parseInherited(this.cssText)}this.cssText=bq(this.cssText);be={}},parse:function(){var h=i.CSS.parser.parse(this.cssText),m="";this.cssText=h.replace(/@charset[^;]+;|@font\-face[^\}]+\}/g,function(a){m+=a+"\n";return""});this.declarations=bq(m);var j=i.CSS.rules.length,l=[],k;while((k=cH.exec(this.cssText))){var h=k[2];if(h){var g=t<7&&h.indexOf("AlphaImageLoader")!==-1;var f=k[1].match(cI),d;for(var c=0;d=f[c];c++){d=bJ(d);var b=i.CSS.UNKNOWN.test(d);f[c]=b?this.createRule(d,h):d+"{"+h+"}";if(g)f[c]+=this.createRule(d+">*","position:relative")}l.push(f.join("\n"))}}this.cssText=l.join("\n");this.rules=i.CSS.rules.slice(j)},recalc:function(){var b,a;for(a=0;(b=this.rules[a]);a++)b.recalc()},toString:function(){return this.declarations+"@media "+this.media+"{"+this.cssText+"}"}}),bv,s=i.Rule=C.extend({constructor:function(c,b){this.id=i.CSS.rules.length;this.className=s.PREFIX+this.id;var a=c.match(cF);this.selector=(a?a[1]:c)||"*";this.selectorText=this.parse(this.selector)+(a?a[2]:"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");i.CSS.rules.push(this);this.init()},init:bc,add:function(a){a.className+=" "+this.className},recalc:function(){var b=N(this.selector);for(var a=0;a<b.length;a++)this.add(b[a])},parse:function(f){var d=f.replace(s.CHILD," ").replace(s.COMPLEX,"");if(t<7)d=d.replace(s.MULTI,"");var c=bi(d,s.TAGS).length-bi(f,s.TAGS).length,b=bi(d,s.CLASSES).length-bi(f,s.CLASSES).length+1;while(b>0&&s.CLASS.test(d)){d=d.replace(s.CLASS,"");b--}while(c>0&&s.TAG.test(d)){d=d.replace(s.TAG,"$1*");c--}d+="."+this.className;b=Math.min(b,2);c=Math.min(c,2);var a=-10*b-c;if(a>0){d=d+","+s.MAP[a]+" "+d}return d},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},toString:function(){return M("%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"}}),Z=s.extend({constructor:function(f,d,c,b,a){this.negated=c.indexOf("not")===0;if(this.negated)c=c.slice(5,-1);this.attach=d||"*";this.dynamicPseudoClass=i.CSS.dynamicPseudoClasses[c];this.target=b;this.base(f,a)},recalc:function(){var d=N(this.attach),c;for(var b=0;c=d[b];b++){var a=this.target?N(this.target,c):[c];if(a.length)this.dynamicPseudoClass.apply(c,a,this)}}}),cK=C.extend({constructor:function(b,a){this.name=b;this.apply=a;this.instances={};i.CSS.dynamicPseudoClasses[b]=this},register:function(f,d){var c=f[2];if(!d&&c.negated){this.unregister(f,true)}else{f.id=c.id+f[0].uniqueID;if(!this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.add(b[a]);this.instances[f.id]=f}}},unregister:function(f,d){var c=f[2];if(!d&&c.negated){this.register(f,true)}else{if(this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.remove(b[a]);delete this.instances[f.id]}}}}),bk=new cK("hover",function(b){var a=arguments;i.CSS.addEventHandler(b,"onmouseenter",function(){bk.register(a)});i.CSS.addEventHandler(b,"onmouseleave",function(){bk.unregister(a)})});A(r,"onmouseup",function(){var b=bk.instances;for(var a in b)if(!b[a][0].contains(event.srcElement))bk.unregister(b[a])});var bW={"=":"%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"};bW[""]="%1!=null";var bw={"<#attr>":function(f,d,c,b){var a="IE7._0(e,'"+d+"')";b=bN(b);if(c.length>1){if(!b||c==="~="&&cG.test(b)){return"false&&"}a="("+a+"||'')"}return"("+M(bW[c],a,b)+")&&"},"<#id>":cD+"==='$1'&&","<#class>":"e.className&&(' '+e.className+' ').indexOf(' $1 ')!==-1&&",":first-child":"!"+cC+"&&",":link":"e.currentStyle['ie7-link']=='link'&&",":visited":"e.currentStyle['ie7-link']=='visited'&&"};i.HTML=new(bS.extend({fixed:{},init:bc,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var d=0;d<this.fixes.length;d++){var c=N(this.fixes[d][0]);var b=this.fixes[d][1];for(var a=0;a<c.length;a++)b(c[a])}},addRecalc:function(){this.recalcs.push(arguments)},recalc:function(){for(var h=0;h<this.recalcs.length;h++){var g=N(this.recalcs[h][0]);var f=this.recalcs[h][1],d;var c=Math.pow(2,h);for(var b=0;(d=g[b]);b++){var a=d.uniqueID;if((this.fixed[a]&c)===0){d=f(d)||d;this.fixed[a]|=c}}}}}));if(t<7){r.createElement("abbr");i.HTML.addRecalc("label",function(b){if(!b.htmlFor){var a=N("input,textarea",b,true);if(a){A(b,"onclick",function(){a.click()})}}})}var bl="[.\\d]";(function(){var u=i.Layout={};W+="*{boxSizing:content-box}";u.boxSizing=function(a){if(!a.currentStyle.hasLayout){a.style.height="0cm";if(a.currentStyle.verticalAlign==="auto")a.runtimeStyle.verticalAlign="top";T(a)}};function T(a){if(a!=w&&a.currentStyle.position!=="absolute"){O(a,"marginTop");O(a,"marginBottom")}};function O(f,d){if(!f.runtimeStyle[d]){var c=f.parentElement;var b=d==="marginTop";if(c&&c.currentStyle.hasLayout&&!i._1(f,b?"previous":"next"))return;var a=f[b?"firstChild":"lastChild"];if(a&&a.nodeName<"@")a=i._1(a,b?"next":"previous");if(a&&a.currentStyle.styleFloat==="none"&&a.currentStyle.hasLayout){O(a,d);margin=U(f,f.currentStyle[d]);childMargin=U(a,a.currentStyle[d]);if(margin<0||childMargin<0){f.runtimeStyle[d]=margin+childMargin}else{f.runtimeStyle[d]=Math.max(childMargin,margin)}a.runtimeStyle[d]="0px"}}};function U(b,a){return a==="auto"?0:E(b,a)};var G=/^[.\d][\w]*$/,H=/^(auto|0cm)$/,x={};u.borderBox=function(a){x.Width(a);x.Height(a)};var v=function(o){x.Width=function(a){if(!R.test(a.currentStyle.width))y(a);if(o)T(a)};function y(b,a){if(!b.runtimeStyle.fixedWidth){if(!a)a=b.currentStyle.width;b.runtimeStyle.fixedWidth=G.test(a)?Math.max(0,q(b,a))+"px":a;S(b,"width",b.runtimeStyle.fixedWidth)}};function p(b){if(!bj(b)){var a=b.offsetParent;while(a&&!a.currentStyle.hasLayout)a=a.offsetParent}return(a||w).clientWidth};function n(b,a){if(R.test(a))return parseInt(parseFloat(a)/100*p(b));return E(b,a)};var q=function(d,c){var b=d.currentStyle["ie7-box-sizing"]==="border-box",a=0;if(B&&!b)a+=m(d)+j(d,"padding");else if(!B&&b)a-=m(d)+j(d,"padding");return n(d,c)+a};function m(a){return a.offsetWidth-a.clientWidth};function j(b,a){return n(b,b.currentStyle[a+"Left"])+n(b,b.currentStyle[a+"Right"])};W+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";u.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(Y(arguments.callee,a,a.currentStyle.minWidth!=="none")){u.boxSizing(a);y(a);l(a)}};eval("IE7.Layout.maxWidth="+String(u.minWidth).replace(/min/g,"max"));function l(c){if(c==r.body){var b=c.clientWidth}else{var a=c.getBoundingClientRect();b=a.right-a.left}if(c.currentStyle.minWidth!=="none"&&b<q(c,c.currentStyle.minWidth)){c.runtimeStyle.width=c.currentStyle.minWidth}else if(c.currentStyle.maxWidth!=="none"&&b>=q(c,c.currentStyle.maxWidth)){c.runtimeStyle.width=c.currentStyle.maxWidth}else{c.runtimeStyle.width=c.runtimeStyle.fixedWidth}};function k(a){if(Y(k,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&bu(a,"left")!=="auto"&&bu(a,"right")!=="auto"&&H.test(bu(a,"width")))){h(a);u.boxSizing(a)}};u.fixRight=k;function h(c){var b=n(c,c.runtimeStyle._3||c.currentStyle.left),a=p(c)-n(c,c.currentStyle.right)-b-j(c,"margin");if(parseInt(c.runtimeStyle.width)===a)return;c.runtimeStyle.width="";if(bj(c)||o||c.offsetWidth<a){if(!B)a-=m(c)+j(c,"padding");if(a<0)a=0;c.runtimeStyle.fixedWidth=a;S(c,"width",a)}};var g=0;br(function(){if(!w)return;var f,d=(g<w.clientWidth);g=w.clientWidth;var c=u.minWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===q(b,b.currentStyle.minWidth));if(d&&a)b.runtimeStyle.width="";if(d==a)l(b)}var c=u.maxWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===q(b,b.currentStyle.maxWidth));if(!d&&a)b.runtimeStyle.width="";if(d!==a)l(b)}for(f in k.elements)h(k.elements[f])});if(B){i.CSS.addRecalc("width",bl,x.Width)}if(t<7){i.CSS.addRecalc("max-width",bl,u.maxWidth);i.CSS.addRecalc("right",bl,k)}else if(t==7){if(o)i.CSS.addRecalc("height","[\\d.]+%",function(element){element.runtimeStyle.pixelHeight=parseInt(p(element)*element.currentStyle["ie7-height"].slice(0,-1)/100)})}};eval("var _7="+bO(v));v();_7(true);if(t<7){i.CSS.addRecalc("min-width",bl,u.minWidth);i.CSS.addFix(/\bmin-height\s*/,"height")}})();var bx=bd("blank.gif",ce),by="DXImageTransform.Microsoft.AlphaImageLoader",bX="progid:"+by+"(src='%1',sizingMethod='%2')",ba,bb=[];function bY(b){if(ba.test(b.src)){var a=new Image(b.width,b.height);a.onload=function(){b.width=a.width;b.height=a.height;a=null};a.src=b.src;b.pngSrc=b.src;bz(b)}};if(t<7){i.CSS.addFix(/background(-image)?\s*:\s*([^};]*)?url\(([^\)]+)\)([^;}]*)?/,function(f,d,c,b,a){b=bN(b);return ba.test(b)?"filter:"+M(bX,b,a.indexOf("no-repeat")===-1?"scale":"crop")+";zoom:1;background"+(d||"")+":"+(c||"")+"none"+(a||""):f});i.CSS.addRecalc(/list\-style(\-image)?/,"[^};]*url",function(d){var c=d.currentStyle.listStyleImage.slice(5,-2);if(ba.test(c)){if(d.nodeName==="LI"){bZ(d,c)}else if(d.nodeName==="UL"){for(var b=0,a;a=d.childNodes[b];b++){if(a.nodeName==="LI")bZ(a,c)}}}});function bZ(g,f){var d=g.runtimeStyle,c=g.offsetHeight,b=new Image;b.onload=function(){var a=g.currentStyle.paddingLeft;a=a==="0px"?0:E(g,a);d.paddingLeft=(a+this.width)+"px";d.marginLeft=-this.width+"px";d.listStyleType="none";d.listStyleImage="none";d.paddingTop=Math.max(c-g.offsetHeight,0)+"px";bz(g,"crop",f);g.style.zoom="100%"};b.src=f};i.HTML.addRecalc("img,input",function(a){if(a.nodeName==="INPUT"&&a.type!=="image")return;bY(a);A(a,"onpropertychange",function(){if(!bA&&event.propertyName==="src"&&a.src.indexOf(bx)===-1)bY(a)})});var bA=false;A(J,"onbeforeprint",function(){bA=true;for(var a=0;a<bb.length;a++)cL(bb[a])});A(J,"onafterprint",function(){for(var a=0;a<bb.length;a++)bz(bb[a]);bA=false})}function bz(d,c,b){var a=d.filters[by];if(a){a.src=b||d.src;a.enabled=true}else{d.runtimeStyle.filter=M(bX,b||d.src,c||"scale");bb.push(d)}d.src=bx};function cL(a){a.src=a.pngSrc;a.filters[by].enabled=false};(function(){if(t>=7)return;i.CSS.addRecalc("position","fixed",m,"absolute");i.CSS.addRecalc("background(-attachment)?","[^};]*fixed",n);var x=B?"body":"documentElement";function v(){if(z.currentStyle.backgroundAttachment!=="fixed"){if(z.currentStyle.backgroundImage==="none"){z.runtimeStyle.backgroundRepeat="no-repeat";z.runtimeStyle.backgroundImage="url("+bx+")"}z.runtimeStyle.backgroundAttachment="fixed"}v=bc};var o=bT("img");function y(a){return a?bj(a)||y(a.parentElement):false};function p(c,b,a){setTimeout("document.all."+c.uniqueID+".runtimeStyle.setExpression('"+b+"','"+a+"')",0)};function n(a){if(Y(n,a,a.currentStyle.backgroundAttachment==="fixed"&&!a.contains(z))){v();h.bgLeft(a);h.bgTop(a);q(a)}};function q(b){o.src=b.currentStyle.backgroundImage.slice(5,-2);var a=b.canHaveChildren?b:b.parentElement;a.appendChild(o);h.setOffsetLeft(b);h.setOffsetTop(b);a.removeChild(o)};function m(a){if(Y(m,a,bj(a))){S(a,"position","absolute");S(a,"left",a.currentStyle.left);S(a,"top",a.currentStyle.top);v();i.Layout.fixRight(a);j(a)}};function j(c,b){r.body.getBoundingClientRect();h.positionTop(c,b);h.positionLeft(c,b,true);if(!c.runtimeStyle.autoLeft&&c.currentStyle.marginLeft==="auto"&&c.currentStyle.right!=="auto"){var a=w.clientWidth-h.getPixelWidth(c,c.currentStyle.right)-h.getPixelWidth(c,c.runtimeStyle._3)-c.clientWidth;if(c.currentStyle.marginRight==="auto")a=parseInt(a/2);if(y(c.offsetParent))c.runtimeStyle.pixelLeft+=a;else c.runtimeStyle.shiftLeft=a}if(!c.runtimeStyle.fixedWidth)h.clipWidth(c);if(!c.runtimeStyle.fixedHeight)h.clipHeight(c)};function l(){var b=n.elements;for(var a in b)q(b[a]);b=m.elements;for(a in b){j(b[a],true);j(b[a],true)}k=0};var k;br(function(){if(!k)k=setTimeout(l,100)});var h={},g=function(f){f.bgLeft=function(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!y(a)){p(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+x+".scrollLeft)||0")}};f.setOffsetLeft=function(b){var a=y(b)?"backgroundPositionX":"offsetLeft";b.runtimeStyle[a]=f.getOffsetLeft(b,b.style.backgroundPositionX)-b.getBoundingClientRect().left-b.clientLeft+2};f.getOffsetLeft=function(b,a){switch(a){case"left":case"top":return 0;case"right":case"bottom":return w.clientWidth-o.offsetWidth;case"center":return(w.clientWidth-o.offsetWidth)/2;default:if(R.test(a)){return parseInt((w.clientWidth-o.offsetWidth)*parseFloat(a)/100)}o.style.left=a;return o.offsetLeft}};f.clipWidth=function(d){var c=d.runtimeStyle.fixWidth;d.runtimeStyle.borderRightWidth="";d.runtimeStyle.width=c?f.getPixelWidth(d,c)+"px":"";if(d.currentStyle.width!=="auto"){var b=d.getBoundingClientRect();var a=d.offsetWidth-w.clientWidth+b.left-2;if(a>=0){d.runtimeStyle.borderRightWidth="0px";a=Math.max(E(d,d.currentStyle.width)-a,0);S(d,"width",a);return a}}};f.positionLeft=function(b,a){if(!a&&R.test(b.currentStyle.width)){b.runtimeStyle.fixWidth=b.currentStyle.width}if(b.runtimeStyle.fixWidth){b.runtimeStyle.width=f.getPixelWidth(b,b.runtimeStyle.fixWidth)}b.runtimeStyle.shiftLeft=0;b.runtimeStyle._3=b.currentStyle.left;b.runtimeStyle.autoLeft=b.currentStyle.right!=="auto"&&b.currentStyle.left==="auto";b.runtimeStyle.left="";b.runtimeStyle.screenLeft=f.getScreenLeft(b);b.runtimeStyle.pixelLeft=b.runtimeStyle.screenLeft;if(!a&&!y(b.offsetParent)){p(b,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+x+".scrollLeft")}};f.getScreenLeft=function(c){var b=c.offsetLeft,a=1;if(c.runtimeStyle.autoLeft){b=w.clientWidth-c.offsetWidth-f.getPixelWidth(c,c.currentStyle.right)}if(c.currentStyle.marginLeft!=="auto"){b-=f.getPixelWidth(c,c.currentStyle.marginLeft)}while(c=c.offsetParent){if(c.currentStyle.position!=="static")a=-1;b+=c.offsetLeft*a}return b};f.getPixelWidth=function(b,a){return R.test(a)?parseInt(parseFloat(a)/100*w.clientWidth):E(b,a)}};eval("var _8="+bO(g));g(h);_8(h)})();if(t<7){var bB={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%"};i.CSS.addRecalc("overflow","visible",function(c){if(c.currentStyle.position==="absolute")return;if(c.parentNode.ie7_wrapped)return;if(i.Layout&&c.currentStyle["max-height"]!=="auto"){i.Layout.maxHeight(c)}if(c.currentStyle.marginLeft==="auto")c.style.marginLeft=0;if(c.currentStyle.marginRight==="auto")c.style.marginRight=0;var b=r.createElement(cc);b.ie7_wrapped=c;for(var a in bB){b.style[a]=c.currentStyle[a];if(bB[a]!=null){c.runtimeStyle[a]=bB[a]}}b.style.display="block";b.style.position="relative";c.runtimeStyle.position="absolute";c.parentNode.insertBefore(b,c);b.appendChild(c)})}function cM(){var p="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var n=0;n<p.length;n++){p[p[n]]=p[n-1]||"0.67em"}i.CSS.addFix(/(font(-size)?\s*:\s*)([\w.-]+)/,function(d,c,b,a){return c+(p[a]||a)});var q=/^\-/,m=/(em|ex)$/i,j=/em$/i,l=/ex$/i;E=function(c,b){if(bR.test(b))return parseInt(b)||0;var a=q.test(b)?-1:1;if(m.test(b))a*=h(c);k.style.width=a<0?b.slice(1):b;z.appendChild(k);b=a*k.offsetWidth;k.removeNode();return parseInt(b)};var k=bT();function h(c){var b=1;k.style.fontFamily=c.currentStyle.fontFamily;k.style.lineHeight=c.currentStyle.lineHeight;while(c!=z){var a=c.currentStyle["ie7-font-size"];if(a){if(j.test(a))b*=parseFloat(a);else if(R.test(a))b*=(parseFloat(a)/100);else if(l.test(a))b*=(parseFloat(a)/2);else{k.style.fontSize=a;return 1}}c=c.parentElement}return b};i.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");i.CSS.addFix(/display\s*:\s*list-item/,"display:block");function g(d){var c=d.parentElement,b=c.offsetWidth-d.offsetWidth-f(c),a=(d.currentStyle["ie7-margin"]&&d.currentStyle.marginRight==="auto")||d.currentStyle["ie7-margin-right"]==="auto";switch(c.currentStyle.textAlign){case"right":b=a?parseInt(b/2):0;d.runtimeStyle.marginRight=b+"px";break;case"center":if(a)b=0;default:if(a)b/=2;d.runtimeStyle.marginLeft=parseInt(b)+"px"}};function f(a){return E(a,a.currentStyle.paddingLeft)+E(a,a.currentStyle.paddingRight)};i.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(Y(g,a,a.parentElement&&a.currentStyle.display==="block"&&a.currentStyle.marginLeft==="auto"&&a.currentStyle.position!=="absolute")){g(a)}});br(function(){for(var b in g.elements){var a=g.elements[b];a.runtimeStyle.marginLeft=a.runtimeStyle.marginRight="";g(a)}})};var I,N=(function(){var cN=/^[>+~]/,bm=false;function cO(d,c,b){d=bJ(d);if(!c)c=r;var a=c;bm=cN.test(d);if(bm){c=c.parentNode;d="*"+d}try{return q.create(d,bm)(c,b?null:[],a)}catch(ex){return b?null:[]}};var cP=/^(\\.|[' >+~#.\[\]:*(),\w-\^|$=]|[^\x00-\xa0])+$/,dd=/^(href|src)$/,ca={"class":"className","for":"htmlFor"},de=/\sie7_\w+/g,cQ=/^(action|cite|codebase|data|dynsrc|href|longdesc|lowsrc|src|usemap|url)$/i;i._0=function(d,c){if(d.getAttributeNode){var b=d.getAttributeNode(c)}c=ca[c.toLowerCase()]||c;if(!b)b=d.attributes[c];var a=b&&b.specified;if(d[c]&&typeof d[c]=="boolean")return c.toLowerCase();if((a&&cQ.test(c))||(!b&&B)||c==="value"||c==="type"){return d.getAttribute(c,2)}if(c==="style")return d.style.cssText.toLowerCase()||null;return a?String(b.nodeValue):null};var cb="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";bg(ca,cs(cb.toLowerCase().split(","),cb.split(",")));i._1=function(b,a){a+="Sibling";do{b=b[a];if(b&&b.nodeName>"@")break}while(b);return b};var cR=/(^|[, >+~])([#.:\[])/g,df=/\)\{/g,cS=/,/,dg=/^['"]/,cT=/\\([\da-f]{2,2})/gi,dh=/last/i;i._9=function(d,c){var b=d.all[c]||null;if(!b||(b.nodeType&&i._0(b,"id")===c))return b;for(var a=0;a<b.length;a++){if(i._0(b[a],"id")===c)return b[a]}return null};var V=D.extend({dictionary:new cq({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}),cU=new V({"\\\\.|[~*]\\s+=|\\+\\s+\\d":D.IGNORE,"\\[\\s+":"[","\\(\\s+":"(","\\s+\\)":")","\\s+\\]":"]","\\s*([,>+~]|<#operator>)\\s*":"$1","\\s+$":"","\\s+":" "});function cV(a){a=cU.parse(a.replace(cT,"\\x$1")).replace(bp,"$1").replace(cR,"$1*$2");if(!cP.test(a))bC();return a};function di(a){return a.replace(bL,cW)};function cW(b,a){return Q[a]};var cX=/\{/g,cY=/\\{/g;function bD(a){return Array((a.replace(cY,"").match(cX)||"").length+1).join("}")};bw=new V(bw);var u=/:target/i,T=/:root/i;function O(b){var a="";if(T.test(b))a+=",R=d.documentElement";if(u.test(b))a+=",H=d.location;H=H&&H.hash.replace('#','')";if(a||b.indexOf("#")!==-1){a=",t=c.nodeType,d=t===9?c:c.ownerDocument||(c.document||c).parentWindow.document"+a}return"var ii"+a+";"};var U={" ":";while(e!=s&&(e=e.parentNode)&&e.nodeType===1){",">":".parentElement;if(e){","+":";while((e=e.previousSibling)&&!("+bU+"))continue;if(e){","~":";while((e=e.previousSibling)){"+bV},G=/\be\b/g;I=new V({"(?:(<#selector>)(<#combinator>))?(<#tag>)(<#filter>)?$":function(h,g,f,d,c){var b="";if(d!=="*"){var a=d.toUpperCase();b+="if(e.nodeName==='"+a+(a===d?"":"'||e.nodeName==='"+d)+"'){"}if(c){b+="if("+bw.parse(c).slice(0,-2)+"){"}b=b.replace(G,"e"+this.index);if(f){b+="var e=e"+(this.index++)+U[f];b=b.replace(G,"e"+this.index)}if(g){b+=this.parse(g)}return b}});var H="e0=IE7._9(d,'%1');if(e0){",x="var n=c.getElementsByTagName('%1');",v="if(r==null)return e0;r[k++]=e0;",o=1,y=new V({"^((?:<#selector>)?(?:<#combinator>))(<#tag>)(<#filter>)?$":true}),p={},n=new V({"^(<#tag>)#(<#ident>)(<#filter>)?( [^,]*)?$":function(h,g,f,d,c){var b=M(H,f),a="}";if(d){b+=I.parse(g+d);a=bD(b)}if(c){b+="s=c=e0;"+q.parse("*"+c)}else{b+=v}return b+a},"^([^#,]+)#(<#ident>)(<#filter>)?$":function(f,d,c,b){var a=M(H,c);if(d==="*"){a+=v}else{a+=I.parse(d+b)+v+"break"}return a+bD(a)},"^.*$":""}),q=new V({"<#grammar>":function(j,l,k){if(!this.groups)this.groups=[];var h=y.exec(" "+l);if(!h)bC();this.groups.push(h.slice(1));if(k){return this.parse(k.replace(cS,""))}var g=this.groups,f=g[0][o];for(var b=1;h=g[b];b++){if(f!==h[o]){f="*";break}}var d="",c=v+"continue filtering;";for(var b=0;h=g[b];b++){I.index=0;if(f!=="*")h[o]="*";h=h.join("");if(h===" *"){d=c;break}else{h=I.parse(h);if(bm)h+="if(e"+I.index+"==s){";d+=h+c+bD(h)}}var a=f==="*";return(a?"var n=c.all;":M(x,f))+"filtering:while((e0=n[i++]))"+(a?bV.replace(G,"e0"):"{")+d+"}"},"^.*$":bC}),m=/\&\&(e\d+)\.nodeType===1(\)\{\s*if\(\1\.nodeName=)/g;q.create=function(c){if(!p[c]){c=cV(c);this.groups=null;I.index=0;var b=this.parse(c);this.groups=null;I.index=0;if(c.indexOf("#")!==-1){var a=n.parse(c);if(a){b="if(t===1||t===11|!c.getElementById){"+b+"}else{"+a+"}"}}b=b.replace(m,"$2");b=O(c)+bq(b);p[c]=new Function("return function(c,r,s){var i=0,k=0,e0;"+b+"return r}")()}return p[c]};return cO})();function bC(){throw new SyntaxError("Invalid selector.");};i.loaded=true;(function(){try{if(!r.body)throw"continue";bn.doScroll("left")}catch(ex){setTimeout(arguments.callee,1);return}try{eval(bF.innerHTML)}catch(ex){}if(typeof IE7_PNG_SUFFIX=="object"){ba=IE7_PNG_SUFFIX}else{ba=new RegExp(ct(J.IE7_PNG_SUFFIX||"-trans.png")+"(\\?.*)?$","i")}z=r.body;w=B?z:bn;z.className+=" ie7_body";bn.className+=" ie7_html";if(B)cM();i.CSS.init();i.HTML.init();i.HTML.apply();i.CSS.apply();i.recalc()})()})(this,document);
@@ -0,0 +1,6 @@
1
+ /*
2
+ IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
3
+ http://code.google.com/p/ie7-js/
4
+ http://www.opensource.org/licenses/mit-license.php
5
+ */
6
+ ;(function(L,r){var h=L.IE7={version:"2.1(beta4)",toString:bJ("[IE7]")};h.compat=8;var s=h.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1]-0;if(/ie7_off/.test(top.location.search)||s<5.5||s>=h.compat)return;var C=s<6,bh=bJ(),bt=r.documentElement,A,w,ci="!",X=":link{ie7-link:link}:visited{ie7-link:visited}",cj=/^[\w\.]+[^:]*$/;function bi(b,a){if(cj.test(b))b=(a||"")+b;return b};function bu(b,a){b=bi(b,a);return b.slice(0,b.lastIndexOf("/")+1)};var bK=r.scripts[r.scripts.length-1],ck=bu(bK.src);try{var Q=new ActiveXObject("Microsoft.XMLHTTP")}catch(ex){}var bj={};function cl(b,a){try{b=bi(b,a);if(!bj[b]){Q.open("GET",b,false);Q.send();if(Q.status==0||Q.status==200){bj[b]=Q.responseText}}}catch(ex){}return bj[b]||""};var dl=Array.prototype.slice,dm=/%([1-9])/g,cm=/^\s\s*/,cn=/\s\s*$/,co=/([\/()[\]{}|*+-.,^$?\\])/g,bL=/\bbase\b/,bM=["constructor","toString"],bk;function D(){};D.extend=function(f,d){bk=true;var c=new this;Y(c,f);bk=false;var b=c.constructor;function a(){if(!bk)b.apply(this,arguments)};c.constructor=a;a.extend=arguments.callee;Y(a,d);a.prototype=c;return a};D.prototype.extend=function(a){return Y(this,a)};var M="#",N="#",Z=".",bl="/",dn=/\\(\d+)/g,cp=/\[(\\.|[^\]\\])+\]|\\.|\(\?/g,cq=/\(/g,cr=/\$(\d+)/,cs=/^\$\d+$/,ct=/(\[(\\.|[^\]\\])+\]|\\.|\(\?)|\(/g,cu=/^<#\w+>$/,cv=/<#(\w+)>/g,E=D.extend({constructor:function(a){this[Z]=[];this[N]={};this.merge(a)},add:function(b,a){delete this[bl];if(b instanceof RegExp){b=b.source}if(!this[M+b])this[Z].push(String(b));return this[N][M+b]=new E.Item(b,a,this)},compile:function(a){if(a||!this[bl]){this[bl]=new RegExp(this,this.ignoreCase?"gi":"g")}return this[bl]},merge:function(b){for(var a in b)this.add(a,b[a])},exec:function(n){var j=this,k=j[Z],l=j[N],i,g=this.compile(true).exec(n);if(g){var f=0,d=1;while((i=l[M+k[f++]])){var c=d+i.length+1;if(g[d]){if(i.replacement===0){return j.exec(n)}else{var b=g.slice(d,c),a=b.length;while(--a)b[a]=b[a]||"";b[0]={match:b[0],item:i};return b}}d=c}}return null},parse:function(n){n+="";var j=this,k=j[Z],l=j[N];return n.replace(this.compile(),function(i){var g=[],f,d=1,c=arguments.length;while(--c)g[c]=arguments[c]||"";while((f=l[M+k[c++]])){var b=d+f.length+1;if(g[d]){var a=f.replacement;switch(typeof a){case"function":return a.apply(j,g.slice(d,b));case"number":return g[d+a];default:return a}}d=b}return i})},toString:function(){var f=[],d=this[Z],c=this[N],b;for(var a=0;b=c[M+d[a]];a++){f[a]=b.source}return"("+f.join(")|(")+")"}},{IGNORE:null,Item:D.extend({constructor:function(j,k,l){var i=j.indexOf("(")===-1?0:E.count(j),g=l.dictionary;if(g&&j.indexOf("<#")!==-1){if(cu.test(j)){var f=g[N][M+j.slice(2,-1)];j=f.replacement;i=f._4}else{j=g.parse(j)}}if(typeof k=="number")k=String(k);else if(k==null)k=0;if(typeof k=="string"&&cr.test(k)){if(cs.test(k)){var d=k.slice(1)-0;if(d&&d<=i)k=d}else{var c=k,b;k=function(a){if(!b){b=new RegExp(j,"g"+(this.ignoreCase?"i":""))}return a.replace(b,c)}}}this.length=i;this.source=String(j);this.replacement=k}}),count:function(a){return(String(a).replace(cp,"").match(cq)||"").length}}),cw=E.extend({parse:function(d){var c=this[N];return d.replace(cv,function(b,a){a=c[M+a];return a?a._5:b})},add:function(f,d){if(d instanceof RegExp){d=d.source}var c=d.replace(ct,cx);if(d.indexOf("(")!==-1){var b=E.count(d)}if(d.indexOf("<#")!==-1){d=this.parse(d);c=this.parse(c)}var a=this.base(f,d);a._5=c;a._4=b||a.length;return a},toString:function(){return"(<#"+this[PATTERNS].join(">)|(<#")+">)"}});function cx(b,a){return a||"(?:"};function Y(g,f){if(g&&f){var d=(typeof f=="function"?Function:Object).prototype;var c=bM.length,b;if(bk)while(b=bM[--c]){var a=f[b];if(a!=d[b]){if(bL.test(a)){bN(g,b,a)}else{g[b]=a}}}for(b in f)if(typeof d[b]=="undefined"){var a=f[b];if(g[b]&&typeof a=="function"&&bL.test(a)){bN(g,b,a)}else{g[b]=a}}}return g};function bN(g,f,d){var c=g[f];g[f]=function(){var b=this.base;this.base=c;var a=d.apply(this,arguments);this.base=b;return a}};function cy(d,c){if(!c)c=d;var b={};for(var a in d)b[a]=c[a];return b};function F(f){var d=arguments,c=new RegExp("%([1-"+arguments.length+"])","g");return String(f).replace(c,function(b,a){return a<d.length?d[a]:b})};function bm(b,a){return String(b).match(a)||[]};function bO(a){return String(a).replace(co,"\\$1")};function bP(a){return String(a).replace(cm,"").replace(cn,"")};function bJ(a){return function(){return a}};var bQ=E.extend({ignoreCase:true}),cz=/'/g,bR=/'(\d+)'/g,o0=/\\/g,bv=/\\([nrtf'"])/g,R=[],bS=new bQ({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bT,'"(\\\\.|[^"\\\\])*"':bT,"\\s+":" "});function cA(a){return bS.parse(a).replace(bv,"$1")};function ba(a){return a.replace(bR,cB)};function bT(b){var a=R.length;R[a]=b.slice(1,-1).replace(bv,"$1").replace(cz,"\\'");return"'"+a+"'"};function cB(c,b){var a=R[b];if(a==null)return c;return"'"+R[b]+"'"};function bn(a){return a.indexOf("'")===0?R[a.slice(1,-1)]:a};var cC=new E({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",onX:"onY"});function bU(a){return cC.parse(a)};var bV=[];function bw(a){cD(a);x(L,"onresize",a)};function x(c,b,a){c.attachEvent(b,a);bV.push(arguments)};function cE(c,b,a){try{c.detachEvent(b,a)}catch(ex){}};x(L,"onunload",function(){var a;while(a=bV.pop()){cE(a[0],a[1],a[2])}});function bb(c,b,a){if(!c.elements)c.elements={};if(a)c.elements[b.uniqueID]=b;else delete c.elements[b.uniqueID];return a};x(L,"onbeforeprint",function(){if(!h.CSS.print)new bW("print");h.CSS.print.recalc()});var bX=/^\d+(px)?$/i,S=/^\d+%$/,B=function(d,c){if(bX.test(c))return parseInt(c);var b=d.style.left,a=d.runtimeStyle.left;d.runtimeStyle.left=d.currentStyle.left;d.style.left=c||0;c=d.style.pixelLeft;d.style.left=b;d.runtimeStyle.left=a;return c},bx="ie7-",bY=D.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:bh}),by=[];function cD(a){by.push(a)};h.recalc=function(){h.HTML.recalc();h.CSS.recalc();for(var a=0;a<by.length;a++)by[a]()};function bo(a){return a.currentStyle["ie7-position"]=="fixed"};function bz(b,a){return b.currentStyle[bx+a]||b.currentStyle[a]};function T(c,b,a){if(c.currentStyle[bx+b]==null){c.runtimeStyle[bx+b]=c.currentStyle[b]}c.runtimeStyle[b]=a};function bZ(b){var a=r.createElement(b||"object");a.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";a.ie7_anon=true;return a};var cF="(e.nextSibling&&IE7._1(e,'next'))",cG=cF.replace(/next/g,"previous"),ca="e.nodeName>'@'",cb="if("+ca+"){",cH="(e.nodeName==='FORM'?IE7._0(e,'id'):e.id)",cI=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i,cJ=/(.*)(:first-(line|letter))/,cK=/\s/,cL=/((?:\\.|[^{\\])+)\{((?:\\.|[^}\\])+)\}/g,cM=/(?:\\.|[^,\\])+/g,G=r.styleSheets,bA=[];h.CSS=new(bY.extend({parser:new bQ,screen:"",print:"",styles:[],rules:[],pseudoClasses:s<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var b=[];for(var a in this)b.push(a);return b.join("|")}},init:function(){var i="^\x01$",g="\\[class=?[^\\]]*\\]",f=[];if(this.pseudoClasses)f.push(this.pseudoClasses);var d=this.dynamicPseudoClasses.toString();if(d)f.push(d);f=f.join("|");var c=s<7?["[>+~\\[(]|([:.])[\\w-]+\\1"]:[g];if(f)c.push(":("+f+")");this.UNKNOWN=new RegExp(c.join("|")||i,"i");var b=s<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[g],a=b.concat();if(f)a.push(":("+f+")");t.COMPLEX=new RegExp(a.join("|")||i,"ig");if(this.pseudoClasses)b.push(":("+this.pseudoClasses+")");bc.COMPLEX=new RegExp(b.join("|")||i,"i");d="not\\(:"+d.split("|").join("\\)|not\\(:")+"\\)|"+d;bc.MATCH=new RegExp(d?"(.*?):("+d+")(.*)":i,"i");this.createStyleSheet();this.refresh()},addEventHandler:function(){x.apply(null,arguments)},addFix:function(b,a){this.parser.add(b,a)},addRecalc:function(g,f,d,c){g=g.source||g;f=new RegExp("([{;\\s])"+g+"\\s*:\\s*"+f+"[^;}]*");var b=this.recalcs.length;if(typeof c=="string")c=g+":"+c;this.addFix(f,function(a){if(typeof c=="function")c=c(a);return(c?c:a)+";ie7-"+a.slice(1)+";ie7_recalc"+b+":1"});this.recalcs.push(arguments);return b},apply:function(){this.getInlineCSS();new bW("screen");this.trash()},createStyleSheet:function(){r.getElementsByTagName("head")[0].appendChild(r.createElement("style"));this.styleSheet=G[G.length-1];this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=X},getInlineCSS:function(){var c=r.getElementsByTagName("style"),b;for(var a=c.length-1;b=c[a];a--){if(!b.disabled&&!b.ie7){b._6=b.innerHTML}}},getText:function(c,b){try{var a=c.cssText}catch(e){a=""}if(Q)a=cl(c.href,b)||a;return a},recalc:function(){this.screen.recalc();var o=/ie7_recalc\d+/g,m=X.match(/[{,]/g).length,n=this.styleSheet.rules,j,k,l,i,g,f,d,c,b;for(f=m;j=n[f];f++){var a=j.style.cssText;if(k=a.match(o)){i=H(j.selectorText);if(i.length)for(d=0;d<k.length;d++){b=k[d];l=h.CSS.recalcs[b.slice(10)][2];for(c=0;(g=i[c]);c++){if(g.currentStyle[b])l(g,a)}}}}},refresh:function(){this.styleSheet.cssText=X+this.screen+this.print},trash:function(){for(var b=0;b<G.length;b++){if(!G[b].ie7){try{var a=G[b].cssText}catch(e){a=""}if(a)G[b].cssText=""}}}}));var bW=D.extend({constructor:function(a){this.media=a;this.load();h.CSS[a]=this;h.CSS.refresh()},createRule:function(c,b){var a;if(O&&(a=c.match(O.MATCH))){return new O(a[1],a[2],b)}else if(a=c.match(bc.MATCH)){if(!cI.test(a[0])||bc.COMPLEX.test(a[0])){return new bc(c,a[1],a[2],a[3],b)}}else{return new t(c,b)}return c+" {"+b+"}"},getText:function(){var u=/@media\s+([^{]+?)\s*\{([^@]+\})\s*\}/gi,U=/@import[^;\n]+/gi,P=/@import\s+url\s*\(\s*["']?|["']?\s*\)\s*/gi,V=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi,I=this,J={};function y(j,k,l,i){var g="";if(!i){l=o(j.media);i=0}if(l==="none"){j.disabled=true;return""}if(l==="all"||l===I.media){try{var f=!!j.cssText}catch(exe){}if(i<3&&f){var d=j.cssText.match(U);for(var c=0,b;c<j.imports.length;c++){var b=j.imports[c];var a=j._2||j.href;b._2=d[c].replace(P,"");g+=y(b,bu(a,k),l,i+1)}}g+=cA(j.href?m(j,k):j.owningElement._6);g=z(g,I.media)}return g};for(var v=0;v<G.length;v++){var p=G[v];if(!p.disabled&&!p.ie7)this.cssText+=y(p)}function z(b,a){q.value=a;return b.replace(u,q)};function q(c,b,a){b=o(b);switch(b){case"screen":case"print":if(b!==q.value)return"";case"all":return a}return""};function o(c){if(!c)return"all";var b=c.toLowerCase().split(/\s*,\s*/);c="none";for(var a=0;a<b.length;a++){if(b[a]==="all")return"all";if(b[a]==="screen"){if(c==="print")return"all";c="screen"}else if(b[a]==="print"){if(c==="screen")return"all";c="print"}}return c};function m(d,c){var b=d._2||d.href,a=bi(b,c);if(J[a])return"";J[a]=d.disabled?"":n(h.CSS.getText(d,c),bu(b,c));return J[a]};function n(b,a){return b.replace(V,"$1"+a.slice(0,a.lastIndexOf("/")+1)+"$2")}},load:function(){this.cssText="";this.getText();this.parse();if(bA.length){this.cssText=cN(this.cssText)}this.cssText=ba(this.cssText);bj={}},parse:function(){var i=h.CSS.parser.parse(this.cssText),n="";this.cssText=i.replace(/@charset[^;]+;|@font\-face[^\}]+\}/g,function(a){n+=a+"\n";return""});this.declarations=ba(n);var j=h.CSS.rules.length,k=[],l;while((l=cL.exec(this.cssText))){var i=l[2];if(i){var g=s<7&&i.indexOf("AlphaImageLoader")!==-1;var f=l[1].match(cM),d;for(var c=0;d=f[c];c++){d=bP(d);var b=h.CSS.UNKNOWN.test(d);f[c]=b?this.createRule(d,i):d+"{"+i+"}";if(g)f[c]+=this.createRule(d+">*","position:relative")}k.push(f.join("\n"))}}this.cssText=k.join("\n");this.rules=h.CSS.rules.slice(j)},recalc:function(){var b,a;for(a=0;(b=this.rules[a]);a++)b.recalc()},toString:function(){return this.declarations+"@media "+this.media+"{"+this.cssText+"}"}}),O,t=h.Rule=D.extend({constructor:function(c,b){this.id=h.CSS.rules.length;this.className=t.PREFIX+this.id;var a=c.match(cJ);this.selector=(a?a[1]:c)||"*";this.selectorText=this.parse(this.selector)+(a?a[2]:"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");h.CSS.rules.push(this);this.init()},init:bh,add:function(a){a.className+=" "+this.className},recalc:function(){var b=H(this.selector);for(var a=0;a<b.length;a++)this.add(b[a])},parse:function(f){var d=f.replace(t.CHILD," ").replace(t.COMPLEX,"");if(s<7)d=d.replace(t.MULTI,"");var c=bm(d,t.TAGS).length-bm(f,t.TAGS).length,b=bm(d,t.CLASSES).length-bm(f,t.CLASSES).length+1;while(b>0&&t.CLASS.test(d)){d=d.replace(t.CLASS,"");b--}while(c>0&&t.TAG.test(d)){d=d.replace(t.TAG,"$1*");c--}d+="."+this.className;b=Math.min(b,2);c=Math.min(c,2);var a=-10*b-c;if(a>0){d=d+","+t.MAP[a]+" "+d}return d},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},toString:function(){return F("%1 {%2}",this.selectorText,this.cssText)}},{CHILD:/>/g,CLASS:/\.[\w-]+/,CLASSES:/[.:\[]/g,MULTI:/(\.[\w-]+)+/g,PREFIX:"ie7_class",TAG:/^\w+|([\s>+~])\w+/,TAGS:/^\w|[\s>+~]\w/g,MAP:{"1":"html","2":"html body","10":".ie7_html","11":"html.ie7_html","12":"html.ie7_html body","20":".ie7_html .ie7_body","21":"html.ie7_html .ie7_body","22":"html.ie7_html body.ie7_body"}}),bc=t.extend({constructor:function(f,d,c,b,a){this.negated=c.indexOf("not")===0;if(this.negated)c=c.slice(5,-1);this.attach=d||"*";this.dynamicPseudoClass=h.CSS.dynamicPseudoClasses[c];this.target=b;this.base(f,a)},recalc:function(){var d=H(this.attach),c;for(var b=0;c=d[b];b++){var a=this.target?H(this.target,c):[c];if(a.length)this.dynamicPseudoClass.apply(c,a,this)}}}),bB=D.extend({constructor:function(b,a){this.name=b;this.apply=a;this.instances={};h.CSS.dynamicPseudoClasses[b]=this},register:function(f,d){var c=f[2];if(!d&&c.negated){this.unregister(f,true)}else{f.id=c.id+f[0].uniqueID;if(!this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.add(b[a]);this.instances[f.id]=f}}},unregister:function(f,d){var c=f[2];if(!d&&c.negated){this.register(f,true)}else{if(this.instances[f.id]){var b=f[1],a;for(a=0;a<b.length;a++)c.remove(b[a]);delete this.instances[f.id]}}}}),bp=new bB("hover",function(b){var a=arguments;h.CSS.addEventHandler(b,"onmouseenter",function(){bp.register(a)});h.CSS.addEventHandler(b,"onmouseleave",function(){bp.unregister(a)})});x(r,"onmouseup",function(){var b=bp.instances;for(var a in b)if(!b[a][0].contains(event.srcElement))bp.unregister(b[a])});var cc={"=":"%1==='%2'","~=":"(' '+%1+' ').indexOf(' %2 ')!==-1","|=":"%1==='%2'||%1.indexOf('%2-')===0","^=":"%1.indexOf('%2')===0","$=":"%1.slice(-'%2'.length)==='%2'","*=":"%1.indexOf('%2')!==-1"};cc[""]="%1!=null";var bd={"<#attr>":function(f,d,c,b){var a="IE7._0(e,'"+d+"')";b=bn(b);if(c.length>1){if(!b||c==="~="&&cK.test(b)){return"false&&"}a="("+a+"||'')"}return"("+F(cc[c],a,b)+")&&"},"<#id>":cH+"==='$1'&&","<#class>":"e.className&&(' '+e.className+' ').indexOf(' $1 ')!==-1&&",":first-child":"!"+cG+"&&",":link":"e.currentStyle['ie7-link']=='link'&&",":visited":"e.currentStyle['ie7-link']=='visited'&&"};h.HTML=new(bY.extend({fixed:{},init:bh,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var d=0;d<this.fixes.length;d++){var c=H(this.fixes[d][0]);var b=this.fixes[d][1];for(var a=0;a<c.length;a++)b(c[a])}},addRecalc:function(){this.recalcs.push(arguments)},recalc:function(){for(var i=0;i<this.recalcs.length;i++){var g=H(this.recalcs[i][0]);var f=this.recalcs[i][1],d;var c=Math.pow(2,i);for(var b=0;(d=g[b]);b++){var a=d.uniqueID;if((this.fixed[a]&c)===0){d=f(d)||d;this.fixed[a]|=c}}}}}));if(s<7){r.createElement("abbr");h.HTML.addRecalc("label",function(b){if(!b.htmlFor){var a=H("input,textarea",b,true);if(a){x(b,"onclick",function(){a.click()})}}})}var be="[.\\d]";(function(){var u=h.Layout={};X+="*{boxSizing:content-box}";u.boxSizing=function(a){if(!a.currentStyle.hasLayout){a.style.height="0cm";if(a.currentStyle.verticalAlign==="auto")a.runtimeStyle.verticalAlign="top";U(a)}};function U(a){if(a!=w&&a.currentStyle.position!=="absolute"){P(a,"marginTop");P(a,"marginBottom")}};function P(f,d){if(!f.runtimeStyle[d]){var c=f.parentElement;var b=d==="marginTop";if(c&&c.currentStyle.hasLayout&&!h._1(f,b?"previous":"next"))return;var a=f[b?"firstChild":"lastChild"];if(a&&a.nodeName<"@")a=h._1(a,b?"next":"previous");if(a&&a.currentStyle.styleFloat==="none"&&a.currentStyle.hasLayout){P(a,d);margin=V(f,f.currentStyle[d]);childMargin=V(a,a.currentStyle[d]);if(margin<0||childMargin<0){f.runtimeStyle[d]=margin+childMargin}else{f.runtimeStyle[d]=Math.max(childMargin,margin)}a.runtimeStyle[d]="0px"}}};function V(b,a){return a==="auto"?0:B(b,a)};var I=/^[.\d][\w]*$/,J=/^(auto|0cm)$/,y={};u.borderBox=function(a){y.Width(a);y.Height(a)};var v=function(p){y.Width=function(a){if(!S.test(a.currentStyle.width))z(a);if(p)U(a)};function z(b,a){if(!b.runtimeStyle.fixedWidth){if(!a)a=b.currentStyle.width;b.runtimeStyle.fixedWidth=I.test(a)?Math.max(0,m(b,a))+"px":a;T(b,"width",b.runtimeStyle.fixedWidth)}};function q(b){if(!bo(b)){var a=b.offsetParent;while(a&&!a.currentStyle.hasLayout)a=a.offsetParent}return(a||w).clientWidth};function o(b,a){if(S.test(a))return parseInt(parseFloat(a)/100*q(b));return B(b,a)};var m=function(d,c){var b=d.currentStyle["ie7-box-sizing"]==="border-box",a=0;if(C&&!b)a+=n(d)+j(d,"padding");else if(!C&&b)a-=n(d)+j(d,"padding");return o(d,c)+a};function n(a){return a.offsetWidth-a.clientWidth};function j(b,a){return o(b,b.currentStyle[a+"Left"])+o(b,b.currentStyle[a+"Right"])};X+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";u.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(bb(arguments.callee,a,a.currentStyle.minWidth!=="none")){u.boxSizing(a);z(a);k(a)}};eval("IE7.Layout.maxWidth="+String(u.minWidth).replace(/min/g,"max"));function k(c){if(c==r.body){var b=c.clientWidth}else{var a=c.getBoundingClientRect();b=a.right-a.left}if(c.currentStyle.minWidth!=="none"&&b<m(c,c.currentStyle.minWidth)){c.runtimeStyle.width=c.currentStyle.minWidth}else if(c.currentStyle.maxWidth!=="none"&&b>=m(c,c.currentStyle.maxWidth)){c.runtimeStyle.width=c.currentStyle.maxWidth}else{c.runtimeStyle.width=c.runtimeStyle.fixedWidth}};function l(a){if(bb(l,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&bz(a,"left")!=="auto"&&bz(a,"right")!=="auto"&&J.test(bz(a,"width")))){i(a);u.boxSizing(a)}};u.fixRight=l;function i(c){var b=o(c,c.runtimeStyle._3||c.currentStyle.left),a=q(c)-o(c,c.currentStyle.right)-b-j(c,"margin");if(parseInt(c.runtimeStyle.width)===a)return;c.runtimeStyle.width="";if(bo(c)||p||c.offsetWidth<a){if(!C)a-=n(c)+j(c,"padding");if(a<0)a=0;c.runtimeStyle.fixedWidth=a;T(c,"width",a)}};var g=0;bw(function(){if(!w)return;var f,d=(g<w.clientWidth);g=w.clientWidth;var c=u.minWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===m(b,b.currentStyle.minWidth));if(d&&a)b.runtimeStyle.width="";if(d==a)k(b)}var c=u.maxWidth.elements;for(f in c){var b=c[f];var a=(parseInt(b.runtimeStyle.width)===m(b,b.currentStyle.maxWidth));if(!d&&a)b.runtimeStyle.width="";if(d!==a)k(b)}for(f in l.elements)i(l.elements[f])});if(C){h.CSS.addRecalc("width",be,y.Width)}if(s<7){h.CSS.addRecalc("max-width",be,u.maxWidth);h.CSS.addRecalc("right",be,l)}else if(s==7){if(p)h.CSS.addRecalc("height","[\\d.]+%",function(element){element.runtimeStyle.pixelHeight=parseInt(q(element)*element.currentStyle["ie7-height"].slice(0,-1)/100)})}};eval("var _7="+bU(v));v();_7(true);if(s<7){h.CSS.addRecalc("min-width",be,u.minWidth);h.CSS.addFix(/\bmin-height\s*/,"height")}})();var bC=bi("blank.gif",ck),bD="DXImageTransform.Microsoft.AlphaImageLoader",cd="progid:"+bD+"(src='%1',sizingMethod='%2')",bf,bg=[];function ce(b){if(bf.test(b.src)){var a=new Image(b.width,b.height);a.onload=function(){b.width=a.width;b.height=a.height;a=null};a.src=b.src;b.pngSrc=b.src;bq(b)}};if(s<7){h.CSS.addFix(/background(-image)?\s*:\s*([^};]*)?url\(([^\)]+)\)([^;}]*)?/,function(f,d,c,b,a){b=bn(b);return bf.test(b)?"filter:"+F(cd,b,a.indexOf("no-repeat")===-1?"scale":"crop")+";zoom:1;background"+(d||"")+":"+(c||"")+"none"+(a||""):f});h.CSS.addRecalc(/list\-style(\-image)?/,"[^};]*url",function(d){var c=d.currentStyle.listStyleImage.slice(5,-2);if(bf.test(c)){if(d.nodeName==="LI"){cf(d,c)}else if(d.nodeName==="UL"){for(var b=0,a;a=d.childNodes[b];b++){if(a.nodeName==="LI")cf(a,c)}}}});function cf(g,f){var d=g.runtimeStyle,c=g.offsetHeight,b=new Image;b.onload=function(){var a=g.currentStyle.paddingLeft;a=a==="0px"?0:B(g,a);d.paddingLeft=(a+this.width)+"px";d.marginLeft=-this.width+"px";d.listStyleType="none";d.listStyleImage="none";d.paddingTop=Math.max(c-g.offsetHeight,0)+"px";bq(g,"crop",f);g.style.zoom="100%"};b.src=f};h.HTML.addRecalc("img,input",function(a){if(a.nodeName==="INPUT"&&a.type!=="image")return;ce(a);x(a,"onpropertychange",function(){if(!bE&&event.propertyName==="src"&&a.src.indexOf(bC)===-1)ce(a)})});var bE=false;x(L,"onbeforeprint",function(){bE=true;for(var a=0;a<bg.length;a++)cO(bg[a])});x(L,"onafterprint",function(){for(var a=0;a<bg.length;a++)bq(bg[a]);bE=false})}function bq(d,c,b){var a=d.filters[bD];if(a){a.src=b||d.src;a.enabled=true}else{d.runtimeStyle.filter=F(cd,b||d.src,c||"scale");bg.push(d)}d.src=bC};function cO(a){a.src=a.pngSrc;a.filters[bD].enabled=false};(function(){if(s>=7)return;h.CSS.addRecalc("position","fixed",n,"absolute");h.CSS.addRecalc("background(-attachment)?","[^};]*fixed",o);var y=C?"body":"documentElement";function v(){if(A.currentStyle.backgroundAttachment!=="fixed"){if(A.currentStyle.backgroundImage==="none"){A.runtimeStyle.backgroundRepeat="no-repeat";A.runtimeStyle.backgroundImage="url("+bC+")"}A.runtimeStyle.backgroundAttachment="fixed"}v=bh};var p=bZ("img");function z(a){return a?bo(a)||z(a.parentElement):false};function q(c,b,a){setTimeout("document.all."+c.uniqueID+".runtimeStyle.setExpression('"+b+"','"+a+"')",0)};function o(a){if(bb(o,a,a.currentStyle.backgroundAttachment==="fixed"&&!a.contains(A))){v();i.bgLeft(a);i.bgTop(a);m(a)}};function m(b){p.src=b.currentStyle.backgroundImage.slice(5,-2);var a=b.canHaveChildren?b:b.parentElement;a.appendChild(p);i.setOffsetLeft(b);i.setOffsetTop(b);a.removeChild(p)};function n(a){if(bb(n,a,bo(a))){T(a,"position","absolute");T(a,"left",a.currentStyle.left);T(a,"top",a.currentStyle.top);v();h.Layout.fixRight(a);j(a)}};function j(c,b){r.body.getBoundingClientRect();i.positionTop(c,b);i.positionLeft(c,b,true);if(!c.runtimeStyle.autoLeft&&c.currentStyle.marginLeft==="auto"&&c.currentStyle.right!=="auto"){var a=w.clientWidth-i.getPixelWidth(c,c.currentStyle.right)-i.getPixelWidth(c,c.runtimeStyle._3)-c.clientWidth;if(c.currentStyle.marginRight==="auto")a=parseInt(a/2);if(z(c.offsetParent))c.runtimeStyle.pixelLeft+=a;else c.runtimeStyle.shiftLeft=a}if(!c.runtimeStyle.fixedWidth)i.clipWidth(c);if(!c.runtimeStyle.fixedHeight)i.clipHeight(c)};function k(){var b=o.elements;for(var a in b)m(b[a]);b=n.elements;for(a in b){j(b[a],true);j(b[a],true)}l=0};var l;bw(function(){if(!l)l=setTimeout(k,100)});var i={},g=function(f){f.bgLeft=function(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!z(a)){q(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+y+".scrollLeft)||0")}};f.setOffsetLeft=function(b){var a=z(b)?"backgroundPositionX":"offsetLeft";b.runtimeStyle[a]=f.getOffsetLeft(b,b.style.backgroundPositionX)-b.getBoundingClientRect().left-b.clientLeft+2};f.getOffsetLeft=function(b,a){switch(a){case"left":case"top":return 0;case"right":case"bottom":return w.clientWidth-p.offsetWidth;case"center":return(w.clientWidth-p.offsetWidth)/2;default:if(S.test(a)){return parseInt((w.clientWidth-p.offsetWidth)*parseFloat(a)/100)}p.style.left=a;return p.offsetLeft}};f.clipWidth=function(d){var c=d.runtimeStyle.fixWidth;d.runtimeStyle.borderRightWidth="";d.runtimeStyle.width=c?f.getPixelWidth(d,c)+"px":"";if(d.currentStyle.width!=="auto"){var b=d.getBoundingClientRect();var a=d.offsetWidth-w.clientWidth+b.left-2;if(a>=0){d.runtimeStyle.borderRightWidth="0px";a=Math.max(B(d,d.currentStyle.width)-a,0);T(d,"width",a);return a}}};f.positionLeft=function(b,a){if(!a&&S.test(b.currentStyle.width)){b.runtimeStyle.fixWidth=b.currentStyle.width}if(b.runtimeStyle.fixWidth){b.runtimeStyle.width=f.getPixelWidth(b,b.runtimeStyle.fixWidth)}b.runtimeStyle.shiftLeft=0;b.runtimeStyle._3=b.currentStyle.left;b.runtimeStyle.autoLeft=b.currentStyle.right!=="auto"&&b.currentStyle.left==="auto";b.runtimeStyle.left="";b.runtimeStyle.screenLeft=f.getScreenLeft(b);b.runtimeStyle.pixelLeft=b.runtimeStyle.screenLeft;if(!a&&!z(b.offsetParent)){q(b,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+y+".scrollLeft")}};f.getScreenLeft=function(c){var b=c.offsetLeft,a=1;if(c.runtimeStyle.autoLeft){b=w.clientWidth-c.offsetWidth-f.getPixelWidth(c,c.currentStyle.right)}if(c.currentStyle.marginLeft!=="auto"){b-=f.getPixelWidth(c,c.currentStyle.marginLeft)}while(c=c.offsetParent){if(c.currentStyle.position!=="static")a=-1;b+=c.offsetLeft*a}return b};f.getPixelWidth=function(b,a){return S.test(a)?parseInt(parseFloat(a)/100*w.clientWidth):B(b,a)}};eval("var _8="+bU(g));g(i);_8(i)})();if(s<7){var bF={backgroundColor:"transparent",backgroundImage:"none",backgroundPositionX:null,backgroundPositionY:null,backgroundRepeat:null,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",borderLeftWidth:0,borderLeftColor:"#000",borderTopColor:"#000",borderRightColor:"#000",borderBottomColor:"#000",height:null,marginTop:0,marginBottom:0,marginRight:0,marginLeft:0,width:"100%"};h.CSS.addRecalc("overflow","visible",function(c){if(c.currentStyle.position==="absolute")return;if(c.parentNode.ie7_wrapped)return;if(h.Layout&&c.currentStyle["max-height"]!=="auto"){h.Layout.maxHeight(c)}if(c.currentStyle.marginLeft==="auto")c.style.marginLeft=0;if(c.currentStyle.marginRight==="auto")c.style.marginRight=0;var b=r.createElement(ci);b.ie7_wrapped=c;for(var a in bF){b.style[a]=c.currentStyle[a];if(bF[a]!=null){c.runtimeStyle[a]=bF[a]}}b.style.display="block";b.style.position="relative";c.runtimeStyle.position="absolute";c.parentNode.insertBefore(b,c);b.appendChild(c)})}function cP(){var q="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var o=0;o<q.length;o++){q[q[o]]=q[o-1]||"0.67em"}h.CSS.addFix(/(font(-size)?\s*:\s*)([\w.-]+)/,function(d,c,b,a){return c+(q[a]||a)});var m=/^\-/,n=/(em|ex)$/i,j=/em$/i,k=/ex$/i;B=function(c,b){if(bX.test(b))return parseInt(b)||0;var a=m.test(b)?-1:1;if(n.test(b))a*=i(c);l.style.width=a<0?b.slice(1):b;A.appendChild(l);b=a*l.offsetWidth;l.removeNode();return parseInt(b)};var l=bZ();function i(c){var b=1;l.style.fontFamily=c.currentStyle.fontFamily;l.style.lineHeight=c.currentStyle.lineHeight;while(c!=A){var a=c.currentStyle["ie7-font-size"];if(a){if(j.test(a))b*=parseFloat(a);else if(S.test(a))b*=(parseFloat(a)/100);else if(k.test(a))b*=(parseFloat(a)/2);else{l.style.fontSize=a;return 1}}c=c.parentElement}return b};h.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");h.CSS.addFix(/display\s*:\s*list-item/,"display:block");function g(d){var c=d.parentElement,b=c.offsetWidth-d.offsetWidth-f(c),a=(d.currentStyle["ie7-margin"]&&d.currentStyle.marginRight==="auto")||d.currentStyle["ie7-margin-right"]==="auto";switch(c.currentStyle.textAlign){case"right":b=a?parseInt(b/2):0;d.runtimeStyle.marginRight=b+"px";break;case"center":if(a)b=0;default:if(a)b/=2;d.runtimeStyle.marginLeft=parseInt(b)+"px"}};function f(a){return B(a,a.currentStyle.paddingLeft)+B(a,a.currentStyle.paddingRight)};h.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(bb(g,a,a.parentElement&&a.currentStyle.display==="block"&&a.currentStyle.marginLeft==="auto"&&a.currentStyle.position!=="absolute")){g(a)}});bw(function(){for(var b in g.elements){var a=g.elements[b];a.runtimeStyle.marginLeft=a.runtimeStyle.marginRight="";g(a)}})};var cQ="\\([^)]+\\)";bS.add(/::(before|after)/,":$1");if(s<8){if(h.CSS.pseudoClasses)h.CSS.pseudoClasses+="|";h.CSS.pseudoClasses+="before|after|lang"+cQ;function cN(a){return a.replace(new RegExp("([{;\\s])("+bA.join("|")+")\\s*:\\s*([^;}]+)","g"),"$1$2:$3;ie7-$2:$3")};var cR=/[\w-]+\s*:\s*inherit/g;var cS=/ie7\-|\s*:\s*inherit/g;var cT=/\-([a-z])/g;function cU(b,a){return a.toUpperCase()};h.CSS.addRecalc("[\\w-]+","inherit",function(f,d){if(f.parentElement){var c=d.match(cR);for(var b=0;b<c.length;b++){var a=c[b].replace(cS,"");if(f.currentStyle["ie7-"+a]==="inherit"){a=a.replace(cT,cU);f.runtimeStyle[a]=f.parentElement.currentStyle[a]}}}},function(a){bA.push(bO(a.slice(1).split(":")[0]));return a});var br=new bB("focus",function(b){var a=arguments;h.CSS.addEventHandler(b,"onfocus",function(){br.unregister(a);br.register(a)});h.CSS.addEventHandler(b,"onblur",function(){br.unregister(a)});if(b==r.activeElement){br.register(a)}});var bG=new bB("active",function(b){var a=arguments;h.CSS.addEventHandler(b,"onmousedown",function(){bG.register(a)})});x(r,"onmouseup",function(){var b=bG.instances;for(var a in b)bG.unregister(b[a])});var cV=/^url\s*\(\s*([^)]*)\)$/;var cW={before0:"beforeBegin",before1:"afterBegin",after0:"afterEnd",after1:"beforeEnd"};var O=h.PseudoElement=t.extend({constructor:function(i,g,f){this.position=g;var d=f.match(O.CONTENT),c,b;if(d){d=d[1];c=d.split(/\s+/);for(var a=0;(b=c[a]);a++){c[a]=/^attr/.test(b)?{attr:b.slice(5,-1)}:b.charAt(0)==="'"?bn(b):ba(b)}d=c}this.content=d;this.base(i,ba(f))},init:function(){this.match=H(this.selector);for(var b=0;b<this.match.length;b++){var a=this.match[b].runtimeStyle;if(!a[this.position])a[this.position]={cssText:""};a[this.position].cssText+=";"+this.cssText;if(this.content!=null)a[this.position].content=this.content}},create:function(m){var n=m.runtimeStyle[this.position];if(n){var j=[].concat(n.content||"");for(var k=0;k<j.length;k++){if(typeof j[k]=="object"){j[k]=m.getAttribute(j[k].attr)}}j=j.join("");var l=j.match(cV);var i="overflow:hidden;"+n.cssText.replace(/'/g,'"');var g=cW[this.position+Number(m.canHaveChildren)];var f='ie7_pseudo'+O.count++;m.insertAdjacentHTML(g,F(O.ANON,this.className,f,i,l?"":j));if(l){var d=bn(l[1]);var c=r.getElementById(f);c.src=d;bq(c,"crop");var b=m.currentStyle.styleFloat!=="none";if(c.currentStyle.display==="inline"||b){if(s<7&&b&&m.canHaveChildren){m.runtimeStyle.display="inline";m.runtimeStyle.position="relative";c.runtimeStyle.position="absolute"}c.style.display="inline-block";if(m.currentStyle.styleFloat!=="none"){c.style.pixelWidth=m.offsetWidth}var a=new Image;a.onload=function(){c.style.pixelWidth=this.width;c.style.pixelHeight=Math.max(this.height,c.offsetHeight)};a.src=d}}m.runtimeStyle[this.position]=null}},recalc:function(){if(this.content==null)return;for(var a=0;a<this.match.length;a++){this.create(this.match[a])}},toString:function(){return"."+this.className+"{display:inline}"}},{CONTENT:/content\s*:\s*([^;]*)(;|$)/,ANON:"<ie7:! class='ie7_anon %1' id=%2 style='%3'>%4</ie7:!>",MATCH:/(.*):(before|after).*/,count:0});h._getLang=function(b){var a="";while(b&&b.nodeType===1){a=b.lang||b.getAttribute("lang")||"";if(a)break;b=b.parentNode}return a};bd=Y(bd,{":lang\\(([^)]+)\\)":"((ii=IE7._getLang(e))==='$1'||ii.indexOf('$1-')===0)&&"})}var cX=/^(submit|reset|button)$/;h.HTML.addRecalc("button,input",function(b){if(b.nodeName==="BUTTON"){var a=b.outerHTML.match(/ value="([^"]*)"/i);b.runtimeStyle.value=a?a[1]:""}if(b.type==="submit"){x(b,"onclick",function(){b.runtimeStyle.clicked=true;setTimeout("document.all."+b.uniqueID+".runtimeStyle.clicked=false",1)})}});h.HTML.addRecalc("form",function(c){x(c,"onsubmit",function(){for(var b,a=0;b=c[a];a++){if(cX.test(b.type)&&!b.disabled&&!b.runtimeStyle.clicked){b.disabled=true;setTimeout("document.all."+b.uniqueID+".disabled=false",1)}else if(b.nodeName==="BUTTON"&&b.type==="submit"){setTimeout("document.all."+b.uniqueID+".value='"+b.value+"'",1);b.value=b.runtimeStyle.value}}})});h.HTML.addRecalc("img",function(a){if(a.alt&&!a.title)a.title=""});if(s<8){h.CSS.addRecalc("border-spacing",be,function(a){if(a.currentStyle.borderCollapse!=="collapse"){a.cellSpacing=B(a,a.currentStyle["ie7-border-spacing"].split(" ")[0])}});h.CSS.addRecalc("box-sizing","content-box",h.Layout.boxSizing);h.CSS.addRecalc("box-sizing","border-box",h.Layout.borderBox)}if(s<8){var cY=/^image/i;h.HTML.addRecalc("object",function(a){if(cY.test(a.type)){a.body.style.cssText="margin:0;padding:0;border:none;overflow:hidden";return a}})}var K,H=(function(){var cZ=/^[>+~]/,bs=false;function da(d,c,b){d=bP(d);if(!c)c=r;var a=c;bs=cZ.test(d);if(bs){c=c.parentNode;d="*"+d}try{return m.create(d,bs)(c,b?null:[],a)}catch(ex){return b?null:[]}};var db=/^(\\.|[' >+~#.\[\]:*(),\w-\^|$=]|[^\x00-\xa0])+$/,dp=/^(href|src)$/,cg={"class":"className","for":"htmlFor"},dq=/\sie7_\w+/g,dc=/^(action|cite|codebase|data|dynsrc|href|longdesc|lowsrc|src|usemap|url)$/i;h._0=function(d,c){if(d.getAttributeNode){var b=d.getAttributeNode(c)}c=cg[c.toLowerCase()]||c;if(!b)b=d.attributes[c];var a=b&&b.specified;if(d[c]&&typeof d[c]=="boolean")return c.toLowerCase();if((a&&dc.test(c))||(!b&&C)||c==="value"||c==="type"){return d.getAttribute(c,2)}if(c==="style")return d.style.cssText.toLowerCase()||null;return a?String(b.nodeValue):null};var ch="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";Y(cg,cy(ch.toLowerCase().split(","),ch.split(",")));h._1=function(b,a){a+="Sibling";do{b=b[a];if(b&&b.nodeName>"@")break}while(b);return b};var dd=/(^|[, >+~])([#.:\[])/g,dr=/\)\{/g,de=/,/,ds=/^['"]/,df=/\\([\da-f]{2,2})/gi,dt=/last/i;h._9=function(d,c){var b=d.all[c]||null;if(!b||(b.nodeType&&h._0(b,"id")===c))return b;for(var a=0;a<b.length;a++){if(h._0(b[a],"id")===c)return b[a]}return null};var W=E.extend({dictionary:new cw({ident:/\-?(\\.|[_a-z]|[^\x00-\xa0])(\\.|[\w-]|[^\x00-\xa0])*/,combinator:/[\s>+~]/,operator:/[\^~|$*]?=/,nth_arg:/[+-]?\d+|[+-]?\d*n(?:\s*[+-]\s*\d+)?|even|odd/,tag:/\*|<#ident>/,id:/#(<#ident>)/,'class':/\.(<#ident>)/,pseudo:/\:([\w-]+)(?:\(([^)]+)\))?/,attr:/\[(<#ident>)(?:(<#operator>)((?:\\.|[^\[\]#.:])+))?\]/,negation:/:not\((<#tag>|<#id>|<#class>|<#attr>|<#pseudo>)\)/,sequence:/(\\.|[~*]=|\+\d|\+?\d*n\s*\+\s*\d|[^\s>+~,\*])+/,filter:/[#.:\[]<#sequence>/,selector:/[^>+~](\\.|[^,])*?/,grammar:/^(<#selector>)((,<#selector>)*)$/}),ignoreCase:true}),dg=new W({"\\\\.|[~*]\\s+=|\\+\\s+\\d":E.IGNORE,"\\[\\s+":"[","\\(\\s+":"(","\\s+\\)":")","\\s+\\]":"]","\\s*([,>+~]|<#operator>)\\s*":"$1","\\s+$":"","\\s+":" "});function dh(a){a=dg.parse(a.replace(df,"\\x$1")).replace(bv,"$1").replace(dd,"$1*$2");if(!db.test(a))bH();return a};function du(a){return a.replace(bR,di)};function di(b,a){return R[a]};var dj=/\{/g,dk=/\\{/g;function bI(a){return Array((a.replace(dk,"").match(dj)||"").length+1).join("}")};bd=new W(bd);var u=/:target/i,U=/:root/i;function P(b){var a="";if(U.test(b))a+=",R=d.documentElement";if(u.test(b))a+=",H=d.location;H=H&&H.hash.replace('#','')";if(a||b.indexOf("#")!==-1){a=",t=c.nodeType,d=t===9?c:c.ownerDocument||(c.document||c).parentWindow.document"+a}return"var ii"+a+";"};var V={" ":";while(e!=s&&(e=e.parentNode)&&e.nodeType===1){",">":".parentElement;if(e){","+":";while((e=e.previousSibling)&&!("+ca+"))continue;if(e){","~":";while((e=e.previousSibling)){"+cb},I=/\be\b/g;K=new W({"(?:(<#selector>)(<#combinator>))?(<#tag>)(<#filter>)?$":function(i,g,f,d,c){var b="";if(d!=="*"){var a=d.toUpperCase();b+="if(e.nodeName==='"+a+(a===d?"":"'||e.nodeName==='"+d)+"'){"}if(c){b+="if("+bd.parse(c).slice(0,-2)+"){"}b=b.replace(I,"e"+this.index);if(f){b+="var e=e"+(this.index++)+V[f];b=b.replace(I,"e"+this.index)}if(g){b+=this.parse(g)}return b}});var J="e0=IE7._9(d,'%1');if(e0){",y="var n=c.getElementsByTagName('%1');",v="if(r==null)return e0;r[k++]=e0;",p=1,z=new W({"^((?:<#selector>)?(?:<#combinator>))(<#tag>)(<#filter>)?$":true}),q={},o=new W({"^(<#tag>)#(<#ident>)(<#filter>)?( [^,]*)?$":function(i,g,f,d,c){var b=F(J,f),a="}";if(d){b+=K.parse(g+d);a=bI(b)}if(c){b+="s=c=e0;"+m.parse("*"+c)}else{b+=v}return b+a},"^([^#,]+)#(<#ident>)(<#filter>)?$":function(f,d,c,b){var a=F(J,c);if(d==="*"){a+=v}else{a+=K.parse(d+b)+v+"break"}return a+bI(a)},"^.*$":""}),m=new W({"<#grammar>":function(j,k,l){if(!this.groups)this.groups=[];var i=z.exec(" "+k);if(!i)bH();this.groups.push(i.slice(1));if(l){return this.parse(l.replace(de,""))}var g=this.groups,f=g[0][p];for(var b=1;i=g[b];b++){if(f!==i[p]){f="*";break}}var d="",c=v+"continue filtering;";for(var b=0;i=g[b];b++){K.index=0;if(f!=="*")i[p]="*";i=i.join("");if(i===" *"){d=c;break}else{i=K.parse(i);if(bs)i+="if(e"+K.index+"==s){";d+=i+c+bI(i)}}var a=f==="*";return(a?"var n=c.all;":F(y,f))+"filtering:while((e0=n[i++]))"+(a?cb.replace(I,"e0"):"{")+d+"}"},"^.*$":bH}),n=/\&\&(e\d+)\.nodeType===1(\)\{\s*if\(\1\.nodeName=)/g;m.create=function(c){if(!q[c]){c=dh(c);this.groups=null;K.index=0;var b=this.parse(c);this.groups=null;K.index=0;if(c.indexOf("#")!==-1){var a=o.parse(c);if(a){b="if(t===1||t===11|!c.getElementById){"+b+"}else{"+a+"}"}}b=b.replace(n,"$2");b=P(c)+ba(b);q[c]=new Function("return function(c,r,s){var i=0,k=0,e0;"+b+"return r}")()}return q[c]};return da})();function bH(){throw new SyntaxError("Invalid selector.");};h.loaded=true;(function(){try{if(!r.body)throw"continue";bt.doScroll("left")}catch(ex){setTimeout(arguments.callee,1);return}try{eval(bK.innerHTML)}catch(ex){}if(typeof IE7_PNG_SUFFIX=="object"){bf=IE7_PNG_SUFFIX}else{bf=new RegExp(bO(L.IE7_PNG_SUFFIX||"-trans.png")+"(\\?.*)?$","i")}A=r.body;w=C?A:bt;A.className+=" ie7_body";bt.className+=" ie7_html";if(C)cP();h.CSS.init();h.HTML.init();h.HTML.apply();h.CSS.apply();h.recalc()})()})(this,document);
@@ -0,0 +1,6 @@
1
+ /*
2
+ IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
3
+ http://code.google.com/p/ie7-js/
4
+ http://www.opensource.org/licenses/mit-license.php
5
+ */
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$",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&&ii"+(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+$":"","\\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>)?$":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>)?$":true}),s={},q=new bb({"^(<#tag>)#(<#ident>)(<#filter>)?( [^,]*)?$":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>)?$":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)},"^.*$":""}),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+"}"},"^.*$":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")+"(\\?.*)?$","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);
@@ -0,0 +1,6 @@
1
+ /*
2
+ IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
3
+ http://code.google.com/p/ie7-js/
4
+ http://www.opensource.org/licenses/mit-license.php
5
+ */
6
+ ;(function(){if(!IE7.loaded)return;var e=/\sie7_class\d+/g;IE7.CSS.extend({elements:{},handlers:[],reset:function(){this.removeEventHandlers();var b=this.elements;for(var a in b)b[a].runtimeStyle.cssText="";this.elements={};var b=IE7.Rule.elements;for(var a in b){with(b[a])className=className.replace(e,"")}IE7.Rule.elements={}},reload:function(){this.rules=[];this.getInlineStyles();this.screen.load();if(this.print)this.print.load();this.refresh();this.trash()},addRecalc:function(f,d,c,b){this.base(f,d,function(a){c(a);IE7.CSS.elements[a.uniqueID]=a},b)},recalc:function(){this.reset();this.base()},addEventHandler:function(c,b,a){c.attachEvent(b,a);this.handlers.push(arguments)},removeEventHandlers:function(){var a;while(a=this.handlers.pop()){a[0].detachEvent(a[1],a[2])}},getInlineStyles:function(){var d=document.getElementsByTagName("style"),c;for(var b=d.length-1;(c=d[b]);b--){if(!c.disabled&&!c.ie7){var a=c.cssText||c.innerHTML;this.styles.push(a);c.cssText=a}}},trash:function(){var c=document.styleSheets,b,a;for(a=0;a<c.length;a++){b=c[a];if(!b.ie7&&!b.cssText){b.cssText=b.cssText}}this.base()},getText:function(a){return a.cssText||this.base(a)}});IE7.CSS.addEventHandler(window,"onunload",function(){IE7.CSS.removeEventHandlers()});IE7.Rule.elements={};IE7.Rule.prototype.extend({add:function(a){this.base(a);IE7.Rule.elements[a.uniqueID]=a}});if(IE7.PseudoElement){IE7.PseudoElement.hash={};IE7.PseudoElement.prototype.extend({create:function(b){var a=this.selector+":"+b.uniqueID;if(!IE7.PseudoElement.hash[a]){IE7.PseudoElement.hash[a]=true;this.base(b)}}})}IE7.HTML.extend({elements:{},addRecalc:function(c,b){this.base(c,function(a){if(!this.elements[a.uniqueID]){b(a);this.elements[a.uniqueID]=a}})}});document.recalc=function(a){if(IE7.CSS.screen){if(a)IE7.CSS.reload();IE7.recalc()}}})();
@@ -0,0 +1,36 @@
1
+
2
+ /* ---------------------------------------------------------------------
3
+
4
+ Squish some IE bugs!
5
+
6
+ Some of these bug fixes may have adverse effects so they are
7
+ not included in the standard library. Add your own if you want.
8
+
9
+ --------------------------------------------------------------------- */
10
+
11
+ // NOTE: IE7.Layout.boxSizing is the same as the "Holly Hack"
12
+
13
+ if (IE7.loaded && IE7.appVersion < 7) {
14
+
15
+ // "doubled margin" bug
16
+ // http://www.positioniseverything.net/explorer/doubled-margin.html
17
+ IE7.CSS.addFix(/(float\s*:\s*(left|right))/, "display:inline;$1");
18
+
19
+ // "peekaboo" bug
20
+ // http://www.positioniseverything.net/explorer/peekaboo.html
21
+ if (IE7.appVersion >= 6) IE7.CSS.addRecalc("float", "(left|right)", function(element) {
22
+ IE7.Layout.boxSizing(element.parentElement);
23
+ // "doubled margin" bug
24
+ element.style.display = "inline";
25
+ });
26
+
27
+ // "unscrollable content" bug
28
+ // http://www.positioniseverything.net/explorer/unscrollable.html
29
+ IE7.CSS.addRecalc("position", "absolute|fixed", function(element) {
30
+ if (element.offsetParent && element.offsetParent.currentStyle.position === "relative")
31
+ IE7.Layout.boxSizing(element.offsetParent);
32
+ });
33
+ }
34
+
35
+ //# // get rid of Microsoft's pesky image toolbar
36
+ //# document.write('<meta http-equiv="imagetoolbar" content="no">');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pie-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -111,9 +111,15 @@ files:
111
111
  - pie-rails.gemspec
112
112
  - spec/pie-rails_spec.rb
113
113
  - spec/spec_helper.rb
114
+ - vendor/assets/javascripts/IE7.js
115
+ - vendor/assets/javascripts/IE8.js
116
+ - vendor/assets/javascripts/IE9.js
114
117
  - vendor/assets/javascripts/PIE.htc
115
118
  - vendor/assets/javascripts/PIE.js
119
+ - vendor/assets/javascripts/blank.gif
116
120
  - vendor/assets/javascripts/boxsizing.htc
121
+ - vendor/assets/javascripts/ie7-recalc.js
122
+ - vendor/assets/javascripts/ie7-squish.js
117
123
  - vendor/assets/javascripts/jquery.text-overflow.js
118
124
  - vendor/assets/javascripts/jquery.text-overflow.min.js
119
125
  - vendor/assets/javascripts/jquery.textshadow.js
@@ -133,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
139
  version: '0'
134
140
  segments:
135
141
  - 0
136
- hash: -1589924178906212531
142
+ hash: 1455951843633824950
137
143
  required_rubygems_version: !ruby/object:Gem::Requirement
138
144
  none: false
139
145
  requirements: