diff options
-rw-r--r-- | app/template-html.lsp | 3 | ||||
-rw-r--r-- | www/Makefile | 2 | ||||
-rw-r--r-- | www/static/IE8.js | 2 | ||||
-rw-r--r-- | www/static/blank.gif | bin | 0 -> 48 bytes |
4 files changed, 7 insertions, 0 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp index 28f8aac..dbbe07f 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -13,6 +13,9 @@ Content-Type: text/html <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<!--[if lt IE 8]> +<script src="/static/IE8.js" type="text/javascript"></script> +<![endif]--> <title><?= pageinfo.hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action ?></title> <link rel="stylesheet" type="text/css" href=<?= "/"..pageinfo.skin.."/"..pageinfo.skin..".css" ?> "> </head> diff --git a/www/Makefile b/www/Makefile index 0a14df4..48053ce 100644 --- a/www/Makefile +++ b/www/Makefile @@ -5,6 +5,8 @@ WWW_DIST=cgi-bin/acf\ index.html\ sample.html\ static/alpine.jpg\ + static/IE8.js\ + static/blank.gif\ static/h1.png\ static/h2.png\ static/h3.png\ diff --git a/www/static/IE8.js b/www/static/IE8.js new file mode 100644 index 0000000..87ac4d7 --- /dev/null +++ b/www/static/IE8.js @@ -0,0 +1,2 @@ +/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */ +(function(){IE7={toString:function(){return"IE7 version 2.0 (beta)"}};var u=K();var v=/ie7_debug/.test(top.location.search);var w=IE7.appVersion=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];var x=document.compatMode!="CSS1Compat";var y,z,A;var B="!";var C=/^[\w\.]+[^:]*$/;function D(a,b){if(C.test(a))a=(b||"")+a;return a};function E(a,b){a=D(a,b);return a.slice(0,a.lastIndexOf("/")+1)};var F=document.scripts[document.scripts.length-1];try{eval(F.innerHTML)}catch(e){}var G=E(F.src);try{var H=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}var I={};function J(a,b){try{a=D(a,b);if(!I[a]){H.open("GET",a,false);H.send();if(H.status==0||H.status==200){I[a]=H.responseText}}}catch(e){}finally{return I[a]||""}};if(w<5.5){undefined=u();if("".replace(/^/,String)){var L=/(g|gi)$/;var M=String.prototype.replace;String.prototype.replace=function(a,b){if(typeof b=="function"){if(a&&a.constructor==RegExp){var c=a;var d=c.global;if(d==null)d=L.test(c);if(d)c=new RegExp(c.source)}else{c=new RegExp(bj(a))}var e,f=this,g="";while(f&&(e=c.exec(f))){g+=f.slice(0,e.index)+b.apply(this,e);f=f.slice(e.index+e[0].length);if(!d)break}return g+f}return M.apply(this,arguments)}}B="HTML:!";Array.prototype.pop=function(){if(this.length){var i=this[this.length-1];this.length--;return i}return undefined};Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i]}return this.length};var N=this;Function.prototype.apply=function(o,a){if(o===undefined)o=N;else if(o==null)o=window;else if(typeof o=="string")o=new String(o);else if(typeof o=="number")o=new Number(o);else if(typeof o=="boolean")o=new Boolean(o);if(arguments.length==1)a=[];else if(a[0]&&a[0].writeln)a[0]=a[0].documentElement.document||a[0];var $="#ie7_apply",r;o[$]=this;switch(a.length){case 0:r=o[$]();break;case 1:r=o[$](a[0]);break;case 2:r=o[$](a[0],a[1]);break;case 3:r=o[$](a[0],a[1],a[2]);break;case 4:r=o[$](a[0],a[1],a[2],a[3]);break;case 5:r=o[$](a[0],a[1],a[2],a[3],a[4]);break;default:var b=[],i=a.length-1;do b[i]="a["+i+"]";while(i--);eval("r=o[$]("+b+")")}if(typeof o.valueOf=="function"){delete o[$]}else{o[$]=undefined;if(r&&r.writeln)r=r.documentElement.document||r}return r};Function.prototype.call=function(o){return this.apply(o,O.apply(arguments,[1]))};ct+="address,blockquote,body,dd,div,dt,fieldset,form,"+"frame,frameset,h1,h2,h3,h4,h5,h6,iframe,noframes,object,p,"+"hr,applet,center,dir,menu,pre,dl,li,ol,ul{display:block}"}var O=Array.prototype.slice;var P=/%([1-9])/g;var R=/^\s\s*/;var S=/\s\s*$/;var T=/([\/()[\]{}|*+-.,^$?\\])/g;var U=/\bbase\b/;var V=["constructor","toString"];var W;function X(){};X.extend=function(a,b){W=true;var c=new this;be(c,a);W=false;var d=c.constructor;function e(){if(!W)d.apply(this,arguments)};c.constructor=e;e.extend=arguments.callee;be(e,b);e.prototype=c;return e};X.prototype.extend=function(a){return be(this,a)};var Y="#";var Z="~";var ba=/\\./g;var bb=/\(\?[:=!]|\[[^\]]+\]/g;var bc=/\(/g;var bd=X.extend({constructor:function(a){this[Z]=[];this.merge(a)},exec:function(f,g){f+='';if(arguments.length==1){var h=this;var j=this[Z];g=function(a){if(a){var b,c=1,i=0;while((b=h[Y+j[i++]])){var d=c+b.length+1;if(arguments[c]){var e=b.replacement;switch(typeof e){case"function":return e.apply(h,O.call(arguments,c,d));case"number":return arguments[c+e];default:return e}}c=d}}return""}}return f.replace(new RegExp(this,this.ignoreCase?"gi":"g"),g)},add:function(a,b){if(a instanceof RegExp){a=a.source}if(!this[Y+a])this[Z].push(String(a));this[Y+a]=new bd.Item(a,b)},merge:function(a){for(var i in a)this.add(i,a[i])},toString:function(){return"("+this[Z].join(")|(")+")"}},{IGNORE:"$0",Item:X.extend({constructor:function(a,b){a=a instanceof RegExp?a.source:String(a);if(typeof b=="number")b=String(b);else if(b==null)b="";if(typeof b=="string"&&/\$(\d+)/.test(b)){if(/^\$\d+$/.test(b)){b=parseInt(b.slice(1))}else{var Q=/'/.test(b.replace(/\\./g,""))?'"':"'";b=b.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\$(\d+)/g,Q+"+(arguments[$1]||"+Q+Q+")+"+Q);b=new Function("return "+Q+b.replace(/(['"])\1\+(.*)\+\1\1$/,"$1")+Q)}}this.length=bd.count(a);this.replacement=b;this.toString=K(a)}}),count:function(a){a=String(a).replace(ba,"").replace(bb,"");return bi(a,bc).length}});function be(a,b){if(a&&b){if(arguments.length>2){var c=b;b={};b[c]=arguments[2]}var d=(typeof b=="function"?Function:Object).prototype;var i=V.length,c;if(W)while(c=V[--i]){var e=b[c];if(e!=d[c]){if(U.test(e)){bf(a,c,e)}else{a[c]=e}}}for(c in b)if(d[c]===undefined){var e=b[c];if(a[c]&&typeof e=="function"&&U.test(e)){bf(a,c,e)}else{a[c]=e}}}return a};function bf(c,d,e){var f=c[d];c[d]=function(){var a=this.base;this.base=f;var b=e.apply(this,arguments);this.base=a;return b}};function bg(a,b){if(!b)b=a;var c={};for(var i in a)c[i]=b[i];return c};function bh(c){var d=arguments;var e=new RegExp("%([1-"+arguments.length+"])","g");return String(c).replace(e,function(a,b){return b<d.length?d[b]:a})};function bi(a,b){return String(a).match(b)||[]};function bj(a){return String(a).replace(T,"\\$1")};function bk(a){return String(a).replace(R,"").replace(S,"")};function K(k){return function(){return k}};var bl=new bd({Width:"Height",width:"height",Left:"Top",left:"top",Right:"Bottom",right:"bottom",X:"Y"});function bm(a){return bl.exec(a)};var bn=X.extend({constructor:function(){this.fixes=[];this.recalcs=[]},init:u});function bo(){if(/ie7_off/.test(top.location.search)||w<5)return;y=document.documentElement;z=document.body;IE7._0=A=x?z:y;if(x)cO();IE7.CSS.init();IE7.HTML.init();IE7.HTML.apply();IE7.CSS.apply();br()};var bp=[];function bq(a){bp.push(a)};function br(){IE7.HTML.recalc();IE7.CSS.recalc();for(var i=0;i<bp.length;i++)bp[i]()};var bs=bd.extend({ignoreCase:true});function bt(a,b,c){if(!bP[a]){bK=[];var d="";var e=bQ.escape(a).split(",");for(var i=0;i<e.length;i++){bM=bL=bN=0;bO=e.length>1?2:0;var f=bQ.exec(e[i])||"if(0){";if(bM){f+=bh("if(e%1.nodeName!='!'){",bL)}var g=bO>1?bH:"";f+=bh(g+bI,bL);f+=Array(bi(f,/\{/g).length+1).join("}");d+=f}eval(bh(bJ,bK)+bQ.unescape(d)+"return s?null:r}");bP[a]=_1}return bP[a](b||document,c)};var bu=w<6;IE7._2=1;IE7._3=function(a,b){var c=a.all[b]||null;if(!c||c.id==b)return c;for(var i=0;i<c.length;i++){if(c[i].id==b)return c[i]}return null};var bv=/^(href|src)$/;var bw={"class":"className","for":"htmlFor"};IE7._4=function(a,b){if(b=="src"&&a.pngSrc)return a.pngSrc;var c=bu?(a.attributes[b]||a.attributes[bw[b.toLowerCase()]]):a.getAttributeNode(b);if(c&&(c.specified||b=="value")){if(bv.test(b)){return a.getAttribute(b,2)}else if(b=="style"){return a.style.cssText}else{return c.nodeValue}}return null};var bx="colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,encType,maxLength,readOnly,longDesc";be(bw,bg(bx.toLowerCase().split(","),bx.split(",")));IE7._5=function(a){while(a&&(a=a.nextSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};IE7._6=function(a){while(a&&(a=a.previousSibling)&&(a.nodeType!=1||a.nodeName=="!"))continue;return a};var by=/([\s>+~,]|[^(]\+|^)([#.:\[])/g,bz=/(^|,)([^\s>+~])/g,bA=/\s*([\s>+~(),]|^|$)\s*/g,bB=/\s\*\s/g;var bC=bd.extend({constructor:function(a){this.base(a);this.cache={};this.sorter=new bd;this.sorter.add(/:not\([^)]*\)/,bd.IGNORE);this.sorter.add(/([ >](\*|[\w-]+))([^: >+~]*)(:\w+-child(\([^)]+\))?)([^: >+~]*)/,"$1$3$6$4")},ignoreCase:true,escape:function(a){return this.optimise(this.format(a))},format:function(a){return a.replace(bA,"$1").replace(bz,"$1 $2").replace(by,"$1*$2")},optimise:function(a){return this.sorter.exec(a.replace(bB,">* "))},parse:function(a){return this.cache[a]||(this.cache[a]=this.unescape(this.exec(this.escape(a))))},unescape:function(a){return bZ(a)}});var bD={"":"%1!=null","=":"%1=='%2'","~=":/(^| )%1( |$)/,"|=":/^%1(-|$)/,"^=":/^%1/,"$=":/%1$/,"*=":/%1/};var bE={"first-child":"!IE7._6(e%1)","link":"e%1.currentStyle['ie7-link']=='link'","visited":"e%1.currentStyle['ie7-link']=='visited'"};var bF="var p%2=0,i%2,e%2,n%2=e%1.";var bG="e%1.sourceIndex";var bH="var g="+bG+";if(!p[g]){p[g]=1;";var bI="r[r.length]=e%1;if(s)return e%1;";var bJ="var _1=function(e0,s){IE7._2++;var r=[],p={},reg=[%1],d=document;";var bK;var bL;var bM;var bN;var bO;var bP={};var bQ=new bC({" (\\*|[\\w-]+)#([\\w-]+)":function(a,b,c){bM=false;var d="var e%2=IE7._3(d,'%4');if(e%2&&";if(b!="*")d+="e%2.nodeName=='%3'&&";d+="e%1==d||e%1.contains(e%2)){";if(bN)d+=bh("i%1=n%1.length;",bN);return bh(d,bL++,bL,b.toUpperCase(),c)}," (\\*|[\\w-]+)":function(a,b){bO++;bM=b=="*";var c=bF;c+=(bM&&bu)?"all":"getElementsByTagName('%3')";c+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";return bh(c,bL++,bN=bL,b.toUpperCase())},">(\\*|[\\w-]+)":function(a,b){var c=bN;bM=b=="*";var d=bF;d+=c?"children":"childNodes";if(!bM&&c)d+=".tags('%3')";d+=";for(i%2=0;(e%2=n%2[i%2]);i%2++){";if(bM){d+="if(e%2.nodeType==1){";bM=bu}else{if(!c)d+="if(e%2.nodeName=='%3'){"}return bh(d,bL++,bN=bL,b.toUpperCase())},"\\+(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;c+="e%1=IE7._5(e%1);if(e%1";if(b!="*")c+="&&e%1.nodeName=='%2'";c+="){";return bh(c,bL,b.toUpperCase())},"~(\\*|[\\w-]+)":function(a,b){var c="";if(bM)c+="if(e%1.nodeName!='!'){";bM=false;bO=2;c+="while(e%1=e%1.nextSibling){if(e%1.ie7_adjacent==IE7._2)break;if(";if(b=="*"){c+="e%1.nodeType==1";if(bu)c+="&&e%1.nodeName!='!'"}else c+="e%1.nodeName=='%2'";c+="){e%1.ie7_adjacent=IE7._2;";return bh(c,bL,b.toUpperCase())},"#([\\w-]+)":function(a,b){bM=false;var c="if(e%1.id=='%2'){";if(bN)c+=bh("i%1=n%1.length;",bN);return bh(c,bL,b)},"\\.([\\w-]+)":function(a,b){bM=false;bK.push(new RegExp("(^|\\s)"+bj(b)+"(\\s|$)"));return bh("if(e%1.className&®[%2].test(e%1.className)){",bL,bK.length-1)},"\\[([\\w-]+)\\s*([^=]?=)?\\s*([^\\]]*)\\]":function(a,b,c,d){var e=bw[b]||b;if(c){var f="e%1.getAttribute('%2',2)";if(!bv.test(b)){f="e%1.%3||"+f}b=bh("("+f+")",bL,b,e)}else{b=bh("IE7._4(e%1,'%2')",bL,b)}var g=bD[c||""];if(g&&g.source){bK.push(new RegExp(bh(g.source,bj(bQ.unescape(d)))));g="reg[%2].test(%1)";d=bK.length-1}return"if("+bh(g,b,d)+"){"},":([\\w-]+)(\\(([^)]+)\\))?":function(a,b,c,d){return"if("+bh(bE[b]||"false",bL,d||"")+"){"}});var bR=/'/g,bS=/^\x01/;var bT=[];var bU=new bs({"<!\\-\\-|\\-\\->":"","\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\/":"","@(namespace|import)[^;\\n]+[;\\n]":"","'(\\\\.|[^'\\\\])*'":bW,'"(\\\\.|[^"\\\\])*"':bW,"\\s+":" "});function bV(a){return bU.exec(a)};function bW(c){return"\x01"+bT.push(c.replace(/\\([\da-fA-F]{1,4})/g,function(a,b){return"\\u"+"0000".slice(b.length)+a}).slice(1,-1).replace(bR,"\\'"))};function bX(a){return bS.test(a)?bT[a.slice(1)-1]:a};var bY=new bs({"\\x01(\\d+)":function(a,b){return bT[b-1]}});function bZ(a){return bY.exec(a)};var ca=[];function cb(a){bq(a);cc(window,"onresize",a)};function cc(a,b,c){a.attachEvent(b,c);ca.push(arguments)};function cd(a,b,c){try{a.detachEvent(b,c)}catch(ignore){}};cc(window,"onunload",function(){var a;while(a=ca.pop()){cd(a[0],a[1],a[2])}});function ce(a,b,c){if(!a.elements)a.elements={};if(c)a.elements[b.uniqueID]=b;else delete a.elements[b.uniqueID];return c};cc(window,"onbeforeprint",function(){if(!IE7.CSS.print)new cv("print");IE7.CSS.print.recalc()});var cf=/^\d+(px)?$/i;var cg=/^\d+%$/;var ch=function(a,b){if(cf.test(b))return parseInt(b);var c=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b||0;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return b};function ci(a){var b=document.createElement(a||"object");b.style.cssText="position:absolute;padding:0;display:block;border:none;clip:rect(0 0 0 0);left:-9999";b.ie7_anon=true;return b};var cj="ie7-";function ck(a){return a.currentStyle["ie7-position"]=="fixed"};function cl(a,b){return a.currentStyle[cj+b]||a.currentStyle[b]};function cm(a,b,c){if(a.currentStyle[cj+b]==null){a.runtimeStyle[cj+b]=a.currentStyle[b]}a.runtimeStyle[b]=c};var cn=/a(#[\w-]+)?(\.[\w-]+)?:(hover|active)/i;var co=/\s*\{\s*/,cp=/\s*\}\s*/,cq=/\s*\,\s*/;var cr=/(.*)(:first-(line|letter))/;var cs=/UNKNOWN|([:.])\w+\1/;var ct=":link{ie7-link:link}:visited{ie7-link:visited}";var cu=document.styleSheets;IE7.CSS=new(bn.extend({parser:new bs,screen:"",print:"",styles:[],rules:[],pseudoClasses:w<7?"first\\-child":"",dynamicPseudoClasses:{toString:function(){var a=[];for(var b in this)a.push(b);return a.join("|")}},init:function(){var a="^\x01$";var b=[];if(this.pseudoClasses)b.push(this.pseudoClasses);var c=this.dynamicPseudoClasses.toString();if(c)b.push(c);b=b.join("|");var d=w<7?["[>+~[(]|([:.])\\w+\\1"]:[];if(b)d.push(":("+b+")");this.UNKNOWN=new RegExp(d.join("|")||a,"i");var e=w<7?["\\[[^\\]]+\\]|[^\\s(\\[]+\\s*[+~]"]:[];var f=e.concat();if(b)f.push(":("+b+")");cx.COMPLEX=new RegExp(f.join("|")||a,"gi");if(c)e.push(":("+c+")");cy.COMPLEX=new RegExp(e.join("|")||a,"gi");cy.MATCH=new RegExp(c?"(.*):("+c+")(.*)":a,"i");this.createStyleSheet();this.refresh()},refresh:function(){this.styleSheet.cssText=ct+this.screen+this.print},getInlineStyles:function(){var a=document.getElementsByTagName("style"),b;for(var i=a.length-1;(b=a[i]);i--){if(!b.disabled&&!b.ie7){this.styles.push(b.innerHTML)}}},apply:function(){this.getInlineStyles();new cv("screen");this.trash()},addFix:function(a,b){this.parser.add(a,b)},recalc:function(){this.screen.recalc();var a=/ie7_recalc\d+/g;var b=ct.match(/[{,]/g).length;var c=b+(this.screen.cssText.match(/\{/g)||"").length;var d=this.styleSheet.rules,e;var f,g,h,l,i,j,k,m;for(i=b;i<c;i++){e=d[i];if(e&&(f=e.style.cssText.match(a))){h=bt(e.selectorText);if(h.length)for(j=0;j<f.length;j++){m=f[j];g=IE7.CSS.recalcs[m.slice(10)][2];for(k=0;(l=h[k]);k++){if(l.currentStyle[m])g(l)}}}}},addRecalc:function(d,e,f,g){e=new RegExp("([{;\\s])"+d+"\\s*:\\s*"+e+"[^;}]*");var h=this.recalcs.length;if(g)g=d+":"+g;this.addFix(e,function(a,b,c){return(g?b+g:a)+";ie7-"+a.slice(1)+";ie7_recalc"+h+":1"});this.recalcs.push(arguments);return h},getText:function(a,b){var c=a.cssText;if(H&&cs.test(c))c=J(a.href,b)||c;return c},createStyleSheet:function(){this.styleSheet=document.createStyleSheet();this.styleSheet.ie7=true;this.styleSheet.owningElement.ie7=true;this.styleSheet.cssText=ct},trash:function(){for(var i=0;i<cu.length;i++){if(!cu[i].ie7&&cu[i].cssText){cu[i].cssText=""}}}}));var cv=X.extend({constructor:function(a){this.media=a;this.load();IE7.CSS[a]=this;IE7.CSS.refresh()},createRule:function(a,b){if(IE7.CSS.UNKNOWN.test(a)){var c;if(cw&&(c=a.match(cw.MATCH))){return new cw(c[1],c[2],b)}else if(c=a.match(cy.MATCH)){if(!cn.test(c)||cy.COMPLEX.test(c)){return new cy(a,c[1],c[2],c[3],b)}}else return new cx(a,b)}return a+" {"+b+"}"},load:function(){this.cssText="";this.getText();this.parse();this.cssText=bZ(this.cssText);I={}},getText:function(){var f=[].concat(IE7.CSS.styles);var g=/@media\s+([^{]*)\{([^@]+\})\s*\}/gi;var h=/\ball\b|^$/i,j=/\bscreen\b/i,k=/\bprint\b/i;function l(a,b){m.value=b;return a.replace(g,m)};function m(a,b,c){b=n(b);switch(b){case"screen":case"print":if(b!=m.value)return"";case"all":return c}return""};function n(a){if(h.test(a))return"all";else if(j.test(a))return(k.test(a))?"all":"screen";else if(k.test(a))return"print"};var o=this;function p(a,b,c,d){var e="";if(!d){c=n(a.media);d=0}if(c=="all"||c==o.media){if(d<3){for(var i=0;i<a.imports.length;i++){e+=p(a.imports[i],E(a.href,b),c,d+1)}}e+=bV(a.href?r(a,b):f.pop()||"");e=l(e,o.media)}return e};var q={};function r(a,b){var c=D(a.href,b);if(q[c])return"";q[c]=(a.disabled)?"":t(IE7.CSS.getText(a,b),E(a.href,b));return q[c]};var s=/(url\s*\(\s*['"]?)([\w\.]+[^:\)]*['"]?\))/gi;function t(a,b){return a.replace(s,"$1"+b.slice(0,b.lastIndexOf("/")+1)+"$2")};for(var i=0;i<cu.length;i++){if(!cu[i].disabled&&!cu[i].ie7){this.cssText+=p(cu[i])}}},parse:function(){this.cssText=IE7.CSS.parser.exec(this.cssText);var a=IE7.CSS.rules.length;var b=this.cssText.split(cp),c;var d,e,i,j;for(i=0;i<b.length;i++){c=b[i].split(co);d=c[0].split(cq);e=c[1];for(j=0;j<d.length;j++){d[j]=e?this.createRule(d[j],e):""}b[i]=d.join("\n")}this.cssText=b.join("\n");this.rules=IE7.CSS.rules.slice(a)},recalc:function(){var a,i;for(i=0;(a=this.rules[i]);i++)a.recalc()},toString:function(){return"@media "+this.media+"{"+this.cssText+"}"}});var cw;var cx=X.extend({constructor:function(a,b){this.id=IE7.CSS.rules.length;this.className=cx.PREFIX+this.id;a=(a).match(cr)||a||"*";this.selector=a[1]||a;this.selectorText=cx.simple(this.selector)+"."+this.className+(a[2]||"");this.cssText=b;this.MATCH=new RegExp("\\s"+this.className+"(\\s|$)","g");IE7.CSS.rules.push(this);this.init()},init:u,add:function(a){a.className+=" "+this.className},remove:function(a){a.className=a.className.replace(this.MATCH,"$1")},recalc:function(){var a=bt(this.selector);for(i=0;i<a.length;i++)this.add(a[i])},toString:function(){return this.selectorText+" {"+this.cssText+"}"}},{PREFIX:"ie7_class",CHILD:/>/g,simple:function(a){return a.replace(this.CHILD," ").replace(this.COMPLEX,"").replace()}});var cy=cx.extend({constructor:function(a,b,c,d,e){this.attach=b||"*";this.dynamicPseudoClass=IE7.CSS.dynamicPseudoClasses[c];this.target=d;this.base(a,e)},recalc:function(){var a=bt(this.attach),b;for(var i=0;b=a[i];i++){var c=this.target?bt(this.target,b):[b];if(c.length)this.dynamicPseudoClass.apply(b,c,this)}}});var cz=X.extend({constructor:function(a,b){this.name=a;this.apply=b;this.instances={};IE7.CSS.dynamicPseudoClasses[a]=this},register:function(a){var b=a[2];a.id=b.id+a[0].uniqueID;if(!this.instances[a.id]){var c=a[1],j;for(j=0;j<c.length;j++)b.add(c[j]);this.instances[a.id]=a}},unregister:function(a){if(this.instances[a.id]){var b=a[2];var c=a[1],j;for(j=0;j<c.length;j++)b.remove(c[j]);delete this.instances[a.id]}}});if(w<7){var cA=new cz("hover",function(a){var b=arguments;cc(a,w<5.5?"onmouseover":"onmouseenter",function(){cA.register(b)});cc(a,w<5.5?"onmouseout":"onmouseleave",function(){cA.unregister(b)})});cc(document,"onmouseup",function(){var a=cA.instances;for(var i in a)if(!a[i][0].contains(event.srcElement))cA.unregister(a[i])})}var cB=w<5.5?"HTML:":"";ct+="h1{font-size:2em}h2{font-size:1.5em;}h3{font-size:1.17em;}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.67em}";IE7.HTML=new(bn.extend({fixed:{},init:u,addFix:function(){this.fixes.push(arguments)},apply:function(){for(var i=0;i<this.fixes.length;i++){var a=bt(this.fixes[i][0]);var b=this.fixes[i][1]||this.fixElement;for(var j=0;j<a.length;j++)b(a[j])}},addRecalc:function(){this.recalcs.push(arguments)},fixElement:function(a){var b=document.createElement("<"+cB+a.outerHTML.slice(1));if(a.outerHTML.slice(-2)!="/>"){var c="</"+a.tagName+">",d;while((d=a.nextSibling)&&d.outerHTML!=c){b.appendChild(d)}if(d)d.removeNode()}a.parentNode.replaceChild(b,a)},recalc:function(){for(var i=0;i<this.recalcs.length;i++){var a=bt(this.recalcs[i][0]);var b=this.recalcs[i][1],c;var d=Math.pow(2,i);for(var j=0;(c=a[j]);j++){var e=c.uniqueID;if((this.fixed[e]&d)==0){c=b(c)||c;this.fixed[e]|=d}}}}}));if(w<7){IE7.HTML.addFix("abbr");IE7.HTML.addRecalc("label",function(a){if(!a.htmlFor){var b=bt("input,textarea",a,true);if(b){cc(a,"onclick",function(){b.click()})}}})}var cC="[.\\d]";new function(_){var layout=IE7.Layout=this;ct+="*{boxSizing:content-box}";IE7.hasLayout=w<5.5?function(a){return a.clientWidth}:function(a){return a.currentStyle.hasLayout};layout.boxSizing=function(a){if(!IE7.hasLayout(a)){a.style.height="0cm";if(a.currentStyle.verticalAlign=="auto")a.runtimeStyle.verticalAlign="top";collapseMargins(a)}};function collapseMargins(a){if(a!=A&&a.currentStyle.position!="absolute"){collapseMargin(a,"marginTop");collapseMargin(a,"marginBottom")}};function collapseMargin(a,b){if(!a.runtimeStyle[b]){var c=a.parentElement;if(c&&IE7.hasLayout(c)&&!IE7[b=="marginTop"?"_6":"_5"](a))return;var d=bt(">*:"+(b=="marginTop"?"first":"last")+"-child",a,true);if(d&&d.currentStyle.styleFloat=="none"&&IE7.hasLayout(d)){collapseMargin(d,b);margin=_7(a,a.currentStyle[b]);childMargin=_7(d,d.currentStyle[b]);if(margin<0||childMargin<0){a.runtimeStyle[b]=margin+childMargin}else{a.runtimeStyle[b]=Math.max(childMargin,margin)}d.runtimeStyle[b]="0px"}}};function _7(a,b){return b=="auto"?0:ch(a,b)};var UNIT=/^[.\d][\w%]*$/,AUTO=/^(auto|0cm)$/;var applyWidth,applyHeight;IE7.Layout.borderBox=function(a){applyWidth(a);applyHeight(a)};var fixWidth=function(e){applyWidth=function(a){if(!cg.test(a.currentStyle.width))f(a);collapseMargins(a)};function f(a,b){if(!a.runtimeStyle.fixedWidth){if(!b)b=a.currentStyle.width;a.runtimeStyle.fixedWidth=(UNIT.test(b))?Math.max(0,j(a,b)):b;cm(a,"width",a.runtimeStyle.fixedWidth)}};function g(a){if(!ck(a)){var b=a.offsetParent;while(b&&!IE7.hasLayout(b))b=b.offsetParent}return(b||A).clientWidth};function h(a,b){if(cg.test(b))return parseInt(parseFloat(b)/100*g(a));return ch(a,b)};var j=function(a,b){var c=a.currentStyle["box-sizing"]=="border-box";var d=0;if(x&&!c)d+=k(a)+l(a,"padding");else if(!x&&c)d-=k(a)+l(a,"padding");return h(a,b)+d};function k(a){return a.offsetWidth-a.clientWidth};function l(a,b){return h(a,a.currentStyle[b+"Left"])+h(a,a.currentStyle[b+"Right"])};ct+="*{minWidth:none;maxWidth:none;min-width:none;max-width:none}";layout.minWidth=function(a){if(a.currentStyle["min-width"]!=null){a.style.minWidth=a.currentStyle["min-width"]}if(ce(arguments.callee,a,a.currentStyle.minWidth!="none")){layout.boxSizing(a);f(a);m(a)}};eval("IE7.Layout.maxWidth="+String(layout.minWidth).replace(/min/g,"max"));function m(a){var b=a.getBoundingClientRect();var c=b.right-b.left;if(a.currentStyle.minWidth!="none"&&c<=j(a,a.currentStyle.minWidth)){a.runtimeStyle.width=j(a,a.currentStyle.minWidth)}else if(a.currentStyle.maxWidth!="none"&&c>=j(a,a.currentStyle.maxWidth)){a.runtimeStyle.width=j(a,a.currentStyle.maxWidth)}else{a.runtimeStyle.width=a.runtimeStyle.fixedWidth}};function n(a){if(ce(n,a,/^(fixed|absolute)$/.test(a.currentStyle.position)&&cl(a,"left")!="auto"&&cl(a,"right")!="auto"&&AUTO.test(cl(a,"width")))){o(a);IE7.Layout.boxSizing(a)}};IE7.Layout.fixRight=n;function o(a){var b=h(a,a.runtimeStyle._8||a.currentStyle.left);var c=g(a)-h(a,a.currentStyle.right)-b-l(a,"margin");if(parseInt(a.runtimeStyle.width)==c)return;a.runtimeStyle.width="";if(ck(a)||e||a.offsetWidth<c){if(!x)c-=k(a)+l(a,"padding");if(c<0)c=0;a.runtimeStyle.fixedWidth=c;cm(a,"width",c)}};var p=0;cb(function(){var i,a=(p<A.clientWidth);p=A.clientWidth;var b=layout.minWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.minWidth));if(a&&d)c.runtimeStyle.width="";if(a==d)m(c)}var b=layout.maxWidth.elements;for(i in b){var c=b[i];var d=(parseInt(c.runtimeStyle.width)==j(c,c.currentStyle.maxWidth));if(!a&&d)c.runtimeStyle.width="";if(a!=d)m(c)}for(i in n.elements)o(n.elements[i])});if(x&&window.IE7_BOX_MODEL!==false){IE7.CSS.addRecalc("width",cC,applyWidth)}if(w<7){IE7.CSS.addRecalc("min-width",cC,layout.minWidth);IE7.CSS.addRecalc("max-width",cC,layout.maxWidth);IE7.CSS.addRecalc("right",cC,n)}};eval("var fixHeight="+bm(fixWidth));fixWidth();fixHeight(true)};var cD=D("blank.gif",G);var cE="DXImageTransform.Microsoft.AlphaImageLoader";var cF="progid:"+cE+"(src='%1',sizingMethod='%2')";var cG=new RegExp((window.IE7_PNG_SUFFIX||"-trans.png")+"$","i");var cH=[];function cI(a){if(cG.test(a.src)){var b=new Image(a.width,a.height);b.onload=function(){a.width=b.width;a.height=b.height;b=null};b.src=a.src;a.pngSrc=a.src;cL(a)}};if(w>=5.5&&w<7){var cJ=/background(-image)?\s*:\s*([^\(};]*)url\(([^\)]+)\)([^;}]*)/;IE7.CSS.addFix(cJ,function(a,b,c,d,e){d=bX(d);return cG.test(d)?"filter:"+bh(cF,d,"crop")+";zoom:1;background"+b+":"+c+"none"+e:a});IE7.HTML.addRecalc("img,input",function(a){if(a.tagName=="INPUT"&&a.type!="image")return;cI(a);cc(a,"onpropertychange",function(){if(!cK&&event.propertyName=="src"&&a.src.indexOf(cD)==-1)cI(a)})});var cK=false;cc(window,"onbeforeprint",function(){cK=true;for(var i=0;i<cH.length;i++)cM(cH[i])});cc(window,"onafterprint",function(){for(var i=0;i<cH.length;i++)cL(cH[i]);cK=false})}function cL(a,b){var c=a.filters[cE];if(c){c.src=a.src;c.enabled=true}else{a.runtimeStyle.filter=bh(cF,a.src,b||"scale");cH.push(a)}a.src=cD};function cM(a){a.src=a.pngSrc;a.filters[cE].enabled=false};new function(_){if(w>=7)return;IE7.CSS.addRecalc("position","fixed",_9,"absolute");IE7.CSS.addRecalc("background(-attachment)?","[^};]*fixed",_10);var $viewport=x?"body":"documentElement";function _11(){if(z.currentStyle.backgroundAttachment!="fixed"){if(z.currentStyle.backgroundImage=="none"){z.runtimeStyle.backgroundRepeat="no-repeat";z.runtimeStyle.backgroundImage="url("+cD+")"}z.runtimeStyle.backgroundAttachment="fixed"}_11=u};var _12=ci("img");function _13(a){return a?ck(a)||_13(a.parentElement):false};function _14(a,b,c){setTimeout("document.all."+a.uniqueID+".runtimeStyle.setExpression('"+b+"','"+c+"')",0)};function _10(a){if(ce(_10,a,a.currentStyle.backgroundAttachment=="fixed"&&!a.contains(z))){_11();bgLeft(a);bgTop(a);_15(a)}};function _15(a){_12.src=a.currentStyle.backgroundImage.slice(5,-2);var b=a.canHaveChildren?a:a.parentElement;b.appendChild(_12);setOffsetLeft(a);setOffsetTop(a);b.removeChild(_12)};function bgLeft(a){a.style.backgroundPositionX=a.currentStyle.backgroundPositionX;if(!_13(a)){_14(a,"backgroundPositionX","(parseInt(runtimeStyle.offsetLeft)+document."+$viewport+".scrollLeft)||0")}};eval(bm(bgLeft));function setOffsetLeft(a){var b=_13(a)?"backgroundPositionX":"offsetLeft";a.runtimeStyle[b]=getOffsetLeft(a,a.style.backgroundPositionX)-a.getBoundingClientRect().left-a.clientLeft+2};eval(bm(setOffsetLeft));function getOffsetLeft(a,b){switch(b){case"left":case"top":return 0;case"right":case"bottom":return A.clientWidth-_12.offsetWidth;case"center":return(A.clientWidth-_12.offsetWidth)/2;default:if(cg.test(b)){return parseInt((A.clientWidth-_12.offsetWidth)*parseFloat(b)/100)}_12.style.left=b;return _12.offsetLeft}};eval(bm(getOffsetLeft));function _9(a){if(ce(_9,a,ck(a))){cm(a,"position","absolute");cm(a,"left",a.currentStyle.left);cm(a,"top",a.currentStyle.top);_11();IE7.Layout.fixRight(a);_16(a)}};function _16(a,b){positionTop(a,b);positionLeft(a,b,true);if(!a.runtimeStyle.autoLeft&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.right!="auto"){var c=A.clientWidth-getPixelWidth(a,a.currentStyle.right)-getPixelWidth(a,a.runtimeStyle._8)-a.clientWidth;if(a.currentStyle.marginRight=="auto")c=parseInt(c/2);if(_13(a.offsetParent))a.runtimeStyle.pixelLeft+=c;else a.runtimeStyle.shiftLeft=c}clipWidth(a);clipHeight(a)};function clipWidth(a){if(a.currentStyle.width!="auto"){var b=a.getBoundingClientRect();var c=a.offsetWidth-A.clientWidth+b.left-2;if(c>=0){c=Math.max(ch(a,a.currentStyle.width)-c,0);cm(a,"width",c)}}};eval(bm(clipWidth));function positionLeft(a,b){if(!b&&cg.test(a.currentStyle.width)){a.runtimeStyle.fixWidth=a.currentStyle.width}if(a.runtimeStyle.fixWidth){a.runtimeStyle.width=getPixelWidth(a,a.runtimeStyle.fixWidth)}if(b){if(!a.runtimeStyle.autoLeft)return}else{a.runtimeStyle.shiftLeft=0;a.runtimeStyle._8=a.currentStyle.left;a.runtimeStyle.autoLeft=a.currentStyle.right!="auto"&&a.currentStyle.left=="auto"}a.runtimeStyle.left="";a.runtimeStyle.screenLeft=getScreenLeft(a);a.runtimeStyle.pixelLeft=a.runtimeStyle.screenLeft;if(!b&&!_13(a.offsetParent)){_14(a,"pixelLeft","runtimeStyle.screenLeft+runtimeStyle.shiftLeft+document."+$viewport+".scrollLeft")}};eval(bm(positionLeft));function getScreenLeft(a){var b=a.offsetLeft,c=1;if(a.runtimeStyle.autoLeft){b=A.clientWidth-a.offsetWidth-getPixelWidth(a,a.currentStyle.right)}if(a.currentStyle.marginLeft!="auto"){b-=getPixelWidth(a,a.currentStyle.marginLeft)}while(a=a.offsetParent){if(a.currentStyle.position!="static")c=-1;b+=a.offsetLeft*c}return b};eval(bm(getScreenLeft));function getPixelWidth(a,b){return cg.test(b)?parseInt(parseFloat(b)/100*A.clientWidth):ch(a,b)};eval(bm(getPixelWidth));function _17(){var a=_10.elements;for(var i in a)_15(a[i]);a=_9.elements;for(i in a){_16(a[i],true);_16(a[i],true)}_18=0};var _18;cb(function(){if(!_18)_18=setTimeout(_17,0)})};var cN={backgroundColor:"transparent",backgroundImage:"none",backgroundPositionX:null,backgroundPositionY:null,backgroundRepeat:null,borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",borderLeftWidth:0,height:null,marginTop:0,marginBottom:0,marginRight:0,marginLeft:0,width:"100%"};IE7.CSS.addRecalc("overflow","visible",function(a){if(a.parentNode.ie7_wrapped)return;if(IE7.Layout&&a.currentStyle["max-height"]!="auto"){IE7.Layout.maxHeight(a)}if(a.currentStyle.marginLeft=="auto")a.style.marginLeft=0;if(a.currentStyle.marginRight=="auto")a.style.marginRight=0;var b=document.createElement(B);b.ie7_wrapped=a;for(var c in cN){b.style[c]=a.currentStyle[c];if(cN[c]!=null){a.runtimeStyle[c]=cN[c]}}b.style.display="block";b.style.position="relative";a.runtimeStyle.position="absolute";a.parentNode.insertBefore(b,a);b.appendChild(a)});function cO(){var e="xx-small,x-small,small,medium,large,x-large,xx-large".split(",");for(var i=0;i<e.length;i++){e[e[i]]=e[i-1]||"0.67em"}var f=/^\-/,g=/(em|ex)$/i;var h=/em$/i,j=/ex$/i;var k=ci();IE7.CSS.addFix(new RegExp("(font(-size)?\\s*:\\s*)([\\w\\-\\.]+)"),function(a,b,c,d){return b+(e[d]||d)});function l(a){var b=1;k.style.fontFamily=a.currentStyle.fontFamily;k.style.lineHeight=a.currentStyle.lineHeight;while(a!=z){var c=a.currentStyle["ie7-font-size"];if(c){if(h.test(c))b*=parseFloat(c);else if(cg.test(c))b*=(parseFloat(c)/100);else if(j.test(c))b*=(parseFloat(c)/2);else{k.style.fontSize=c;return 1}}a=a.parentElement}return b};ch=function(a,b){if(cf.test(b||0))return parseInt(b||0);var c=f.test(b)?-1:1;if(g.test(b))c*=l(a);k.style.width=(c<0)?b.slice(1):b;z.appendChild(k);b=c*k.offsetWidth;k.removeNode();return parseInt(b)};ct=ct.replace(/(font(-size)?\s*:\s*([^\s;}\/]*))/gi,"ie7-font-size:$3;$1");IE7.CSS.addFix(/cursor\s*:\s*pointer/,"cursor:hand");IE7.CSS.addFix(/display\s*:\s*list-item/,"display:block");function m(a){return ch(a,a.currentStyle.paddingLeft)+ch(a,a.currentStyle.paddingRight)};function n(a){if(w<5.5)IE7.Layout.boxSizing(a.parentElement);var b=a.parentElement;var c=b.offsetWidth-a.offsetWidth-m(b);var d=(a.currentStyle["ie7-margin"]&&a.currentStyle.marginRight=="auto")||a.currentStyle["ie7-margin-right"]=="auto";switch(b.currentStyle.textAlign){case"right":c=(d)?parseInt(c/2):0;a.runtimeStyle.marginRight=parseInt(c)+"px";break;case"center":if(d)c=0;default:if(d)c=parseInt(c/2);a.runtimeStyle.marginLeft=parseInt(c)+"px"}};IE7.CSS.addRecalc("margin(-left|-right)?","[^};]*auto",function(a){if(ce(n,a,a.parentElement&&a.currentStyle.display=="block"&&a.currentStyle.marginLeft=="auto"&&a.currentStyle.position!="absolute")){n(a)}});cb(function(){for(var i in n.elements){element=n.elements[i];element.runtimeStyle.marginLeft=element.runtimeStyle.marginRight="";n(element)}})};IE7.isEmpty=function(a){a=a.firstChild;while(a){if(a.nodeType==3||(a.nodeType==1&&a.nodeName!="!"))return false;a=a.nextSibling}return true};IE7._19=function(a,b){while(a&&!a.getAttribute("lang"))a=a.parentNode;return a&&new RegExp("^"+bj(b),"i").test(a.getAttribute("lang"))};function cP(c,d,e,f){f=/last/i.test(c)?f+"+1-":"";if(!isNaN(d))d="0n+"+d;else if(d=="even")d="2n";else if(d=="odd")d="2n+1";d=d.split("n");var a=d[0]?(d[0]=="-")?-1:parseInt(d[0]):1;var b=parseInt(d[1])||0;var g=a<0;if(g){a=-a;if(a==1)b++}var h=bh(a==0?"%3%7"+(f+b):"(%4%3-%2)%6%1%70%5%4%3>=%2",a,b,e,f,"&&","%","==");if(g)h="!("+h+")";return h};bE={"link":"e%1.currentStyle['ie7-link']=='link'","visited":"e%1.currentStyle['ie7-link']=='visited'","checked":"e%1.checked","contains":"e%1.innerText.indexOf('%2')!=-1","disabled":"e%1.isDisabled","empty":"IE7._20(e%1)","enabled":"e%1.disabled===false","first-child":"!IE7._6(e%1)","lang":"IE7._19(e%1,'%2')","last-child":"!IE7._5(e%1)","only-child":"!IE7._6(e%1)&&!IE7._5(e%1)","target":"e%1.id==location.hash.slice(1)","indeterminate":"e%1.indeterminate"};IE7._21=function(a){if(a.rows){a.ie7_length=a.rows.length;a.ie7_lookup="rowIndex"}else if(a.cells){a.ie7_length=a.cells.length;a.ie7_lookup="cellIndex"}else if(a.ie7_indexed!=IE7._2){var b=0;var c=a.firstChild;while(c){if(c.nodeType==1&&c.nodeName!="!"){c.ie7_index=++b}c=c.nextSibling}a.ie7_length=b;a.ie7_lookup="ie7_index"}a.ie7_indexed=IE7._2;return a};var cQ=bQ[Z];var cR=cQ[cQ.length-1];cQ.length--;bQ.merge({":not\\((\\*|[\\w-]+)?([^)]*)\\)":function(a,b,c){var d=(b&&b!="*")?bh("if(e%1.nodeName=='%2'){",bL,b.toUpperCase()):"";d+=bQ.exec(c);return"if(!"+d.slice(2,-1).replace(/\)\{if\(/g,"&&")+"){"},":nth(-last)?-child\\(([^)]+)\\)":function(a,b,c){bM=false;b=bh("e%1.parentNode.ie7_length",bL);var d="if(p%1!==e%1.parentNode)p%1=IE7._21(e%1.parentNode);";d+="var i=e%1[p%1.ie7_lookup];if(p%1.ie7_lookup!='ie7_index')i++;if(";return bh(d,bL)+cP(a,c,"i",b)+"){"}});cQ.push(cR);var cS="\\([^)]*\\)";if(IE7.CSS.pseudoClasses)IE7.CSS.pseudoClasses+="|";IE7.CSS.pseudoClasses+="before|after|last\\-child|only\\-child|empty|root|"+"not|nth\\-child|nth\\-last\\-child|contains|lang".split("|").join(cS+"|")+cS;var cT=new cz("focus",function(a){var b=arguments;cc(a,"onfocus",function(){cT.unregister(b);cT.register(b)});cc(a,"onblur",function(){cT.unregister(b)});if(a==document.activeElement){cT.register(b)}});var cU=new cz("active",function(a){var b=arguments;cc(a,"onmousedown",function(){cU.register(b)})});cc(document,"onmouseup",function(){var a=cU.instances;for(var i in a)cU.unregister(a[i])});var cV=new cz("checked",function(a){if(typeof a.checked!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="checked"){if(a.checked)cV.register(b);else cV.unregister(b)}});if(a.checked)cV.register(b)});var cW=new cz("enabled",function(a){if(typeof a.disabled!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="disabled"){if(!a.isDisabled)cW.register(b);else cW.unregister(b)}});if(!a.isDisabled)cW.register(b)});var cX=new cz("disabled",function(a){if(typeof a.disabled!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="disabled"){if(a.isDisabled)cX.register(b);else cX.unregister(b)}});if(a.isDisabled)cX.register(b)});var cY=new cz("indeterminate",function(a){if(typeof a.indeterminate!="boolean")return;var b=arguments;cc(a,"onpropertychange",function(){if(event.propertyName=="indeterminate"){if(a.indeterminate)cY.register(b);else cY.unregister(b)}});cc(a,"onclick",function(){cY.unregister(b)})});var cZ=new cz("target",function(a){var b=arguments;if(!a.tabIndex)a.tabIndex=0;cc(document,"onpropertychange",function(){if(event.propertyName=="activeElement"){if(a.id==location.hash.slice(1))cZ.register(b);else cZ.unregister(b)}});if(a.id==location.hash.slice(1))cZ.register(b)});var da=/^attr/;var db=/^url\s*\(\s*([^)]*)\)$/;var dc={before0:"beforeBegin",before1:"afterBegin",after0:"afterEnd",after1:"beforeEnd"};var cw=cx.extend({constructor:function(a,b,c){this.position=b;var d=c.match(cw.CONTENT),e,f;if(d){d=d[1];e=d.split(/\s+/);for(var i=0;(f=e[i]);i++){e[i]=da.test(f)?{attr:f.slice(5,-1)}:(f.charAt(0)=="'")?bX(f):bZ(f)}d=e}this.content=d;this.base(a,bZ(c))},init:function(){this.match=bt(this.selector);for(var i=0;i<this.match.length;i++){var a=this.match[i].runtimeStyle;if(!a[this.position])a[this.position]={cssText:""};a[this.position].cssText+=";"+this.cssText;if(this.content!=null)a[this.position].content=this.content}},recalc:function(){if(this.content==null)return;for(var i=0;i<this.match.length;i++){this.create(this.match[i])}},create:function(a){var b=a.runtimeStyle[this.position];if(b){var c=[].concat(b.content||"");for(var j=0;j<c.length;j++){if(typeof c[j]=="object"){c[j]=a.getAttribute(c[j].attr)}}c=c.join("");var d=c.match(db);var e="overflow:hidden;"+b.cssText.replace(/'/g,'"');var f=dc[this.position+Number(a.canHaveChildren)];var g='ie7_psuedo'+cw.count++;a.insertAdjacentHTML(f,bh(cw.ANON,this.className,g,e,d?"":c));if(d){var h=document.getElementById(g);h.src=bX(d[1]);cL(h,"crop")}a.runtimeStyle[this.position]=null}},toString:function(){return"."+this.className+"{display:inline}"}},{CONTENT:/content\s*:\s*([^;]*)(;|$)/,ANON:"<ie7:! class='ie7_anon %1' id=%2 style='%3'>%4</ie7:!>",MATCH:/(.*):(before|after).*/,count:0});bU.add(/::/,":");var dd=/^(submit|reset|button)$/;IE7.HTML.addRecalc("button,input",function(a){if(a.tagName=="BUTTON"){var b=a.outerHTML.match(/ value="([^"]*)"/i);a.runtimeStyle.value=(b)?b[1]:""}if(a.type=="submit"){cc(a,"onclick",function(){a.runtimeStyle.clicked=true;setTimeout("document.all."+a.uniqueID+".runtimeStyle.clicked=false",1)})}});IE7.HTML.addRecalc("form",function(b){cc(b,"onsubmit",function(){for(var a,i=0;a=b[i];i++){if(dd.test(a.type)&&!a.disabled&&!a.runtimeStyle.clicked){a.disabled=true;setTimeout("document.all."+a.uniqueID+".disabled=false",1)}else if(a.tagName=="BUTTON"&&a.type=="submit"){setTimeout("document.all."+a.uniqueID+".value='"+a.value+"'",1);a.value=a.runtimeStyle.value}}})});IE7.HTML.addRecalc("img",function(a){if(a.alt&&!a.title)a.title=""});IE7.CSS.addRecalc("border-spacing",cC,function(a){if(a.currentStyle.borderCollapse!="collapse"){a.cellSpacing=ch(a,a.currentStyle["border-spacing"])}});IE7.CSS.addRecalc("box-sizing","content-box",IE7.Layout.boxSizing);IE7.CSS.addRecalc("box-sizing","border-box",IE7.Layout.borderBox);IE7.CSS.addFix(/opacity\s*:\s*([\d.]+)/,function(a,b){return"zoom:1;filter:Alpha(opacity="+((b*100)||1)+")"});var de=/^image/i;IE7.HTML.addRecalc("object",function(a){if(de.test(a.type)){a.body.style.margin="0";a.body.style.padding="0";a.body.style.border="none";a.body.style.overflow="hidden";return a}});document.write("<script id=__ready defer src=//:><\/script>");document.all.__ready.onreadystatechange=function(){if(this.readyState=="complete"){this.removeNode();bo()}}})();
\ No newline at end of file diff --git a/www/static/blank.gif b/www/static/blank.gif Binary files differnew file mode 100644 index 0000000..a4fe2e6 --- /dev/null +++ b/www/static/blank.gif |