/* IE-CSS3.js v0.9.5b - (c) 2009 by Keith Clark, freely distributable under the terms of the MIT license. www.keithclark.co.uk/labs/ie-css3/ */ (function(){function G(){var a=location.hash.substring(1);o(p,function(b){k(b,l+"target",a!=""&&b.id==a)})}function w(){k(event.srcElement,l+"hover",event.type=="mouseenter")}function x(){k(event.srcElement,l+"focus",event.type=="focus")}function H(a){u(a,"disabled",true)}function I(a){u(a,"disabled",false,"enabled")}function J(a){u(a,"checked",true)}function u(a,b,d,c){if(a=a.nodeType?a:a.propertyName==b?a.srcElement:null)k(a,l+(c||b),a[b]===d)}function v(a,b,d){for(var c in b){a.attachEvent(c,b[c]);d&&b[c](a)}}function o(a,b){for(var d=a.length-1;d>=0;d--)b(a[d])}function y(a){return a.replace(K,"$1")}function z(a,b){if(/^https?:\/\//.test(a))return b.substring(0,b.indexOf("/",8))==a.substring(0,a.indexOf("/",8))?a:null;if(a.charAt(0)=="/")return b.substring(0,b.indexOf("/",8))+a;if(b.charAt(b.length-1)!="/")b=b.substring(0,b.lastIndexOf("/")+1);return b+a}function L(){if(window.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}return null}function q(a){try{return A(a)||[]}catch(b){return[]}}function k(a,b,d){var c=" "+a.className+" ",e=" "+b+" ";if(d){if(c.indexOf(e)>-1)return;a.className+=" "+b}else{if(c.indexOf(e)==-1)return;a.className=y(c.replace(e," "))}if(a.parentNode)a.parentNode.className+=""}function B(a){var b,d=[];m.open("GET",a,false);m.send();for(var c=M(m.status==200?m.responseText:""),e=0;e0?a[0].href:document.location.href,c=0;c0&&v(window,{onhashchange:G},true)}var W=/*@cc_on!@*/false,j=/MSIE ([\d])/.exec(navigator.userAgent),m=L();if(!(!W||!j||!m||(j=parseInt(j[1]))>8)){var Q=/\s*([a-zA-Z\.#@*:][\w\W]*?{[^{}]*(}|{[\w\W]*?}\s*}))/g,O=/@import\s*url\(\s*(["'])?(.*?)\1\s*\)[\w\W]*?;/g,N=/\/\*[^*]*\*+([^\/][^*]*\*+)*\//g,R=/^([\w\W]*?)\s*{\s*([\w\W]*?)\s*}$/,S=/[):\s]/g,T=/[(+]/g,E=new RegExp(":(?:(?:(?:"+(j<7?"first|":"")+"last|only)-child|(?:only|first|last)-of-type|empty|root|checked|enabled|disabled"+(j<7?"|hover":"")+(j<8?"|focus":"")+(j==8?"|target":"")+")|(?:(?:nth-(?:last-)?(?:child|of-type))\\(([^)]*?)\\)))","g"),K=/^\s*((?:[\S\s]*\S)?)\s*$/,U=/^(INPUT|SELECT|BUTTON)$/,A,l="iecss3-",p=[],F={NW:"NW.Dom.select",DOMAssistant:"DOMAssistant.$",Prototype:"$$",YAHOO:"YAHOO.util.Selector.query",MooTools:"$$",Sizzle:"Sizzle",jQuery:"jQuery",dojo:"dojo.query"};(function(){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,10);return}var b;a:{for(b in F)if(window[b])if(A=eval(F[b])){b=true;break a}b=false}b&&V()})()}})();