+ if (!init_dimensions) {\r
+ init_dimensions = true;\r
+ // Cache values needed for size calculations\r
+ interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6\r
+ interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();\r
+ loadedHeight = $loaded.outerHeight(true);\r
+ loadedWidth = $loaded.outerWidth(true);\r
+\r
+ // Setting padding to remove the need to do size conversions during the animation step.\r
+ $box.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth});\r
+ }\r
+\r