Index: /CKEditor/trunk/_source/plugins/image/dialogs/image.js
===================================================================
--- /CKEditor/trunk/_source/plugins/image/dialogs/image.js	(revision 4687)
+++ /CKEditor/trunk/_source/plugins/image/dialogs/image.js	(revision 4688)
@@ -77,5 +77,5 @@
 				widget.commit.apply( widget, args );
 		});
-	};
+	}
 
 	// Avoid recursions.
@@ -83,5 +83,5 @@
 
 	// Synchronous field values to other impacted fields is required, e.g. border
-	// size change should alter inline-style text as well.  
+	// size change should alter inline-style text as well.
 	function commitInternally( targetFields )
 	{
@@ -90,5 +90,5 @@
 
 		incommit = 1;
-		
+
 		var dialog = this.getDialog(),
 			element = dialog.imageElement;
@@ -108,5 +108,5 @@
 			}
 		}
-		
+
 		incommit = 0;
 	}
@@ -676,5 +676,5 @@
 																	else if ( !value && this.isChanged( ) )
 																		element.removeStyle( 'height' );
-																	
+
 																	if( !internalCommit && type == IMAGE )
 																		element.removeAttribute( 'height' );
@@ -795,5 +795,5 @@
 
 															borderStyle = borderStyle && borderStyle.match( /^(\d+px)(?: \1 \1 \1)?$/ );
-															value = borderStyle && parseInt( borderStyle[ 1 ] );
+															value = borderStyle && parseInt( borderStyle[ 1 ], 10 );
 															!value && ( value = element.getAttribute( 'border' ) );
 
@@ -803,5 +803,5 @@
 													commit : function( type, element, internalCommit )
 													{
-														var value = parseInt( this.getValue() );
+														var value = parseInt( this.getValue(), 10 );
 														if ( type == IMAGE || type == PREVIEW )
 														{
@@ -862,6 +862,6 @@
 															marginLeftStyle = marginLeftStyle && marginLeftStyle.match( pxLengthRegex );
 															marginRightStyle = marginRightStyle && marginRightStyle.match( pxLengthRegex );
-															marginLeftPx = parseInt( marginLeftStyle );
-															marginRightPx = parseInt( marginRightStyle );
+															marginLeftPx = parseInt( marginLeftStyle, 10 );
+															marginRightPx = parseInt( marginRightStyle, 10 );
 
 															value = ( marginLeftPx == marginRightPx ) && marginLeftPx;
@@ -873,5 +873,5 @@
 													commit : function( type, element, internalCommit )
 													{
-														var value = parseInt( this.getValue() );
+														var value = parseInt( this.getValue(), 10 );
 														if ( type == IMAGE || type == PREVIEW )
 														{
@@ -930,6 +930,6 @@
 															marginTopStyle = marginTopStyle && marginTopStyle.match( pxLengthRegex );
 															marginBottomStyle = marginBottomStyle && marginBottomStyle.match( pxLengthRegex );
-															marginTopPx = parseInt( marginTopStyle );
-															marginBottomPx = parseInt( marginBottomStyle );
+															marginTopPx = parseInt( marginTopStyle, 10 );
+															marginBottomPx = parseInt( marginBottomStyle, 10 );
 
 															value = ( marginTopPx == marginBottomPx ) && marginTopPx;
@@ -940,5 +940,5 @@
 													commit : function( type, element, internalCommit )
 													{
-														var value = parseInt( this.getValue() );
+														var value = parseInt( this.getValue(), 10 );
 														if ( type == IMAGE || type == PREVIEW )
 														{
@@ -977,5 +977,5 @@
 														[ editor.lang.common.notSet , ''],
 														[ editor.lang.image.alignLeft , 'left'],
-														[ editor.lang.image.alignRight , 'right'],
+														[ editor.lang.image.alignRight , 'right']
 														// Backward compatible with v2 on setup when specified as attribute value,
 														// while these values are no more available as select options.
