*/(function(){$(document).ready(function(){window.getComputedStyle||(window.getComputedStyle=function(e,t){this.el=e;this.getPropertyValue=function(t){var n;n=/(\-([a-z]){1})/g;t==="float"&&(t="styleFloat");n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()}));return e.currentStyle[t]?e.currentStyle[t]:null};return this});String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1};return $("*").each(function(){var e,t,n,r,i,s,o,u;u=$(this);s=window.getComputedStyle(this);o=s.getPropertyValue("width");o.endsWith("px")?o=0:o=parseInt(o,10);o=isNaN(o)?0:o;if(u.css("box-sizing")==="border-box"&&o!=="auto"&&o>0){n=parseInt(s.getPropertyValue("padding-left"),10);r=parseInt(s.getPropertyValue("padding-right"),10);e=parseInt(u.css("border-left"),10);t=parseInt(u.css("border-right"),10);n=isNaN(n)?0:n;r=isNaN(r)?0:r;e=isNaN(e)?0:e;t=isNaN(t)?0:t;i=o-n-r;return u.css({"box-sizing":"content-box",width:i+"%"})}})})}).call(this);