Index: mod/scorm/module.js
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/scorm/module.js,v
retrieving revision 1.11
diff -u -r1.11 module.js
--- mod/scorm/module.js	24 Nov 2010 22:57:38 -0000	1.11
+++ mod/scorm/module.js	14 Feb 2011 00:54:37 -0000
@@ -177,16 +177,9 @@
 
             if (alsowidth) {
                 scorm_layout_widget.setStyle('width', '');
-                var newwidth = scorm_get_htmlelement_size('content', 'width');
-                if (newwidth > 600) {
-                    scorm_layout_widget.setStyle('width', newwidth+'px');
-                }
-                else {
-                    scorm_layout_widget.setStyle('width', '600px');
-                }
             }
-            // make sure that the max width of the TOC doesn't go to far
 
+            // make sure that the max width of the TOC doesn't go to far
             var left = scorm_layout_widget.getUnitByPosition('left');
             var maxwidth = parseInt(YAHOO.util.Dom.getStyle('scorm_layout', 'width'));
             left.set('maxWidth', (maxwidth - 10));
