/*
*######################################
* eWebEditor v3.60 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2006 eWebSoft.com
*
* For further information go to http://www.ewebsoft.com/
* This copyright notice MUST stay intact for use.
*######################################
*/


var lang = new Object() ;

var AvailableLangs = new Object() ;
AvailableLangs.TranslatePage = function( targetDocument ){
	var aInputs = targetDocument.getElementsByTagName("INPUT") ;
	for ( i = 0 ; i < aInputs.length ; i++ ){
		if ( aInputs[i].lang )
			aInputs[i].value = lang[ aInputs[i].lang ] ;
	}

	var aSpans = targetDocument.getElementsByTagName("SPAN") ;
	for ( i = 0 ; i < aSpans.length ; i++ ){
		if ( aSpans[i].lang )
			aSpans[i].innerText = lang[ aSpans[i].lang ] ;
	}
	
	var aOptions = targetDocument.getElementsByTagName("OPTION") ;
	for ( i = 0 ; i < aOptions.length ; i++ ){
		if ( aOptions[i].lang )
			aOptions[i].innerText = lang[ aOptions[i].lang ] ;
	}
}


//#####################################
// Toolbar Items
//#####################################

//Edit
lang["EditMenu"]				= "编辑菜单"
lang["UnDo"]					= "撤消"
lang["ReDo"]					= "恢复"
lang["Cut"]						= "剪切"
lang["Copy"]					= "复制"
lang["Paste"]					= "常规粘贴"
lang["PasteText"]				= "纯文本粘贴"
lang["PasteWord"]				= "从Word粘贴"
lang["Delete"]					= "删除"
lang["RemoveFormat"]			= "删除文字格式"
lang["SelectAll"]				= "全部选中"
lang["UnSelect"]				= "取消选择"
lang["FindReplace"]				= "查找替换..."

// Font
lang["FontMenu"]				= "字体菜单"
lang["Bold"]					= "粗体"
lang["Italic"]					= "斜体"
lang["UnderLine"]				= "下划线"
lang["StrikeThrough"]			= "中划线"
lang["SuperScript"]				= "上标"
lang["SubScript"]				= "下标"
lang["ForeColor"]				= "字体颜色"
lang["BackColor"]				= "字体背景色"
lang["Big"]						= "字体增大"
lang["Small"]					= "字体减小"

// Paragraph
lang["ParagraphMenu"]			= "段落菜单"
lang["JustifyLeft"]				= "左对齐"
lang["JustifyCenter"]			= "居中对齐"
lang["JustifyRight"]			= "右对齐"
lang["JustifyFull"]				= "两端对齐"
lang["OrderedList"]				= "编号"
lang["UnOrderedList"]			= "项目符号"
lang["Indent"]					= "增加缩进量"
lang["Outdent"]					= "减少缩进量"
lang["Paragraph"]				= "插入段落"
lang["BR"]						= "插入换行符"
lang["ParagraphAttr"]			= "段落属性"

// Component
lang["ComponentMenu"]			= "组件菜单"
lang["Image"]					= "插入或修改图片"
lang["Flash"]					= "插入FLASH动画"
lang["Media"]					= "插入自动播放媒体"
lang["File"]					= "插入其它文件"
lang["RemoteUpload"]			= "远程自动上传"
lang["Fieldset"]				= "插入或修改栏目框"
lang["Iframe"]					= "插入或修改网页帧"
lang["HorizontalRule"]			= "插入水平尺"
lang["Marquee"]					= "插入或修改字幕"
lang["CreateLink"]				= "插入或修改超链接"
lang["Unlink"]					= "取消超链接或标签"
lang["Map"]						= "图形热点链接"
lang["Anchor"]					= "标签管理"

// Object
lang["ObjectMenu"]				= "对象效果菜单"
lang["BgColor"]					= "对象背景颜色"
lang["BackImage"]				= "背景图片"
lang["absolutePosition"]		= "绝对或相对位置"
lang["zIndexBackward"]			= "下移一层"
lang["zIndexForward"]			= "上移一层"
lang["ShowBorders"]				= "显示隐藏指导方针"
lang["Quote"]					= "引用样式"
lang["Code"]					= "代码样式"

// Tool
lang["ToolMenu"]				= "工具菜单"
lang["CSS"]						= "样式"
lang["Symbol"]					= "插入特殊字符"
lang["Excel"]					= "插入EXCEL表格"
lang["Emot"]					= "插入表情图标"
lang["EQ"]						= "插入或修改公式"
lang["Art"]						= "插入或修改艺术字"
lang["NowDate"]					= "插入当前日期"
lang["NowTime"]					= "插入当前时间"
lang["Page"]					= "插入分页符"

// Form
lang["FormMenu"]				= "表单菜单"
lang["FormText"]				= "插入输入框"
lang["FormTextArea"]			= "插入输入区"
lang["FormRadio"]				= "插入单选钮"
lang["FormCheckbox"]			= "插入复选钮"
lang["FormDropdown"]			= "插入下拉框"
lang["FormButton"]				= "插入按钮"

// Table
lang["TableMenu"]				= "表格菜单"
lang["TableInsert"]				= "插入表格..."
lang["TableProp"]				= "表格属性..."
lang["TableCellProp"]			= "单元格属性..."
lang["TableCellSplit"]			= "拆分单元格..."
lang["TableRowProp"]			= "表格行属性..."
lang["TableRowInsertAbove"]		= "插入行（在上方）"
lang["TableRowInsertBelow"]		= "插入行（在下方）"
lang["TableRowMerge"]			= "合并行（向下方）"
lang["TableRowSplit"]			= "拆分行"
lang["TableRowDelete"]			= "删除行"
lang["TableColInsertLeft"]		= "插入列（在左侧）"
lang["TableColInsertRight"]		= "插入列（在右侧）"
lang["TableColMerge"]			= "合并列（向右侧）"
lang["TableColSplit"]			= "拆分列"
lang["TableColDelete"]			= "删除列"

// File&View
lang["FileMenu"]				= "文件视图菜单"
lang["Refresh"]					= "新建"
lang["ModeCode"]				= "代码状态"
lang["ModeEdit"]				= "编辑状态"
lang["ModeText"]				= "文本状态"
lang["ModeView"]				= "预览状态"
lang["SizePlus"]				= "增高编辑区"
lang["SizeMinus"]				= "减小编辑区"
lang["Print"]					= "打印"
lang["ZoomMenu"]				= "缩放菜单"
lang["Maximize"]				= "全屏编辑"
lang["Minimize"]				= "全屏返回"
lang["Save"]					= "保存并返回"

// Help
lang["Help"]					= "查看使用帮助"
lang["About"]					= "关于eWebEditor"
lang["Site"]					= "eWebEditor站点"

// Combo
lang["FontName"]				= "<option selected>字体</option><option value='宋体'>宋体</option><option value='黑体'>黑体</option><option value='楷体_GB2312'>楷体</option><option value='仿宋_GB2312'>仿宋</option><option value='隶书'>隶书</option><option value='幼圆'>幼圆</option><option value='Arial'>Arial</option><option value='Arial Black'>Arial Black</option><option value='Arial Narrow'>Arial Narrow</option><option value='Brush Script MT'>Brush Script MT</option><option value='Century Gothic'>Century Gothic</option><option value='Comic Sans MS'>Comic Sans MS</option><option value='Courier'>Courier</option><option value='Courier New'>Courier New</option><option value='MS Sans Serif'>MS Sans Serif</option><option value='Script'>Script</option><option value='System'>System</option><option value='Times New Roman'>Times New Roman</option><option value='Verdana'>Verdana</option><option value='Wide Latin'>Wide Latin</option><option value='Wingdings'>Wingdings</option>"
lang["FontSize"]				= "<option selected>字号</option><option value='7'>一号</option><option value='6'>二号</option><option value='5'>三号</option><option value='4'>四号</option><option value='3'>五号</option><option value='2'>六号</option><option value='1'>七号</option>"
lang["FormatBlock"]				= "<option selected>段落样式</option><option value='&lt;P&gt;'>普通</option><option value='&lt;H1&gt;'>标题一</option><option value='&lt;H2&gt;'>标题二</option><option value='&lt;H3&gt;'>标题三</option><option value='&lt;H4&gt;'>标题四</option><option value='&lt;H5&gt;'>标题五</option><option value='&lt;H6&gt;'>标题六</option><option value='&lt;p&gt;'>段落</option><option value='&lt;dd&gt;'>定义</option><option value='&lt;dt&gt;'>术语定义</option><option value='&lt;dir&gt;'>目录列表</option><option value='&lt;menu&gt;'>菜单列表</option><option value='&lt;PRE&gt;'>已编排格式</option>"
lang["ZoomSelect"]				= "缩放下拉框"

// Status Bar Button
lang["StatusModeCode"]			= "代码"
lang["StatusModeEdit"]			= "设计"
lang["StatusModeText"]			= "文本"
lang["StatusModeView"]			= "预览"




//#####################################
// Dialog
//#####################################


// About Dialog
lang["DlgAbout"]				= "关于 - eWebEditor"
lang["DlgAboutVersion"]			= "版本"
lang["DlgAboutLicense"]			= "版权所有"
lang["DlgAboutInfo"]			= "更多关于eWebEditor在线编辑器的信息，请访问："

// Anchor Dialog
lang["DlgAnchor"]				= "标签管理"
lang["DlgAnchorNoName"]			= "请输入书签名称！"
lang["DlgAnchorNoSelected"]		= "请先选择一个书签！"
lang["DlgAnchorName"]			= "书签名称"
lang["DlgAnchorOther"]			= "本页其它书签"

// BackImage Dialog
lang["DlgBkImg"]				= "背景图属性"
lang["DlgBkImgSource"]			= "图片来源"
lang["DlgBkImgCancelBg"]		= "取消背景图"
lang["DlgBkImgEffect"]			= "显示效果"
lang["DlgBkImgRepeat"]			= "平铺方式"
lang["DlgBkImgRepeatR"]			= "纵向横向"
lang["DlgBkImgRepeatNo"]		= "不平铺"
lang["DlgBkImgRepeatX"]			= "横向"
lang["DlgBkImgRepeatY"]			= "纵向"
lang["DlgBkImgAttach"]			= "滚动固定"
lang["DlgBkImgAttachScroll"]	= "滚动"
lang["DlgBkImgAttachFixed"]		= "固定"

// BackImage Dialog System Image
lang["DlgBkImgSnow"]			= "雪花"
lang["DlgBkImgNature"]			= "自然"
lang["DlgBkImgClear"]			= "晴朗"
lang["DlgBkImgGlacier"]			= "冰川"
lang["DlgBkImgFiesta"]			= "节日"
lang["DlgBkImgBirthday"]		= "生日"
lang["DlgBkImgCitrus"]			= "秋叶"
lang["DlgBkImgHearts"]			= "心型"
lang["DlgBkImgFlower"]			= "鲜花"
lang["DlgBkImgGathering"]		= "花纹"
lang["DlgBkImgChristmas"]		= "圣诞节"
lang["DlgBkImgIvy"]				= "常春藤"
lang["DlgBkImgTech"]			= "技术型"
lang["DlgBkImgMaize"]			= "黄色旋纹"
lang["DlgBkImgGrid"]			= "绿色方格"

// Emot Dialog
lang["DlgEmot"]					= "插入表情图标"

// Fieldset Dialog
lang["DlgFs"]					= "栏目框属性"
lang["DlgFsFieldset"]			= "栏目对齐"
lang["DlgFsLegend"]				= "标题对齐"

// File Dialog
lang["DlgFile"]					= "文件属性"
lang["DlgFileSource"]			= "文件来源"

// Find/Replace Dialog
lang["DlgFR"]					= "查找 / 替换"
lang["DlgFRNoKey"]				= "请输入查找内容"
lang["DlgFRRestart"]			= "搜索完成，是否要从顶部开始重新搜索？"
lang["DlgFRNoFound"]			= "要查找的内容没有找到"
lang["DlgFRReplaceOK"]			= "处文本被替换成功"
lang["DlgFRSearchKey"]			= "查询内容"
lang["DlgFRReplaceKey"]			= "替换内容"
lang["DlgFRMatchCase"]			= "区分大小写"
lang["DlgFRMatchWord"]			= "全部匹配"
lang["DlgFRFindNext"]			= "查找下一个"
lang["DlgFRReplace"]			= "替换"
lang["DlgFRReplaceAll"]			= "全部替换"

// Flash Dialog
lang["DlgFlash"]				= "Flash动画属性"
lang["DlgFlashSource"]			= "Flash来源"
lang["DlgFlashEffect"]			= "显示效果"
lang["DlgFlashWidth"]			= "显示宽度"
lang["DlgFlashHeight"]			= "显示高度"

// Fullscreen Dialog
lang["DlgFullscreen"]			= "eWebEditor - 全屏编辑"

// Hyperlink Dialog
lang["DlgHylnk"]				= "超级链接属性"
lang["DlgHylnkNoUrl"]			= "链接地址不能为空"
lang["DlgHylnkLegend"]			= "超级链接信息"
lang["DlgHylnkProtocol"]		= "链接类型"
lang["DlgHylnkTarget"]			= "链接目标"
lang["DlgHylnkTargetNone"]		= "默认(无)"
lang["DlgHylnkTargetSelf"]		= "相同框架"
lang["DlgHylnkTargetTop"]		= "整页"
lang["DlgHylnkTargetBlank"]		= "新建窗口"
lang["DlgHylnkTargetParent"]	= "父框架"
lang["DlgHylnkUrl"]				= "链接地址"
lang["DlgHylnkAnchor"]			= "书签链接"
lang["DlgHylnkAnchorNone"]		= "默认(无)"

// Image Dialog
lang["DlgImg"]					= "图片属性"
lang["DlgImgErrBorColor"]		= "提示：\n\n无效的边框颜色值！"
lang["DlgImgSource"]			= "图片来源"
lang["DlgImgEffect"]			= "显示效果"
lang["DlgImgAlt"]				= "说明文字"
lang["DlgImgBorder"]			= "边框粗细"
lang["DlgImgBorderColor"]		= "边框颜色"
lang["DlgImgSpecEffect"]		= "特殊效果"
lang["DlgImgAlpha1"]			= "半透明"
lang["DlgImgAlpha2"]			= "线型透明"
lang["DlgImgAlpha3"]			= "放射透明"
lang["DlgImgBlur1"]				= "模糊效果"
lang["DlgImgBlur2"]				= "风动模糊"
lang["DlgImgWave"]				= "正弦波纹"
lang["DlgImgGray"]				= "黑白照片"
lang["DlgImgChroma"]			= "白色透明"
lang["DlgImgDropShadow"]		= "投射阴影"
lang["DlgImgShadow"]			= "阴影"
lang["DlgImgGlow"]				= "发光"
lang["DlgImgFlipv"]				= "垂直翻转"
lang["DlgImgFliph"]				= "左右翻转"
lang["DlgImgGrays"]				= "降低彩色"
lang["DlgImgXray"]				= "X光照片"
lang["DlgImgInvert"]			= "底片"
lang["DlgImgWidth"]				= "图片宽度"
lang["DlgImgHeight"]			= "图片高度"
lang["DlgImgVSpace"]			= "上下间距"
lang["DlgImgHSpace"]			= "左右间距"
lang["DlgImgPreview"]			= "预览"

// Marquee Dialog
lang["DlgMarquee"]				= "字幕属性"
lang["DlgMarqueeText"]			= "文本"
lang["DlgMarqueeBehavior"]		= "表现"
lang["DlgMarqueeScroll"]		= "滚动条"
lang["DlgMarqueeSlide"]			= "幻灯片"
lang["DlgMarqueeAlternate"]		= "交替"

// Media Dialog
lang["DlgMedia"]				= "媒体文件属性"
lang["DlgMediaSource"]			= "媒体文件来源"
lang["DlgMediaEffect"]			= "播放效果"
lang["DlgMediaWidth"]			= "播放宽度"
lang["DlgMediaHeight"]			= "播放高度"

// SelColor Dialog
lang["DlgSelCor"]				= "颜色选择"
lang["DlgSelCorForecolor"]		= "字体前景色"
lang["DlgSelCorBackcolor"]		= "字体背景色"
lang["DlgSelCorBgcolor"]		= "对象背景色"
lang["DlgSelCorSel"]			= "选中色彩"
lang["DlgSelCorBase"]			= "基色"
lang["DlgSelCorLight"]			= "亮度"
lang["DlgSelCorCode"]			= "代码"

// Symbol Dialog
lang["DlgSymbol"]				= "插入特殊符号"
lang["DlgSymbolSpecial"]		= "特殊"
lang["DlgSymbolInterpunction"]	= "标点"
lang["DlgSymbolMath"]			= "数学"
lang["DlgSymbolUnit"]			= "单位"
lang["DlgSymbolNumber"]			= "数字"
lang["DlgSymbolSpell"]			= "拼音"
lang["DlgSymbolPreview"]		= "预览"

// Table Dialog
lang["DlgTab"]					= "表格属性"
lang["DlgTabInvalidRow"]		= "无效的行数，至少要1行！"
lang["DlgTabInvalidCol"]		= "无效的列数，至少要1列！"
lang["DlgTabInvalidWidth"]		= "无效的表格宽度！"
lang["DlgTabInvalidHeight"]		= "无效的表格高度！"
lang["DlgTabRowsCols"]			= "表格大小"
lang["DlgTabRows"]				= "表格行数"
lang["DlgTabCols"]				= "表格列数"
lang["DlgTabLayout"]			= "表格布局"
lang["DlgTabBorder"]			= "边框粗细"
lang["DlgTabCellspacing"]		= "单元间距"
lang["DlgTabCellpadding"]		= "单元边距"
lang["DlgTabSize"]				= "表格尺寸"
lang["DlgTabChkWidth"]			= "指定表格的宽度"
lang["DlgTabChkHeight"]			= "指定表格的高度"
lang["DlgTabStyle"]				= "表格样式"
lang["DlgTabBorderStyle"]		= "边框样式"
lang["DlgTabBgImage"]			= "背景图片"

// Table Cell/Row Dialog
lang["DlgTabCelErrWidth"]		= "无效的宽度！"
lang["DlgTabCelErrHeight"]		= "无效的高度！"
lang["DlgTabCelLayout"]			= "布局"
lang["DlgTabCelHAlign"]			= "水平对齐"
lang["DlgTabCelVAlign"]			= "垂直对齐"
lang["DlgTabCelSize"]			= "尺寸"
lang["DlgTabCelChkWidth"]		= "指定宽度"
lang["DlgTabCelChkHeight"]		= "指定高度"
lang["DlgTabCelStyle"]			= "样式"
lang["DlgTabCelBorderStyle"]	= "边框样式"
lang["DlgTabCelBgImage"]		= "背景图片"

// Table Cell Split Dialog
lang["DlgCelSpt"]				= "单元格拆分"
lang["DlgCelSptCols"]			= "列数"
lang["DlgCelSptRows"]			= "行数"
lang["DlgCelSptErrRowCol"]		= "无效的行列数，必须大于1！"
lang["DlgCelSptSplitCol"]		= "拆分为列"
lang["DlgCelSptSplitRow"]		= "拆分为行"

// Dialog Button
lang["DlgBtnClose"]				= "关闭"
lang["DlgBtnOK"]				= "确定"
lang["DlgBtnCancel"]			= "取消"
lang["DlgBtnGoto"]				= "转到"
lang["DlgBtnDel"]				= "删除"

// Dialog Common
lang["DlgComTable"]				= "表格"
lang["DlgComTableCell"]			= "单元格"
lang["DlgComTableRow"]			= "表格行"
lang["DlgComSet"]				= "设置"
lang["DlgComBody"]				= "网页"
lang["DlgComDefault"]			= "默认"
lang["DlgComUploading"]			= "...上传中...请等待..."
lang["DlgComInsert"]			= "插入"
lang["DlgComModify"]			= "修改"
lang["DlgComTitle"]				= "标题"
lang["DlgComContent"]			= "内容"
lang["DlgComOther"]				= "其它"
lang["DlgComNone"]				= "无"
lang["DlgComPx"]				= "像素"
lang["DlgComPer"]				= "百分比"
lang["DlgComAttribute"]			= "属性"

// Dialog Align
lang["DlgAlign"]				= "对齐方式"
lang["DlgAlignLeft"]			= "左对齐"
lang["DlgAlignRight"]			= "右对齐"
lang["DlgAlignCenter"]			= "居中对齐"
lang["DlgAlignFull"]			= "两端对齐"
lang["DlgAlignTop"]				= "顶部"
lang["DlgAlignMiddle"]			= "中部"
lang["DlgAlignBottom"]			= "底部"
lang["DlgAlignAbsmiddle"]		= "绝对居中"
lang["DlgAlignAbsbottom"]		= "绝对底部"
lang["DlgAlignBaseline"]		= "基线"
lang["DlgAlignTexttop"]			= "文本顶部"

// Dialog Color
lang["DlgColor"]				= "颜色属性"
lang["DlgColorBorder"]			= "边框颜色"
lang["DlgColorBg"]				= "背景颜色"

// Dialog From
lang["DlgFromFile"]				= "上传"
lang["DlgFromUrl"]				= "网络"
lang["DlgFromSys"]				= "系统"

// Dialog Line
lang["DlgLineSolid"]			= "实线"
lang["DlgLineDotted"]			= "虚线"
lang["DlgLineDashed"]			= "破折号"
lang["DlgLineDouble"]			= "双线"
lang["DlgLineGroove"]			= "凹线"
lang["DlgLineRidge"]			= "凸线"
lang["DlgLineInset"]			= "嵌入"
lang["DlgLineOutset"]			= "开端"




//#####################################
// Message
//#####################################
lang["ErrNoLinkField"]			= "调用错误：请传入调用参数ID，即隐藏的内容表单项ID！"
lang["ErrInvalidStyle"]			= "调用错误：请传入有效的样式名！"
lang["ErrUploadInvalidExt"]		= "提示：\n\n请选择一个有效的文件，\n支持的格式有"
lang["ErrUploadInvalidFile"]	= "请选择有效的上传文件！"
lang["ErrUploadSizeLimit"]		= "您上传的文件总大小超出了最大限制"
lang["ErrParam"]				= "错误参数调用！"

lang["MsgPasteWordConfirm"]		= "你要粘贴的内容好象是从Word中拷出来的，是否要先清除Word格式再粘贴？"
lang["MsgNotCompatiblePaste"]	= "此功能要求IE5.5版本以上，你当前的浏览器不支持，是否按常规粘贴进行？"
lang["MsgOnlyInEditMode"]		= "需转换为编辑状态后才能使用编辑功能！"
lang["MsgCanotSetInViewMode"]	= "预览时不允许设置编辑区内容。"
lang["MsgNotCompatibleHtml"]	= "HTML编辑模式需要IE5.5版本以上的支持！"
lang["MsgNotCompatibleFunc"]	= "此功能需要IE5.5版本以上的支持！"
lang["MsgHtmlToText"]			= "警告！切换到纯文本模式会丢失您所有的HTML格式，您确认切换吗？"
lang["MsgHylnkLimit"]			= "链接只能是图片或文本"

lang["HtmlQuote"]				= "以下是引用片段："
lang["HtmlCode"]				= "以下是代码片段："

// Check Color
lang["ErrColorBorder"]			= "无效的边框颜色值！"
lang["ErrColorBg"]				= "无效的背景颜色值！"
lang["ErrColorInvalid"]			= "无效的颜色值！"




//#####################################
// Context Menu
//#####################################
lang["CMenuImg"]				= "图片属性..."




//#####################################
// Dialog UI (Pixles)
//#####################################
lang["UIMenuWidth"]				= 150
