

<div class="detailCon">
	<div id="ptzToggleCon" class="ptzToggle ptzToggleShowIcon"></div>
	<div class="ptzBorderConfCon  IESIXFMLM3" id="ptzControlCon"></div>
	<div style="position:relative;*z-index:1;">
		<div id="hidebg"></div>
	</div>
	<div id="videoPluginCon">
		<ul class="line">
			<div id="popNote" class="popNote">
				<div class="popTitle" id="popTitle">
					<i id="closeTip" style="float:right;"></i>
					<span id="titleText"></span>
				</div>
				<div class="popContent" id ="popContent">
					<div class="popContentError disNone" id="popContentError"></div>
					<div class="popContentCorrect" id="popContentCorrect">
						<span class="check" id="check">{%label.check%}</span>
						<i class="completeIcon"></i>
						<span class="name" id="name"></span>
					</div>
				</div>
				<iframe frameborder="0" class="kinescopeNoteIframe"></iframe>
			</div>
		</ul>
	</div>
	<ul class="line lineConfMenu lineBottom">
		<li class="line lineConf1">
			<input id="del" type="button" class="subBtnB btnA delIcon" value="{%btn.del%}" />
		</li>
		<li class="line lineConf2">
			<input id="clear" type="button" class="subBtnB btnA clearIcon" value="{%btn.clean%}" />
		</li>
		<li class="snapPicLi snapPicBtn" title="{%label.snapPic%}"></li>
	</ul>
	<div class="actionBarDiv">
		<div class="actionTitleDiv">
			<label class="actionTitle" id="regionName">{%label.regionOne%}</label>
		</div>
		<div class="configDiv" id="configDiv">
			<ul class="line lineL1">
				<li class="dragLine">
					<div id="sensitivityDragLine" class="ipcDragLineDiv"></div>
				</li>
			</ul>
			<ul class="line lineR">
				<li class="threshold">
					<label class="des desF">{%label.abandonandTakenTime%}</label>
					<input id="thresholdDelay" class="text textA4" maxLength="2" type="text" /><span class="tip">{%label.second%}</span><span class="tip">(5 - 20)</span>
				</li>
			</ul>
			<div class="height"></div>
		</div>
	</div>
	<div class="actionBarDiv">
		<div class="actionTitleDiv">
			<label class="actionTitle">{%label.defenceTime%}</label>
			<div class="actionTitleArrowDiv">
				<label class="actionArrowTitle" id="armingScheduleArrowText">{%label.slideUp%}</label>
				<i class="arrowUp" title= {%label.slideUp%} id="armingScheduleArrow"></i>
			</div>
		</div>
		<div id="timeSchedule">
			<ul class="line">
				<li class="line linePlan">
					<span class="clearAll" id="clearAll">{%label.clear%}</span>
					<label class="tips">{%label.abandonandTakenTips%}</label>
				</li>
			</ul>
			<div class="armingSchedule" id="armingSchedule">
				<div id="recPlanGrid" class="test"></div>
			</div>
			<div class="height"></div>
		</div>
	</div>
	<div class="actionBarDiv" id="handleWayDiv">
		<div class="actionTitleDiv">
			<label class="actionTitle">{%label.handleWay%}</label>
			<div class="actionTitleArrowDiv">
				<label class="actionArrowTitle" id="handleArrowText">{%label.slideUp%}</label>
				<i class="arrowUp" title= {%label.slideUp%} id="handleArrow"></i>
			</div>
		</div>
		<div class="handleWay" id="handleWay">
			<ul class="Line">
				<li class="Line lineE" id="recordLine">
					<i name="showInfo" id="triggerRecord" class="chObj" value="0"></i>
					<label class="des desA">{%label.triggerRecordF%}</label>
					<label class="des desM">{%label.triggerRecordTips%}</label>
				</li>
				<li class="Line lineE" id="captureLine">
					<i name="capture" id="triggerCapture" class="chObj" value="1"></i>
					<label class="des desA">{%label.triggerCapture%}</label>
					<label class="des desM">{%label.captureTips%}</label>
				</li>
				<ul class="line" id="sendToFtp">
					<li class="Line" id="sendToFtpLine">
						<i name="showInfo" id="sendFtp" class="chObj" value="2"></i>
						<label class="des desA">{%label.sendFtp%}</label>
						<label class="des desM">{%label.ftpTips%}</label>
					</li>
					<li class="Line lineTypeSel" id="sendToFtpSwitchCon">
						<label class="des desTypeSel sendFtpDes">{%label.sendFtp%}</label>
						<div id="sendToFtpSwitch" class="switchCon">
							<i class="switchBg"></i>
							<i class="switchBall"></i>
						</div>
						<label id="sendToFtpSwitchDes" class="des desH">{%btn.close%}</label>
						<input id="goToFtpConf" type="button" class="subBtnB btnA goToFtpConf" value="{%btn.goToFtpConf%}" />
					</li>
				</ul>
				<li class="Line lineE" id="msgPushLine">
					<i name="showInfo" id="triggerMsgPush" class="chObj" value="3"></i>
					<label class="des desA">{%label.msgPush%}</label>
					<label class="des desM">{%label.msgPushTips%}</label>
				</li>
				<li class="Line lineE" id="alarmOutLine">
					<i name="showInfo" id="triggerAlarmOut" class="chObj" value="4"></i>
					<label class="des desA">{%label.triggerAlarmDevice%}</label>
					<label class="des desM">{%label.triggerAlarmDeviceTips%}</label>
				</li>
				<li class="Line lineE" id="lightAlarmLine">
					<i name="showInfo" id="triggerLightAlarm" class="chObj" value="5"></i>
					<label class="des desA">{%label.lightAlarm%}</label>
					<label class="des desM">{%label.lightAlarmTips%}</label>
				</li>
				<li class="Line lineE" id="soundAlarmLine">
					<i name="showInfo" id="triggerSoundAlarm" class="chObj" value="6"></i>
					<label class="des desA">{%label.soundAlarm%}</label>
					<label class="des desM">{%label.soundAlarmTips%}</label>
				</li>
			</ul>
			<ul class="line" id="soundInfo">
				<li class="Line lineTypeSel soundTypeCon" id="soundType">
					<label class="des desTypeSel">{%label.soundAlarmType%}</label>
					<span class="selCon">
						<span id="soundTypeSelect" class="select">
							<span class="value hsValueA"></span>
							<i class="arrow"></i>
						</span>
					</span>
					<input id="setSoundAlarm" type="button" value="{%btn.configSet%}" class="subBtnB btnConfSet" />
				</li>
				<li class="Line lineTypeSel soundTypeCon" id="soundTimes">
					<label class="des desTypeSel">{%label.soundAlarmTimes%}</label>
					<span class="selCon">
						<span id="soundTimesSelect" class="select">
							<span class="value hsValueA"></span>
							<i class="arrow"></i>
						</span>
					</span>
				</li>
			</ul>
		</div>
	</div>
	<!-- 功能按钮 -->
	<div class="funcBtnCon">
		<input id="save" type="button" value="{%btn.save%}" class="subBtn btnA"/>
	</div>
</div>
<div id="soundInfoEditCon" class="tableEditLyCon">
	<div class="tableEditCon tableEditConT">
		<div class="innerCon">
			<h4 class="title soundInfoInnerCon">{%label.soundAlarmSet%}</h4>
			<i id="infoCloseTip"></i>
			<ul class="line">
				<li class="Line lineSoundInfoHead">
					<div class="ipcDragLineDiv">
						<label id="soundList" class="des desC desList">{%label.soundList%}</label>
						<div class="fileDiv">
							<input type="button" value="{%btn.uploadFile%}" style="display:none" class="subBtn btnUpload" />
							<input type="file" class="file" name="filename" style="display:none" id="fileName" />
						</div>
					</div>
				</li>
			</ul>
			<div class="tableSoundInfo" id="SoundInfoShowCon">
				<ul class="line">
					<li class="Line lineSoundInfoSubHead" id="devsound_0">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.alarmSound%}</label>
							<input id="testListen_0" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_1">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.warningSound%}</label>
							<input id="testListen_1" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_2">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.waringZone%}</label>
							<input id="testListen_2" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_3">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.dangerZone%}</label>
							<input id="testListen_3" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_4">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.noParking%}</label>
							<input id="testListen_4" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_5">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.monitorArea%}</label>
							<input id="testListen_5" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_6">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.helloWelcome%}</label>
							<input id="testListen_6" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_7">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.noTouching%}</label>
							<input id="testListen_7" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_8">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.privateZone%}</label>
							<input id="testListen_8" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_9">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.dangerWater%}</label>
							<input id="testListen_9" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_10">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.dangerHeight%}</label>
							<input id="testListen_10" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_11">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.gabbageClassify%}</label>
							<input id="testListen_11" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_12">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.intoWorkshop%}</label>
							<input id="testListen_12" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_13">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.ebikeForbid%}</label>
							<input id="testListen_13" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_14">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.tempWarning%}</label>
							<input id="testListen_14" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_15">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.maskWorn%}</label>
							<input id="testListen_15" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_16">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.maskRequest%}</label>
							<input id="testListen_16" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_17">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.ebikeForbid1%}</label>
							<input id="testListen_17" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_18">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.ebikeForbid2%}</label>
							<input id="testListen_18" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="devsound_19">
						<div class="ipcDragLineDiv">
							<label class="des desSoundName">{%label.ebikeForbid3%}</label>
							<input id="testListen_19" type="button" value="{%btn.testListen%}" class="subBtnB btnDevSoundTest testIcon" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="usrdef_0" style="display:none">
						<div class="ipcDragLineDiv">
							<input id="usrdef_edit0" type="text" class="text textSoundName" value="" maxlength="32" style="display:none"/>
							<label id="usrdef_text0" for="usrdef_edit0" class="des desSoundName">{%label.usrdefSound%}</label>
							<input id="usrdef_rename0" type="button" value="{%btn.rename%}" class="subBtnB btnRename renameIcon" style="display:none"/>
							<input id="usrdef_delete0" type="button" value="{%btn.del%}" class="subBtnB btnDel clearIcon" style="display:none"/>
							<input id="usrdef_test0" type="button" value="{%btn.testListen%}" class="subBtnB btnUsrdefSoundTest testIcon" style="display:none"/>
							<input id="usrdef_cancel0" type="button" value="{%btn.cancel%}" class="subBtnB btnCancel" style="display:none"/>
							<input id="usrdef_save0" type="button" value="{%btn.ok%}" class="subBtn btnSave" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="usrdef_1" style="display:none">
						<div class="ipcDragLineDiv">
							<input id="usrdef_edit1" type="text" class="text textSoundName" value="" maxlength="32" style="display:none"/>
							<label id="usrdef_text1" for="usrdef_edit1" class="des desSoundName">{%label.usrdefSound%}</label>
							<input id="usrdef_rename1" type="button" value="{%btn.rename%}" class="subBtnB btnRename renameIcon" style="display:none"/>
							<input id="usrdef_delete1" type="button" value="{%btn.del%}" class="subBtnB btnDel clearIcon" style="display:none"/>
							<input id="usrdef_test1" type="button" value="{%btn.testListen%}" class="subBtnB btnUsrdefSoundTest testIcon" style="display:none"/>
							<input id="usrdef_cancel1" type="button" value="{%btn.cancel%}" class="subBtnB btnCancel" style="display:none"/>
							<input id="usrdef_save1" type="button" value="{%btn.ok%}" class="subBtn btnSave" style="display:none"/>
						</div>
					</li>
					<li class="Line lineSoundInfoSub" id="usrdef_2" style="display:none">
						<div class="ipcDragLineDiv">
							<input id="usrdef_edit2" type="text" class="text textSoundName" value="" maxlength="32" style="display:none"/>
							<label id="usrdef_text2" for="usrdef_edit2" class="des desSoundName">{%label.usrdefSound%}</label>
							<input id="usrdef_rename2" type="button" value="{%btn.rename%}" class="subBtnB btnRename renameIcon" style="display:none"/>
							<input id="usrdef_delete2" type="button" value="{%btn.del%}" class="subBtnB btnDel clearIcon" style="display:none"/>
							<input id="usrdef_test2" type="button" value="{%btn.testListen%}" class="subBtnB btnUsrdefSoundTest testIcon" style="display:none"/>
							<input id="usrdef_cancel2" type="button" value="{%btn.cancel%}" class="subBtnB btnCancel" style="display:none"/>
							<input id="usrdef_save2" type="button" value="{%btn.ok%}" class="subBtn btnSave" style="display:none"/>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<iframe frameborder="0" class="innerIframe"></iframe>
	</div>
</div><script type="text/javascript">function init(){function s(b,c){var a="";switch(parseInt(b)){case ENONE:return!0;case IPCSMDENABLEERR:a=errStr.IPCParamInvalid;break;case EINVARG:a=errStr.IPCParamInvalid;break;case IPCSMDSENSITIVITYERR:a=errStr.sensitivityErr;break;case IPCSMDTHRESHOLDERR:a=errStr.thresholdDelayErr;break;case IPCUMGUESTNAUTH:a=errStr.invPermissionDenied;break;case IPCNOTIFYALARMENERR:case IPCNOTIFYRECORDENERR:case IPCNOTIFMSGPUSHENERR:case IPCNOTIFCAPTUREENERR:case IPCNOTIFSOUNDALARMENERR:case IPCNOTIFYEMAILENERR:case IPCNOTIFYFTPENERR:a=
errStr.IPCHandleInalid;break;case IPCSMDREGIONEILLEGAL:a=errStr.regionIllegal;break;case IPCSMDREGIONNUMERR:a=errStr.regionNumErr;break;case IPCARMINGSCHEDULEEOVERFLOW:a=errStr.armingScheduleOverflow;break;case IPCARMINGSCHEDULEMIX:a=errStr.armingScheduleMix;break;case IPCARMINGSCHEDULEILLEGAL:a=errStr.armingScheduleIllegal;break;default:a=errStr.invRequestFail}closeToast();showAlert(a,c);return!1}function Aa(){clearTimeout(ka);ka=$.setTimeout(function(){$("#popNote").animate({bottom:"-150px"},void 0,
void 0,function(){id("popNote").style.display="none"})},5E3)}function nb(){g.catchPic(function(b){var c="";switch(parseInt(b)){case 0:c=label.snapPicEnd;$("#StorageFolder").css("background-image","url(../web-static/images/save_reddot.png)");break;case 1:c=label.snapPicSaveFail;break;case 2:return;case 3:c=label.diskLess;break;case 7:c=label.pathChange;break;case 8:c=label.pathNoExist}if(0<parseInt(b))clearTimeout(ka),popContentCorrect.style.display="none",popContentError.style.display="inline-block",
7==parseInt(b)?titleText.innerHTML=label.cue:titleText.innerHTML=label.snapPicFail,popContentError.innerHTML=c;else{var a=g.getPicFileStoragePath(),c=a.lastIndexOf("\\"),c=a.substr(c+1);popContentCorrect.style.display="inline-block";popContentError.style.display="none";titleText.innerHTML=label.snapPicSuccess;ob.innerHTML=c;check.onclick=function(){g.openFileStorageFolder(a)};Aa()}$("#popNote").animate({bottom:"0px"});id("popNote").style.display="inline-block";log(b);7==parseInt(b)&&Aa()})}function pb(){for(var b=
[],c=0,a,k,d=0;4>c;c++){a=g.getIntelligentRegion(c);if(null==a.pt1_x||0==a.pt1_x&&0==a.pt1_y&&0==a.pt2_x&&0==a.pt2_y)return null;0<=a.pt1_x&&(k={},k[Ba]=c+1+"",k[la]=a.pt1_x,k[Ca]=a.pt1_y,k[Da]=a.pt2_x,k[Ea]=a.pt2_y,k[Fa]=a.pt3_x,k[Ga]=a.pt3_y,k[Ha]=a.pt4_x,k[Ia]=a.pt4_y,k[Ja]=q[c],k[Ka]=e[c],b[d++]=k)}return b}function La(b){var c=id("videoPluginCon").offsetHeight;void 0==b?$.BSHOWPTZCTRL?g.setSize({height:"372px",width:"496px"}):g.setSize({height:"396px",width:"720px"}):g.setSize({height:c+"px",
width:c*b+"px"})}function qb(b){var c,a=[];if(void 0==b)return a.push('"0000-0000:0"'),a;b instanceof Array||(b=b.match(/\d{4}-\d{4}/g));for(var d=0;d<b.length;d++){c=b[d];var u=c.split(/[-]/,2);c=parseInt(u[0],10);u=parseInt(u[1],10);0==c&&0==u?a.push(v._getString(c,u,0)):a.push(v._getString(c,u,1))}return a}function rb(){var b,c=v.getTimeVal(),a={};for(b=0;b<P.length;b++){var d=a,u=Ma[b],m;m=c[P[b]];var g=void 0,p=void 0,e=void 0,f=void 0,h=void 0,h=f=void 0;if(void 0==m)m="";else{void 0==g&&(g=
6);p="[";if(1>m.length)p+='"0000-0000"';else for(e=0;e<m.length&&e<g;e++)f=m[e].toString(),h=f.split(/[-,:]/,3),f=parseInt(h[0],10),h=parseInt(h[1],10),f=v._getStringWithoutType(f,h),0<e&&(p+=","),p+='"'+f+'"';m=p+="]"}d[u]=m}return a}function Na(b){if(D||E)return!1;var c=pb();if(f!=y||null!=c&&0!=c.length){var a={},k={};a[d]={};a[d][Q]={};a[d][Q][Oa]=y;if(R){a[d][n]={};F&&(a[d][n][Pa]="true"==Qa.getAttribute("checked")?f:r);G&&(a[d][n][Ra]="true"==Sa.getAttribute("checked")?f:r);H&&(a[d][n][Ta]=
"true"==S.getAttribute("checked")?f:r);z&&(a[d][n][Ua]="true"==T.getAttribute("checked")?f:r);if(I){a[d][n][Va]="true"==Wa.getAttribute("checked")?f:r;for(var e=2;e<=ma;e++)a[d][n]["AO"+e.toString()+"_enabled"]="true"==id("triggerAlarmOut"+e.toString()).getAttribute("checked")?f:r}U&&(a[d][n][sb]="true"==triggerEmail.getAttribute("checked")?f:r);A&&(a[d][n][Xa]="true"==V.getAttribute("checked")?f:r);x&&(a[d][n][na]=J?W:"true"==Ya.getAttribute("checked")?f:r)}a[d][oa]=rb();!0==K&&(a[d][B]={},a[d][B][Za]=
X,a[d][B][$a]=Y);var g=ab&&!pa&&"true"==T.getAttribute("checked"),h=bb&&!qa&&"true"==S.getAttribute("checked"),p=cb&&!ra&&"true"==V.getAttribute("checked");g||h||p?((g||h)&&showConfirmIpc(label.confirmAlarmDeviceOnTip,function(e){!0==e?(a[w]={},a[w][uciMsgAlarm.secName.chn1MsgAlarmInfo]={},g&&(a[w][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.soundEnabled]=uciMsgAlarm.optValue.enableVal.on),h&&(a[w][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.lightEnabled]=uciMsgAlarm.optValue.enableVal.on),
showToast(),$.modify(a,function(a){!0==s(a[ERR_CODE])&&(g&&(pa=1),h&&(qa=1),null!=c?(k[d]={},k[d][C]={},k[d][C][L]=c,$.action(k,function(a){!0==s(a[ERR_CODE])&&showToast("success")})):showToast("success"),"function"==typeof b&&void 0!=b&&b())})):(g&&changeCheckInput(T,!1),h&&changeCheckInput(S,!1))}),p&&showConfirmIpc(label.confirmCaptureOnTip,function(e){a[Z]={};a[Z][uciPicturePlan.secName.eventConfig]={};!0==e?(p&&(a[Z][uciPicturePlan.secName.eventConfig][uciPicturePlan.optName.enabled]=uciPicturePlan.optValue.on),
showToast(),$.modify(a,function(a){!0==s(a[ERR_CODE])&&(p&&(ra=1),null!=c?(k[d]={},k[d][C]={},k[d][C][L]=c,$.action(k,function(a){!0==s(a[ERR_CODE])&&showToast("success")})):showToast("success"),"function"==typeof b&&void 0!=b&&b())})):p&&changeCheckInput(V,!1)})):(showToast(),$.modify(a,function(a){!0==s(a[ERR_CODE])&&(null!=c?(k[d]={},k[d][C]={},k[d][C][L]=c,$.action(k,function(a){!0==s(a[ERR_CODE])&&showToast("success")})):showToast("success"),"function"==typeof b&&void 0!=b&&b())}))}else showAlert(label.addOneRegionFirst)}
function sa(){closeNoteAll();!0==checkNum(t.value)&&!0==checkNumRange(parseInt(t.value),20,5)?(q[l]=parseInt(t.value),D=!1):(showNote("thresholdDelay",errStr.thresholdDelayErr),D=!0);!0==checkNum(id("sensitivityDragLineDragLineInput").value)&&!0==checkNumRange(parseInt(id("sensitivityDragLineDragLineInput").value),100,1)?(e[l]=id("sensitivityDragLineDragLineInput").value,aa.setValue(id("sensitivityDragLineDragLineInput").value),E=!1):(showNote("sensitivityDragLineDragLineInput",errStr.sensitivityErr),
E=!0)}function tb(b){closeNote("sensitivityDragLineDragLineInput");e[l]=b}function ub(){M=!0;e[l]=null;q[l]=null;null==e[0]&&null==e[1]&&null==e[2]&&null==e[3]&&(id("sensitivityDragLineDragLineInput").value=ba,t.value=ca,N());g.delIntelligentRegion(PLUGIN_STATE_ON)}function vb(){da=!0;e=[null,null,null,null];q=[null,null,null,null];id("sensitivityDragLineDragLineInput").value=ba;t.value=ca;g.delIntelligentRegion(PLUGIN_STATE_MINUS);N()}function N(){var b=document.getElementById("hidebg");b.style.display=
"block";var c=getoffset(id("save")).top-getoffset(id("videoPluginCon")).top;if(0==$("#peCon").length||"none"==$("#peCon").css("display"))b.style.height=c+"px";else{var a=getoffset(id("peCon")).top-getoffset(id("videoPluginCon")).top+id("peCon").offsetHeight;b.style.height=(c>a?c:a)+"px"}}function db(){document.getElementById("hidebg").style.display="none"}function wb(b){xb.innerHTML=1==b?btn.enableN:btn.close;y=1==b?f:r;!1==g.checkInstalled()?N():0==b?(g.setOSDStatus(0),N()):(g.setOSDStatus(1),null==
e[0]&&null==e[1]&&null==e[2]&&null==e[3]?N():db())}function yb(b){zb.innerHTML=1==b?btn.enableN:btn.close;W=1==b?f:r}function Ab(){var b,c={};c[d]={};c[d][NAME]=oa;$.query(c,function(a){if(!0==s(a[ERR_CODE]))for(v.reset(),b=0;b<P.length;b++)v.setTimeVal(P[b],qb(a[d][oa][Ma[b]]))})}function eb(b){ta?(id("armingScheduleArrow").className="arrowDown",id("armingScheduleArrow").title=label.slideDown,id("armingScheduleArrowText").innerHTML=label.slideDown,fb.style.display="none",ta=!1):(id("armingScheduleArrow").className=
"arrowUp",id("armingScheduleArrow").title=label.slideUp,id("armingScheduleArrowText").innerHTML=label.slideUp,fb.style.display="",ta=!0)}function gb(b){ua?(id("handleArrow").className="arrowDown",id("handleArrow").title=label.slideDown,id("handleArrowText").innerHTML=label.slideDown,hb.style.display="none",ua=!1):(id("handleArrow").className="arrowUp",id("handleArrow").title=label.slideUp,id("handleArrowText").innerHTML=label.slideUp,hb.style.display="",ua=!0)}function ib(b){X=b}function Bb(b){Y=
b}function Cb(b,c){selectInit("soundTypeSelect",b,0,ib,"18");id("soundTypeSelect").resetSel(c)}function Db(){var b=uciLinkageCapability.optName.sound_alarm_capability,c=uciLinkageCapability.optName.msg_push_capability,a=uciLinkageCapability.optName.alarm_out_capability,d=uciLinkageCapability.optName.record_capability,e=uciLinkageCapability.optName.email_capability,g=uciLinkageCapability.optName.ftp_capability,h=uciLinkageCapability.optName.capture_capability,f=function(a){a=$.linkageCapability[a];
return 13>a.length?!1:"1"==a[a.length-13]?!0:!1};H=f(uciLinkageCapability.optName.light_alarm_capability);z=f(b);F=f(c);I=f(a);G=f(d);U=f(e);x=f(g);A=f(h);(R=H||z||F||I||G||U||x||A)?(H||$("#triggerLightAlarm").parent().hide(),z||$("#triggerSoundAlarm").parent().hide(),F||$("#triggerMsgPush").parent().hide(),G||$("#triggerRecord").parent().hide(),I?InsertTriggerAlarmOut("triggerAlarmOut"):$("#triggerAlarmOut").parent().hide(),U||$("#triggerEmail").parent().hide(),x||$("#sendToFtp").hide(),A||$("#triggerCapture").parent().hide()):
id("handleWayDiv").style.display="none"}function Eb(){z&&$.audioAlarmCapability&&(K=1==parseInt($.audioAlarmCapability[Fb])?!0:!1,ea=1==parseInt($.audioAlarmCapability[Gb])?!0:!1,fa=parseInt($.audioAlarmCapability[Hb]),va=$.audioAlarmCapability[wa].length);if(!1==K)id("soundInfo").style.display="none";else{id("soundTypeSelect");id("soundTimesSelect");for(var b=[],c=[{str:label.alarmSound,value:0},{str:label.warningSound,value:1},{str:label.waringZone,value:2},{str:label.dangerZone,value:3},{str:label.noParking,
value:4},{str:label.monitorArea,value:5},{str:label.helloWelcome,value:6},{str:label.noTouching,value:7},{str:label.privateZone,value:8},{str:label.dangerWater,value:9},{str:label.dangerHeight,value:10},{str:label.gabbageClassify,value:11},{str:label.intoWorkshop,value:12},{str:label.ebikeForbid,value:13},{str:label.tempWarning,value:14},{str:label.maskWorn,value:15},{str:label.maskRequest,value:16},{str:label.ebikeForbid1,value:17},{str:label.ebikeForbid2,value:18},{str:label.ebikeForbid3,value:19}],
a=0;a<$.audioAlarmCapability[wa].length;a++){var e=parseInt($.audioAlarmCapability[wa][a]);b.push(e);ga.push(c[e])}selectInit("soundTimesSelect",[{str:label.once,value:1},{str:label.twice,value:2},{str:label.threetimes,value:3},{str:label.fourtimes,value:4},{str:label.fivetimes,value:5}],1,Bb)}if(!1==ea)id("setSoundAlarm").style.display="none";else{openSoundInfo("setSoundAlarm",va,fa,label.usrdefSound);closeSoundInfo("infoCloseTip",d,ga,Cb);for(a=0;a<c.length;a++)0<=$.inArray(a,b)?(devSoundListen("testListen_"+
a,a),devSoundFocus("devsound_"+a,a)):id("devsound_"+a).style.display="none";for(b=0;b<fa;b++)usrDefSoundListen("usrdef_test"+b,b),usrDefSoundDel("usrdef_delete"+b,b),usrDefSoundRename("usrdef_rename"+b,b),usrDefSoundSave("usrdef_save"+b,b),usrDefSoundCancel("usrdef_cancel"+b,b),usrDefSoundNameCheck("usrdef_edit"+b,b),usrDefSoundFocus("usrdef_"+b,b)}}var d=uciAbandonandTakenDetection.fileName,Q=uciAbandonandTakenDetection.secName.detection,oa=uciAbandonandTakenDetection.secName.armingSchedule,n=uciAbandonandTakenDetection.secName.notifyList,
L=uciAbandonandTakenDetection.secType.regionInfo,B=uciAbandonandTakenDetection.secName.soundAlarmInfo,Oa=uciAbandonandTakenDetection.optName.enabled,Ka=uciAbandonandTakenDetection.optName.sensitivity,Ja=uciAbandonandTakenDetection.optName.threshold,Ba=uciAbandonandTakenDetection.optName.id,la=uciAbandonandTakenDetection.optName.pt1x,Ca=uciAbandonandTakenDetection.optName.pt1y,Da=uciAbandonandTakenDetection.optName.pt2x,Ea=uciAbandonandTakenDetection.optName.pt2y,Fa=uciAbandonandTakenDetection.optName.pt3x,
Ga=uciAbandonandTakenDetection.optName.pt3y,Ha=uciAbandonandTakenDetection.optName.pt4x,Ia=uciAbandonandTakenDetection.optName.pt4y,Pa=uciAbandonandTakenDetection.optName.msgPushEnabled,Ra=uciAbandonandTakenDetection.optName.recordEnabled,Va=uciAbandonandTakenDetection.optName.AO1Enabled,Xa=uciAbandonandTakenDetection.optName.captureEnabled,Ua=uciAbandonandTakenDetection.optName.soundAlarmEnabled,Ta=uciAbandonandTakenDetection.optName.lightAlarmEnabled,sb=uciAbandonandTakenDetection.optName.emailEnabled,
na=uciAbandonandTakenDetection.optName.ftpEnabled,f=uciAbandonandTakenDetection.optValue.enableVal.on,r=uciAbandonandTakenDetection.optValue.enableVal.off,Fb=uciAlarmAudioTypeCapability.optName.eventSeparateAudioAlarmSupport,Gb=uciAlarmAudioTypeCapability.optName.usrDefAudioAlarmSupport,Hb=uciAlarmAudioTypeCapability.optName.usrDefAudioAlarmMaxNum,wa=uciAlarmAudioTypeCapability.optName.alarmType,ha=uciUsrDefAlarm.fileName,xa=uciUsrDefAlarm.secName.usrDefAudio,jb=uciUsrDefAlarm.optName.id,ia=uciUsrDefAlarm.optName.name,
C=uciAbandonandTakenDetection.actionName.addRegions,Za=uciAbandonandTakenDetection.optName.soundAlarmType,$a=uciAbandonandTakenDetection.optName.soundAlarmTimes,ha=uciUsrDefAlarm.fileName,xa=uciUsrDefAlarm.secName.usrDefAudio,jb=uciUsrDefAlarm.optName.id,ia=uciUsrDefAlarm.optName.name,kb=!0,h,ya,lb,y,xb=id("intelligentDetectionSwitchDes"),g,l=0,w=uciMsgAlarm.fileName,ab=0,pa=0,bb=0,qa=0,Z=uciPicturePlan.fileName,cb=0,ra=0,e=[],q=[],ba=50,ca=5,Wa=id("triggerAlarmOut"),Sa=id("triggerRecord"),Qa=id("triggerMsgPush"),
T=id("triggerSoundAlarm"),S=id("triggerLightAlarm"),Ya=id("sendFtp"),W,zb=id("sendToFtpSwitchDes"),V=id("triggerCapture"),aa,t=id("thresholdDelay");id("sensitivityDragLineDragLineInput");var P=[label.Mon,label.Tue,label.Wen,label.Thu,label.Fri,label.Sta,label.Sun],Ma=[uciAbandonandTakenDetection.optName.mon,uciAbandonandTakenDetection.optName.tue,uciAbandonandTakenDetection.optName.wed,uciAbandonandTakenDetection.optName.thu,uciAbandonandTakenDetection.optName.fri,uciAbandonandTakenDetection.optName.sat,
uciAbandonandTakenDetection.optName.sun],ta=!0,ua=!0,fb=id("timeSchedule"),hb=id("handleWay"),ob=id("name"),ka,D=!1,E=!1,M=!1,da=!1,v,mb=1==parseInt($.moduleSpec[uciFunction.optName.corridorMode])?!0:!1,R,H,z,F,I,G,x,U,A,ma=isNaN(parseInt($.moduleSpec.alarm_out_num))?1:parseInt($.moduleSpec.alarm_out_num),ea=!1,K=!1,X,Y,fa,ga=[],va=0,J=!1,O=id("ptzToggleCon"),ja=$(".ptzBorderConfCon"),za=!0;(function(){var b={};h=0;Db();Eb();b[d]={};b[d][NAME]=[Q];R&&b[d][NAME].push(n);K&&b[d][NAME].push(B);$.moduleSpec[uciFunction.optName.msgAlarmSeparateList]&&
(b[w]={},b[w][NAME]=uciMsgAlarm.secName.chn1MsgAlarmInfo);b[d][KEY_TABLE]=[L];!0==ea&&(b[ha]={},b[ha][KEY_TABLE]=[xa]);mb&&(b[uciImage.fileName]={},b[uciImage.fileName][NAME]=uciImage.secName.para_switch);$.moduleSpec[uciFunction.optName.captureEnable]&&(b[uciPicturePlan.fileName]={},b[uciPicturePlan.fileName][NAME]=uciPicturePlan.secName.eventConfig);$.moduleSpec[uciFunction.optName.picturePlanCapability]&&(b[uciPicturePlanCapability.fileName]={},b[uciPicturePlanCapability.fileName][NAME]=uciPicturePlanCapability.secName.capability);
var c="vedioActiveX";$.BSHOWPTZCTRL?(new PtzControl("ptzControlCon",1),c="ptzVideoActiveX vedioActiveX",$("ul.lineConfMenu").addClass("havePtz"),g_corridor_mode_support&&(id("videoPluginCon").style.width="496px")):($("#ptzToggleCon").hide(),$("#ptzControlCon").hide());g=new Plugin({id:"videoPluginCon",className:c,readyHd:function(a){if(PLUGIN_STATE_ON==a&&!0==kb){kb=!1;g.setIntelligentState(1);g.setOSDSpecialStatus(1);a=formatTableData(ya);for(var b in a){var c=a[b];void 0!=c[la]&&g.showIntelligentRegion(parseInt(c[Ba])-
1,{pt1_x:c[la],pt1_y:c[Ca],pt2_x:c[Da],pt2_y:c[Ea],pt3_x:c[Fa],pt3_y:c[Ga],pt4_x:c[Ha],pt4_y:c[Ia]})}g.setOSDStatus(lb.state)}}});aa=new DragLine({id:"sensitivityDragLine",name:label.sensitivity,cb:tb,lowerBound:1});v=new PlanSet("recPlanGrid",{curType:1});Ab();$("ul.lineConfMenu li.snapPicBtn").hide();$("ul.lineConfMenu li.snapPicBtn").click(function(a){nb()});id("closeTip").onclick=function(){$("#popNote").animate({bottom:"-150px"},void 0,void 0,function(){id("popNote").style.display="none"})};
O.onclick=function(){za?(ja.hide(),za=!1,$(O).removeClass("ptzToggleShowIcon").addClass("ptzToggleHideIcon"),O.style.left="757px",$("ul.lineConfMenu").css("width","702px"),g.setSize({height:"396px",width:"704px"}),g.checkInstalled()||(ja.css("width","0px"),g.showInstalledTip())):(ja.show(),za=!0,O.style.left="549px",$(O).removeClass("ptzToggleHideIcon").addClass("ptzToggleShowIcon"),$("ul.lineConfMenu").css("width","494px"),g.setSize({height:"372px",width:"496px"}),g.checkInstalled()||(ja.css("width",
"204px"),g.showInstalledTip()))};$.query(b,function(a){if(!0==s(a[ERR_CODE])){y=a[d][Q][Oa];h=y==f?1:0;ya=a[d][L];var b=formatTableData(ya),c;for(c in b){var m=b[c];e[c]=m[Ka];q[c]=m[Ja]}lb=new Switch("intelligentDetectionSwitch",h,wb);aa.setValue(null==e[0]?ba:e[0]);t.value=null==q[0]?ca:q[0];$.moduleSpec[uciFunction.optName.picturePlanCapability]&&1==parseInt(a[uciPicturePlanCapability.fileName][uciPicturePlanCapability.secName.capability][uciPicturePlanCapability.optName.ftpDependOnCapture])&&
(J=!0);if(R){F&&(h=a[d][n][Pa]==f,changeCheckInput(Qa,h));G&&(h=a[d][n][Ra]==f,changeCheckInput(Sa,h));H&&(h=a[d][n][Ta]==f,changeCheckInput(S,h),bb=1,qa=a[w][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.lightEnabled]==f?1:0);z&&(h=a[d][n][Ua]==f,changeCheckInput(T,h),ab=1,pa=a[w][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.soundEnabled]==f?1:0);if(I&&(h=a[d][n][Va]==f,changeCheckInput(Wa,h),1<ma)){m=h;for(b=2;b<=ma;b++)aoEnableOpt="AO"+b.toString()+"_enabled",h=a[d][n][aoEnableOpt]==
f,changeCheckInput(id("triggerAlarmOut"+b.toString()),h),m=m&&h;m&&changeCheckInput("triggerAOAll",!0)}x&&(J&&A?($("#sendToFtpLine").hide(),W=a[d][n][na],h=W==f?1:0,new Switch("sendToFtpSwitch",h,yb)):($("#sendToFtpSwitchCon").hide(),$("#sendToFtpLine").show(),$("#goToFtpConf").hide(),h=a[d][n][na]==f,changeCheckInput(Ya,h)));A&&(h=a[d][n][Xa]==f,J&&x&&(h?$("#sendToFtpSwitchCon").show():$("#sendToFtpSwitchCon").hide()),changeCheckInput(V,h),$.moduleSpec[uciFunction.optName.captureEnable]&&(cb=1,ra=
a[Z][uciPicturePlan.secName.eventConfig][uciPicturePlan.optName.enabled]==f?1:0))}if(!0==K){if(!0==ea){m={};m=a[ha][xa];b=formatTableData(m);for(c in b)m=b[c],m[ia]||(m[ia]=label.usrdefSound),ga.push({str:m[ia],value:m[jb]});uploadSoundFile("fileName",g,va,fa)}selectInit("soundTypeSelect",ga,0,ib,"18");X=a[d][B][Za];Y=a[d][B][$a];soundTypeSelect.changeSel(X);soundTimesSelect.changeSel(Y)}if(mb){var l=a[uciImage.fileName][uciImage.secName.para_switch][uciImage.optName.rotate_type];a={};a[uciVideo.fileName]=
{};a[uciVideo.fileName][NAME]=uciVideo.secName.main;$.query(a,function(a){!0==s(a[ERR_CODE])&&(a=a[uciVideo.fileName][uciVideo.secName.main],a=a.resolution.split("*")[1]/a.resolution.split("*")[0],l==uciImage.optValue.rotOff?La():La(a),$("object.vedioActiveX").addClass("vedioActiveX_corridor"),id("videoPluginCon").style.background="black")})}g.playVideo();$("ul.lineConfMenu li.snapPicBtn").show();showDetailCon()}});id("save").onclick=Na;id("clear").onclick=vb;id("del").onclick=ub;id("clearAll").onclick=
function(a){v.reset()};id("armingScheduleArrow").onclick=eb;id("armingScheduleArrowText").onclick=eb;id("handleArrow").onclick=gb;id("handleArrowText").onclick=gb;t.onblur=sa;id("sensitivityDragLineDragLineInput").onblur=sa;id("goToFtpConf").onclick=function(){showConfirmC(label.cue,label.saveTips,function(a){!0==a?Na(function(){gFtpSwitchPageSign=1;unloadLogin()}):(gFtpSwitchPageSign=1,unloadLogin())},btn.unsave,btn.save,!1)}})();initCheckInput("showInfo",function(b,c){b||0!=c||showAlert(label.confirmRecordOff)});
initCheckInput("capture",function(b){J&&x&&(b?$("#sendToFtpSwitchCon").show():$("#sendToFtpSwitchCon").hide())});(function(){g.intelligentCallback(function(b){sa();!0==da?(e=[null,null,null,null],q=[null,null,null,null]):!0==M&&(e[l]=null,q[l]=null);if(D||E){if(!1==M){g.showHighlight(l,1);return}closeNoteAll();D=E=!1}else g.showHighlight(parseInt(b),0);switch(parseInt(b)){case 0:l=0;id("regionName").innerHTML=label.regionOne;break;case 1:l=1;id("regionName").innerHTML=label.regionTwo;break;case 2:l=
2;id("regionName").innerHTML=label.regionThree;break;case 3:l=3;id("regionName").innerHTML=label.regionFour;break;default:return}!1==da&&!1==M&&(e[l]=null==e[l]?id("sensitivityDragLineDragLineInput").value:e[l],q[l]=null==q[l]?t.value:q[l]);null==e[0]&&null==e[1]&&null==e[2]&&null==e[3]||f!=y||db();aa.setValue(null==e[l]?ba:e[l]);t.value=null==q[l]?ca:q[l];da=M=!1})})()}init();
</script><style type="text/css">div.ptzToggle{height:64px;width:12px;position:absolute;cursor:pointer;top:268px;left:549px;z-index:1}div.configDiv li.threshold{display:inline-block;font-size:0;vertical-align:middle;height:30px;margin-left:60px;padding:5px 0}div.peCol span.select{font-size:0!important}span.peSelect{width:124px!important;_width:116px!important;font-size:14px!important}div.handleWay ul.Line label.des{display:inline;vertical-align:middle;margin-left:8px}div.handleWay ul.Line label.sendFtpDes{display:inline-block;margin-left:4px;margin-right:4px;width:140px}ul.Line label.desM{font-size:12px;color:#666;line-height:12px}input.goToFtpConf{margin-left:24px;padding:0 12px}#orgDC{width:662px}.displayNone{display:none!important}i.peTypeRd{width:25px!important;height:25px!important}i.timeSeled{background:url(../web-static/images/timeSeled.png) center no-repeat!important}i.timeUnSeled{background:url(../web-static/images/timeUnSeled.png) center no-repeat!important}i.mdtUnSeled{background:url(../web-static/images/mdtUnSeled.png) center no-repeat!important}i.mdtSeled{background:url(../web-static/images/mdtSeled.png) center no-repeat!important}#timingLabel{margin-right:35px;display:inline-block;*display:inline;*zoom:1}#mdtLabel{margin-right:347px;*margin-right:340px;display:inline-block;*display:inline;*zoom:1}label.typeSeled{color:#fff!important}div.peCon{left:136px;top:560px;_left:-30px;_top:-10px}div.peCon div.peConDetail div.peCol4{display:none}ul.line li.lineR{display:inline-block;*display:inline;*zoom:1;height:100%;font-size:0;vertical-align:middle;float:right}div.fileDiv{height:30px;overflow:hidden;position:relative;vertical-align:middle}div.fileDiv input.file{font-size:16px;top:0;right:0;opacity:0;filter:alpha(opacity:0);cursor:pointer;position:absolute;vertical-align:top;z-index:1}div.tableEditLyCon{height:0;z-index:300;width:770px}div.tableEditConT{width:640px;height:640px}div.tableSoundInfo{width:616px;height:505px}ul.line li.lineTypeSel{padding:5px 0;_height:32px;width:100%;margin-left:24px}ul.line li.lineSoundInfoHead{width:100%;margin-bottom:16px;height:30px}ul.line li.lineSoundInfoSubHead{border:1px solid #e1e3e6;width:592px;height:40px}ul.line li.lineSoundInfoSub{border:1px solid #e1e3e6;border-top:0;width:592px;height:40px}ul.line label.desTypeSel{font-size:12px;color:#7a8999;width:53px;margin-left:4px;margin-right:17px;letter-spacing:1.1px;line-height:16px}ul.line label.desSoundName{font-size:13px;color:#333;line-height:40px;width:300px;margin-left:16px;text-align:left}ul.line label.desList{margin-right:352px}input.btnConfSet{border-radius:2px;font-size:13px;width:82px;height:30px;margin-left:16px}input.textSoundName{width:238px;margin-left:16px;margin-top:5px}input.btnUpload{border-radius:2px;font-size:13px;width:120px;height:30px;margin-right:24px}input.btnDevSoundTest{border-radius:2px;font-size:13px;width:70px;height:26px;margin-top:7px;margin-left:190px;margin-right:16px}input.btnRename{border-radius:2px;font-size:13px;width:83px;height:26px;margin-top:7px;margin-left:81px;margin-right:4px}input.btnDel{border-radius:2px;font-size:13px;width:70px;height:26px;margin-top:7px;margin-left:4px;margin-right:4px}input.btnUsrdefSoundTest{border-radius:2px;font-size:13px;width:70px;height:26px;margin-top:7px;margin-left:4px;margin-right:16px}input.btnCancel{border-radius:2px;font-size:13px;width:70px;height:26px;margin-top:7px;margin-left:172px;margin-right:4px}input.btnSave{border-radius:2px;font-size:13px;width:70px;height:26px;margin-top:7px;margin-left:4px;margin-right:16px}input.testIcon{background-image:url(../../web-static/images/play_normal.png);background-repeat:no-repeat;background-position:8px 4px;*background-position:4px 2px;padding:0 16px 0 28px;*padding:2px 2px 0 18px;height:26px}input.testIcon:hover{background-image:url(../../web-static/images/play_pressed.png)}input.renameIcon{background-image:url(../../web-static/images/edit_normal.png);background-repeat:no-repeat;background-position:8px 4px;*background-position:4px 2px;padding:0 16px 0 28px;*padding:2px 2px 0 18px;height:26px}input.renameIcon:hover{background-image:url(../../web-static/images/edit_pressed.png)}iframe.innerIframe{border:0;height:640px;width:640px;position:absolute;opacity:0;filter:alpha(opacity=0);top:0;left:0;z-index:-1}#infoCloseTip{background:transparent url("../../web-static/images/closeTip.png") no-repeat scroll 0 12px;width:24px;height:26px;display:inline-block;cursor:pointer}</style>