93.89.216.36

{
  "tags": [
    "http", 
    "telnet"
  ], 
  "ip": "93.89.216.36", 
  "23": {
    "telnet": {
      "banner": {
        "will": [
          {
            "name": "Echo", 
            "value": 1
          }, 
          {
            "name": "Suppress Go Ahead", 
            "value": 3
          }
        ], 
        "do": [
          {
            "name": "Echo", 
            "value": 1
          }, 
          {
            "name": "Negotiate About Window Size", 
            "value": 31
          }, 
          {
            "name": "Remote Flow Control", 
            "value": 33
          }
        ], 
        "support": true, 
        "banner": "(none) login:", 
        "metadata": {}
      }
    }
  }, 
  "updated_at": "2021-11-24T11:47:54+00:00", 
  "autonomous_system": {
    "description": "EDN-AS", 
    "rir": "unknown", 
    "routed_prefix": "93.89.216.0/22", 
    "country_code": "UA", 
    "path": [
      7018, 
      1299, 
      48276, 
      45025, 
      45025
    ], 
    "asn": 45025, 
    "name": "EDN-AS"
  }, 
  "location": {
    "province": "Donetsk Oblast", 
    "city": "Makiivka", 
    "country": "Ukraine", 
    "longitude": 37.9258, 
    "registered_country": "Estonia", 
    "registered_country_code": "EE", 
    "postal_code": "20754", 
    "country_code": "UA", 
    "latitude": 48.0478, 
    "timezone": "Europe/Kiev", 
    "continent": "Europe"
  }, 
  "80": {
    "http": {
      "get": {
        "body": "\ufeff<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html> \r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" >\r\n<script type=\"text/javascript\" src=\"wt.js\"></script>\r\n<script type=\"text/javascript\" src=\"m.js\"></script>\r\n<script type=\"text/javascript\" src=\"sf.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"m.css\" />\r\n<script>\r\n\t// try{\r\n\t\t//document.execCommand('BackgroundImageCache', false, true);\r\n\t\t//}\r\n//catch(e) {}\r\n</script>\r\n<script>\r\nvar gdomready=0;\r\nvar gopenall=0;\r\nvar gsld;\r\nvar gslda;\r\nvar gsldb;\r\nvar gsldc;\r\nvar gsldd;\r\n//var gslde;\r\nvar gca=0;\r\nvar gcb=0;\r\nvar gcc=0;\r\nvar gcd=0;\r\nvar gwid=0;\r\nvar gcid=-1;\r\nvar gptz=0;\r\nvar gxh=0;\r\nvar gxz=0;\r\nvar gxs=0;\r\nvar gxj=0;\r\nvar gdj=0;\r\nvar gdg=0;\r\nvar gfmu1=0;\r\nvar gfmu2=0;\r\nvar gfmnudj=0;\r\nvar gomnudj=null;\r\nvar gfmnuopen=0;\r\nvar gomnuopen=null;\r\nvar i=0;\r\nvar j=0;\r\nvar glhight=0;\r\nvar grhight=287;\r\nvar gcam=-1;\r\nvar hh=600;\r\nvar m32=false;\r\nvar cnum=0;\r\nvar glin=false; //\u662f\u5426\u767b\u5f55\u6210\u529f\u7684\u6807\u5fd7\r\nvar chAry = new Array();\r\nvar HashCookie = new Hash.Cookie('DhWebCookie',{duration: 30});\r\nvar settings = {\r\n\tusername:'',\r\n\ttalktype:'1',\r\n\tlogintype:'0',\r\n\topenall:'1'\r\n}\r\n\r\nfunction iniocx(){\r\n;\r\n}\r\nfunction showlogin(){\r\n\t$('l').style.top=\"0px\";\r\n}\r\nfunction ld()\r\n{\r\n\t//var ip ='10.7.6.6';\r\n\tvar ip = location.hostname;\r\n\tvar username = $(\"username\").value;\r\n\tvar password = $(\"password\").value;\r\n\tvar logintype= $(\"logintype\").value;\t\r\n\tif(gcam==-1)\r\n\t{\r\n\t\tvar r=ocx.LoginDeviceEx(ip,0,username,password,logintype);\r\n\t\tif (r==1){\r\n\t\t\tchkdev();\r\n\t\t\tgetcl();\r\n\t\t\tresize();\t\t\t\r\n\t\t\tgetdjl();\r\n\t\t\t//if (settings['talktype'] != '0') \r\n\t\t\tocx.SetDeviceMode(0,settings['talktype']);\r\n\t\t\t$('password').value=\"\";\r\n\t\t\t$('l').style.display=\"none\";\r\n\t\t\t$('m').style.top=\"0px\";\r\n\t\t\tsettings['username'] = username;\r\n\t\t\tsettings['logintype'] = logintype;\r\n\t\t\tglin=true;\r\n\t\t\tsavesetting();\r\n\t\t\tif(chAry.length>0)\r\n\t\t\t{\r\n\t\t\t\t//alert('len2:'+chAry.length);\r\n\t\t\t\tchAry.each(function(item,index)\r\n\t\t\t\t{\r\n\t\t\t\t\t//alert('each c,'+item);\r\n\t\t\t\t\tvar oc = $('c'+item);\r\n\t\t\t\t\toc.removeClass(oc.className);\r\n\t   \t\t\toc.addClass('cl2');\r\n\t\t\t\t}\r\n\t\t\t\t)\r\n\t\t\t\t//chAry.empty();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\telse \r\n\t{\r\n\t\tvar r=ocx.LoginDeviceEx(ip,0,'op','1234',logintype);\r\n\t\tif (r==1){\r\n\t\t\tchkdev();\r\n\t\t\tgetcl();\r\n\t\t\tresize();\r\n\t\t\tgetdjl();\r\n\t\t\tocx.SetDeviceMode(0,settings['talktype']);\r\n\t\t\t$('l').style.display=\"none\";\r\n\t\t\t$('m').style.top=\"0px\";\r\n\t\t\tca($('c' + gcam),gcam);\r\n\t\t}\r\n\t\t\r\n\t}\r\n}\r\nfunction lo()\r\n{\r\n\tif (ocx.LogoutDevice() >=0)\r\n\t{\t\r\n\t\tloeft();\r\n\t}\r\n}\r\nfunction loeft()\r\n{\r\n\t\tif(m32) $('up1').click();\r\n\t\t$('m').style.top=\"-10000px\";\r\n\t\t$('l').style.display=\"\";\r\n\t\tglin=false;\r\n\t\tclosemu();\r\n\t\tclosemnudj();\r\n\t\tif (gdj==1){\r\n\t\t\tgdj=0;\r\n\t\t\t$('xdj').innerText=tl('AudioTalk');\r\n\t\t}\r\n\t\tif (gopenall==1){\r\n\t\t\tgopenall=0;\r\n\t\t\t$('xac').innerText=tl('W_ACO');\r\n\t\t}\r\n\t\t$('cl').empty();\r\n\t\tif(chAry.length > 0)\r\n\t\t{\r\n\t\t\t//alert('empty');\r\n\t\t\t\tchAry = [];\t\r\n\t\t}\r\n\t\t\r\n\t\tocx.CloseLocalPlay();\r\n}\r\nfunction ca(o,ch)\r\n{\r\n\tif ($(o).hasClass('cl1')){\r\n\t\tif (ocx.ConnectRealVideo(ch,1)){\r\n\t\t\t;\r\n\t\t}\r\n\t}\r\n\telse{\r\n\t\tif (!ocx.DisConnectRealVideo(ch)){\r\n\t\t\t;\r\n\t\t}\r\n\t}\r\n\tclosemu();\r\n}\r\n\r\nfunction cptz(){\r\n\tif (gptz==0) \r\n\t{\r\n\t\tgptz=1;\r\n\t\tocx.ControlPtz(51,0,0,0,0); \r\n\t}\r\n\telse{\r\n\t\tgptz=0;\r\n\t\tocx.ControlPtz(51,0,0,0,1);\r\n\t}\r\n\tsetptzs();\t\r\n}\r\n\r\nfunction setptzs(){\r\n\tif (gdomready==1){\r\n\t\tif (gptz==0){\r\n\t\t\tif ($('cptz').hasClass('y51')){\r\n\t\t\t\t$('cptz').removeClass($('cptz').className);\r\n\t\t\t\t$('cptz').addClass('y5');\r\n\t\t\t}\r\n\t\t}\r\n\t\telse{\r\n\t\t\t$('cptz').removeClass($('cptz').className);\r\n\t\t\t$('cptz').addClass('y51');\r\n\t\t}\r\n\t}\r\n\r\n}\r\nfunction cxh(o,ts,tb0,tb1,tb2,tb3){\r\n\tif (gxh==0) \r\n\t{\r\n\t\t\tif (gxz==1) \r\n\t    {\t\t\r\n\t\t   if (ocx.ControlPtz(40,0,0,0,0))\r\n\t\t   {\r\n\t\t  \r\n\t\t\t   gxz=0;\r\n\t\t\t   $('xspxz').innerText=tb1;\r\n\t\t   }\t\r\n\t   \t}\r\n\t   if(gxs==1)\r\n\t   {\r\n\t    if (ocx.ControlPtz(44,0,0,0,0))\r\n\t\t  {\r\n\t\t\t  gxs=0;\r\n\t\t\t  $('xxs').innerText=tb2;\r\n\t\t  }\t   \r\n\t   }\r\n\t   if(gxj==1)\r\n\t   {\r\n\t     if (ocx.ControlPtz(48,$('pv').value,0,0,0))\r\n\t\t  {\r\n\t\t\tgxj=0;\r\n\t\t\t$('xxuj').innerText=tb3;\r\n\t\t }\r\n\t   }\t\t\r\n\t\tif (ocx.ControlPtz(13,$('pv').value,0,76,0))\r\n\t\t{\r\n\t\t\tgxh=1;\r\n\t\t\to.innerText=ts;\r\n\t\t\r\n\t }\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.ControlPtz(13,$('pv').value,0,96,0))\r\n\t\t{\r\n\t\t\tgxh=0;\r\n\t\t\to.innerText=tb0;\r\n\t\t}\r\n\t}\t\r\n}\r\nfunction cxz(o,ts,tb0,tb1,tb2,tb3){\r\n\tif (gxz==0) \r\n\t{\t\r\n\t\tif (gxh==1) \r\n\t  {\t\t\r\n\t\t    if (ocx.ControlPtz(13,$('pv').value,0,96,0))\r\n\t\t   {\r\n\t\t\t   gxh=0;\r\n\t\t\t  $('xdjxh').innerText=tb0;\r\n\t\t   }\t\r\n\t  }\r\n\t   if(gxs==1)\r\n\t   {\r\n\t    if (ocx.ControlPtz(44,0,0,0,0))\r\n\t\t  {\r\n\t\t\t gxs=0;\r\n\t\t\t $('xxs').innerText=tb2;\r\n\t\t }\t   \r\n\t  }\r\n\t  if(gxj==1)\r\n\t  {\r\n\t    if (ocx.ControlPtz(48,$('pv').value,0,0,0))\r\n\t\t  {\r\n\t\t\tgxj=0;\r\n\t\t\t$('xxuj').innerText=tb3;\r\n\t\t }\r\n \t  }\t\r\n\t\tif (ocx.ControlPtz(39,0,0,0,0))\r\n\t\t{\r\n\t\t\tgxz=1;\r\n\t\t\to.innerText=ts;\r\n\t\t\t\t\t\r\n\t}\r\n }\r\n\telse{\t\t\r\n\t\tif (ocx.ControlPtz(40,0,0,0,0))\r\n\t\t{\r\n\t\t\tgxz=0;\r\n\t\t\to.innerText=tb1;\r\n\t\t}\t\r\n\t}\r\n\t\t\r\n}\r\nfunction cxs(o,ts,tb0,tb1,tb2,tb3){\r\n\tif (gxs==0) \r\n\t{\r\n\t\t\tif (gxh==1) \r\n\t    {\t\t\r\n\t\t    if (ocx.ControlPtz(13,$('pv').value,0,96,0))\r\n\t\t   {\r\n\t\t\t   gxh=0;\r\n\t\t\t   $('xdjxh').innerText=tb0;\r\n\t\t   }\t\r\n\t    }\r\n\t    if (gxz==1) \r\n\t    {\t\t\r\n\t\t    if (ocx.ControlPtz(40,0,0,0,0))\r\n\t\t    {\r\n\t\t\t    gxz=0;\r\n\t\t\t    $('xspxz').innerText=tb1;\r\n\t\t    }\t\r\n\t    }\r\n\t    if(gxj==1)\r\n\t    {\r\n\t       if (ocx.ControlPtz(48,$('pv').value,0,0,0))\r\n\t\t    {\r\n\t\t\t    gxj=0;\r\n\t\t\t    $('xxuj').innerText=tb3;\r\n\t\t    }\r\n\t    }\t\t\r\n\t\tif (ocx.ControlPtz(43,0,0,0,0))\r\n\t\t{\r\n\t\t\tgxs=1;\r\n\t\t\to.innerText=ts;\r\n\t\t\r\n\t\t}\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.ControlPtz(44,0,0,0,0))\r\n\t\t{\r\n\t\t\tgxs=0;\r\n\t\t\to.innerText=tb2;\r\n\t\t}\r\n\t}\r\n\t\r\n}\r\n\r\nfunction cxj(o,ts,tb0,tb1,tb2,tb3){\r\n\tif (gxj==0)\r\n\t{\r\n\t\t\tif (gxh==1) \r\n\t    {\t\t\r\n\t\t    if (ocx.ControlPtz(13,$('pv').value,0,96,0))\r\n\t\t    {\r\n\t\t\t     gxh=0;\r\n\t\t\t     $('xdjxh').innerText=tb0;\r\n\t\t    }\t\r\n\t    }\r\n\t    if (gxz==1) \r\n\t    {\t\t\r\n\t\t    if (ocx.ControlPtz(40,0,0,0,0))\r\n\t\t   {\r\n\t\t\t   gxz=0;\r\n\t\t\t   $('xspxz').innerText=tb1;\r\n\t\t   }\t\r\n\t   }\r\n\t   if(gxs==1)\r\n\t   {\r\n\t     if (ocx.ControlPtz(44,0,0,0,0))\r\n\t\t   {\r\n\t\t\t   gxs=0;\r\n\t\t\t   $('xxs').innerText=tb2;\r\n\t\t   }\t   \r\n\t   }\t\t\r\n\t\tif (ocx.ControlPtz(47,$('pv').value,0,0,0))\r\n\t\t{\r\n\t\t\tgxj=1;\r\n\t\t\to.innerText=ts;\r\n\t\t\r\n\t\t}\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.ControlPtz(48,$('pv').value,0,0,0))\r\n\t\t{\r\n\t\t\tgxj=0;\r\n\t\t\to.innerText=tb3;\r\n\t\t}\r\n\t}\r\n\t\t\r\n}\r\n\r\nfunction cdj(o,ts,tb){\r\n\tvar ret;\r\n\tif (gdj==0)\r\n\t{\t\r\n\t\tif (ocx.ControlTalking(1))\r\n\t\t{\r\n\t\t\tgdj=1;\r\n\t\t\to.innerText=ts;\r\n\t\t}\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.ControlTalking(0))\r\n\t\t{\r\n\t\t\tgdj=0;\r\n\t\t\to.innerText=tb;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction cdg(o,ts,tb){\r\n\tif (gdg==0)\r\n\t{\t\r\n\t\tif (ocx.ControlPtz(14,1,0,0,0))\r\n\t\t{\r\n\t\t\tgdg=1;\r\n\t\t\to.innerText=ts;\r\n\t\t}\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.ControlPtz(14,0,0,0,0))\r\n\t\t{\r\n\t\t\tgdg=0;\r\n\t\t\to.innerText=tb;\r\n\t\t}\r\n\t}\t\r\n}\r\n\r\nfunction sldtopos(sld,step){\r\n\tsld.knob.setStyle('left', sld.toPosition(step));\r\n}\r\nfunction txreset(step){\r\n\tsetcolorsv(1,step);\r\n\tsetcolorsv(2,step);\r\n\tsetcolorsv(3,step);\r\n\tsetcolorsv(4,step);\r\n\tsldtopos(gslda,step);\r\n\tsldtopos(gsldb,step);\r\n\tsldtopos(gsldc,step);\r\n\tsldtopos(gsldd,step);\r\n\tsetcolors();\r\n}\r\n\r\nfunction getcolors(){\r\n\tvar colors=\"\";\r\n\tcolors=ocx.GetColor();\r\n\tvar t= new Array();\r\n\tif (colors !=\"\")\r\n\t\tt=colors.split(',');\r\n\tsldtopos(gslda,parseInt(t[0]));\r\n\tsldtopos(gsldb,parseInt(t[1]));\r\n\tsldtopos(gsldc,parseInt(t[2]));\r\n\tsldtopos(gsldd,parseInt(t[3]));\r\n\tsetcolorsv(1,parseInt(t[0]));\r\n\tsetcolorsv(2,parseInt(t[1]));\r\n\tsetcolorsv(3,parseInt(t[2]));\r\n\tsetcolorsv(4,parseInt(t[3]));\r\n}\r\nfunction setcolorsv(f,v){\r\n\t\tswitch (f)\r\n\t\t{\r\n\t\t\tcase 1: gca=v;\r\n\t\t\t\t\t$('ska').title=v;\r\n\t\t\t\t\tbreak;\r\n\t\t\tcase 2: gcb=v;\r\n\t\t\t\t\t$('skb').title=v;\r\n\t\t\t\t\tbreak;\r\n\t\t\tcase 3: gcc=v;\r\n\t\t\t\t\t$('skc').title=v;\r\n\t\t\t\t\tbreak;\r\n\t\t\tcase 4: gcd=v;\r\n\t\t\t\t\t$('skd').title=v;\r\n\t\t\t\t\tbreak;\r\n\t\t}\t\r\n}\r\nfunction setcolors(){\r\n\tocx.SetColor(0,gca,gcb,gcc,gcd);\r\n}\r\n\r\nfunction showmu(o,cid){\r\n\tif (gcid==cid){\r\n\t\tclosemu();\r\n\t}\r\n\telse{\r\n\t\tgcid=cid;\r\n\t\t$('cmu').setProperty('title', cid); \r\n\t\t$('cmu').injectAfter($(o).getParent());\r\n\t\t$('cmu').setStyle('height', 35);\r\n\t\tif(m32)\r\n\t\t{\r\n\t\t\tvar h=parseInt($('dcl').style.height);\r\n\t\t\tif(h!=387&&h!=739) $('dcl').setStyle('height', h+35);\t\r\n\t\t}\t\t\r\n\t}\r\n}\r\nfunction closemu(){\r\n\tgcid=-1;\r\n\t$('cmu').injectAfter($('cl')); \r\n\t$('cmu').setStyle('height', '0');\r\n\tif(m32)\r\n\t{\r\n\t\tvar h=parseInt($('dcl').style.height);\r\n\t\tif(h!=352&&h!=704) $('dcl').setStyle('height', h-35);\r\n\t}\t\t \t\r\n}\r\nfunction onmu(f){\r\n\tvar cid=$('cmu').getProperty('title'); \r\n\tocx.ConnectRealVideo(parseInt(cid),f)\r\n\tclosemu();\r\n}\r\n\r\nfunction tl(s){\r\n\tvar ret;\r\n\tret=ocx.Translate(s);\r\n\treturn ret;\r\n}\r\n\r\nfunction chkdev(){\r\n\tvar strhtm=\"\";\r\n\tvar strhtmopen=\"\";\r\n\tvar sret=\"\";\r\n\t\r\n\tsret=ocx.GetDevConfig(1);\r\n\t//if (sret.substring(0,1)==\"1\") \r\n\tstrhtm=\"<a id='xzml' href='javascript:;' onclick='onmu(1)' >\"+ tl('MainStream') +\"</a>\";\r\n\tstrhtmopen=\"<li><a href='javascript:;'  class='cdj1' onclick='onmnuopen(this,1)'>\" + tl('MainStream')  + \"</a></li>\";\r\n\tif (sret.substring(1,2)==\"1\")\r\n\t{ \r\n\t\tstrhtm=strhtm+\"<a id='xfml' href='javascript:;' onclick='onmu(2)'>\"+ tl('SecondStream') +\"</a>\";\r\n\t\tstrhtmopen=strhtmopen+\"<li><a href='javascript:;'  class='cdj1' onclick='onmnuopen(this,2)'>\" + tl('SecondStream')  + \"</a></li>\";\r\n\t}\r\n\t$('cmu').setHTML(strhtm);\r\n\t$(\"mnuopenl\").innerHTML=strhtmopen;\r\n\r\n\r\n\tsret=ocx.GetDevConfig(2);\r\n\tif (sret=='1')\r\n\t{\r\n\t\t$('xkl').style.display=\"\";\r\n\t}\r\n\r\n\tsret=ocx.GetDevConfig(7);\r\n\tif (sret=='1')\r\n\t{\r\n\t\t$('xhf').style.display=\"\";\r\n\t}\r\n\r\n\tsret=ocx.GetDevConfig(8);\r\n\tif (sret=='1')\r\n\t{\r\n\t\t$('xfmq').style.display=\"\";\r\n\t}\r\n\r\n\t\r\n}\r\nfunction savesetting(){\r\n\tHashCookie.extend(settings);\r\n}\r\nfunction getsetting(){\r\n\tif (HashCookie.get('username')) {\r\n\t\tsettings['username'] = HashCookie.get('username');\r\n\t} else {\r\n\t\tsettings['username'] = '';\r\n\t}\r\n\t\r\n\tif (HashCookie.get('talktype')) {\r\n\t\tsettings['talktype'] = HashCookie.get('talktype');\r\n\t} else {\r\n\t\tsettings['talktype'] = '1';\r\n\t}\r\n\tif (HashCookie.get('logintype')) {\r\n\t\tsettings['logintype'] = HashCookie.get('logintype');\r\n\t} else {\r\n\t\tsettings['logintype'] = '0';\r\n\t}\r\n\r\n\tif (HashCookie.get('openall')) {\r\n\t\tsettings['openall'] = HashCookie.get('openall');\r\n\t} else {\r\n\t\tsettings['openall'] = '1';\r\n\t}\r\n\t\r\n\t$('username').setProperty('value', settings['username']); \r\n\t$('logintype').setProperty('value',settings['logintype']); \r\n}\r\n\r\nfunction reps(str){\r\n\tvar strReg1 =/\"/g;\r\n\tvar strReg2=/'/g;\r\n\tvar strReg3=/</g;\r\n\tvar strReg4=/>/g;\r\n\tvar strReg5=/&/g;\r\n\tvar ret=str.replace(strReg5, \"&amp;\");\r\n \tret=ret.replace(strReg1, \"&quot;\");\r\n\tret=ret.replace(strReg2, \"&acute;\");\r\n\tret=ret.replace(strReg3, \"&lt;\");\r\n\tret=ret.replace(strReg4, \"&gt;\");\r\n\treturn ret;\r\n}\r\n\r\nfunction showmu1(){\r\n\tif (gfmu1==0)\r\n\t{\t\r\n\t\tgfmu1=1;\r\n\t\t$('smu1').style.display=\"\";\t\t\t\r\n\t}\r\n\telse{\r\n\t\tclosemu1();\t\r\n\t}\t\r\n}\r\nfunction closemu1(){\r\n\tgfmu1=0;\r\n\t$('smu1').style.display=\"none\";\r\n}\r\nfunction showmu2(){\r\n\tif (gfmu2==0)\r\n\t{\t\r\n\t\t//alert('show');\r\n\t\tvar i = $('smu2').getParent();\r\n\t\tgfmu2=1;\r\n\t\t$('smu2').style.display=\"\";\t\t\t\r\n\t}\r\n\telse{\r\n\t\t//alert('close');\r\n\t\tclosemu2();\t\r\n\t}\t\r\n}\r\nfunction closemu2(){\r\n\tgfmu2=0;\r\n\t$('smu2').style.display=\"none\";\r\n}\r\nfunction onmu1(v){\r\n\t$('ps').value=v;\r\n\tclosemu1();\r\n}\r\nfunction onmu2(v){\r\n\tif(0==v)\r\n\t{\r\n\t\tstr = 'DAV';\r\n\t\tocx.SetRecordExtension('dav');\r\n\t}\r\n\telse if(1==v)\r\n\t{\r\n\t\tstr = 'ASF';\r\n\t\tocx.SetRecordExtension('asf');\r\n\t}\r\n\t//var str = (0==v)?'DAV':'ASF';\r\n\t//alert('v:'+v);\r\n\t$('rtys').value=str;\r\n\tclosemu2();\r\n}\r\nfunction showmnudj(){\r\n\tif (gfmnudj==0)\r\n\t{\t\r\n\t\tgfmnudj=1;\r\n\t\t$('mnudj').style.display=\"\";\t\t\t\r\n\t}\r\n\telse{\r\n\t\tclosemnudj();\t\r\n\t}\t\r\n}\r\nfunction closemnudj(){\r\n\tgfmnudj=0;\r\n\t$('mnudj').style.display=\"none\";\r\n}\r\nfunction onmnudj(o,v){\r\n\tif (gomnudj !=null)\r\n\t{\r\n\t\tgomnudj.removeClass(gomnudj.className);\r\n\t\tgomnudj.addClass('cdj1');\r\n\t}\r\n\tgomnudj=$(o);\r\n\tgomnudj.removeClass(gomnudj.className);\r\n\tgomnudj.addClass('cdj2');\t\r\n\tif (v=='0') v='1';\r\n\tocx.SetDeviceMode(0,v);\r\n\tcdj($('xdj'),tl('StopTalk'),tl('AudioTalk'));\r\n\tclosemnudj();\r\n\tsettings['talktype'] = v;\r\n\tsavesetting();\r\n}\r\n\r\n\r\n\r\nfunction showmnuopen(){\r\n\tif (gfmnuopen==0)\r\n\t{\t\r\n\t\tgfmnuopen=1;\r\n\t\t$('mnuopen').style.display=\"\";\t\t\t\r\n\t}\r\n\telse{\r\n\t\tclosemnuopen();\t\r\n\t}\t\r\n}\r\nfunction closemnuopen(){\r\n\tgfmnuopen=0;\r\n\t$('mnuopen').style.display=\"none\";\r\n}\r\nfunction onmnuopen(o,v){\r\n\tif (gomnuopen !=null)\r\n\t{\r\n\t\tgomnuopen.removeClass(gomnuopen.className);\r\n\t\tgomnuopen.addClass('cdj1');\r\n\t}\r\n\tgomnuopen=$(o);\r\n\tgomnuopen.removeClass(gomnuopen.className);\r\n\tgomnuopen.addClass('cdj2');\t\r\n\t\r\n\t\r\n\tclosemnuopen();\r\n\tsettings['openall'] = v;\r\n\tsavesetting();\r\n\tgopenall=0;\r\n\topenall($('xac'),tl('W_ACC'),tl('W_ACO'))\r\n}\r\n\r\n\r\nfunction getcl(){\t\r\n\tvar t= new Array();\r\n\tvar ts=new Array();\r\n\tvar shtml=\"\";\r\n\tvar strsplita=String.fromCharCode(9);\r\n\tvar strsplitb=String.fromCharCode(16);\r\n\tvar sc;\r\n\t\r\n\tsc=ocx.GetChannelName();\r\n\t\r\n\tif (sc !=\"\"){\r\n\t\tsc=sc.substr(0, sc.length-1);\r\n\t\tt=sc.split(strsplita);\r\n\t\tvar num=t.length;\r\n\t\tcnum=num;\r\n\t\tfor (var i =0; i<t.length;i++ ){\r\n\t\t\tts=t[i].split(strsplitb);\t\t\t\r\n\t\t\tts[1]=reps(ts[1]);\t\t\t\r\n\t\t\t//alert(ts[0]);\r\n\t\t\tshtml+=\"<li title='\" + ts[1]+ \"' ><div id='c\" + ts[0] + \"' class='cl1' onclick='ca(this,\" + ts[0] +\")' >\" + ts[1] + \"</div><a class='ca1' href='javascript:;' onclick='showmu(this,\" + ts[0] + \")'></a></li>\"\r\n\t\t\tt[i]=ts;\r\n\t\t\r\n\t\t}\r\n\t\t$(\"cl\").innerHTML=shtml;\r\n\t\t//alert('DONE!')\r\n\t\t//var len = chAry.length;\r\n\t\t//alert('len:'+len);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//var wheight=document.documentElement.clientHeight;\r\n\t\tvar maxH=screen.height-207;\t\t\r\n\t\tif(num>19&&(maxH+63)<800)  //20\u8def\u53ca\u4ee5\u4e0a\u7684\u8bbe\u5907,\u4e14\u5206\u8fa8\u7387\u4e0d\u5927\u4e8e1152*864(-->720)\u65f6(screenHeight<=944),\u89c6\u9891\u7a97\u53e3\u5927\u5c0f\u81ea\u52a8\u5339\u914d,\u901a\u9053\u5206\u9875\u663e\u793a. 1024-->880\r\n\t\t{\r\n\t\t\tm32=true;\t\t\t\r\n\t\t\thh=maxH+63;\r\n\t\t\t$('cup').style.display='';\r\n\t\t\t$('cdw').style.display='';\t\t\t\r\n\t\t\t$('dcl').style.height='352px';\r\n\t\t\t$('dcl').style.overflow='hidden';\t\t\r\n\t\t\tvar myFx = new Fx.Style('dcl', 'margin-top',{duration:500});\r\n\t\t\tvar myFx1 = new Fx.Style('dcl', 'height',{duration:500});\r\n\t\t\t$('up1').addEvent('click', function(e){\t\t\r\n\t\t\t\tif(parseInt($('dcl').style.height)==704&&gcid==-1)\r\n\t\t\t\t{\r\n\t\t\t\t\tmyFx.start(-352,0);\r\n\t\t\t\t\tmyFx1.start(704,352);\r\n\t\t\t\t}\r\n\t\t\t\telse if(parseInt($('dcl').style.height)==739&&gcid!=-1)\r\n\t\t\t\t{\r\n\t\t\t\t\tmyFx.start(-352,0);\r\n\t\t\t\t\tmyFx1.start(739,387);\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t});\t\r\n\t\t\t$('dw1').addEvent('click', function(e){\t\t\t\t\r\n\t\t\t\tif(parseInt($('dcl').style.height)==352&&gcid==-1)\r\n\t\t\t\t{\r\n\t\t\t\t\tmyFx.start(0,-352);\r\n\t\t\t\t\tmyFx1.start(352,704);\r\n\t\t\t\t}\r\n\t\t\t\telse if(parseInt($('dcl').style.height)==387&&gcid!=-1)\r\n\t\t\t\t{\r\n\t\t\t\t\tmyFx.start(0,-352);\r\n\t\t\t\t\tmyFx1.start(387,739);\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t});\t\t\t\r\n\t\t}\r\n\t\telse if(num>24&&(maxH+63)>=840) //24\u8def\u4ee5\u4e0a\u8bbe\u5907, \u4e14\u5206\u8fa8\u7387\u9ad8\u4e8e1280*1024\u65f6,\u8fdb\u5165\u8001\u7248\u672c\u768432\u8def\u6a21\u5f0f\r\n\t\t{\r\n\t\t\thh=880;\r\n\t\t}\r\n\t\telse hh=600;\r\n\t\tvar ls = $$('#cl li');\r\n\t\tls.each(function(element) { \r\n\t\t\tvar fx = new Fx.Styles(element, {duration:100, wait:false}); \r\n\t\r\n\t\t\telement.addEvent('mouseenter', function(){\r\n\t\t\t\tfx.start({\r\n\t\t\t\t\t'opacity':1\r\n\t\t\t\t});\r\n\t\t\t}); \r\n\t\t\telement.addEvent('mouseleave', function(){\r\n\t\t\t\tfx.start({\r\n\t\t\t\t\t'opacity':0.001\r\n\t\t\t\t});\r\n\t\t\t}); \r\n\t\t});\r\n\t}\r\n}\r\n\r\nfunction getdjl(){\t\r\n\tvar t= new Array();\r\n\tvar ts=new Array();\r\n\tvar shtml=\"\";\r\n\tvar strsplita=String.fromCharCode(9);\r\n\tvar strsplitb=String.fromCharCode(16);\r\n\tvar sc=\"\";\r\n\tsc=ocx.GetDevConfig(3);\r\n\tif (sc !=\"\"){\r\n\t\tsc=sc.substr(0, sc.length-1);\r\n\t\tt=sc.split(strsplita);\r\n\t\t\r\n\t\tfor (var i =0; i<t.length;i++ ){\r\n\t\t\tts=t[i].split(strsplitb);\r\n\t\t\tts[1]=reps(ts[1]);\r\n//\t\t\tif (ts[1] != \"G711u\")\r\n//\t\t\t{\r\n\t\t\t\tshtml+=\"<li><a href='javascript:;'  class='cdj1' onclick='onmnudj(this,\" + ts[0]+ \")'>\" + ts[1] + \"</a></li>\";\r\n//\t\t\t}\r\n\t\t\tt[i]=ts;\r\n\t\t}\r\n\t\t$(\"mnudjl\").innerHTML=shtml;\r\n\t}\r\n}\r\n\r\nfunction rfc(){\r\n\tvar t= new Array();\r\n\tvar ts=new Array();\r\n\tvar shtml=\"\";\r\n\tvar strsplita=String.fromCharCode(9);\r\n\tvar strsplitb=String.fromCharCode(16);\r\n\tvar sc;\r\n\tsc=ocx.GetChannelName();\r\n\tif (sc !=\"\"){\r\n\t\tsc=sc.substr(0, sc.length-1);\r\n\t\tt=sc.split(strsplita);\r\n\t\tfor (var i =0; i<t.length;i++ ){\r\n\t\t\tts=t[i].split(strsplitb);\r\n\t\t\t//ts[1]=reps(ts[1]);\r\n\t\t\tvar temp='c' + ts[0];\r\n\t\t\t$(temp).setText(ts[1]);\r\n\t\t\tvar pr=$(temp).getParent();\r\n\t\t\tpr.title=ts[1];\r\n\t\t\tt[i]=ts;\r\n\t\t}\r\n\t}\t\r\n}\r\n\r\n\r\nfunction reboot(){\r\n\tvar ret;\r\n\tvar ret1 = false;\r\n\ttry{\r\n\t\tret1 = ocx.ConfirmReboot();\r\n\t}\r\n\tcatch(e){\r\n\t\tret1 = confirm(tl('w_rebootconfirm'));\r\n\t}\r\n\tif (ret1){\t\t\r\n\t\tret=ocx.Restart();\r\n\t\tif (ret==0)\r\n\t\t{\r\n\t\t\t//alert(tl('w_rebootfail'));\r\n\t\t}\r\n\t\telse{\r\n\t\t\tocx.LogoutDevice();\r\n\t\t\tloeft();\r\n\t\t}\r\n\t}\t\r\n}\r\n\r\nfunction openall(o,ts,tb){\r\n\tvar ret;\r\n\t//alert(settings['openall']);\r\n\tif (gopenall==0)\r\n\t{\t\r\n\t\tif (ocx.ConnectAllChannelEx(settings['openall']))\r\n\t\t{\r\n\t\t\tgopenall=1;\r\n\t\t\to.innerText=ts;\r\n\t\t}\r\n\t}\r\n\telse{\t\t\r\n\t\tif (ocx.DisConnectAllChannel())\r\n\t\t{\r\n\t\t\tgopenall=0;\r\n\t\t\to.innerText=tb;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction toggleDisplay(obj){\r\n\tif (obj.getStyle('display')=='none'){\r\n\t\tobj.setStyle('display','');\r\n\t}\r\n\telse{\r\n\t\tobj.setStyle('display','none');\r\n\t}\r\n}\r\n\r\nfunction closebeep(){\r\n\tocx.BeepAlarmControl(0);\t\r\n}\r\n\r\nfunction limitPs(){\r\n\tvar inpt=$('ps').value;\r\n\t$('ps').value = inpt.replace(/[^\\d]/g,'');\r\n\tif(inpt=='0')$('ps').value =1;\r\n\telse if(inpt=='9') $('ps').value =8;\r\n}\r\n\r\nfunction limitPv(){\r\n\t$('pv').value = $('pv').value.replace(/[^\\d]/g,'');\r\n\tvar inpt=$('pv').value;\r\n\tif(inpt.length >= 3 && (inpt-0)>255) $('pv').value=255;\r\n\telse if(inpt!='') $('pv').value=inpt-0;\r\n}\r\n\r\nfunction inilanguage(){\r\n\t$('xyhm').setText(tl('User Name')+\":\");\r\n\t$('xmm').setText(tl('Password')+\":\");\r\n\t$('lbt').setText(tl('Login'));\r\n\tshowlogin();\r\n\t$('xtc').setText(tl('Logout'));\r\n\t//$('xzml').setText(tl('MainStream'));\r\n\t//$('xfml').setText(tl('SecondStream'));\r\n\t$('xdj').setText(tl('AudioTalk'));\r\n\t$('xhf').setText(tl('OpenRec'));\r\n\t$('xbb').setText(tl('Zoom'));\r\n\t$('xbj').setText(tl('Focus'));\r\n\t$('xgq').setText(tl('Iris'));\r\n\t$('xbc').setText(tl('w_Step'));\t\r\n\t$('xz').setText(tl('w_SetValue'));\r\n\t$('xtld').setProperty('title', tl('Bright')); \r\n\t$('xtdbd').setProperty('title', tl('Cont')); \r\n\t$('xtbhd').setProperty('title', tl('Sat')); \r\n\t$('xtsd').setProperty('title', tl('Hue')); \r\n\t$('xcz').setText(tl('Reset'));\r\n\t$('xztlj').setText(tl('PicturePath'));\r\n\t$('xlxlj').setText(tl('RecordPath'));\r\n\t$('xztlj').setProperty('title', tl('SetPicturePath')); \r\n\t$('xlxlj').setProperty('title', tl('SetRecordPath')); \r\n\t$('taba1').setText(tl('Img Config'));\r\n\t$('taba2').setText(tl('Other Config'));\r\n\t$('xyzd').setText(tl('Preset'));\r\n\t$('xdjxh').setText(tl('Auto-Tour'));\r\n\t$('xspxz').setText(tl('Auto-Pan'));\r\n\t$('xxs').setText(tl('Auto-Scan'));\r\n\t$('xxuj').setText(tl('Pattern'));\r\n\t$('xfzk').setText(tl('AUX ON'));\r\n\t$('xfzg').setText(tl('AUX OFF'));\r\n\t$('xytsz').setText(tl('w_PTZsetting'));\t\r\n\t$('xkl').setText(tl('W_Burning'));\r\n\t//$('xkl').setProperty('title', tl('w_ptjrtitle'));\r\n\t$('xsxt').setText(tl('w_refresh'));\r\n\t$('xsxt').setProperty('title', tl('w_trefresh'));\r\n\t$('xcqsb').setText(tl('w_reboot'));\r\n\t$('xcqsb').setProperty('title', tl('w_reboottitle'));\r\n\t$('xac').setText(tl('W_ACO'));\r\n\t$('xac').setProperty('title', tl('W_ACO_T'));\r\n\t\r\n\t$('xp1').setProperty('title', tl('W_P1'));\r\n\t$('xp2').setProperty('title', tl('W_P2'));\r\n\t$('xp3').setProperty('title', tl('W_P3'));\r\n\t$('xp4').setProperty('title', tl('W_P4'));\r\n\t$('xp5').setProperty('title', tl('W_P5'));\r\n\t\r\n\t$('xdlfs').setText(tl('type'));\r\n\t$('xdlfszb').setText(tl('w_muticast'));\r\n\t$('xladv').setText(tl('C_ADVANCED.'));\r\n\t$('xfmq').setText(tl('W_CLOSEBEEP'));\r\n\t$('rdty').setText(tl('RecordFormat'));\r\n\t\r\n\t\r\n\tinilanguage_ex();\r\n}\r\nfunction resize(){\r\n\tvar mbbw;\r\n\tvar mbbh;\r\n\twwidth =document.documentElement.clientWidth;\r\n\twheight=document.documentElement.clientHeight;\r\n\t//alert(screen.availHeight+' '+screen.height+' '+wheight)\r\n\tif (wheight<hh) wheight=hh;\r\n\t//ma:31;mc:18;plc:33;dra,b,c:24\r\n\tmbbh=wheight - (31+18+33+24+3+8);\r\n\t//alert(mbbh+'mbbh')\r\n\tglhight=mbbh+33;\r\n\tgrhight=mbbh+33-263-$('yt21').offsetHeight;\r\n\tmbbw=mbbh *64/51;\r\n\tif( wwidth < 904 )\t$('m').style.width = 904;\t\t\r\n\telse \t$('m').style.width = \"100%\";\t\t \r\n\t$('mb').setStyle('width', mbbw+(145*2+8));\r\n\t$('mbb').setStyle('width', mbbw);//yzt 0508\r\n\t$('mbb').setStyle('height', mbbh);\r\n\t$('mbal').setStyle('height', glhight);\r\n\t$('yt3').setStyle('height', grhight);\r\n}\r\n\r\nwindow.addEvent('resize',function(){\r\n\tresize();\r\n});\r\n\r\nwindow.addEvent('domready',function(){\r\n\tgsld = new Slider($('sa'), $('sk'), {\r\n\tsteps:1000,\r\n\tonComplete:function(step){ocx.SetPlayPos(step);}\r\n\t});\r\n\t\r\n\tgslda = new Slider($('saa'), $('ska'), {\r\n\tsteps:128,\r\n\tonChange:function(step){setcolorsv(1,step);setcolors();}\r\n\t});\r\n\r\n\tgsldb = new Slider($('sab'), $('skb'), {\r\n\tsteps:128,\r\n\tonChange:function(step){setcolorsv(2,step);setcolors();}\r\n\t});\r\n\t\r\n\tgsldc = new Slider($('sac'), $('skc'), {\r\n\tsteps:128,\r\n\tonChange:function(step){setcolorsv(3,step);setcolors();}\r\n\t});\r\n\t\r\n\tgsldd = new Slider($('sad'), $('skd'), {\r\n\tsteps:128,\r\n\tonChange:function(step){setcolorsv(4,step);setcolors();}\r\n\t});\r\n\r\n\t//gslde = new Slider($('sae'), $('ske'), {\r\n\t//steps:100,\r\n\t//onChange:function(step){;}\r\n\t//});\r\n//menu\r\n\tvar kwicks = $$('#kwick .kwick');\r\n\tvar fx = new Fx.Elements(kwicks, {wait: false, duration: 300, transition:Fx.Transitions.Back.easeOut});\r\n\tkwicks.each(function(kwick, i){\r\n\t\tkwick.addEvent('mouseenter', function(e){\r\n\t\t\tvar obj = {};\r\n\t\t\tobj[i] = {\r\n\t\t\t\t'width': [kwick.getStyle('width').toInt(), 155]\r\n\t\t\t};\r\n\t\t\tkwicks.each(function(other, j){\r\n\t\t\t\tif (other != kwick){\r\n\t\t\t\t\tvar w = other.getStyle('width').toInt();\r\n\t\t\t\t\tif (w != 80) obj[j] = {'width': [w,80]};\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfx.start(obj);\r\n\t\t});\r\n\t});\r\n\t\r\n\t$('kwick').addEvent('mouseleave', function(e){\r\n\t\tvar obj = {};\r\n\t\tkwicks.each(function(other, j){\r\n\t\t\tobj[j] = {'width': [other.getStyle('width').toInt(), 95]};\r\n\t\t});\r\n\t\tfx.start(obj);\r\n\t});\r\n\r\n//\r\n\tvar container = $('mb');\r\n\tvar drop = $('drb');\r\n\tvar mba=$('mba');\r\n\tvar mbb=$('mbb');\r\n\tvar mbc=$('mbc');\r\n\tvar dropFx = drop.effect('opacity', {wait: false}); // wait is needed so that to toggle the effect,\r\n\tvar bedra= $('dra');\r\n\tvar bedrc= $('drc');\r\n/*\t\r\nbedra.addEvent('mousedown', function(e) {\r\n\t\te = new Event(e).stop();\t\t\t\r\n\t\tvar clone = this.clone()\r\n\t\t\t.setStyles(this.getCoordinates()) // this returns an object with left/top/bottom/right, so its perfect\r\n\t\t\t.setStyles({'opacity': 0.7, 'position': 'absolute'})\r\n\t\t\t.addEvent('emptydrop', function() {this.remove();drop.removeEvents();})\t\t\t\t\t\t\r\n\t\t\t.inject(document.body);\t\r\n\t\tdrop.addEvents({\r\n\t\t\t'drop': function() {\r\n\t\t\t\tdrop.removeEvents();\r\n\t\t\t\tclone.remove();\t\t\t\t\t\t\t\r\n\t\t\t\tdropFx.start('1');\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\tif (mbc.getStyle('left') !='0px')\r\n\t\t\t\t{\r\n\t\t\t\t\tmbc.setStyle('left','0');\r\n\t\t\t\t\tmbc.injectBefore(mba);\r\n\t\t\t\t\tmbb.injectBefore(mba);\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tmbc.setStyle('left','120');\t\t\t\t\t\t\t\r\n\t\t\t\t\tmba.injectBefore(mbc);\r\n\t\t\t\t\tmbb.injectBefore(mbc);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t'over': function() {\r\n\t\t\t\tdropFx.start('0.7');\r\n\t\t\t},\r\n\t\t\t'leave': function() {\r\n\t\t\t\tdropFx.start('1');\r\n\t\t\t}\t\t\t\t\t\t\r\n\t\t});\r\n\t\tvar drag = clone.makeDraggable({\r\n\t\t\t'container':container,\r\n\t\t\t'droppables': [drop]\r\n\t\t}); // this returns the dragged element\r\n\t\tdrag.start(e); // start the event manual\t\r\n\t});\r\n\r\n\r\n\tbedrc.addEvent('mousedown', function(e) {\r\n\t\te = new Event(e).stop();\t\t\t\r\n\t\tvar clone = this.clone()\r\n\t\t\t.setStyles(this.getCoordinates()) // this returns an object with left/top/bottom/right, so its perfect\r\n\t\t\t.setStyles({'opacity': 0.7, 'position': 'absolute'})\r\n\t\t\t.addEvent('emptydrop', function() {this.remove();drop.removeEvents();})\t\t\t\t\t\t\r\n\t\t\t.inject(document.body);\t\r\n\t\tdrop.addEvents({\r\n\t\t\t'drop': function() {\r\n\t\t\t\tdrop.removeEvents();\r\n\t\t\t\tclone.remove();\t\t\t\t\t\t\t\r\n\t\t\t\tdropFx.start('1');\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\tif (mbc.getStyle('left') !='0px')\r\n\t\t\t\t{\r\n\t\t\t\t\tmbc.setStyle('left','0');\r\n\t\t\t\t\tmbc.injectBefore(mba);\r\n\t\t\t\t\tmbb.injectBefore(mba);\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tmbc.setStyle('left','120');\t\t\t\t\t\t\t\r\n\t\t\t\t\tmba.injectBefore(mbc);\r\n\t\t\t\t\tmbb.injectBefore(mbc);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t'over': function() {\r\n\t\t\t\tdropFx.start('0.7');\r\n\t\t\t},\r\n\t\t\t'leave': function() {\r\n\t\t\t\tdropFx.start('1');\r\n\t\t\t}\t\t\t\t\t\t\r\n\t\t});\r\n\t\tvar drag = clone.makeDraggable({\r\n\t\t\t'container':container,\r\n\t\t\t'droppables': [drop]\r\n\t\t}); // this returns the dragged element\r\n\t\tdrag.start(e); // start the event manual\t\r\n\t});\r\n*/\r\n//\r\n\tvar hCyt21 = new Fx.Style('yt21', 'height',{duration:500});\r\n\tvar hCyt3 = new Fx.Style('yt3', 'height',{duration:500});\r\n\t\r\n\t$('ayt22').addEvent('click', function(e){\r\n\t\tnew Event(e).stop();\r\n\t\tif (this.hasClass('y1'))\r\n\t\t{\r\n\t\t\tthis.removeClass(this.className);\r\n\t\t\tthis.addClass('y2');\r\n\t\t\thCyt21.start(0,160);\r\n\t\t\t\r\n\t\t\thCyt3.start(grhight,grhight-160);\r\n\t\t\tgrhight=grhight-160\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthis.removeClass(this.className);\r\n\t\t\tthis.addClass('y1');\r\n\t\t\thCyt21.start(160,0);\r\n\t\t\thCyt3.start(grhight,grhight+160);\r\n\t\t\tgrhight=grhight+160\r\n\t\t}\r\n\t});\r\n\r\n\tvar taba1=$('taba1');\r\n\tvar taba2=$('taba2');\r\n\ttaba1.addEvent('click', function(e){\r\n\t\tnew Event(e).stop();\r\n\t\tif (this.hasClass('t3'))\r\n\t\t{\r\n\t\t\tthis.removeClass(this.className);\r\n\t\t\tthis.addClass('t1');\t\t\t\r\n\t\t\ttaba2.removeClass(taba2.className);\r\n\t\t\ttaba2.addClass('t2');\r\n\t\t\t$('yt3t1').style.display=\"\";\t\t\t\r\n\t\t\t$('yt3t2').style.display=\"none\";\t\t\t\r\n\t\t}\r\n\t});\r\n\t\r\n\ttaba2.addEvent('click', function(e){\r\n\t\tnew Event(e).stop();\r\n\t\tif (this.hasClass('t2'))\r\n\t\t{\r\n\t\t\ttaba1.removeClass(taba2.className);\r\n\t\t\ttaba1.addClass('t3');\t\t\t\r\n\t\t\tthis.removeClass(this.className);\r\n\t\t\tthis.addClass('t4');\r\n\t\t\t$('yt3t1').style.display=\"none\";\t\t\t\r\n\t\t\t$('yt3t2').style.display=\"\";\t\t\t\r\n\t\t}\r\n\t});\r\n\t\r\n//\r\n\tdocument.addEvent('keydown', function(event) {\r\n\t\tevent = new Event(event);\r\n\t\tif(glin)\r\n\t\t{\r\n\t\tif (event.key == 'up') ocx.ControlPtz(0,0,$('ps').value,0,0);\r\n\t\tif (event.key == 'left') ocx.ControlPtz(2,0,$('ps').value,0,0);\r\n\t\tif (event.key == 'right') ocx.ControlPtz(3,0,$('ps').value,0,0);\r\n\t\tif (event.key == 'down') ocx.ControlPtz(1,0,$('ps').value,0,0);\r\n\t\t}\r\n\t});\r\n\tdocument.addEvent('keyup', function(event) {\r\n\t\tevent = new Event(event);\r\n\t\tif(glin)\r\n\t\t{\r\n\t\tif (event.key == 'up') ocx.ControlPtz(0,0,$('ps').value,0,1);\r\n\t\tif (event.key == 'left') ocx.ControlPtz(2,0,$('ps').value,0,1);\r\n\t\tif (event.key == 'right') ocx.ControlPtz(3,0,$('ps').value,0,1);\r\n\t\tif (event.key == 'down') ocx.ControlPtz(1,0,$('ps').value,0,1);\r\n\t\t}\r\n\t});\r\n\r\n\tinilanguage();\r\n\tgetsetting();\r\n\t\r\n\tgdomready=1;\r\n});\r\n</script>\r\n\r\n<script language=\"javascript\" for=\"ocx\" event=\"ReturnWindInfo(wid,cid,ps,sit)\">\r\n\tgptz=sit;\r\n\tgwid=wid;\r\n\tif (ps!=0)\r\n\t{\r\n\t\tif (ps==5 || ps==4){\r\n\t\t\t$('pbh').setStyle('display','none');\r\n\t\t}\r\n\t\telse{\r\n\t\t\t$('pbh').setStyle('display','');\r\n\t\t}\r\n\t\tgetcolors();\r\n\t}\r\n\t\tsetptzs();\r\n\t\r\n</script>\r\n\r\n<script language=\"javascript\" for=\"ocx\" event=\"ReturnPlayState(pos)\">\r\n\tsldtopos(gsld,pos);\r\n</script>\r\n\r\n<script language=\"javascript\" for=\"ocx\" event=\"StateChanged(ci,ps,wid)\">\r\n\t//alert(ps);\r\n\tvar oc;\r\n\tif (ci != -1){\r\n\t\toc=$('c' + ci);\r\n\t\tif (ps==0){\r\n\t\t\toc.removeClass(oc.className);\r\n\t\t\toc.addClass('cl1');\r\n\t\t\t$('xac').innerText=tl('W_ACO');\r\n\t\t\tgopenall=0;\r\n\t\t}\r\n\t\tif(glin)\r\n\t\t{\r\n\t\t\t//alert('if');\r\n\t\t\tif (ps==1){\r\n\t\t\t//alert('ci:'+ci+', '+oc);\r\n   \t\t\t//oc.removeClass('cl1');\r\n   \t\t\toc.removeClass(oc.className);\r\n   \t\t\toc.addClass('cl2');\r\n   \t\t\tvar ALL_ON=true;\r\n   \t\t\tfor(var i=0;i<cnum;i++)\r\n   \t\t\t{\r\n   \t\t\t\t//ALL_ON&=($('c'+i).hasClass('cl2'));\r\n   \t\t\t\tif($('c'+i).hasClass('cl1'))\r\n   \t\t\t\t{\r\n   \t\t\t\t\tALL_ON=false;\r\n   \t\t\t\t\tbreak;\r\n   \t\t\t\t}\r\n   \t\t\t}\r\n   \t\t\tif(ALL_ON)\r\n   \t\t\t{\r\n   \t\t\t\t$('xac').innerText=tl('W_ACC');\r\n\t\t\t\t\tgopenall=1;\r\n   \t\t\t} \r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t//alert('else');\r\n\t\t\tchAry.include(ci);\r\n\t\t}\r\n\t\t\r\n\t\tif (ps==3){\r\n\t\t\t//oc.removeClass('cl1');\r\n\t\t\toc.removeClass(oc.className);\r\n\t\t\toc.addClass('cl3');\r\n\t\t}\r\n\t\tif(ps==6){\r\n   \t\t\toc.removeClass(oc.className);\r\n   \t\t\toc.addClass('cl2');\r\n\t\t}\r\n\r\n\t}\r\n\tif (wid == gwid){\r\n\t\tif (ps==3||ps==5){$('pbh').setStyle('display','none');}else{$('pbh').setStyle('display','');}\r\n\t\tgetcolors();\r\n\t}\r\n</script>\r\n<script language=\"javascript\" for=\"ocx\" event=\"DeviceDisconnected(ip,pt)\">\r\n\tloeft();\r\n</script>\r\n\r\n<script language=\"javascript\" for=\"ocx\" event=\"Talk(talkState,extendPara)\">\r\n\tif (talkState==1){\r\n\t\tif (gdj==0) cdj($('xdj'),tl('StopTalk'),tl('AudioTalk'));\t\r\n\t}\r\n\telse\r\n\t{\r\n\t\tif (gdj==1) cdj($('xdj'),tl('StopTalk'),tl('AudioTalk'));\t\r\n\t}\r\n\t\r\n</script>\r\n\r\n<script language=\"javascript\" for=\"ocx\" event=\"DeviceChanged(strDevIp, lPort, lType)\">\r\n\tif (lType == 1)\r\n\t{\r\n\t\trfc();\r\n\t}\r\n\tif (lType==3)\r\n\t{\r\n\t\tlo();\r\n\t\t$('l').setStyle('display','none');\r\n\t\tglin=false;\r\n\t\twindow.location.href='http://' + strDevIp;\r\n\t}\t\r\n\r\n</script>\r\n\r\n\r\n</head>\r\n<body>\r\n<div id='l'>\r\n\t<div id='lx'>\r\n\t\t<div id='lb'></div>\r\n\t\t<div id='la'>\r\n\t\t\t<div id='lal'></div>\r\n\t\t\t<div id='lar'></div>\r\n\t\t\t<div id='lalogo'></div>\r\n\t\t\t<div id='lainput'>\r\n\t\t\t\t<div><span id='xyhm'>username:</span><input type='text' maxlength='20' id='username' onKeyDown=\"javascript:if (event.keyCode==13) event.keyCode=9;\"></div>\r\n\t\t\t\t<div><span id='xmm'>pass:</span><input type=\"password\" maxlength=\"20\" id=\"password\" onKeyDown=\"javascript:if (event.keyCode==13) ld();\"></div>\r\n\t\t\t\t<div style=\"display:none;\"><span>IP:</span><input type=\"text\" id=\"ip\" onKeyDown=\"javascript:if (event.keyCode==13) event.keyCode=9;\" value=\"10.7.4.27\"></div>\r\n\t\t\t\t<div id='ladvxx' style=\"display:none;\"><span id='xdlfs'>type</span><select id=\"logintype\" onKeyDown=\"javascript:if (event.keyCode==13) ld();\"><option value=\"0\">TCP</option><option value=\"4\">UDP</option><option id='xdlfszb' value=\"3\">w_muticast</option></select></div>\r\n\t\t\t</div>\r\n\t\t\t<div id='labt'><button id='lbt' onClick=\"ld()\">l</button>\r\n\t\t\t\t<div style=\"position: relative; height:20px;width:88px; float:left; margin:8px 0 0 1px; overflow:hidden;display:none\"><a  id='xladv' href=\"javascript:;\" onclick=\"toggleDisplay($('ladvxx'))\">adv</a></div>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t</div>\r\n\t\t<div id='lc'></div>\r\n\t</div>\r\n</div>\r\n\r\n<div id=\"m\">\r\n\t<div id=\"ma\">\r\n\t\t<div id=\"maa\"></div>\r\n\t\t<div id=\"mab\"></div>\r\n\t\t<div id=\"mac\"></div>\r\n\t\t<div id=\"mad\"></div>\r\n\t\t<div id=kwick>\r\n\t\t\t<ul class=kwicks>\r\n\t\t\t  <li><span id='xlxcx' class=\"kwick b\" onclick=\"ocx.ShowPlayback()\">recq</span></li>\r\n\t\t\t  <li><span id='xbjsz' class=\"kwick c\" onclick=\"ocx.ShowAlarm()\">ac</span></li>\r\n\t\t\t  <li><span id='xxtpz' class=\"kwick a\" onclick=\"ocx.ShowDeviceConfig()\">sysc</span></li>\r\n\t\t\t  <li><span id='xgy' class=\"kwick d\" onclick=\"showabout()\">about</span></li>\r\n\t\t\t  <li><span id='xtc' class=\"kwick e\" onclick=\"lo()\">quit</span></li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t\t<div id=\"mae\"></div>\r\n\t</div>\r\n\t\r\n\t<div id=\"mb\" >\r\n\t\t<div id=\"mba\" style=\"float:left;padding:0 0 0 5px;\">\r\n\t\t\t<div  class=\"mpad\">\r\n\t\t\t\t<div id='dra' class=\"drabc1\">\r\n\t\t\t\t\t<div class=\"drabc2\"></div>\r\n\t\t\t\t\t<div class=\"drabc3\"></div>\r\n\t\t\t\t\t<div class=\"drabc4\"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id='mbal' style=\"height:533px;position:relative; overflow:hidden;\">\r\n\t\t\t\t\t<div id='cup' style=\"margin-left:5px;width:129px;height:9px;overflow:hidden; display:none;position:relative;top:0;z-index:30;\"><a id='up1' class=\"y1\" href=\"javascript:;\" ></a></div>\r\n\t\t\t\t\t<div id='dcl' style=\"float:left;position:relative;\">\r\n\t\t\t\t\t\t<ul id='cl'></ul>\r\n\t\t\t\t\t\t<div id='cmu' title='' style=\"z-index:40;\"></div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div id='cdw' style=\"margin-left:5px;width:129px;height:9px;overflow:hidden; display:none;position:relative;top:352;\"><a id='dw1' class=\"y2\" href=\"javascript:;\" ></a></div>\r\n\t\t\t\t\t<div id='ddj' style=\"width:100%; height:100px;\">\r\n\t\t\t\t\t\t<div style=\"float:left;position:relative;z-index:50\">\r\n\t\t\t\t\t\t\t<div style=\"padding:10px 0 0 4px; float:left\"><a id='xac' class=\"cbt\" href=\"javascript:;\" onclick=\"openall(this,tl('W_ACC'),tl('W_ACO'))\">open all</a><a href=\"javascript:;\" class=\"cbtm\" onclick=\"showmnuopen()\"></a></div>\r\n\t\t\t\t\t\t\t<div id=\"mnuopen\" style=\"display:none\">\r\n\t\t\t\t\t\t\t\t<ul id='mnuopenl'></ul>\r\n\t\t\t\t\t\t\t</div>\t\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div style=\"float:left;position:relative;\">\t\r\n\t\t\t\t\t\t\t<div style=\" padding:10px 0 0 4px; float:left\"><a id='xdj' class=\"cbt\" href=\"javascript:;\" onclick=\"cdj(this,tl('StopTalk'),tl('AudioTalk'))\">st</a><a href=\"javascript:;\" class=\"cbtm\" onclick=\"showmnudj()\"></a></div>\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<div id=\"mnudj\" style=\"display:none\">\r\n\t\t\t\t\t\t\t\t<ul id='mnudjl'></ul>\r\n\t\t\t\t\t\t\t</div>\t\r\n\t\t\t\t\t\t</div>\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<div style=\"padding:10px 0 0 4px; float:left\"><a id='xhf' style=\"display:none\" class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.QuickOperation(0)\">playback</a></div>\r\n\r\n\t\t\t\t\t\t<div style=\"padding:10px 0 0 4px; float:left\"><a id='xsxt' class=\"cbt\" href=\"javascript:;\" onclick=\"rfc()\">refresh</a></div>\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<div style=\"padding:10px 0 0 4px; float:left\"><a id='xkl' style=\"display:none\" class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.ShowBurning()\">kel</a></div>\r\n\t\t\t\t\t\t<!--\r\n\t\t\t\t\t\t<div style=\"margin:5px 0 0 4px;\">\r\n\t\t\t\t\t\t\t<div style='width:21px; height:21px;background:url(yl.png);float:left' title='volue'></div>\r\n\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;float:left\"><a class=\"sal\" href=\"javascript:;\" onclick=\"gslde.set(gslde.step-1)\"></a></div>\r\n\t\t\t\t\t\t\t<div id='sae' style=\"width:70px;height:13px;margin:4px 0 0 4px;float:left;background:url(sas.png) repeat-x\">\r\n\t\t\t\t\t\t\t\t<div id='ske' style=\"width:6px;height:13px;background:url(sks.png) no-repeat; cursor:pointer;\"></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px; float:left;\"><a class=\"sar\" href=\"javascript:;\" onclick=\"gslde.set(gslde.step+1)\"></a></div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t-->\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div style=\"padding:0 0 0 4px; float:left\"><a id='xfmq' style=\"display:none\" class=\"cbt\" href=\"javascript:;\" onclick=\"closebeep()\">closebeep</a></div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div id=\"mbb\" style=\"width:650px;height:500px;float:left; left:120px;padding:0 0 0 5px;\">\r\n\t\t\t<div id=\"drb\" class=\"drabc1\">\r\n\t\t\t\t<div class=\"drabc2\"></div>\r\n\t\t\t\t<div class=\"drabc3\"></div>\r\n\t\t\t\t<div class=\"drabc4\"></div>\r\n\t\t\t</div>\r\n\t\t\t<div id='pla' style=\"width:100%;height:100%;float:left;padding:0\"><script type=\"text/javascript\" src=\"olp.js\"></script></div>\t\t\t\r\n\t\t\t<div id='plc' style=\"width:100%;float:left;height:33px;background:url(plcb.png);\">\r\n\t\t\t\t<div style=\"width:7px;height:33px;float:left; background:url(plcbl.png);background-repeat:no-repeat;background-position:0 0;\"></div>\r\n\t\t\t\t<div id='pbh' style=\"background:url(plcb.png);width:580px;height:33px;position:absolute;margin-left:7px;z-index:10;\"></div>\r\n\t\t\t\t<div id='pb' style=\"height:26px;margin:3px 0 0 10px;position:absolute;z-index:9;overflow:hidden;\">\r\n\t\t\t\t\t<div id='sa'>\r\n\t\t\t\t\t\t<div id='sk'></div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div id='pc' style=\"float:left;\">\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 5px\"><a id='xp1' class=\"p1\" href=\"javascript:;\" onclick=\"ocx.PlayVideo(1)\" ></a></div>\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 10px\"><a id='xp2' class=\"p2\" href=\"javascript:;\" onclick=\"ocx.PlayVideo(2)\"></a></div>\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 10px\"><a id='xp3' class=\"p3\" href=\"javascript:;\" onclick=\"ocx.PlayVideo(3)\"></a></div>\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 10px\"><a id='xp4' class=\"p4\" href=\"javascript:;\" onclick=\"ocx.PlayVideo(5)\"></a></div>\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 10px\"><a id='xp5' class=\"p5\" href=\"javascript:;\" onclick=\"ocx.PlayVideo(4)\"></a></div>\r\n\t\t\t\t\t\t<!--<div style=\"margin:0 0 0 10px\"><a class=\"p6\" href=\"javascript:;\"></a></div>\r\n\t\t\t\t\t\t<div style=\"margin:0 0 0 10px\"><a class=\"p7\" href=\"javascript:;\"></a></div>-->\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div style=\"width:7px;height:33px;float:right; background:url(plcbl.png);background-repeat:no-repeat;background-position:-7px 0;\"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div id=\"mbc\" style=\"float:left;padding:0 0 0 5px; width:140px;\">\r\n\t\t\t<div  class=\"mpad\" style=\"float:left;\">\r\n\t\t\t\t<div id='drc' class=\"drabc1\">\r\n\t\t\t\t\t<div class=\"drabc2\"></div>\r\n\t\t\t\t\t<div class=\"drabc3\"></div>\r\n\t\t\t\t\t<div class=\"drabc4\"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id='yt' style=\"height:120px;position:relative;padding:0 10px 0 10px;\">\r\n\t\t\t\t\t<div style=\"width:33px;height:26px;padding:14px 0 0 7px;\"><a class=\"y1\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(32,5,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(32,5,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:26px;padding:14px 0 0 7px;\"><a class=\"y2\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(0,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(0,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:26px;padding:14px 0 0 7px;\"><a class=\"y3\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(33,5,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(33,5,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:33px;padding:7px 0 0 7px;\"><a class=\"y4\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(2,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(2,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:40px;height:40px;\"><a id='cptz' class=\"y5\" href=\"javascript:;\" onclick=\"cptz()\" ></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:33px;padding:7px 0 0 7px;\"><a class=\"y6\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(3,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(3,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:40px;padding:0 0 0 7px;\"><a class=\"y7\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(34,5,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(34,5,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:40px;padding:0 0 0 7px;\"><a class=\"y8\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(1,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(1,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\"width:33px;height:40px;padding:0 0 0 7px;\"><a class=\"y9\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(35,5,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(35,5,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div style=\"width:132px;height:20px;padding:0 0 0 8px;position:relative;overflow:hidden;\">\r\n\t\t\t\t\t<div id='xbc' class=\"divt\" style=\"float:left;\">(1-8):</div>\r\n\t\t\t\t\t<div style=\"width:53px;height:18px; background:url(ytabg.png); padding:0 0 0 3px;float:left;\">\r\n\t\t\t\t\t\t<input class=\"inputyt\" type=\"text\" id=\"ps\" value=\"5\" maxlength=\"1\" onkeyup=\"limitPs()\" onbeforepaste=\"clipboardData.setData('text',clipboardData.getData('text').replace(/[^\\d]/g,''))\">\r\n\t\t\t\t\t\t<a href=\"javascript:;\" class=\"yta1\" onclick=\"showmu1()\"></a>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div  id=\"smu1\"  style=\"display:none\">\r\n\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(1)'>1</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(2)'>2</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(3)'>3</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(4)'>4</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(5)'>5</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(6)'>6</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(7)'>7</a></li>\r\n\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu1(8)'>8</a></li>\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id='yt1' style=\"height:90px;position:relative; margin:0 5px 0 5px;\">\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 14px;\"><a class=\"y1\" href=\"javascript:;\"  onmousedown=\"ocx.ControlPtz(4,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(4,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t\t<div id='xbb' style=\"height:18px;width:50px;padding:8px 0 0 0; text-align:center;\">bb</div>\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 0;\"><a class=\"y2\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(5,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(5,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 14px;\"><a class=\"y1\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(6,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(6,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t\t<div id='xbj' style=\"height:18px;width:50px;padding:8px 0 0 0; text-align:center;\">bj</div>\t\t\t\t\t\t\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 0;\"><a class=\"y2\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(7,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(7,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 14px;\"><a class=\"y1\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(8,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(8,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t\t\t<div id='xgq' style=\"height:18px;width:50px;padding:8px 0 0 0; text-align:center;\">gq</div>\t\t\t\t\t\t\r\n\t\t\t\t\t<div style=\" padding:0 0 5px 0;\"><a class=\"y2\" href=\"javascript:;\" onmousedown=\"ocx.ControlPtz(9,0,$('ps').value,0,0)\" onmouseup=\"ocx.ControlPtz(9,0,$('ps').value,0,1)\"></a></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id='yt2' style=\"height:100%;position:relative;padding:0 0 0 4px;float:left;\">\r\n\t\t\t\t\t<div id='yt21' style=\" height:0;overflow:hidden;float:left;\">\r\n<div class='cbtd'><div id='xz' class=\"divt\">(0-255):</div><input type=\"text\" class=\"inputyt\" id=\"pv\" value=\"1\" maxlength=\"3\" onkeyup=\"limitPv()\" onbeforepaste=\"clipboardData.setData('text',clipboardData.getData('text').replace(/[^\\d]/g,''))\"></div>\r\n<div class='cbtd'><a id='xyzd' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.ControlPtz(10,0,$('pv').value,0,0)\">yzd</a></div>\r\n<div class='cbtd'><a id='xdjxh' class=\"cbt\" href=\"javascript:;\" onclick=\"cxh(this,tl('Stop'),tl('Auto-Tour'),tl('Auto-Pan'),tl('Auto-Scan'),tl('Pattern'))\">djxh</a></div>\r\n<div class='cbtd'><a id='xspxz' class=\"cbt\" href=\"javascript:;\" onclick=\"cxz(this,tl('Stop'),tl('Auto-Tour'),tl('Auto-Pan'),tl('Auto-Scan'),tl('Pattern'))\">spxz</a></div>\r\n<div class='cbtd'><a id='xxs' class=\"cbt\" href=\"javascript:;\" onclick=\"cxs(this,tl('Stop'),tl('Auto-Tour'),tl('Auto-Pan'),tl('Auto-Scan'),tl('Pattern'))\">xs</a></div>\r\n<div class='cbtd'><a id='xxuj' class=\"cbt\" href=\"javascript:;\" onclick=\"cxj(this,tl('Stop'),tl('Auto-Tour'),tl('Auto-Pan'),tl('Auto-Scan'),tl('Pattern'))\">xj</a></div>\r\n<div class='cbtd'><a id='xfzk' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.ControlPtz(52,$('pv').value,0,0,0)\">open</a></div>\r\n<div class='cbtd'><a id='xfzg' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.ControlPtz(53,$('pv').value,0,0,0)\">close</a></div>\r\n<div class='cbtd'><a id='xytsz' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.ShowSetptz()\">ptzsetup</a></div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div id='yt22' style=\"width:129px;height:9px;overflow:hidden; float:left;\"><a id='ayt22' class=\"y1\" href=\"javascript:;\" ></a></div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t\t<div id='taba' style=\"float:left;margin:3px 0 0 0; width:140px;\">\r\n\t\t\t\t<div style=\"float:left\"><a id='taba1' class=\"t1\" href=\"javascript:;\" >pic</a></div>\r\n\t\t\t\t<div style=\"float:left\"><a id='taba2' class=\"t2\" href=\"javascript:;\" >other</a></div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"mpad\" style=\"float:left;\">\r\n\t\t\t\t<div id='yt3' style=\" height:287px;position:relative; overflow:hidden; margin:0 0 0 4px;\">\r\n\t\t\t\t\t<div id='yt3t1' style=\"height:100%;\">\r\n\t\t\t\t\t\t<div id='yt3t1a'>\r\n\t\t\t\t\t\t\t<div style=\"margin:5px 0 0 0;\">\r\n\t\t\t\t\t\t\t\t<div id='xtld' style='width:21px; height:21px; background:url(tx1.png);background-repeat:no-repeat;background-position:0 0;' title='ld'></div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sal\" href=\"javascript:;\" onclick=\"gslda.set(gca-1)\"></a></div>\r\n\t\t\t\t\t\t\t\t<div id='saa' class=\"sax\">\r\n\t\t\t\t\t\t\t\t\t<div id='ska' class=\"skx\"></div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sar\" href=\"javascript:;\" onclick=\"gslda.set(gca+1)\"></a></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div style=\"margin:5px 0 0 0;\">\r\n\t\t\t\t\t\t\t\t<div id='xtdbd' style='width:21px; height:21px;background:url(tx1.png);background-repeat:no-repeat;background-position:-21px 0;' title='dbd'></div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sal\" href=\"javascript:;\" onclick=\"gsldb.set(gcb-1)\"></a></div>\r\n\t\t\t\t\t\t\t\t<div id='sab' class=\"sax\">\r\n\t\t\t\t\t\t\t\t\t<div id='skb' class=\"skx\"></div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sar\" href=\"javascript:;\" onclick=\"gsldb.set(gcb+1)\"></a></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div style=\"margin:5px 0 0 0;\">\r\n\t\t\t\t\t\t\t\t<div id='xtbhd' style='width:21px; height:21px;background:url(tx1.png);background-repeat:no-repeat;background-position:-42px 0;' title='bhd'></div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sal\" href=\"javascript:;\" onclick=\"gsldc.set(gcc-1)\"></a></div>\r\n\t\t\t\t\t\t\t\t<div id='sac' class=\"sax\">\r\n\t\t\t\t\t\t\t\t\t<div id='skc' class=\"skx\"></div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sar\" href=\"javascript:;\" onclick=\"gsldc.set(gcc+1)\"></a></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div style=\"margin:5px 0 0 0;\">\r\n\t\t\t\t\t\t\t\t<div id='xtsd' style='width:21px; height:21px;background:url(tx1.png);background-repeat:no-repeat;background-position:-63px 0;' title='sd'></div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sal\" href=\"javascript:;\" onclick=\"gsldd.set(gcd-1)\"></a></div>\r\n\t\t\t\t\t\t\t\t<div id='sad' class=\"sax\">\r\n\t\t\t\t\t\t\t\t\t<div id='skd' class=\"skx\"></div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div style=\"margin:4px 0 0 4px;\"><a class=\"sar\" href=\"javascript:;\" onclick=\"gsldd.set(gcd+1)\"></a></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div style=\" padding:5px 0 0 0;\"><a id='xcz' class=\"cbt\" href=\"javascript:;\" onclick=\"txreset(64);\" >reset</a></div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div id='yt3t2' style=\"height:100%;display:none;position:relative;\">\r\n\t\t\t\t\t\t<div class='cbtd' ><a id='xztlj' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.SetConfigPath(1);\" title=\"\">cp</a></div>\r\n\t\t\t\t\t\t<div class='cbtd'><a id='xlxlj' class=\"cbt\" href=\"javascript:;\" onclick=\"ocx.SetConfigPath(2);\" title=\"\">rp</a></div>\r\n\t\t\t\t\t\t<div class='cbtd' ><a id='xcqsb' class=\"cbt\" href=\"javascript:;\" onclick=\"reboot();\" title=\"\">reboot</a></div>\r\n\t\t\t\t    <div class='cbtd' style=\"visibility:hidden\"><a id='xxx' class=\"cbt\" href=\"javascript:;\" onclick=\"\" title=\"\">rebootdd</a></div>\r\n           \t<div style=\"height:60px;width:128px;padding:5px 0 0 8px;position:relative;overflow:hidden;display:none;\">\r\n\t\t\t\t\t\t\t<div id='rdty' class=\"divt\" style=\"width:60px;float:left;\">ReFormat</div>\r\n\t\t\t\t\t\t\t<div style=\"width:53px;height:18px; background:url(ytabg.png);padding:0 0 0 3px;float:left;\">\r\n\t\t\t\t\t\t\t\t<input readonly class=\"inputyt\" type=\"text\" value=\"DAV\" id=\"rtys\" >\r\n\t\t\t\t\t\t\t\t<a href=\"javascript:;\" class=\"yta1\" onclick=\"showmu2()\"></a>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div  id=\"smu2\"  style=\"display:none;\">\r\n\t\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu2(0)'>DAV</a></li>\r\n\t\t\t\t\t\t\t\t\t<li ><a href='javascript:;' onclick='onmu2(1)'>ASF</a></li>\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t   \t</div>\r\n\t\t\t\t   \t\r\n\t\t\t\t\t \r\n\t\t\t\t\t\r\n\t\t\t\t\t</div>\t\t\t\t\t\t\t\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div><!--mbc-->\r\n\t</div>\r\n\t<div id=\"mc\" ><script type=\"text/javascript\" src=\"ft.js\"></script></div>\r\n</div>\r\n</body>\r\n</html>", 
        "body_sha256": "1a9626b8d1466b18902117329a8620bd4275cdf1e0a535d26c461e6616b06e2a", 
        "status_code": 200, 
        "status_line": "200 OK", 
        "headers": {
          "content_length": "46180", 
          "unknown": [
            {
              "key": "date", 
              "value": "Thu, 02 Dec 2010 15:05:55 UTC"
            }
          ], 
          "content_type": "text/html"
        }, 
        "metadata": {}
      }
    }
  }, 
  "ports": [
    80, 
    23
  ], 
  "protocols": [
    "80/http", 
    "23/telnet"
  ]
}