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

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

?? fck_dialog_common.js

?? 小型保潔門戶網站源碼,采用php+access+prototype+fck完成,具備網站欄目管理及新聞發布系統
?? 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一区二区三区免费野_久草精品视频
亚洲蜜臀av乱码久久精品蜜桃| 亚洲黄网站在线观看| 9i看片成人免费高清| 国产成人av电影在线| 蜜桃免费网站一区二区三区| 一区二区三区中文免费| 欧美激情中文字幕一区二区| 久久久久国产一区二区三区四区| 欧美人狂配大交3d怪物一区| 国内精品第一页| 久久国产三级精品| 日韩精品乱码av一区二区| 午夜欧美一区二区三区在线播放| 亚洲黄网站在线观看| 亚洲欧美另类综合偷拍| 久久久av毛片精品| 国产精品妹子av| 国产偷国产偷精品高清尤物| 久久综合一区二区| 欧美精品123区| 日韩午夜三级在线| 日韩欧美一区二区免费| 日韩视频在线你懂得| 在线观看亚洲a| 欧美日韩欧美一区二区| 欧美色精品天天在线观看视频| 欧洲色大大久久| 91精品国产入口在线| 日韩一卡二卡三卡四卡| 日韩欧美国产成人一区二区| 日韩一级黄色片| 日韩欧美综合在线| 欧美精品一区二区三区在线| 日韩一级高清毛片| 久久这里都是精品| 26uuu亚洲综合色| 国产人成一区二区三区影院| 国产精品色眯眯| 亚洲黄色av一区| 麻豆精品视频在线观看免费| 精品一区二区三区蜜桃| 国产美女视频91| 成人黄色777网| 日本道色综合久久| 91精品国产麻豆| 久久精品视频一区| 国产精品不卡视频| 日本vs亚洲vs韩国一区三区| 精品一区二区在线视频| 国产suv精品一区二区6| 91麻豆国产精品久久| 欧美放荡的少妇| 久久综合久久久久88| 亚洲国产激情av| 亚洲国产三级在线| 午夜精品久久久久久久蜜桃app | 国产麻豆成人传媒免费观看| 韩国成人福利片在线播放| 国产91精品免费| 欧美日韩国产综合草草| 久久综合久久综合久久综合| 国产精品三级在线观看| 亚洲国产精品一区二区www在线| 亚洲丝袜自拍清纯另类| 极品尤物av久久免费看| 国产传媒一区在线| 欧美精三区欧美精三区| 日本一区二区电影| 国产一区999| 色婷婷综合久久久中文一区二区 | 日韩影院精彩在线| 琪琪一区二区三区| 91色在线porny| 日韩视频免费直播| 成人欧美一区二区三区1314| 综合色天天鬼久久鬼色| 欧美精品亚洲二区| 国产欧美精品一区二区色综合 | 亚洲视频中文字幕| 青青青伊人色综合久久| 色综合色狠狠综合色| 欧美一区二区黄| 亚洲品质自拍视频| 国产一区二区三区日韩| 欧美色精品天天在线观看视频| 国产精品久久久久婷婷| 蜜臀久久99精品久久久画质超高清| 丁香一区二区三区| 日韩亚洲欧美高清| 一区二区三区资源| 狠狠色丁香九九婷婷综合五月| 在线观看视频欧美| 中文字幕免费不卡在线| 久久精品久久综合| 在线观看视频一区二区| 国产精品亲子伦对白| 久久av资源站| 在线成人小视频| 亚洲乱码日产精品bd| 99精品在线免费| 国产欧美一区二区三区网站| 日韩成人av影视| 在线视频观看一区| 国产精品美女久久久久高潮| 另类的小说在线视频另类成人小视频在线 | 日韩欧美国产一二三区| 午夜av电影一区| 欧美日韩一本到| 亚洲成年人影院| 欧美一区二区三区性视频| 婷婷开心激情综合| 欧美人牲a欧美精品| 日韩精品视频网| 日韩欧美一区二区视频| 麻豆一区二区在线| 久久青草欧美一区二区三区| 国产精品一级二级三级| 国产婷婷精品av在线| 成人亚洲一区二区一| 亚洲欧美怡红院| 在线视频国内一区二区| 五月激情六月综合| 日韩一级片在线播放| 韩国成人在线视频| 中文字幕av一区二区三区免费看| 岛国精品一区二区| 亚洲欧美日韩在线| 欧美视频一区二| 免费一区二区视频| 久久这里只有精品视频网| 成人va在线观看| 一区二区三区在线高清| 欧美欧美欧美欧美| 国产在线麻豆精品观看| 国产精品丝袜一区| 欧美性欧美巨大黑白大战| 免费成人av在线播放| 国产女同性恋一区二区| 色综合咪咪久久| 毛片基地黄久久久久久天堂| 国产三级三级三级精品8ⅰ区| 成人h动漫精品一区二区| 一级日本不卡的影视| 日韩女同互慰一区二区| www.欧美日韩国产在线| 午夜在线成人av| 国产亚洲精品aa午夜观看| 色94色欧美sute亚洲线路二| 蜜桃视频在线一区| 国产精品黄色在线观看| 欧美日韩国产经典色站一区二区三区| 精彩视频一区二区| 亚洲欧美二区三区| 日韩欧美国产成人一区二区| 99精品视频在线观看免费| 全部av―极品视觉盛宴亚洲| 国产精品久久久久久亚洲毛片| 欧美日韩日日夜夜| 成人av在线影院| 日本欧美加勒比视频| 中文字幕中文字幕一区二区| 日韩色在线观看| 91玉足脚交白嫩脚丫在线播放| 蜜桃视频第一区免费观看| 亚洲免费在线看| 久久这里只有精品6| 欧美午夜一区二区三区| 风间由美性色一区二区三区| 午夜精品福利一区二区蜜股av | 国产精品123区| 亚洲五月六月丁香激情| 亚洲国产精品精华液2区45| 欧美日韩国产小视频在线观看| jlzzjlzz亚洲日本少妇| 久久99日本精品| 亚洲一区视频在线| 1000部国产精品成人观看| 欧美一级午夜免费电影| 欧美色中文字幕| 97精品国产露脸对白| 国产一区二区在线电影| 视频一区在线播放| 亚洲一区二区美女| 成人免费一区二区三区在线观看 | 免费观看30秒视频久久| 一区二区三区国产豹纹内裤在线 | 成人激情图片网| 国产精品一区二区黑丝| 日本成人在线看| 午夜天堂影视香蕉久久| 国产精品高清亚洲| 日本一区二区免费在线| 精品福利在线导航| 欧美一区二区二区| 欧美日本在线视频| 欧美色电影在线| 欧美影片第一页| 欧美午夜精品免费| 欧美在线播放高清精品| 在线亚洲欧美专区二区|