public/ckeditor/_source/core/dom/element.js
function()
		{
			var $ = this.$;

			try
			{
				// In IE, with custom document.domain, it may happen that
				// the iframe is not yet available, resulting in "Access
				// Denied" for the following property access.
				$.contentWindow.document;
			}
			catch ( e )
			{
				// Trick to solve this issue, forcing the iframe to get ready
				// by simply setting its "src" property.
				$.src = $.src;

				// In IE6 though, the above is not enough, so we must pause the
				// execution for a while, giving it time to think.
				if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
				{
					window.showModalDialog(
						'javascript:document.write("' +
							'<script>' +
								'window.setTimeout(' +
									'function(){window.close();}' +
									',50);' +
							'</script>")' );
				}
			}

			return $ && new CKEDITOR.dom.document( $.contentWindow.document );
		}
function()
		{
			var $ = this.$;

			try
			{
				// In IE, with custom document.domain, it may happen that
				// the iframe is not yet available, resulting in "Access
				// Denied" for the following property access.
				$.contentWindow.document;
			}
			catch ( e )
			{
				// Trick to solve this issue, forcing the iframe to get ready
				// by simply setting its "src" property.
				$.src = $.src;

				// In IE6 though, the above is not enough, so we must pause the
				// execution for a while, giving it time to think.
				if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
				{
					window.showModalDialog(
						'javascript:document.write("' +
							'<script>' +
								'window.setTimeout(' +
									'function(){window.close();}' +
									',50);' +
							'</script>")' );
				}
			}

			return $ && new CKEDITOR.dom.document( $.contentWindow.document );
		}
function ( ) { var $ = this . $ ; try { // In IE, with custom document.domain, it may happen that
 // the iframe is not yet available, resulting in "Access
 // Denied" for the following property access.
 $ . contentWindow . document ; } catch ( e ) { // Trick to solve this issue, forcing the iframe to get ready
 // by simply setting its "src" property.
 $ . src = $ . src ; // In IE6 though, the above is not enough, so we must pause the
 // execution for a while, giving it time to think.
 if ( CKEDITOR . env . ie && CKEDITOR . env . version < 7 ) { window . showModalDialog ( 'javascript:document.write("' + '<script>' + 'window.setTimeout(' + 'function(){window.close();}' + ',50);' + '</script>")' ) ; } } return $ && new CKEDITOR . dom . document ( $ . contentWindow . document ) ; }
Returns the inner document of this IFRAME element.
@returns {CKEDITOR.dom.document} The inner document.
Returns the inner document of this IFRAME element .