var ua,domReady,cssHelper;String.prototype.trim||function(){var n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(n,"")}}();Object.keys||(Object.keys=function(){"use strict";var t=Object.prototype.hasOwnProperty,i=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(u){if(typeof u!="object"&&(typeof u!="function"||u===null))throw new TypeError("Object.keys called on non-object");var e=[],o,f;for(o in u)t.call(u,o)&&e.push(o);if(i)for(f=0;f<r;f++)t.call(u,n[f])&&e.push(n[f]);return e}}());Array.prototype.forEach||(Array.prototype.forEach=function(n,t){var u,i,r,f,e;if(this==null)throw new TypeError(" this is null or not defined");if(r=Object(this),f=r.length>>>0,typeof n!="function")throw new TypeError(n+" is not a function");for(arguments.length>1&&(u=t),i=0;i<f;)i in r&&(e=r[i],n.call(u,e,i,r)),i++});Array.prototype.map||(Array.prototype.map=function(n,t){var e,u,i,r,f,o,s;if(this==null)throw new TypeError(" this is null or not defined");if(r=Object(this),f=r.length>>>0,typeof n!="function")throw new TypeError(n+" is not a function");for(arguments.length>1&&(e=t),u=new Array(f),i=0;i<f;)i in r&&(o=r[i],s=n.call(e,o,i,r),u[i]=s),i++;return u});Array.prototype.reduce||(Array.prototype.reduce=function(n){"use strict";if(this==null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof n!="function")throw new TypeError(n+" is not a function");var i=Object(this),u=i.length>>>0,t=0,r;if(arguments.length==2)r=arguments[1];else{while(t<u&&!(t in i))t++;if(t>=u)throw new TypeError("Reduce of empty array with no initial value");r=i[t++]}for(;t<u;t++)t in i&&(r=n(r,i[t],t,i));return r});Array.prototype.filter||(Array.prototype.filter=function(n){"use strict";var i,f,r,e,t,u;if(this===void 0||this===null)throw new TypeError;if(i=Object(this),f=i.length>>>0,typeof n!="function")throw new TypeError;for(r=[],e=arguments.length>=2?arguments[1]:void 0,t=0;t<f;t++)t in i&&(u=i[t],n.call(e,u,t,i)&&r.push(u));return r});!function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function h(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function y(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;f(t)}function u(n){var t=a[n[l]];return t||(t={},s++,n[l]=s,a[s]=t),t}function c(n,i,f){if(i||(i=t),r)return i.createElement(n);f||(f=u(i));var e;return e=f.cache[n]?f.cache[n].cloneNode():k.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),!e.canHaveChildren||b.test(n)||e.tagUrn?e:f.frag.appendChild(e)}function p(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||u(n);for(var e=i.frag.cloneNode(),f=0,o=h(),s=o.length;s>f;f++)e.createElement(o[f]);return e}function w(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?c(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function f(n){n||(n=t);var f=u(n);return!i.shivCSS||e||f.hasCSS||(f.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||w(n,f),n}var e,r,o=n.html5||{},b=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,k=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l="_html5shiv",s=0,a={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){e=!0;r=!0}}();i={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.2",shivCSS:o.shivCSS!==!1,supportsUnknownElements:r,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:f,createElement:c,createDocumentFragment:p,addElements:y};n.html5=i;f(t)}(this,document);!function(n,t){function l(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function u(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function w(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;o(t)}function f(n){var t=p[n[y]];return t||(t={},c++,n[y]=c,p[c]=t),t}function a(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():rt.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),!e.canHaveChildren||it.test(n)||e.tagUrn?e:u.frag.appendChild(e)}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;h>e;e++)o.createElement(s[e]);return o}function k(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?a(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function o(n){n||(n=t);var u=f(n);return!i.shivCSS||s||u.hasCSS||(u.hasCSS=!!l(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||k(n,u),n}function d(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(g(t)));return f}function g(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function nt(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function tt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ft||n.printShived?n:("undefined"==typeof o[e]&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,c=n.styleSheets,e=[],i=c.length,h=Array(i);i--;)h[i]=c[i];for(;f=h.pop();)if(!f.disabled&&ut.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;s>i;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=nt(e.reverse().join(""));u=d(n);t=l(n,e)}),s.attachEvent("onafterprint",function(){tt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var s,r,h=n.html5||{},it=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,rt=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,y="_html5shiv",c=0,p={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){s=!0;r=!0}}();i={elements:h.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.2",shivCSS:h.shivCSS!==!1,supportsUnknownElements:r,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:o,createElement:a,createDocumentFragment:b,addElements:w};n.html5=i;o(t);var ut=/^$|\b(?:all|print)\b/,e="html5shiv",ft=!r&&function(){var i=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof i.applyElement||"undefined"==typeof i.removeNode||"undefined"==typeof n.attachEvent)}();i.type+=" print";i.shivPrint=v;v(t)}(this,document),function(n){"use strict";function ot(){}function st(){try{return document.activeElement}catch(n){}}function k(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return!0;return!1}function e(n,t,i){return n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent?n.attachEvent("on"+t,i):void 0}function d(n,t){var i;n.createTextRange?(i=n.createTextRange(),i.move("character",t),i.select()):n.selectionStart&&(n.focus(),n.setSelectionRange(t,t))}function ht(n,t){try{return n.type=t,!0}catch(i){return!1}}function ct(n,t){var i;if(n&&n.getAttribute(r))t(n);else{var f=n?n.getElementsByTagName("input"):u,e=n?n.getElementsByTagName("textarea"):h,o=f?f.length:0,c=e?e.length:0,l=o+c,s;for(i=0;i<l;i++)s=i<o?f[i]:e[i-o],t(s)}}function lt(n){ct(n,v)}function kt(n){ct(n,g)}function v(n,t){var e=!!t&&n.value!==t,s=n.value===n.getAttribute(r),i,u;return(e||s)&&n.getAttribute(f)==="true"?(n.removeAttribute(f),n.value=n.value.replace(n.getAttribute(r),""),n.className=n.className.replace(pt,""),i=n.getAttribute(a),parseInt(i,10)>=0&&(n.setAttribute("maxLength",i),n.removeAttribute(a)),u=n.getAttribute(o),u&&(n.type=u),!0):!1}function g(n){var t=n.getAttribute(r),i,u;return n.value===""&&t?(n.setAttribute(f,"true"),n.value=t,n.className+=" "+y,i=n.getAttribute(a),i||(n.setAttribute(a,n.maxLength),n.removeAttribute("maxLength")),u=n.getAttribute(o),u?n.type="text":n.type==="password"&&ht(n,"text")&&n.setAttribute(o,"password"),!0):!1}function dt(n){return function(){w&&n.value===n.getAttribute(r)&&n.getAttribute(f)==="true"?d(n,0):v(n)}}function gt(n){return function(){g(n)}}function ni(n){return function(){lt(n)}}function ti(n){return function(t){return p=n.value,n.getAttribute(f)==="true"&&p===n.getAttribute(r)&&k(yt,t.keyCode)?(t.preventDefault&&t.preventDefault(),!1):void 0}}function ii(n){return function(){v(n,p);n.value===""&&(n.blur(),d(n,0))}}function ri(n){return function(){n===st()&&n.value===n.getAttribute(r)&&n.getAttribute(f)==="true"&&d(n,0)}}function at(n){var t=n.form;t&&typeof t=="string"&&(t=document.getElementById(t),t.getAttribute(tt)||(e(t,"submit",ni(t)),t.setAttribute(tt,"true")));e(n,"focus",dt(n));e(n,"blur",gt(n));w&&(e(n,"keydown",ti(n)),e(n,"keyup",ii(n)),e(n,"click",ri(n)));n.setAttribute(it,"true");n.setAttribute(r,i);(w||n!==st())&&g(n)}var vt=document.createElement("input"),l=vt.placeholder!==void 0,b,i,t,s,ft,et;if(n.Placeholders={nativeSupport:l,disable:l?ot:lt,enable:l?ot:kt},!l){var nt=["text","search","url","tel","email","password","number","textarea"],yt=[27,33,34,35,36,37,38,39,40,8,46],y="placeholdersjs",pt=new RegExp("(?:^|\\s)"+y+"(?!\\S)"),r="data-placeholder-value",f="data-placeholder-active",o="data-placeholder-type",tt="data-placeholder-submit",it="data-placeholder-bound",a="data-placeholder-maxlength",rt=document.getElementsByTagName("head")[0],ut=document.documentElement,wt=n.Placeholders,p,u=document.getElementsByTagName("input"),h=document.getElementsByTagName("textarea"),w=ut.getAttribute("data-placeholder-focus")==="false",bt=ut.getAttribute("data-placeholder-live")!=="false",c=document.createElement("style");for(c.type="text/css",b=document.createTextNode("."+y+" {color:#ccc;}"),c.styleSheet?c.styleSheet.cssText=b.nodeValue:c.appendChild(b),rt.insertBefore(c,rt.firstChild),s=0,ft=u.length+h.length;s<ft;s++)t=s<u.length?u[s]:h[s-u.length],i=t.attributes.placeholder,i&&(i=i.nodeValue,i&&k(nt,t.type)&&at(t));et=setInterval(function(){for(var n=0,e=u.length+h.length;n<e;n++)t=n<u.length?u[n]:h[n-u.length],i=t.attributes.placeholder,i?(i=i.nodeValue,i&&k(nt,t.type)&&(t.getAttribute(it)||at(t),i===t.getAttribute(r)&&(t.type!=="password"||t.getAttribute(o))||(t.type==="password"&&!t.getAttribute(o)&&ht(t,"text")&&t.setAttribute(o,"password"),t.value===t.getAttribute(r)&&(t.value=i),t.setAttribute(r,i)))):t.getAttribute(f)&&(v(t),t.removeAttribute(r));bt||clearInterval(et)},100);e(n,"beforeunload",function(){wt.disable()})}}(this);typeof Object.create!="function"&&(Object.create=function(n){function t(){}return t.prototype=n,new t});ua={toString:function(){return navigator.userAgent},test:function(n){return this.toString().toLowerCase().indexOf(n.toLowerCase())>-1}};ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1];ua.webkit=ua.test("webkit");ua.gecko=ua.test("gecko")&&!ua.webkit;ua.opera=ua.test("opera");ua.ie=ua.test("msie")&&!ua.opera;ua.ie6=ua.ie&&document.compatMode&&typeof document.documentElement.style.maxHeight=="undefined";ua.ie7=ua.ie&&document.documentElement&&typeof document.documentElement.style.maxHeight!="undefined"&&typeof XDomainRequest=="undefined";ua.ie8=ua.ie&&typeof XDomainRequest!="undefined";domReady=function(){var t=[],n=function(){if(!arguments.callee.done){arguments.callee.done=!0;for(var n=0;n<t.length;n++)t[n]()}};return document.addEventListener&&document.addEventListener("DOMContentLoaded",n,!1),ua.ie&&(function(){try{document.documentElement.doScroll("left")}catch(t){setTimeout(arguments.callee,50);return}n()}(),document.onreadystatechange=function(){document.readyState==="complete"&&(document.onreadystatechange=null,n())}),ua.webkit&&document.readyState&&function(){document.readyState!=="loading"?n():setTimeout(arguments.callee,10)}(),window.onload=n,function(n){return typeof n=="function"&&(t[t.length]=n),n}}();cssHelper=function(){var t={BLOCKS:/[^\s{;][^{;]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|[^{}]*)*\}/g,BLOCKS_INSIDE:/[^\s{][^{]*\{[^{}]*\}/g,DECLARATIONS:/[a-zA-Z\-]+[^;]*:[^;]+;/g,RELATIVE_URLS:/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,REDUNDANT_COMPONENTS:/(?:\/\*([^*\\\\]|\*(?!\/))+\*\/|@import[^;]+;)/g,REDUNDANT_WHITESPACE:/\s*(,|:|;|\{|\})\s*/g,WHITESPACE_IN_PARENTHESES:/\(\s*(\S*)\s*\)/g,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g},r,s=!1,o=[],h=function(n){typeof n=="function"&&(o[o.length]=n)},b=function(){for(var n=0;n<o.length;n++)o[n](r)},u={},c=function(n,t){var i,r;if(u[n]&&(i=u[n].listeners,i))for(r=0;r<i.length;r++)i[r](t)},k=function(n,t,i){var r,u;if(ua.ie&&!window.XMLHttpRequest&&(window.XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")}),!XMLHttpRequest)return"";r=new XMLHttpRequest;try{r.open("get",n,!0);r.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest")}catch(f){i();return}u=!1;setTimeout(function(){u=!0},5e3);document.documentElement.style.cursor="progress";r.onreadystatechange=function(){r.readyState!==4||u||(!r.status&&location.protocol==="file:"||r.status>=200&&r.status<300||r.status===304||navigator.userAgent.indexOf("Safari")>-1&&typeof r.status=="undefined"?t(r.responseText):i(),document.documentElement.style.cursor="",r=null)};r.send("")},l=function(n){return n=n.replace(t.REDUNDANT_COMPONENTS,""),n=n.replace(t.REDUNDANT_WHITESPACE,"$1"),n=n.replace(t.WHITESPACE_IN_PARENTHESES,"($1)"),n=n.replace(t.MORE_WHITESPACE," "),n.replace(t.FINAL_SEMICOLONS,"}")},f={stylesheet:function(n){for(var r={},s=[],h=[],e=[],c=[],a=n.cssHelperText,v=n.getAttribute("media"),u,l,o=v?v.toLowerCase().split(","):["all"],i=0;i<o.length;i++)s[s.length]=f.mediaQuery(o[i],r);if(u=a.match(t.BLOCKS),u!==null)for(i=0;i<u.length;i++)u[i].substring(0,7)==="@media "?(l=f.mediaQueryList(u[i],r),e=e.concat(l.getRules()),h[h.length]=l):e[e.length]=c[c.length]=f.rule(u[i],r,null);return r.element=n,r.getCssText=function(){return a},r.getAttrMediaQueries=function(){return s},r.getMediaQueryLists=function(){return h},r.getRules=function(){return e},r.getRulesWithoutMQ=function(){return c},r},mediaQueryList:function(n,i){var r={},h=n.indexOf("{"),c=n.substring(0,h),u,e;n=n.substring(h+1,n.length-1);var o=[],s=[],l=c.toLowerCase().substring(7).split(",");for(u=0;u<l.length;u++)o[o.length]=f.mediaQuery(l[u],r);if(e=n.match(t.BLOCKS_INSIDE),e!==null)for(u=0;u<e.length;u++)s[s.length]=f.rule(e[u],i,r);return r.type="mediaQueryList",r.getMediaQueries=function(){return o},r.getRules=function(){return s},r.getListText=function(){return c},r.getCssText=function(){return n},r},mediaQuery:function(n,i){var s,h,f,r,o;n=n||"";i.type==="mediaQueryList"?s=i:h=i;var c=!1,u,e=[],a=!0,l=n.match(t.NOT_WHITESPACE);for(f=0;f<l.length;f++)r=l[f],u||r!=="not"&&r!=="only"?u?r.charAt(0)==="("&&(o=r.substring(1,r.length-1).split(":"),e[e.length]={mediaFeature:o[0],value:o[1]||null}):u=r:r==="not"&&(c=!0);return{getQueryText:function(){return n},getAttrStyleSheet:function(){return h||null},getList:function(){return s||null},getValid:function(){return a},getNot:function(){return c},getMediaType:function(){return u},getExpressions:function(){return e}}},rule:function(n,t,i){for(var r={},o=n.indexOf("{"),s=n.substring(0,o),c=s.split(","),u=[],h=n.substring(o+1,n.length-1).split(";"),e=0;e<h.length;e++)u[u.length]=f.declaration(h[e],r);return r.getStylesheet=function(){return t||null},r.getMediaQueryList=function(){return i||null},r.getSelectors=function(){return c},r.getSelectorText=function(){return s},r.getDeclarations=function(){return u},r.getPropertyValue=function(n){for(var t=0;t<u.length;t++)if(u[t].getProperty()===n)return u[t].getValue();return null},r},declaration:function(n,t){var i=n.indexOf(":"),r=n.substring(0,i),u=n.substring(i+1);return{getRule:function(){return t||null},getProperty:function(){return r},getValue:function(){return u}}}},a=function(n){var u,e,o;if(typeof n.cssHelperText=="string"){var t={stylesheet:null,mediaQueryLists:[],rules:[],selectors:{},declarations:[],properties:{}},c=t.stylesheet=f.stylesheet(n),a=t.mediaQueryLists=c.getMediaQueryLists(),s=t.rules=c.getRules(),h=t.selectors,l=function(n){for(var r=n.getSelectors(),t,i=0;i<r.length;i++)t=r[i],h[t]||(h[t]=[]),h[t][h[t].length]=n};for(i=0;i<s.length;i++)l(s[i]);for(u=t.declarations,i=0;i<s.length;i++)u=t.declarations=u.concat(s[i].getDeclarations());for(e=t.properties,i=0;i<u.length;i++)o=u[i].getProperty(),e[o]||(e[o]=[]),e[o][e[o].length]=u[i];return n.cssHelperParsed=t,r[r.length]=n,t}},v=function(){return},d=function(){var i,u;s=!0;r=[];var n=[],f=function(){for(var i,t=0;t<n.length;t++)a(n[t]);for(i=document.getElementsByTagName("style"),t=0;t<i.length;t++)v(i[t]);s=!1;b()},e=document.getElementsByTagName("link");for(i=0;i<e.length;i++)u=e[i],u.getAttribute("rel").indexOf("style")>-1&&u.href&&u.href.length!==0&&!u.disabled&&(n[n.length]=u);if(n.length>0){var o=0,h=function(){o++;o===n.length&&f()},c=function(n){var i=n.href;k(i,function(r){r=l(r).replace(t.RELATIVE_URLS,"url("+i.substring(0,i.lastIndexOf("/"))+"/$1)");n.cssHelperText=r;h()},h)};for(i=0;i<n.length;i++)c(n[i])}else f()},y={stylesheets:"array",mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"},n={stylesheets:null,mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null},p=function(t,i){var u,r;if(n[t]!==null){if(y[t]==="array")return n[t]=n[t].concat(i);u=n[t];for(r in i)i.hasOwnProperty(r)&&(u[r]=u[r]?u[r].concat(i[r]):i[r]);return u}},e=function(t){var i,u;for(n[t]=y[t]==="array"?[]:{},i=0;i<r.length;i++)u=t==="stylesheets"?"stylesheet":t,p(t,r[i].cssHelperParsed[u]);return n[t]},w=function(n){return typeof window.innerWidth!="undefined"?window["inner"+n]:typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0?document.documentElement["client"+n]:void 0};return{addStyle:function(n,t,i){var r=document.createElement("style");return r.setAttribute("type","text/css"),t&&t.length>0&&r.setAttribute("media",t.join(",")),document.getElementsByTagName("head")[0].appendChild(r),r.styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),r.addedWithCssHelper=!0,typeof i=="undefined"||i===!0?cssHelper.parsed(function(){var i=v(r,n),t;for(t in i)i.hasOwnProperty(t)&&p(t,i[t]);c("newStyleParsed",r)}):r.parsingDisallowed=!0,r},removeStyle:function(n){return n.parentNode.removeChild(n)},parsed:function(n){s?h(n):typeof r!="undefined"?typeof n=="function"&&n(r):(h(n),d())},stylesheets:function(t){cssHelper.parsed(function(){t(n.stylesheets||e("stylesheets"))})},mediaQueryLists:function(t){cssHelper.parsed(function(){t(n.mediaQueryLists||e("mediaQueryLists"))})},rules:function(t){cssHelper.parsed(function(){t(n.rules||e("rules"))})},selectors:function(t){cssHelper.parsed(function(){t(n.selectors||e("selectors"))})},declarations:function(t){cssHelper.parsed(function(){t(n.declarations||e("declarations"))})},properties:function(t){cssHelper.parsed(function(){t(n.properties||e("properties"))})},broadcast:c,addListener:function(n,t){typeof t=="function"&&(u[n]||(u[n]={listeners:[]}),u[n].listeners[u[n].listeners.length]=t)},removeListener:function(n,t){var r,i;if(typeof t=="function"&&u[n])for(r=u[n].listeners,i=0;i<r.length;i++)r[i]===t&&(r.splice(i,1),i-=1)},getViewportWidth:function(){return w("Width")},getViewportHeight:function(){return w("Height")}}}();domReady(function(){var n,r={LENGTH_UNIT:/[0-9]+(em|ex|px|in|cm|mm|pt|pc)$/,RESOLUTION_UNIT:/[0-9]+(dpi|dpcm)$/,ASPECT_RATIO:/^[0-9]+\/[0-9]+$/,ABSOLUTE_VALUE:/^[0-9]*(\.[0-9]+)*$/},t=[],u=function(){var r="css3-mediaqueries-test",n=document.createElement("div"),t,i;return n.id=r,t=cssHelper.addStyle("@media all and (width) { #"+r+" { width: 1px !important; } }",[],!1),document.body.appendChild(n),i=n.offsetWidth===1,t.parentNode.removeChild(t),n.parentNode.removeChild(n),u=function(){return i},i},l=function(){n=document.createElement("div");n.style.cssText="position:absolute;top:-9999em;left:-9999em;margin:0;border:none;padding:0;width:1em;font-size:1em;";document.body.appendChild(n);n.offsetWidth!==16&&(n.style.fontSize=16/n.offsetWidth+"em");n.style.width=""},f=function(t){n.style.width=t;var i=n.offsetWidth;return n.style.width="",i},a=function(n,t){var u=n.length,e=n.substring(0,4)==="min-",o=!e&&n.substring(0,4)==="max-",s,i,y,h,c,l,a,v;return t!==null&&(r.LENGTH_UNIT.exec(t)?(s="length",i=f(t)):r.RESOLUTION_UNIT.exec(t)?(s="resolution",i=parseInt(t,10),y=t.substring((i+"").length)):r.ASPECT_RATIO.exec(t)?(s="aspect-ratio",i=t.split("/")):r.ABSOLUTE_VALUE?(s="absolute",i=t):s="unknown"),"device-width"===n.substring(u-12,u)?(h=screen.width,t!==null?s==="length"?e&&h>=i||o&&h<i||!e&&!o&&h===i:!1:h>0):"device-height"===n.substring(u-13,u)?(c=screen.height,t!==null?s==="length"?e&&c>=i||o&&c<i||!e&&!o&&c===i:!1:c>0):"width"===n.substring(u-5,u)?(h=document.documentElement.clientWidth||document.body.clientWidth,t!==null?s==="length"?e&&h>=i||o&&h<i||!e&&!o&&h===i:!1:h>0):"height"===n.substring(u-6,u)?(c=document.documentElement.clientHeight||document.body.clientHeight,t!==null?s==="length"?e&&c>=i||o&&c<i||!e&&!o&&c===i:!1:c>0):"device-aspect-ratio"===n.substring(u-19,u)?s==="aspect-ratio"&&screen.width*i[1]==screen.height*i[0]:"color-index"===n.substring(u-11,u)?(l=Math.pow(2,screen.colorDepth),t!==null?s==="absolute"?e&&l>=i||o&&l<i||!e&&!o&&l===i:!1:l>0):"color"===n.substring(u-5,u)?(a=screen.colorDepth,t!==null?s==="absolute"?e&&a>=i||o&&a<i||!e&&!o&&a===i:!1:a>0):"resolution"===n.substring(u-10,u)?(v=y==="dpcm"?f("1cm"):f("1in"),t!==null?s==="resolution"?e&&v>=i||o&&v<i||!e&&!o&&v===i:!1:v>0):!1},o=function(n){var t=n.getValid(),r=n.getExpressions(),f=r.length,i,u;if(f>0){for(i=0;i<f&&t;i++)t=a(r[i].mediaFeature,r[i].value);return u=n.getNot(),t&&!u||u&&!t}return t},v=function(n,i){for(var f=n.getMediaQueries(),l={},e,s,h,u,c,a,r=0;r<f.length;r++)if(e=f[r].getMediaType(),f[r].getExpressions().length!==0){if(s=!0,e!=="all"&&i&&i.length>0)for(s=!1,h=0;h<i.length;h++)i[h]===e&&(s=!0);s&&o(f[r])&&(l[e]=!0)}u=[];c=0;for(a in l)l.hasOwnProperty(a)&&(c>0&&(u[c++]=","),u[c++]=a);u.length>0&&(t[t.length]=cssHelper.addStyle("@media "+u.join("")+"{"+n.getCssText()+"}",i,!1))},s=function(n,t){for(var i=0;i<n.length;i++)v(n[i],t)},h=function(n){for(var f=n.getAttrMediaQueries(),l=!1,e={},h,u,r,c,i=0;i<f.length;i++)o(f[i])&&(e[f[i].getMediaType()]=f[i].getExpressions().length>0);h=[];u=[];for(r in e)e.hasOwnProperty(r)&&(h[h.length]=r,e[r]&&(u[u.length]=r),r==="all"&&(l=!0));u.length>0&&(t[t.length]=cssHelper.addStyle(n.getCssText(),u,!1));c=n.getMediaQueryLists();l?s(c):s(c,h)},y=function(n){for(var t=0;t<n.length;t++)h(n[t]);ua.ie?(document.documentElement.style.display="block",setTimeout(function(){document.documentElement.style.display=""},0),setTimeout(function(){cssHelper.broadcast("cssMediaQueriesTested")},100)):cssHelper.broadcast("cssMediaQueriesTested")},c=function(){for(var n=0;n<t.length;n++)cssHelper.removeStyle(t[n]);t=[];cssHelper.stylesheets(y)},e=0,p=function(){var t=cssHelper.getViewportWidth(),i=cssHelper.getViewportHeight(),n,r,f;ua.ie&&(n=document.createElement("div"),n.style.position="absolute",n.style.top="-9999em",n.style.overflow="scroll",document.body.appendChild(n),e=n.offsetWidth-n.clientWidth,document.body.removeChild(n));f=function(){var n=cssHelper.getViewportWidth(),f=cssHelper.getViewportHeight();(Math.abs(n-t)>e||Math.abs(f-i)>e)&&(t=n,i=f,clearTimeout(r),r=setTimeout(function(){u()?cssHelper.broadcast("cssMediaQueriesTested"):c()},500))};window.onresize=function(){var n=window.onresize||function(){};return function(){n();f()}}()},i=document.documentElement;return i.style.marginLeft="-32767px",setTimeout(function(){i.style.marginLeft=""},5e3),function(){u()?i.style.marginLeft="":(cssHelper.addListener("newStyleParsed",function(n){h(n.cssHelperParsed.stylesheet)}),cssHelper.addListener("cssMediaQueriesTested",function(){ua.ie&&(i.style.width="1px");setTimeout(function(){i.style.width="";i.style.marginLeft=""},0);cssHelper.removeListener("cssMediaQueriesTested",arguments.callee)}),l(),c());p()}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}