亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fck_dialog_common.js

?? LazyCMS 是一款小巧、高效、人性化的開源內容管理系統;基于PHP5開發
?? JS
字號:
?// Automatically detect the correct document.domain (#123).
(function()
{
	var d = document.domain ;

	while ( true )
	{
		// Test if we can access a parent property.
		try
		{
			var test = window.parent.document.domain ;
			break ;
		}
		catch( e ) {}

		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
		d = d.replace( /.*?(?:\.|$)/, '' ) ;

		if ( d.length == 0 )
			break ;		// It was not able to detect the domain.

		try
		{
			document.domain = d ;
		}
		catch (e)
		{
			break ;
		}
	}
})() ;

// Attention: FCKConfig must be available in the page.
function GetCommonDialogCss( prefix )
{
	// CSS minified by http://iceyboard.no-ip.org/projects/css_compressor
	return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}' ;
}

// Gets a element by its Id. Used for shorter coding.
function GetE( elementId )
{
	return document.getElementById( elementId )  ;
}

function ShowE( element, isVisible )
{
	if ( typeof( element ) == 'string' )
		element = GetE( element ) ;
	element.style.display = isVisible ? '' : 'none' ;
}

function SetAttribute( element, attName, attValue )
{
	if ( attValue == null || attValue.length == 0 )
		element.removeAttribute( attName, 0 ) ;			// 0 : Case Insensitive
	else
		element.setAttribute( attName, attValue, 0 ) ;	// 0 : Case Insensitive
}

function GetAttribute( element, attName, valueIfNull )
{
	var oAtt = element.attributes[attName] ;

	if ( oAtt == null || !oAtt.specified )
		return valueIfNull ? valueIfNull : '' ;

	var oValue = element.getAttribute( attName, 2 ) ;

	if ( oValue == null )
		oValue = oAtt.nodeValue ;

	return ( oValue == null ? valueIfNull : oValue ) ;
}

function SelectField( elementId )
{
	var element = GetE( elementId ) ;
	element.focus() ;

	// element.select may not be available for some fields (like <select>).
	if ( element.select )
		element.select() ;
}

// Functions used by text fields to accept numbers only.
var IsDigit = ( function()
	{
		var KeyIdentifierMap =
		{
			End			: 35,
			Home		: 36,
			Left		: 37,
			Right		: 39,
			'U+00007F'	: 46		// Delete
		} ;

		return function ( e )
			{
				if ( !e )
					e = event ;

				var iCode = ( e.keyCode || e.charCode ) ;

				if ( !iCode && e.keyIdentifier && ( e.keyIdentifier in KeyIdentifierMap ) )
						iCode = KeyIdentifierMap[ e.keyIdentifier ] ;

				return (
						( iCode >= 48 && iCode <= 57 )		// Numbers
						|| (iCode >= 35 && iCode <= 40)		// Arrows, Home, End
						|| iCode == 8						// Backspace
						|| iCode == 46						// Delete
						|| iCode == 9						// Tab
				) ;
			}
	} )() ;

String.prototype.Trim = function()
{
	return this.replace( /(^\s*)|(\s*$)/g, '' ) ;
}

String.prototype.StartsWith = function( value )
{
	return ( this.substr( 0, value.length ) == value ) ;
}

String.prototype.Remove = function( start, length )
{
	var s = '' ;

	if ( start > 0 )
		s = this.substring( 0, start ) ;

	if ( start + length < this.length )
		s += this.substring( start + length , this.length ) ;

	return s ;
}

String.prototype.ReplaceAll = function( searchArray, replaceArray )
{
	var replaced = this ;

	for ( var i = 0 ; i < searchArray.length ; i++ )
	{
		replaced = replaced.replace( searchArray[i], replaceArray[i] ) ;
	}

	return replaced ;
}

/**
 Utility function to create/update an element with a name attribute in IE, so it behaves properly when moved around
 It also allows to change the name or other special attributes in an existing node
	oEditor : instance of FCKeditor where the element will be created
	oOriginal : current element being edited or null if it has to be created
	nodeName : string with the name of the element to create
	oAttributes : Hash object with the attributes that must be set at creation time in IE
								Those attributes will be set also after the element has been
								created for any other browser to avoid redudant code
*/
function CreateNamedElement( oEditor, oOriginal, nodeName, oAttributes )
{
	var oNewNode ;

	// IE doesn't allow easily to change properties of an existing object,
	// so remove the old and force the creation of a new one.
	var oldNode = null ;
	if ( oOriginal && oEditor.FCKBrowserInfo.IsIE )
	{
		// Force the creation only if some of the special attributes have changed:
		var bChanged = false;
		for( var attName in oAttributes )
			bChanged |= ( oOriginal.getAttribute( attName, 2) != oAttributes[attName] ) ;

		if ( bChanged )
		{
			oldNode = oOriginal ;
			oOriginal = null ;
		}
	}

	// If the node existed (and it's not IE), then we just have to update its attributes
	if ( oOriginal )
	{
		oNewNode = oOriginal ;
	}
	else
	{
		// #676, IE doesn't play nice with the name or type attribute
		if ( oEditor.FCKBrowserInfo.IsIE )
		{
			var sbHTML = [] ;
			sbHTML.push( '<' + nodeName ) ;
			for( var prop in oAttributes )
			{
				sbHTML.push( ' ' + prop + '="' + oAttributes[prop] + '"' ) ;
			}
			sbHTML.push( '>' ) ;
			if ( !oEditor.FCKListsLib.EmptyElements[nodeName.toLowerCase()] )
				sbHTML.push( '</' + nodeName + '>' ) ;

			oNewNode = oEditor.FCK.EditorDocument.createElement( sbHTML.join('') ) ;
			// Check if we are just changing the properties of an existing node: copy its properties
			if ( oldNode )
			{
				CopyAttributes( oldNode, oNewNode, oAttributes ) ;
				oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ;
				oldNode.parentNode.removeChild( oldNode ) ;
				oldNode = null ;

				if ( oEditor.FCK.Selection.SelectionData )
				{
					// Trick to refresh the selection object and avoid error in
					// fckdialog.html Selection.EnsureSelection
					var oSel = oEditor.FCK.EditorDocument.selection ;
					oEditor.FCK.Selection.SelectionData = oSel.createRange() ; // Now oSel.type will be 'None' reflecting the real situation
				}
			}
			oNewNode = oEditor.FCK.InsertElement( oNewNode ) ;

			// FCK.Selection.SelectionData is broken by now since we've
			// deleted the previously selected element. So we need to reassign it.
			if ( oEditor.FCK.Selection.SelectionData )
			{
				var range = oEditor.FCK.EditorDocument.body.createControlRange() ;
				range.add( oNewNode ) ;
				oEditor.FCK.Selection.SelectionData = range ;
			}
		}
		else
		{
			oNewNode = oEditor.FCK.InsertElement( nodeName ) ;
		}
	}

	// Set the basic attributes
	for( var attName in oAttributes )
		oNewNode.setAttribute( attName, oAttributes[attName], 0 ) ;	// 0 : Case Insensitive

	return oNewNode ;
}

// Copy all the attributes from one node to the other, kinda like a clone
// But oSkipAttributes is an object with the attributes that must NOT be copied
function CopyAttributes( oSource, oDest, oSkipAttributes )
{
	var aAttributes = oSource.attributes ;

	for ( var n = 0 ; n < aAttributes.length ; n++ )
	{
		var oAttribute = aAttributes[n] ;

		if ( oAttribute.specified )
		{
			var sAttName = oAttribute.nodeName ;
			// We can set the type only once, so do it with the proper value, not copying it.
			if ( sAttName in oSkipAttributes )
				continue ;

			var sAttValue = oSource.getAttribute( sAttName, 2 ) ;
			if ( sAttValue == null )
				sAttValue = oAttribute.nodeValue ;

			oDest.setAttribute( sAttName, sAttValue, 0 ) ;	// 0 : Case Insensitive
		}
	}
	// The style:
	oDest.style.cssText = oSource.style.cssText ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
奇米影视在线99精品| 一区二区三区在线免费视频| 欧美中文字幕一区二区三区 | 99精品视频在线观看免费| 经典三级视频一区| 老司机免费视频一区二区三区| 天堂蜜桃91精品| 亚洲一二三专区| 亚洲一区二区三区四区五区黄 | 蜜臀a∨国产成人精品| 日韩精品91亚洲二区在线观看| 亚洲国产一区视频| 亚洲国产cao| 日韩专区在线视频| 美女视频免费一区| 国产suv精品一区二区6| 不卡的电影网站| 91网页版在线| 欧美色男人天堂| 欧美一区二区久久久| 久久亚洲精华国产精华液| 精品99一区二区三区| 国产精品成人免费在线| 一区二区三区高清不卡| 视频一区国产视频| 国产乱码精品一区二区三| heyzo一本久久综合| 欧美视频中文字幕| 精品乱人伦小说| 亚洲天堂2016| 一区二区三区四区视频精品免费 | 日韩国产精品久久久久久亚洲| 人人精品人人爱| 成人综合婷婷国产精品久久 | 91精选在线观看| 久久久99精品久久| 亚洲一区二区视频在线观看| 久久国产尿小便嘘嘘| 成人性视频免费网站| 在线观看日韩电影| 久久蜜桃av一区二区天堂| 一级特黄大欧美久久久| 国内精品国产成人国产三级粉色| 91在线观看下载| 欧美一区二区视频在线观看2020 | 中文字幕一区二| 日本中文字幕一区二区有限公司| 成人午夜在线播放| 欧美一卡在线观看| 夜夜精品视频一区二区| 国产精品一二三区在线| 欧美日韩电影在线播放| 亚洲视频在线观看一区| 韩国精品一区二区| 欧美日韩国产首页在线观看| 中文字幕免费一区| 久久av老司机精品网站导航| 精品视频在线免费| 亚洲色图欧洲色图| 不卡的电影网站| 国产网站一区二区| 久久精品二区亚洲w码| 欧美日韩色一区| 亚洲三级在线看| 成人av电影在线播放| 久久综合狠狠综合久久综合88| 日韩av一区二| 91.xcao| 亚洲国产视频在线| 91福利国产成人精品照片| 国产精品国产精品国产专区不蜜 | 欧美一卡二卡三卡四卡| 亚洲一二三四在线观看| 色综合久久九月婷婷色综合| 国产精品美女久久久久久2018| 久久成人综合网| 日韩免费在线观看| 久久疯狂做爰流白浆xx| 欧美电影精品一区二区| 久久99蜜桃精品| 精品国产乱码久久久久久老虎| 蜜臀久久99精品久久久久宅男 | 国产一区二区福利| 久久九九久精品国产免费直播| 精品亚洲成a人| 久久综合国产精品| 成人免费毛片片v| 中文字幕亚洲视频| 欧美综合亚洲图片综合区| 亚洲国产成人高清精品| 91精品久久久久久久99蜜桃| 久久精品国产免费看久久精品| 精品sm在线观看| 成人免费观看视频| 亚洲精品视频免费观看| 9191成人精品久久| 精品一区中文字幕| 久久九九影视网| 国产成人免费高清| 久久一夜天堂av一区二区三区| 久久66热re国产| 久久久久久麻豆| 91香蕉视频在线| 一区二区三区免费在线观看| 欧美影视一区二区三区| 天天做天天摸天天爽国产一区| 欧美精品久久久久久久久老牛影院 | 久久66热re国产| 国产三级精品在线| aa级大片欧美| 亚洲美女屁股眼交3| 91精品婷婷国产综合久久性色| 亚洲一区二区三区免费视频| 欧美视频在线一区| 美女网站一区二区| 中文无字幕一区二区三区| av电影在线观看完整版一区二区| 日韩美女精品在线| 欧美喷水一区二区| 激情五月播播久久久精品| 欧美国产综合色视频| 一本色道久久综合亚洲精品按摩| 丝袜美腿亚洲一区二区图片| 中文字幕巨乱亚洲| 欧美日韩国产影片| 国产精品一区二区免费不卡 | 国产精品每日更新在线播放网址| www..com久久爱| 日韩av电影天堂| 中文字幕成人av| 欧美日韩国产bt| 成人免费看黄yyy456| 亚洲国产日产av| 精品国产乱码久久久久久牛牛| 99久久er热在这里只有精品15| 午夜精品成人在线视频| 国产日韩欧美精品综合| 欧美日韩成人综合在线一区二区| 国产成人精品免费网站| 午夜精品视频在线观看| 中文字幕不卡在线| 国产伦理精品不卡| 91国产福利在线| 手机精品视频在线观看| 国产精品妹子av| 精品国免费一区二区三区| 99国产欧美另类久久久精品| 久久精品国产一区二区| 亚洲一区二区在线视频| 国产精品美女久久久久久2018| 日韩欧美一级在线播放| 欧美在线影院一区二区| 在线观看免费成人| a级精品国产片在线观看| 国产一区三区三区| 强制捆绑调教一区二区| 亚洲国产日产av| 亚洲成人av电影| 亚洲国产成人精品视频| 亚洲精品免费一二三区| 国产精品久久国产精麻豆99网站| 精品久久久久久无| 久久亚洲一级片| 欧美成人一区二区三区在线观看| 在线观看一区不卡| 色婷婷精品大在线视频| 91黄色小视频| 91热门视频在线观看| 91福利视频久久久久| 在线精品视频小说1| 91毛片在线观看| 欧洲一区在线观看| 欧美三级韩国三级日本三斤| 91.xcao| 欧美一二三区在线| 欧美大白屁股肥臀xxxxxx| 日韩一区二区麻豆国产| 日韩一区二区三| 欧美国产激情二区三区| 国产精品毛片高清在线完整版| 欧美激情综合五月色丁香小说| 国产农村妇女精品| 最新不卡av在线| 亚洲女子a中天字幕| 亚洲宅男天堂在线观看无病毒| 亚洲国产cao| 免费成人深夜小野草| 久久av中文字幕片| av不卡在线播放| 在线成人免费视频| 精品少妇一区二区| 中文字幕欧美一区| 亚洲免费成人av| 九九国产精品视频| 国产91丝袜在线播放0| 91老师片黄在线观看| 欧美久久高跟鞋激| 中文字幕视频一区| 日韩中文字幕麻豆| 国产成人精品免费|