function menuoption(funstr){       //HTML，CSS，JS等对象库的单击事件
menutab.style.display=''
switch(funstr){
case "html":
optionadd('<A ~~<APPLET ~~<BASE ~~<BGSOUND ~~<BODY ~~<BUTTON ~~<DIV ~~<EMBED ~~<FIELDSET ~~<FONT ~~<FORM ~~<FRAMESET ~~<HR ~~<HTML ~~<IFRAME ~~<IMG ~~<INPUT ~~<LABEL ~~<LAYER ~~<LINK ~~<MAP ~~<MARQUEE ~~<META ~~<OBJECT ~~<SCRIPT ~~<SELECT ~~<SPACER ~~<SPAN ~~<TABLE ~~<TEXTAREA ~~<ABBR></ABBR>~~<ACRONYM></ACRONYM>~~<ADDRESS></ADDRESS>~~<B></B>~~<BDO></BDO>~~<BIG></BIG>~~<BLANK></BLANK>~~<BLOCKQUOTE></BLOCKQUOTE>~~<BR></BR>~~<CENTER></CENTER>~~<CITE></CITE>~~<CODE></CODE>~~<DEL></DEL>~~<DFN></DFN>~~<EM></EM>~~<H1></H1>~~<H2></H2>~~<H3></H3>~~<H4></H4>~~<H5></H5>~~<H6></H6>~~<HEAD></HEAD>~~<I></I>~~<INS></INS>~~<KBD></KBD>~~<LISTING></LISTING>~~<NOFRAMES></NOFRAMES>~~<NOSCRIPT></NOSCRIPT>~~<P></P>~~<PRE></PRE>~~<Q></Q>~~<S></S>~~<SAMP></SAMP>~~<SMALL></SMALL>~~<STRIKE></STRIKE>~~<STRONG></STRONG>~~<STYLE></STYLE>~~<SUB></SUB>~~<SUP></SUP>~~<TITLE></TITLE>~~<TT></TT>~~<U></U>~~<VAR></VAR>~~-----------~~HTML必须代码声明')
break;
case "css":
optionadd('background:;~~background-Attachment:;~~background-Color:;~~background-Image:url();~~background-Position:;~~background-PositionX:;~~background-PositionY:;~~background-Repeat:;~~behavior:url(htc网址);~~border:;~~border-Bottom:;~~border-Bottom-Color:;~~border-Bottom-Style:;~~border-Bottom-Width:;~~border-Collapse:;~~border-Color:;~~border-Left:;~~border-Left-Color:;~~border-Left-Style:;~~border-Left-Width:;~~border-Right:;~~border-Right-Color:;~~border-Right-Style:;~~border-Right-Width:;~~border-Style:;~~border-Top:;~~border-Top-Color:;~~border-Top-Style:;~~border-Top-Width:;~~border-Width:;~~bottom:;~~clear:;~~clip:rect(,,,);~~color:;~~css-Text:;~~cursor:;~~direction:;~~display:;~~filter:;~~font:;~~font-Family:;~~font-Size:;~~font-Style:;~~font-Variant:;~~font-Weight:;~~height:;~~ime-Mode:;~~layout-Grid:;~~layout-Grid-Char:;~~layout-Grid-Line:;~~layout-Grid-Mode:;~~layout-Grid-Type:;~~left:;~~letter-Spacing:;~~line-Break:;~~line-Height:;~~list-Style:;~~list-Style-Image:;~~list-Style-Position:;~~list-Style-Type:;~~margin:;~~margin-Bottom:;~~margin-Left:;~~margin-Right:;~~margin-Top:;~~overflow:;~~overflow-X:;~~overflow-Y:;~~padding:;~~padding-Bottom:;~~padding-Left:;~~padding-Right:;~~padding-Top:;~~page-Break-After:;~~page-Break-Before:;~~pos-Bottom:;~~pos-Height:;~~position:;~~pos-Left:;~~pos-Right:;~~pos-Top:;~~pos-Width:;~~right:;~~ruby-Align:;~~ruby-Overhang:;~~ruby-Position:;~~style-Float:;~~table-Layout:;~~text-Align:;~~text-Autospace:;~~text-Decoration:;~~text-Decoration-Blink:;~~text-Decoration-Line-Through:;~~text-Decoration-None:;~~text-Decoration-Overline:;~~text-Decoration-Underline:;~~clear:;~~Css属性:expression(JS语句);~~include-source:url();~~rotation:30;~~scrollbar-3d-light-color:;~~scrollbar-arrow-color:;~~scrollbar-base-color:;~~scrollbar-dark-shadow-color:;~~scrollbar-face-color:;~~scrollbar-highlight-color:;~~scrollbar-shadow-color:;~~zoom:;')
break;
case "js":
optionadd("window.~~document.~~location.~~history.~~screen.~~navigateor.~~event.~~external.~~clientInformation.~~parent.~~self.~~top.~~Math.~~new Date().~~document.body.~~document.selection.~~-----------~~.anchor('~~.big()~~.blink()~~.bold()~~.charAt(~~.charCodeAt(~~.concat(~~.dimensions()~~.fixed()~~.fontcolor('~~.fontsize(~~.fromCharCode(~~.getItem(~~.indexOf('~~.italics()~~.join('~~.lastIndexOf('~~.link('~~.localeCompare('~~.pop()~~.push('~~.replace('~~.reverse()~~.shift()~~.slice(~~.small()~~.sort()~~.splice(~~.split(~~.strike()~~.sub()~~.substr(~~.substring(~~.sup()~~.toExponential(~~.toFixed(~~.toLocaleLowerCase()~~.toLocaleUpperCase()~~.toLowerCase()~~.toPrecision(~~.toString(~~.toUpperCase()~~.unescape('~~.unshift(~~.valueOf()~~alert('~~blur()~~clearInterval(~~clearTimeout(~~clipboardData.getData('~~clipboardData.setData('~~close()~~confirm('~~createPopup()~~decodeURI('~~decodeURIComponent('~~encodeURI('~~encodeURIComponent('~~escape('~~eval(~~execScript('~~focus()~~isFinite(~~isNaN(~~moveBy(~~moveTo(~~navigate('~~open('~~parseFloat('~~parseInt('~~print()~~prompt('~~resizeBy(~~resizeTo(~~scroll(~~scrollBy(~~scrollTo(~~setInterval('~~setTimeout('~~showModalDialog('~~showModelessDialog('")
break;
case "vbs":
optionadd('window.~~document.~~location.~~history.~~screen.~~navigateor.~~event.~~external.~~clientInformation.~~parent.~~self.~~top.~~document.body.~~document.selection.~~-----------~~Date~~GetLocale~~now~~Rnd~~ScriptEngine~~ScriptEngineBuildVersion~~ScriptEngineMajorVersion~~ScriptEngineMinorVersion~~time~~timer~~-----------~~Abs(~~Array(~~Asc(~~Atn(~~CBool(~~CByte(~~CCur(~~CDate(~~CDbl(~~Chr(~~CInt(~~CLng(~~Cos(~~CSng(~~CStr(~~DateAdd(~~DateDiff(~~DatePart(~~DateSerial(~~DateValue(~~Day(~~Exp(~~Filter(~~Fix(~~FormatCurrency(~~FormatDateTime(~~FormatNumber(~~FormatPercent(~~Hex(~~Hour(~~Instr(~~InstrRev(~~Int(~~IsArray(~~IsDate(~~IsEmpty(~~IsNull(~~IsNumeric(~~IsObject(~~Join(~~LCase(~~Left(~~Len(~~Log(~~LTrim(~~Mid(~~Minute(~~Month(~~MonthName(~~Oct(~~Replace(~~RGB(~~Right(~~Round(~~RTrim(~~Second(~~Sgn(~~Sin(~~Space(~~Split(~~Sqr(~~StrComp(~~String(~~StrReverse(~~Tan(~~TimeSerial(~~TimeValue(~~Trim(~~TypeName(~~UBound(~~UCase(~~VarType(~~Weekday(~~WeekdayName(')
break;
case "asp":
optionadd('Application.~~ObjectContext.~~Request.~~Response.~~Server.~~Session.~~-----------~~<%@Language=VBScript%>~~<%@EnableSessionState=False%>~~<!--#include virtual="文件绝对路径"-->~~<!--#include file="文件相对路径"-->~~Option Explicit~~Set 变量名=Server.CreateObject("~~Set 变量名=Nothing~~-----------~~Sub Application_OnEnd~~Sub Application_OnStart~~Sub OnTransactionAbort~~Sub OnTransactionCommit~~Sub Session_OnEnd~~Sub Session_OnStart~~-----------~~Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\数据库.mdb~~ASP操作数据库范例')
break;
case "sql":
optionadd("Alter Table ~~Create Index 索引名 ON 数据表 (字段名)~~Create Table 新建表名(字段名 DATETIME)~~Delete from 数据表 where ~~Drop Index 数据表.索引名~~Drop table 需要删除的数据库表名~~Insert Into 数据表(要添加数据的字段,同左) values ('添加值','同左')~~Select * from 表名 where ~~Truncate Table 需要删除的表名~~Update 数据表 SET 字段名='要幅于它的值',字段名='值' where")
break;
case "dhtml":
optionadd(".accessKey~~.align~~.all~~.attributes~~.behaviorUrns~~.canHaveChildren~~.canHaveHTML~~.childNodes.~~.children.~~.className~~.clientHeight~~.clientLeft~~.clientTop~~.clientWidth~~.complete~~.contentEditable~~.currentStyle~~.dataFld~~.dataFormatAs~~.dataSrc~~.dir~~.disabled~~.document~~.contentEditable~~.filters~~.firstChild~~.height~~.hideFocus~~.id~~.innerHTML~~.innerText~~.isContentEditable~~.isDisabled~~.isMultiLine~~.isTextEdit~~.lang~~.language~~.lastChild~~.nextSibling~~.nodeName~~.nodeType~~.nodeValue~~.offsetHeight~~.offsetLeft~~.offsetParent~~.offsetTop~~.offsetWidth~~.outerHTML~~.outerText~~.ownerDocument~~.parentElement~~.parentNode~~.parentTextEdit~~.previousSibling~~.readyState~~.recordNumber~~.runtimeStyle~~.scopeName~~.scrollHeight~~.scrollLeft~~.scrollTop~~.scrollWidth~~.sourceIndex~~.summary~~.tabIndex~~.tagName~~.tagUrn~~.title~~.width~~-----------~~.style~~.style.accelerator~~.style.background~~.style.backgroundAttachment~~.style.backgroundColor~~.style.backgroundImage~~.style.backgroundPosition~~.style.backgroundPositionX~~.style.backgroundPositionY~~.style.backgroundRepeat~~.style.behavior~~.style.border~~.style.borderBottom~~.style.borderBottomColor~~.style.borderBottomStyle~~.style.borderBottomWidth~~.style.borderCollapse~~.style.borderColor~~.style.borderLeft~~.style.borderLeftColor~~.style.borderLeftStyle~~.style.borderLeftWidth~~.style.borderRight~~.style.borderRightColor~~.style.borderRightStyle~~.style.borderRightWidth~~.style.borderStyle~~.style.borderTop~~.style.borderTopColor~~.style.borderTopStyle~~.style.borderTopWidth~~.style.borderWidth~~.style.bottom~~.style.clear~~.style.clip~~.style.color~~.style.cssText~~.style.cursor~~.style.direction~~.style.display~~.style.filter~~.style.font~~.style.fontFamily~~.style.fontSize~~.style.fontStyle~~.style.fontVariant~~.style.fontWeight~~.style.height~~.style.imeMode~~.style.layoutFlow~~.style.layoutGrid~~.style.layoutGridChar~~.style.layoutGridLine~~.style.layoutGridMode~~.style.layoutGridType~~.style.left~~.style.letterSpacing~~.style.lineBreak~~.style.lineHeight~~.style.listStyle~~.style.listStyleImage~~.style.listStylePosition~~.style.listStyleType~~.style.margin~~.style.marginBottom~~.style.marginLeft~~.style.marginRight~~.style.marginTop~~.style.minHeight~~.style.overflow~~.style.overflowX~~.style.overflowY~~.style.padding~~.style.paddingBottom~~.style.paddingLeft~~.style.paddingRight~~.style.paddingTop~~.style.pageBreakAfter~~.style.pageBreakBefore~~.style.posBottom~~.style.posHeight~~.style.position~~.style.posLeft~~.style.posRight~~.style.posTop~~.style.posWidth~~.style.right~~.style.rubyAlign~~.style.rubyOverhang~~.style.rubyPosition~~.style.scrollbar3dLightColor~~.style.scrollbarArrowColor~~.style.scrollbarBaseColor~~.style.scrollbarDarkShadowColor~~.style.scrollbarFaceColor~~.style.scrollbarHighlightColor~~.style.scrollbarShadowColor~~.style.scrollbarTrackColor~~.style.styleFloat~~.style.tableLayout~~.style.textAlign~~.style.textAlignLast~~.style.textAutospace~~.style.textDecoration~~.style.textDecorationBlink~~.style.textDecorationLineThrough~~.style.textDecorationNone~~.style.textDecorationOverline~~.style.textDecorationUnderline~~.style.textIndent~~.style.textJustify~~.style.textJustifyTrim~~.style.textKashida~~.style.textKashidaSpace~~.style.textOverflow~~.style.textTransform~~.style.textUnderlinePosition~~.style.top~~.style.unicodeBidi~~.style.verticalAlign~~.style.visibility~~.style.whiteSpace~~.style.width~~.style.wordBreak~~.style.wordSpacing~~.style.wordWrap~~.style.writingMode~~.style.zIndex~~.style.zoom~~-----------~~.onactivate=~~.onafterupdate=~~.onbeforeactivate=~~.onbeforecopy=~~.onbeforecut=~~.onbeforedeactivate=~~.onbeforeeditfocus=~~.onbeforepaste=~~.onbeforeupdate=~~.onblur=~~.oncellchange=~~.onclick=~~.oncontextmenu=~~.oncontrolselect=~~.oncopy=~~.oncut=~~.ondataavailable=~~.ondatasetchanged=~~.ondatasetcomplete=~~.ondblclick=~~.ondeactivate=~~.ondrag=~~.ondragend=~~.ondragenter=~~.ondragleave=~~.ondragover=~~.ondragstart=~~.ondrop=~~.onerrorupdate=~~.onfilterchange=~~.onfocus=~~.onfocusin=~~.onfocusout=~~.onhelp=~~.onkeydown=~~.onkeypress=~~.onkeyup=~~.onlayoutcomplete=~~.onlosecapture=~~.onmousedown=~~.onmouseenter=~~.onmouseleave=~~.onmousemove=~~.onmouseout=~~.onmouseover=~~.onmouseup=~~.onmousewheel=~~.onmove=~~.onmoveend=~~.onmovestart=~~.onpage=~~.onpaste=~~.onpropertychange=~~.onreadystatechange=~~.onresize=~~.onresizeend=~~.onresizestart=~~.onrowenter=~~.onrowexit=~~.onrowsdelete=~~.onrowsinserted=~~.onscroll=~~.onselectstart=")
break;
case "vml":
optionadd("<v:Arc ~~<v:Group ~~<v:Image ~~<v:Line ~~<v:Oval ~~<v:Polyline ~~<v:Rect ~~<v:Roundrect ~~<v:Shape ~~<v:Shapetype ~~-----------~~<v:Extrusion ~~<v:Fill ~~<v:Path ~~<v:Shadow ~~<v:Stroke ~~<v:Textbox ~~<v:Textpath ~~-----------~~VML必须代码声明")
break;
}}
function optionadd(addstring){     //函数库,为了清空和显示代码菜单栏
addstr=addstring.split('~~');
for(t=ops.options.length;t>=0;t--){
ops.remove(t)
}
for(i=0;i<addstr.length;i++){
options1=document.createElement('OPTION');options1.text=addstr[i];ops.options.add(options1)
}
ops.options[0].selected=true
}
function chaxun(chaxunstring){     //用于类库查询
for(t=ops.options.length-1;t>=0;t--){ops.remove(t)}
for(i in eval(chaxunstring)){options1=document.createElement('OPTION');options1.text=i;ops.options.add(options1)}
ops.options[0].selected=true
}
function insertext(){              //单击菜单插入文字时
if(event.button==2){
str1=document.body.scrollTop;
switch(ops.options[ops.selectedIndex].text){
case "HTML必须代码声明":
bos.focus();document.selection.createRange().text='<HTML>\n<HEAD>\n<META http-equiv="Content-Type" content="text/html; charset=utf-8">\n<META name="GENERATOR" content="网络程序员伴侣">\n<!--WORK BY http://www.tool.la/OnLineProgram-->\n<TITLE></TITLE>\n<STYLE>\nbody{}\na{}\na.hover{}\n</STYLE>\n</HEAD>\n<BODY topmargin="" leftmargin="" bgcolor="" text="">\n<BASE target="">\n\n</BODY>\n</HTML>'
break;
case "VML必须代码声明":
bos.focus();document.selection.createRange().text='<HTML>\n<HEAD>\n<META http-equiv="Content-Type" content="text/html; charset=utf-8">\n<META name="GENERATOR" content="网络程序员伴侣">\n<!--WORK BY http://www.tool.la/OnLineProgram-->\n<TITLE></TITLE>\n<STYLE>\nbody{}\na{}\na.hover{}\nv\\:*{behavior:url(#default#VML);}  //这里声明了v作为VML公用变量\n</STYLE>\n</HEAD>\n<BODY topmargin="" leftmargin="" bgcolor="" text="">\n<BASE target="">\n\n<!--一个简单演示--><v:Line form="0,0" to="100,100"/>\n\n</BODY>\n</HTML>'
break;
case "ASP操作数据库范例":
bos.focus();document.selection.createRange().text='<%\nset link1=Server.CreateObject("ADODB.Connection")\nlink1.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\数据库.mdb"\nset rs=Server.CreateObject("ADODB.Recordset")\nrs.open "select * from 表1 where 软件=\'lshdic\'",link1,1,1\n\nfor i=0 to 9\nif rs.eof then exit for\nresponse.write i & ":" & rs("软件")\nrs.movenext\nnext\n\nset rs=nothing\nset link1=nothing\n%>'
case "自定义颜色":
bos.focus();td18()
break;
default:
bos.focus();document.selection.createRange().text=ops.options[ops.selectedIndex].text;
if(ops.options[ops.selectedIndex].text.indexOf('<')!=-1&&ops.options[ops.selectedIndex].text.indexOf('>')==-1&&ops.options[ops.selectedIndex].text.indexOf(':')==-1)optionadd("-----通用属性-----~~accesskey='' ~~class='' ~~contentEditable='true' ~~dir='rtl' ~~hidefocus=true ~~id='' ~~lang='' ~~name='' ~~style='' ~~title='' ~~-----A-----~~charset='' ~~coords='' ~~href='' ~~rel='' ~~rev='' ~~shape='' ~~tabindex='' ~~target='' ~~-----APPLET-----~~align='' ~~alt='' ~~archive='' ~~code='' ~~codebase='' ~~height='' ~~hspace='' ~~object='' ~~vspace='' ~~width='' ~~-----BASE-----~~target='' ~~href='' ~~-----BGSOUND-----~~loop='' ~~src='' ~~-----BODY-----~~alink='' ~~background='' ~~bgcolor='' ~~leftmargin='' ~~link='' ~~scroll=no ~~text='' ~~topmargin='' ~~vlink='' ~~-----BUTTON-----~~align='' ~~disabled ~~-----DIV-----~~align='' ~~-----EMBED-----~~autostart='true' ~~border='1' ~~console='clip1' ~~controls='' ~~endtime='25:12' ~~height='' ~~hidden='true' ~~loop='true' ~~nolabels='true' ~~pallette='颜色' ~~src='' ~~starttime='00:10' ~~type='application/x-shockwave-flash' ~~type='audi/x-pn-realaudio-plugin' ~~width='' ~~-----FIELDSET-----~~align='' ~~<Legend align=''>~~-----FONT-----~~color='' ~~face='' ~~size='' ~~-----FORM-----~~action='' ~~autocomplete='off' ~~method=get ~~method=post ~~-----FRAMESET-----~~bordercolor='' ~~cols='*,50%' ~~framespacing='' ~~id='' ~~name='' ~~rows='*,230' ~~<Noframes>客户浏览器有不支持框架的所见的文本</Noframes>~~<Frame frameborder=0 id='' marginheight='' marginwidth='' name='' noresize scrolling='no' src=''>~~-----HR-----~~color='' ~~noshade ~~size='' ~~-----HTML-----~~dir='rtl' ~~version='' ~~xmlns: ~~-----IFRAME-----~~align='top' ~~frameborder=0 ~~height='' ~~id='' ~~marginheight='' ~~marginwidth='' ~~name='' ~~scrolling='no' ~~src='' ~~style='' ~~width='' ~~-----IMG-----~~align='' ~~alt='' ~~border='' ~~controls ~~dynsrc='目标视频.avi' ~~height='' ~~hspace='' ~~ismap='' ~~loop='' ~~loopdelay='' ~~lowsrc='' ~~src='' ~~start='' ~~usemap='图像地图标签名' ~~vspace='' ~~width='' ~~-----INPUT-----~~accept='' ~~alt='' ~~checked ~~disabled ~~maxlength='' ~~readonly ~~size='' ~~src='只对image有效的图象网址' ~~tabindex='' ~~type='' ~~usemap='' ~~value='' ~~-----LABEL-----~~disabled='' ~~for='' ~~-----LAYER-----~~above='' ~~background='' ~~below='' ~~bgcolor='' ~~clip='' ~~left='' ~~right='' ~~siblingAbove='' ~~siblingbelow='' ~~src='' ~~top='' ~~z-index='' ~~-----LINK-----~~media='' ~~rel='shortcut icon' href='代表网址栏图标.ico'> ~~rel='stylesheet' href='样式表文件.css' type=text/css> ~~rev='' ~~-----MAP-----~~name='' ~~</Area shape='circle' coords=',,' href=''>~~<Area shape='poly' coords=',,,,,' href=''>~~<Area shape='rect' coords=',,,' href=''>~~-----MARQUEE-----~~align='' ~~behavior='' ~~bgcolor='' ~~direction='' ~~loop='' ~~scrollamount=10 ~~scrolldelay=50 ~~-----META-----~~http-equiv='Content-Language' content='zh-CN'> ~~http-equiv='Content-Type' content='text/html;charset=utf-8'> ~~http-equiv='expires' content='web,26 Feb 2002 08:13:44 GMT'> ~~http-equiv='Page-Enter' content='RevealTrans(Duration=1,Transition=10)'> ~~http-equiv='Page-Exit' content='RevealTrans(Duration=2,Transition=23)'> ~~http-equiv='pragma' content='no-cache'> ~~http-equiv='Refresh' content='5;url=http://5秒后转到的网址'> ~~http-equiv='window-target' content='_top'> ~~name='Description' content='对你此页的描述'> ~~name='Gemeratpr' content='BY工具啦 www.Tool.La'> ~~name='KeyWords' content='搜索引擎关键字'> ~~name='Robots' content='all'> ~~name='save' content='history'> ~~-----OBJECT-----~~align='' ~~border='' ~~classid='clsid:' ~~codebase='控件网址.cab' ~~codetype='' ~~Data='控件网址' ~~declare='' ~~height='' ~~hspace='' ~~progid='Dll组件名称' ~~runat='server' ~~scope='session' ~~shapes='' ~~standby='' ~~tabindex='' ~~type='text/scriptlet' ~~usemap='' ~~vspace='' ~~width='' ~~-----SCRIPT-----~~event='' ~~for='' ~~id='' ~~language=jscript ~~language=vbs ~~runat=server ~~src='脚本网址' ~~type='text/vbscript' ~~-----SELECT-----~~disabled ~~multiple ~~size='' ~~tabindex='' ~~-----SPACER-----~~align='' ~~size='' ~~type='bolock' ~~type='horizontal' ~~type='vertical' ~~-----TABLE-----~~background='' ~~bgcolor='' ~~border='' ~~bordercolor='' ~~bordercolordark='' ~~bordercolorlight='' ~~cellpadding='' ~~cellspacing='' ~~frame='' ~~height='' ~~hspace='' ~~rules='' ~~vspace='' ~~width='' ~~-----TEXTAREA-----~~clos='' ~~disabled ~~readonly ~~rows='' ~~wrap='hard' ~~wrap='off' ~~wrap='on' ")    //为了提示HTML共享子句与非共享子句
if(ops.options[ops.selectedIndex].text.indexOf('<')!=-1&&ops.options[ops.selectedIndex].text.indexOf('>')==-1&&ops.options[ops.selectedIndex].text.indexOf(':')!=-1)optionadd("-----以下适用于VML对象,不适用于方法----~~filled=false ~~id='' ~~name='' ~~strokecolor='' ~~strokeweight='' ~~style='position:;width:;height:;left:;top:;z-index:;'")

if(ops.options[ops.selectedIndex].text=="Math.")optionadd("E~~LN10~~LN2~~LOG10E~~LOG2E~~PI~~SQRT1_2~~SQRT2~~-----Js数学函数-----~~abs(~~acos(~~asin(~~atan(~~atan2(~~ceil(~~cos(~~exp(~~floor(~~log(~~max(~~min(~~pow(~~random(~~round(~~sin(~~sqrt(~~tan(")

if(ops.options[ops.selectedIndex].text=="new Date().")optionadd("-----Js时间函数-----getDate()~~getDay()~~getFullYear()~~getHours()~~getMilliseconds()~~getMinutes()~~getMonth()~~getSeconds()~~getTime()~~getTimezoneOffset()~~getUTCDate()~~getUTCDay()~~getUTCFullYear()~~getUTCHours()~~getUTCMilliseconds()~~getUTCMinutes()~~getUTCMonth()~~getUTCSeconds()~~getVarDate()~~getYear()~~parse(~~setDate(~~setFullYear(~~setHours(~~setMilliseconds(~~setMinutes(~~setMonth(~~setSeconds(~~setTime(~~setUTCDate(~~setUTCFullYear(~~setUTCHours(~~setUTCMilliseconds(~~setUTCMinutes(~~setUTCMonth(~~setUTCSeconds(~~setYear(~~toDateString()~~toGMTString()~~toLocaleDateString()~~toLocaleString()~~toLocaleTimeString()~~toTimeString()~~toUTCString()~~valueOf()")

if(ops.options[ops.selectedIndex].text.indexOf('olor')!=-1)optionadd("--以下为颜色相关关键字--~~activeborder~~activecaption~~appworkspace~~aqua~~background~~black~~blue~~buttonface~~buttonhighlight~~buttonshadow~~buttontext~~captiontext~~fuchsia~~gray~~graytext~~green~~highlight~~highlighttext~~inactiveborder~~inactivecaption~~inactivecaptiontext~~infobackground~~infotext~~lime~~maroon~~menu~~menutext~~navy~~orange~~purple~~red~~scrollbar~~silver~~threeddarkshadow~~threedface~~threedhighlight~~threedlightshadow~~threedshadow~~white~~window~~windowframe~~windowtext~~yellow~~-------------------~~自定义颜色")
}
window.scrollTo(0,str1)
}}

//Lshdic Work by 2002/12/12
//http://www.lshdic.com
