Index: /CKEditor/branches/prototype/_source/core/dom/element.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/dom/element.js	(revision 2092)
+++ /CKEditor/branches/prototype/_source/core/dom/element.js	(revision 2093)
@@ -54,5 +54,5 @@
 		element.append( this );
 	},
-	
+
 	appendText : function( text )
 	{
@@ -67,6 +67,5 @@
 	getId : function()
 	{
-		var id = this.$.id;
-		return ( id && id.length > 0 ) ? id : null;
+		return this.$.id || null;
 	},
 
@@ -79,6 +78,5 @@
 	getNameAtt : function()
 	{
-		var name = this.$.name
-		return ( name && name.length > 0 ) ? name : null;
+		return this.$.name || null;
 	},
 
@@ -93,7 +91,6 @@
 		// Cache the lowercased name inside a closure.
 		var nodeName = this.$.nodeName.toLowerCase();
-		
-		
-		return ( 
+
+		return (
 		/** @ignore */
 		this.getName = function()
@@ -117,5 +114,5 @@
 		this.$.setAttribute( attributeName, value );
 	},
-	
+
 	setAttributes : function( attributesPairs )
 	{
