

<div class="detailCon">
	<ul class="line">
		<li class="line lineE" id="pirDescLi">
			<label class="desG desM">{%label.pirDesc%}</label>
		</li>
		<!-- 侦测距离 -->
		<li class="line lineE itemLi pirDL">
			<label class="des desA">{%label.pirdetRange%}</label>
			<div id="pirdetRangeDL" class="ipcDragLineDiv DragLineSimple"></div>
		</li>
		<li class="line lineE descLi">
			<label class="desM" id="detRangeTag">{%label.pirDetRangeTag1%}</label>
		</li>
		<!-- 录像时长 -->
		<li class="line lineE itemLi pirRecTimeLi">
			<label class="des desA">{%label.pirRecTime%}</label>
			<span class="selCon IEPZD">
				<span id="pirRecTime" class="select">
					<span class="value hsValueA"></span>
					<i class="arrow"></i>
				</span>
			</span>
		</li>
		<li class="line lineE descLi pirRecTimeLi">
			<label class="desM">{%label.pirRecDesc%}</label>
		</li>
		<!-- 侦测间隔 -->
		<li class="line lineE itemLi pirDetIntervalLi">
			<label class="des desA">{%label.pirDetInterval%}</label>
			<span class="selCon IEPZD">
				<span id="pirDetInterval" class="select">
					<span class="value hsValueA"></span>
					<i class="arrow"></i>
				</span>
			</span>
		</li>
		<li class="line lineE descLi pirDetIntervalLi">
			<label class="desM">{%label.pirDetIntervalDesc%}</label>
		</li>
	</ul>

	<div class="actionBarDiv actionDiv" 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="msgPushLine">
					<i name="showInfo" id="msgPush" class="chObj" value="0"></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="triggerAlarmDevice" class="chObj" value="1"></i>
					<label class="des desA">{%label.triggerAlarmDevice%}</label>
					<label class="des desM">{%label.triggerAlarmDeviceTips%}</label>
				</li>
				<li class="Line lineE">
					<i name="showInfo" id="triggerLight" class="chObj" value="2"></i>
					<label class="des desA">{%label.lightAlarm%}</label>
					<label class="des desM">{%label.lightAlarmTips%}</label>
				</li>
				<li class="Line lineLast">
					<i name="showInfo" id="triggerSound" class="chObj" value="3"></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" class="subBtn btnA" value="{%btn.save%}" />
	</div>
</div>
<div id="soundInfoEditCon" class="tableEditLyCon">
	<div class="tableEditCon tableEditConT">
		<div class="innerCon">
			<h4 class="title" style="width:592px">{%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="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 r(a,c){var b="";switch(parseInt(a)){case ENONE:return!0;case IPCUMGUESTNAUTH:b=errStr.invPermissionDenied;break;case IPCNOTIFYEMAILENERR:case IPCNOTIFYALARMENERR:case IPCNOTIFMSGPUSHENERR:b=errStr.IPCHandleInalid;break;case IPCPIRSENSERR:case IPCPIRDURATIONERR:case IPCPIRRCTTIMEERR:case IPCPIRDETINTERVALERR:str=errStr.IPCParamInvalid;break;default:b=errStr.invRequestFail}closeToast();showAlert(b,c);return!1}function ha(){var a={};a[b]={};a[b][h]={};a[b][h][UciPirDetection.optName.distSensitivity]=
ia(w.getValue()).toString();a[b][h][UciPirDetection.optName.recordTime]=R.value.toString();a[b][h][UciPirDetection.optName.detInterval]=S.value.toString();if(C&&(a[b][f]={},s&&(a[b][f][T]="true"==U.getAttribute("checked")?g:k),t&&(a[b][f][V]="true"==x.getAttribute("checked")?g:k),n&&(a[b][f][W]="true"==y.getAttribute("checked")?g:k),u)){a[b][f][X]="true"==Y.getAttribute("checked")?g:k;for(var c=2;c<=D;c++)a[b][f]["AO"+c.toString()+"_enabled"]="true"==id("triggerAlarmDevice"+c.toString()).getAttribute("checked")?
g:k}!0==m&&(a[b][p]={},a[b][p][Z]=z,a[b][p][aa]=A);var v=ba&&!E&&"true"==y.getAttribute("checked"),e=ca&&!F&&"true"==x.getAttribute("checked");v||e?showConfirmIpc(label.confirmAlarmDeviceOnTip,function(c){!0==c?(a[l]={},a[l][uciMsgAlarm.secName.chn1MsgAlarmInfo]={},v&&(a[l][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.soundEnabled]=uciMsgAlarm.optValue.enableVal.on),e&&(a[l][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.lightEnabled]=uciMsgAlarm.optValue.enableVal.on),showToast(),
$.modify(a,function(a){!0==r(a[ERR_CODE])&&(showToast("success"),v&&(E=1),e&&(F=1))})):(v&&changeCheckInput(y,!1),e&&changeCheckInput(x,!1))}):(showToast(),$.modify(a,function(a){!0==r(a[ERR_CODE])&&showToast("success")}))}function da(a){G?(id("handleArrow").className="arrowDown",id("handleArrow").title=label.slideDown,id("handleArrowText").innerHTML=label.slideDown,handleWay.style.display="none",G=!1):(id("handleArrow").className="arrowUp",id("handleArrow").title=label.slideUp,id("handleArrowText").innerHTML=
label.slideUp,handleWay.style.display="",G=!0)}function ea(a){z=a}function ja(a){A=a}function ka(a,c){selectInit("soundTypeSelect",a,0,ea,"18");id("soundTypeSelect").resetSel(c)}function la(a){for(var c=d?d:[{distance_sensitivity_max:"33"},{distance_sensitivity_max:"66"},{distance_sensitivity_max:"100"}],b=0,e=0;e<c.length&&!(a<=parseInt(c[e].distance_sensitivity_max));e++)b++;return b}function ia(a){var c=d?d:[{distance_sensitivity_max:"33"},{distance_sensitivity_max:"66"},{distance_sensitivity_max:"100"}],
b=0<a?parseInt(c[a-1].distance_sensitivity_max):0;a=parseInt(c[a].distance_sensitivity_max);return parseInt((a+b)/2)}function fa(){var a=[4,8,12];if(d)for(var a=[],c=0;c<d.length;c++)a.push(d[c].detect_range);c=w.getValue();$("#detRangeTag").text(label.pirDetRangeTag1+a[c].toString()+label.pirDetRangeTag2)}function ma(){var a={};a[b]={};a[b][NAME]=H;$.query(a,function(a){!0==r(a[ERR_CODE])&&(I=a[b][H],1==parseInt(a[b][H][UciPirDetection.optName.levelDistUnitSupport])&&(a={},a[b]={},a[b][KEY_TABLE]=
J,$.query(a,function(a){if(!0==r(a[ERR_CODE])){d=[];for(var c=0;c<a[b][J].length;c++)d.push(a[b][J][c]["level_distance_unit_"+(c+1).toString()]);d.sort(function(a,c){return a.distance_sensitivity_min-c.distance_sensitivity_min})}},!1)))},!1)}function na(){var a=uciLinkageCapability.optName.sound_alarm_capability,c=uciLinkageCapability.optName.msg_push_capability,b=uciLinkageCapability.optName.alarm_out_capability,e=uciLinkageCapability.optName.record_capability,f=uciLinkageCapability.optName.email_capability,
g=uciLinkageCapability.optName.ftp_capability,d=function(a){a=$.linkageCapability[a];return 35>a.length?!1:"1"==a[a.length-35]?!0:!1};t=d(uciLinkageCapability.optName.light_alarm_capability);n=d(a);s=d(c);u=d(b);K=d(e);L=d(g);M=d(f);(C=t||n||s||u||K||L||M)?(t||$("#triggerLight").parent().hide(),n||$("#triggerSound").parent().hide(),s||$("#msgPush").parent().hide(),K||$("#triggerRecord").parent().hide(),u?InsertTriggerAlarmOut("triggerAlarmDevice"):$("#triggerAlarmDevice").parent().hide(),L||$("#sendToFtp").parent().hide(),
M||$("#sendEmail").parent().hide()):id("handleWayDiv").style.display="none"}function oa(){n&&$.audioAlarmCapability&&(m=1==parseInt($.audioAlarmCapability[pa])?!0:!1,q=1==parseInt($.audioAlarmCapability[qa])?!0:!1,B=parseInt($.audioAlarmCapability[ra]),soundTypeNum=$.audioAlarmCapability[N].length);if(!1==m)id("soundInfo").style.display="none";else{id("soundTypeSelect");id("soundTimesSelect");for(var a=[{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}],c=0;c<$.audioAlarmCapability[N].length;c++){var d=parseInt($.audioAlarmCapability[N][c]);O.push(a[d])}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,ja)}if(!1==q)id("setSoundAlarm").style.display="none";else{openSoundInfo("setSoundAlarm",soundTypeNum,B,label.usrdefSound);closeSoundInfo("infoCloseTip",b,a,ka);for(c=0;c<soundTypeNum;c++)devSoundListen("testListen_"+
c,c),devSoundFocus("devsound_"+c,c);for(a=0;a<B;a++)usrDefSoundListen("usrdef_test"+a,a),usrDefSoundDel("usrdef_delete"+a,a),usrDefSoundRename("usrdef_rename"+a,a),usrDefSoundSave("usrdef_save"+a,a),usrDefSoundCancel("usrdef_cancel"+a,a),usrDefSoundNameCheck("usrdef_edit"+a,a),usrDefSoundFocus("usrdef_"+a,a)}}var b=UciPirDetection.fileName,J=UciPirDetection.secType.levelDistUnit,H=UciPirDetection.secName.capability,h=UciPirDetection.secName.pirDet,f=UciPirDetection.secName.pirNotifList,X=UciPirDetection.optName.AO1Enabled,
V=UciPirDetection.optName.lightAlarmEnabled,W=UciPirDetection.optName.soundAlarmEnabled,T=UciPirDetection.optName.msgPushEnabled,g="on",k="off",p=UciPirDetection.secName.soundAlarmInfo,Z=UciPirDetection.optName.soundAlarmType,aa=UciPirDetection.optName.soundAlarmTimes,pa=uciAlarmAudioTypeCapability.optName.eventSeparateAudioAlarmSupport,qa=uciAlarmAudioTypeCapability.optName.usrDefAudioAlarmSupport,ra=uciAlarmAudioTypeCapability.optName.usrDefAudioAlarmMaxNum,N=uciAlarmAudioTypeCapability.optName.alarmType,
P=uciUsrDefAlarm.fileName,ga=uciUsrDefAlarm.secName.usrDefAudio,sa=uciUsrDefAlarm.optName.id,Q=uciUsrDefAlarm.optName.name,w,R=id("pirRecTime"),S=id("pirDetInterval"),I,d,l=uciMsgAlarm.fileName,ba=0,E=0,ca=0,F=0,C,t,n,s,u,K,L,M,q=!1,m=!1,z,A,B,O=[],G=!0;id("sendEmail");var Y=id("triggerAlarmDevice"),U=id("msgPush"),y=id("triggerSound"),x=id("triggerLight"),m=q=!1;parseInt($.moduleSpec.personalized_audio_alarm);var D=isNaN(parseInt($.moduleSpec.alarm_out_num))?1:parseInt($.moduleSpec.alarm_out_num);
(function(){ma();na();oa();w=new DragLine({id:"pirdetRangeDL",lowerBound:0,upperBound:d?d.length-1:2,needLabel:"n",needInput:"n",needScale:"y",cb:fa});if(1==parseInt(I[UciPirDetection.optName.pirDetRecordTimeSupport])){var a=[{str:label.pirAlwaysRec,value:-1},{str:"10"+label.second,value:10},{str:"20"+label.second,value:20},{str:"30"+label.second,value:30}];selectInit("pirRecTime",a,a[0].value)}else $(".pirRecTimeLi").hide();1==parseInt(I[UciPirDetection.optName.pirDetDetIntervalSupport])?(a=[{str:"0"+
label.second,value:0},{str:"15"+label.second,value:15},{str:"30"+label.second,value:30},{str:"60"+label.second,value:60}],selectInit("pirDetInterval",a,a[0].value)):$(".pirDetIntervalLi").hide();enable=0;a={};a[b]={};a[b][NAME]=[h,f];!0==m&&a.pusth(p);$.moduleSpec[uciFunction.optName.msgAlarmSeparateList]&&(a[l]={},a[l][NAME]=uciMsgAlarm.secName.chn1MsgAlarmInfo);!0==q&&(a[P]={},a[P][KEY_TABLE]=[ga],plugin=new Plugin({id:"downloadPluginCon",className:"downloadActiveX",downloadReadyHd:function(a){$.find("object.downloadActiveX")[0].style.visibility=
"hidden"}}));$.query(a,function(a){if(!0==r(a[ERR_CODE])){w.setValue(la(a[b][h][UciPirDetection.optName.distSensitivity]));fa();R.resetSel(a[b][h][UciPirDetection.optName.recordTime]);S.resetSel(a[b][h][UciPirDetection.optName.detInterval]);if(C&&(s&&(enable=a[b][f][T]==g,changeCheckInput(U,enable)),t&&(enable=a[b][f][V]==g,changeCheckInput(x,enable),ca=1,F=a[l][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.lightEnabled]==g?1:0),n&&(enable=a[b][f][W]==g,changeCheckInput(y,enable),ba=1,
E=a[l][uciMsgAlarm.secName.chn1MsgAlarmInfo][uciMsgAlarm.optName.soundEnabled]==g?1:0),u&&(enable=a[b][f][X]==g,changeCheckInput(Y,enable),1<D))){for(var d=enable,e=2;e<=D;e++)aoEnableOpt="AO"+e.toString()+"_enabled",enable=a[b][f][aoEnableOpt]==g,changeCheckInput(id("triggerAlarmDevice"+e.toString()),enable),d=d&&enable;d&&changeCheckInput("triggerAOAll",!0)}if(!0==m){if(!0==q){var d={},d=a[P][ga],d=formatTableData(d),k;for(k in d)e=d[k],e[Q]||(e[Q]=label.usrdefSound),O.push({str:e[Q],value:e[sa]});
uploadSoundFile("fileName",plugin,soundTypeNum,B)}selectInit("soundTypeSelect",O,0,ea,"18");z=a[b][p][Z];A=a[b][p][aa];soundTypeSelect.changeSel(z);soundTimesSelect.changeSel(A)}showDetailCon()}});initCheckInput("showInfo",null);id("save").onclick=ha;id("handleArrowText").onclick=da;id("handleArrow").onclick=da})();initCheckInput("showInfo",null);!1==m&&(id("soundInfo").style.display="none");!1==q&&(id("setSoundAlarm").style.display="none")}init();
</script><style type="text/css">#pirDescLi{margin-top:8px}ul.line li.pirDL{height:40px;margin:10px 0 0}ul.line li.pirDL label{vertical-align:middle;margin-top:-20px}ul.line li.itemLi{margin:0}ul.line li.descLi{height:12px;line-height:12px;font-size:12px;padding:3px 0 8px}ul.line label.desA,ul.Line label.desA{margin-right:16px;width:105px}ul.line label.desM,ul.Line label.desM{font-size:12px;color:#666;line-height:12px}div.handleWay ul.Line label.des{display:inline;vertical-align:middle;margin-left:8px}div.handleWay ul.Line label.desA{font-size:13px;color:#333;line-height:30px;width:500px}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:240px;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:250px;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>