//>>built
define("dojo/dom-style",["./sniff","./dom"],function(d,k){function n(b,a,c){a=a.toLowerCase();if(d("ie")||d("trident")){if("auto"==c){if("height"==a)return b.offsetHeight;if("width"==a)return b.offsetWidth}if("fontweight"==a)switch(c){case 700:return"bold";default:return"normal"}}a in h||(h[a]=o.test(a));return h[a]?g(b,c):c}var i,e={};i=d("webkit")?function(b){var a;if(1==b.nodeType){var c=b.ownerDocument.defaultView;a=c.getComputedStyle(b,null);if(!a&&b.style)b.style.display="",a=c.getComputedStyle(b,
null)}return a||{}}:d("ie")&&(9>d("ie")||d("quirks"))?function(b){return 1==b.nodeType&&b.currentStyle?b.currentStyle:{}}:function(b){return 1==b.nodeType?b.ownerDocument.defaultView.getComputedStyle(b,null):{}};e.getComputedStyle=i;var g;g=d("ie")?function(b,a){if(!a)return 0;if("medium"==a)return 4;if(a.slice&&"px"==a.slice(-2))return parseFloat(a);var c=b.style,j=b.runtimeStyle,d=c.left,e=j.left;j.left=b.currentStyle.left;try{c.left=a,a=c.pixelLeft}catch(f){a=0}c.left=d;j.left=e;return a}:function(b,
a){return parseFloat(a)||0};e.toPixelValue=g;var f=function(b,a){try{return b.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return a?{}:null}},p=9>d("ie")||10>d("ie")&&d("quirks")?function(b){try{return f(b).Opacity/100}catch(a){return 1}}:function(b){return i(b).opacity},l=9>d("ie")||10>d("ie")&&d("quirks")?function(b,a){var c=100*a,d=1==a;b.style.zoom=d?"":1;if(f(b))f(b,1).Opacity=c;else{if(d)return a;b.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+c+")"}f(b,1).Enabled=
!d;if("tr"==b.tagName.toLowerCase())for(c=b.firstChild;c;c=c.nextSibling)"td"==c.tagName.toLowerCase()&&l(c,a);return a}:function(b,a){return b.style.opacity=a},h={left:!0,top:!0},o=/margin|padding|width|height|max|min|offset/,m={cssFloat:1,styleFloat:1,"float":1};e.get=function(b,a){var c=k.byId(b),d=arguments.length;if(2==d&&"opacity"==a)return p(c);var a=m[a]?"cssFloat"in c.style?"cssFloat":"styleFloat":a,f=e.getComputedStyle(c);return 1==d?f:n(c,a,f[a]||c.style[a])};e.set=function(b,a,c){var d=
k.byId(b),f=arguments.length,h="opacity"==a,a=m[a]?"cssFloat"in d.style?"cssFloat":"styleFloat":a;if(3==f)return h?l(d,c):d.style[a]=c;for(var g in a)e.set(b,g,a[g]);return e.getComputedStyle(d)};return e});