if (v == '0')\r
img.style.border = isIE ? '0' : '0 none none';\r
else {\r
- if (b.length == 3 && b[isIE ? 2 : 1])\r
- bStyle = b[isIE ? 2 : 1];\r
+ var isOldIE = tinymce.isIE && (!document.documentMode || document.documentMode < 9);\r
+\r
+ if (b.length == 3 && b[isOldIE ? 2 : 1])\r
+ bStyle = b[isOldIE ? 2 : 1];\r
else if (!bStyle || bStyle == 'none')\r
bStyle = 'solid';\r
if (b.length == 3 && b[isIE ? 0 : 2])\r
- bColor = b[isIE ? 0 : 2];\r
+ bColor = b[isOldIE ? 0 : 2];\r
else if (!bColor || bColor == 'none')\r
bColor = 'black';\r
img.style.border = v + 'px ' + bStyle + ' ' + bColor;\r