whois.handle: MEGALINE-NET-WIFI
whois.name: MEGALINE-NET-WIFI
whois.cidrs: 109.201.160.0/20
whois.created: 2011-11-08T00:00:00.000000
whois.updated: 2014-10-16T00:00:00.000000
whois.handle: ORG-NA222-RIPE
whois.name: Mega-Line Ltd.
whois.address: RAZZAKOVA 55\n720000\nBISHKEK\nKYRGYZSTAN
whois.handle: AR15968-RIPE
whois.name: Abuse-C Role
whois.email: yunsasha@megaline.kg
whois.handle: WVIC1-RIPE
whois.name: Victor Tsoy
whois.email: vtsoy@mega.kg
whois.handle: YA446-RIPE
whois.name: Aleksandr Yun
whois.email: yunsasha@megaline.kg
whois.handle: ZA594-RIPE
whois.name: Zablotsky Andrey
services.protocol: HTTP
services.transport_protocol: TCP
services.scan_time: 2025-07-28T08:49:48.778766
services.banner: HTTP/1.1 200 OK
  Server: Mini web server 1.0 ZTE corp 2005.
  Accept-Ranges: bytes
  Connection: close
  Content-Type: text/html; charset=utf-8
  X-Content-Type-Options: nosniff
  X-XSS-Protection: 1; mode=block
  Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data:
  Cache-Control: no-cache,no-store
  Content-Length: 38364
  Set-Cookie: _TESTCOOKIESUPPORT=1; PATH=/; HttpOnly
  X-Frame-Options:DENY
  
services.source: OSI_APPLICATION_LAYER
services.part: a
services.vendor: ZTE
services.product: Mini web server
services.version: 1.0
services.cpe: cpe:2.3:a:zte:mini_web_server:1.0:*:*:*:*:*:*:*
services.source: OSI_APPLICATION_LAYER
services.part: h
services.vendor: ZTE
services.value: login-page
services.path: /
services.endpoint_type: HTTP
services.scan_time: 2025-07-28T08:49:48.778766
services.uri: http://109.201.174.125/
services.protocol: HTTP/1.1
services.status_reason: OK
services.key: Server
services.headers: Mini web server 1.0 ZTE corp 2005.
services.key: Accept-Ranges
services.headers: bytes
services.key: X-Frame-Options
services.headers: DENY
services.key: X-XSS-Protection
services.headers: 1; mode=block
services.key: X-Content-Type-Options
services.headers: nosniff
services.key: Content-Type
services.headers: text/html; charset=utf-8
services.key: Set-Cookie
services.headers: _TESTCOOKIESUPPORT=1; PATH=/; HttpOnly
services.key: Connection
services.headers: close
services.key: Content-Length
services.headers: 38364
services.key: Cache-Control
services.headers: no-cache,no-store
services.key: Content-Security-Policy
services.headers: default-src 'self' 'unsafe-inline' 'unsafe-eval' data:
services.html_tags: <title>F670L</title> <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
services.body: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <META HTTP-EQUIV="pragma" CONTENT="no-cache">
  <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>F670L</title>
  <LINK REL="stylesheet" HREF='skin/priorgreen/css/login.css' TYPE="text/css" />
  <LINK REL="stylesheet" HREF="css/styleen.css" TYPE="text/css" />
  <script src="js/common.js"></script>
  <script src="js/sha256.min.js" type="text/javascript"></script>
  
  <script>
  
  function getObj(id)
  {
  return(document.getElementById(id));
  }
  function jslSetValue(dst, src, action)
  {
  var src_o = getObj(src);
  var dst_o = getObj(dst);
  if(src_o == null || dst_o == null )
  return;
  dst_o.value= String(src_o.value);
  switch (action)
  {
  case "GET":
  if (dst_o.setAttribute)
  {
  dst_o.setAttribute("_initValue", dst_o.value)
  }
  break;
  case "SET":
  if (src_o.getAttribute)
  {
  var initValue = src_o.getAttribute("_initValue");
  if (initValue == src_o.value)
  {
  dst_o.value = "NULL";
  }
  }
  break;
  default:
  break;
  }
  }
  function setValue(id,value)
  {
  if(getObj(id) != null)
  {
  getObj(id).value = value;
  }
  }
  function Transfer_meaning(id,value)
  {
  getObj(id).value = value;
  }
  function getValue(id)
  {
  return(getObj(id).value);
  }
  function setHTML(id, html)
  {
  getObj(id).innerHTML = html;
  }
  function getHTML(id)
  {
  return (getObj(id).innerHTML);
  }
  function getDisabled(id)
  {
  return(getObj(id).disabled);
  }
  function getDisplay(id)
  {
  if(getObj(id) != null)
  {
  if(getObj(id).style.display == "none")
  return false;
  else
  return true;
  }
  else
  return false;
  }
  function getChecked(id)
  {
  return(getObj(id).checked);
  }
  function setChecked(id,value)
  {
  if(getObj(id) != null)
  {
  getObj(id).checked = value;
  }
  }
  function jslDiDisplay(id)
  {
  var i = 0;
  var num = arguments.length;
  for(;i < num; i++)
  {
  if(getObj(arguments[i]) != null)
  getObj(arguments[i]).style.display = "none";
  }
  }
  function jslEnDisplay(id)
  {
  var i = 0;
  var num=arguments.length;
  for(;i < num; i++)
  {
  if(getObj(arguments[i]) != null)
  getObj(arguments[i]).style.display = "";
  }
  }
  function jslDisable(id)
  {
  var i = 0;
  var num = arguments.length;
  for(;i < num; i++)
  {
  if(getObj(arguments[i]) != null)
  {
  getObj(arguments[i]).disabled = true;
  }
  }
  }
  function jslEnable(id)
  {
  var i = 0;
  var num=arguments.length;
  for(;i < num; i++)
  {
  if(getObj(arguments[i]) != null)
  {
  getObj(arguments[i]).disabled=false;
  }
  }
  }
  function HiddenParaInit(arr)
  {
  var num = arguments.length;
  for(var i=0; i<num; i++)
  {
  var leng = arguments[i].length;
  for(var j=0; j<leng; j++)
  {
  setValue(arguments[i][j], "NULL");
  }
  }
  }
  function HiddenMultiInstParaInit(arr, index)
  {
  var leng = arr.length;
  for(var i=0; i<leng; i++)
  {
  setValue(arr[i]+index, "NULL");
  }
  }
  function ChangeTagStatus(names)
  {
  var leng = arguments.length;
  var arrs, leng1, result;
  for(var i = 0; i < leng-1; i++)
  {
  var arrs = document.getElementsByTagName(arguments[i]);
  leng1 = arrs.length;
  for (var j = 0; j < leng1; j++)
  {
  if ("hidden" != arrs[j].type && "file" != arrs[j].type )
  {
  arrs[j].disabled = arguments[leng-1];
  }
  }
  }
  }
  function DisableALL()
  {
  ChangeTagStatus('input', 'select', true);
  }
  function EnableALL()
  {
  ChangeTagStatus('input', 'select', false);
  }
  function jslViewToPostCheckBox(PostId, ViewId)
  {
  var value = 0;
  if(getObj(PostId) != null && getObj(ViewId) != null )
  {
  if (getChecked(ViewId))
  {
  value = "1";
  }
  setValue(PostId,value);
  }
  }
  function jslPostToViewCheckBox(ViewId, PostId)
  {
  var value = false;
  if(getObj(PostId) != null && getObj(ViewId) != null )
  {
  if (getValue(PostId) == "1")
  {
  value = true;
  }
  setChecked(ViewId, value);
  }
  }
  function jslGetRadioValue(radioObject)
  {
  if (radioObject)
  {
  if (radioObject.length)
  {
  for (var i = 0; i < radioObject.length; i++)
  {
  if (radioObject[i].checked)
  {
  return radioObject[i].value;
  }
  }
  }
  else if (radioObject.checked)
  {
  return radioObject.value;
  }
  }
  return -1;
  }
  function jslSetRadioValue(radioObject, value)
  {
  if(radioObject)
  {
  if(radioObject.length)
  {
  for(var i=0;i<radioObject.length; i++)
  {
  if(radioObject[i].value == value)
  {
  radioObject[i].checked = true;
  return true;
  }
  }
  }
  else if (radioObject.value == value)
  {
  radioObject.checked = true;
  }
  }
  return false;
  }
  function jslDoShowComboBox(viewid,postid)
  {
  var i = 0;
  var selector = getObj(viewid);
  var value=getObj(postid).value;
  if(selector==null) return;
  for(; i < selector.length; i++)
  {
  if(selector.options[i].value == value)
  {
  selector.selectedIndex = i;
  return;
  }
  }
  selector.selectedIndex = -1;
  }
  function addSelectOption(id, val, txt)
  {
  var o = getObj(id);
  if (isValInSelect(val, id)==0)
  {
  var op = document.createElement('option');
  op.text = txt;
  op.value = val;
  try
  {
  o.add(op,null);
  }
  catch(ex)
  {
  o.add(op);
  }
  }
  }
  function getOptionIndexByValue(sid, val)
  {
  var sObj = getObj(sid);
  for ( var i=0; i<sObj.length; i++ )
  {
  if ( val == sObj.options[i].value )
  {
  return i;
  }
  }
  return -1;
  }
  function deleteSelectOption(id, val)
  {
  var o = getObj(id);
  var i = getOptionIndexByValue(id, val);
  if(i > -1)
  {
  o.remove(i);
  }
  }
  function deleteSelectOptions(selectID, keyWord)
  {
  var obj = getObj(selectID);
  for ( var i=0; i<obj.options.length; )
  {
  if ( obj.options[i].value.match(keyWord) != null )
  {
  obj.remove(i);
  }
  else
  {
  i++;
  }
  }
  }
  function clearSelect(id)
  {
  var o = getObj(id);
  while(o.options.length > 0)
  {
  o.remove(0);
  }
  }
  function isValInSelect(val, sid)
  {
  if(getOptionIndexByValue(sid, val) > -1)
  {
  return 1;
  }
  return 0;
  }
  function setSelOtherValue(obj, value, id)
  {
  var flag = 0;
  var mm = "";
  if(id == null)
  {
  mm = "";
  }
  else
  {
  mm = getValue(id);
  }
  if (("" == mm) || ("N/A" == mm) || (null == mm))
  {
  var num = obj.length;
  for (var i = num ;i > 0 ;i-- )
  {
  var name = obj.options[i-1].value;
  var text = obj.options[i-1].text;
  obj.options[i] = new Option(text, text);
  obj.options[i].value = name;
  }
  obj.options[0] = new Option(value,value);
  obj.options[0].value = value;
  obj.options[0].text = value;
  flag = 1;
  }
  return flag;
  }
  function colorizeInfoTbl(id)
  {
  var objTable = document.getElementById(id);
  var clasName;
  var colorFlg = true;
  if(objTable)
  {
  for(var i = 0; i < objTable.rows.length; i++)
  {
  if(objTable.rows[i].style.display != "none")
  {
  if(colorFlg)
  {
  clasName = "white_1";
  colorFlg = false;
  }
  else
  {
  clasName = "blue_1";
  colorFlg = true;
  }
  }
  objTable.rows[i].setAttribute("class", clasName);
  objTable.rows[i].setAttribute("className", clasName);
  }
  }
  }
  function RmZero(str)
  {
  while(str.indexOf("0") == 0 && str.length > 1)
  {
  str = str.substr(1);
  }
  return str;
  }
  function IpRmZero(IpAddrValue)
  {
  var addrParts = IpAddrValue.split('.');
  var leng = addrParts.length;
  for (var i = 0; i < leng; i++)
  {
  addrParts[i]=RmZero(addrParts[i]);
  }
  return addrParts.join(".");
  }
  function ReSetIpRmZero(ID)
  {
  var num = arguments.length;
  var re  = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
  var obj;
  if(num == 0) return;
  for(i = 0;i < num; i++)
  {
  obj = getObj(arguments[i]);
  if((obj != null && obj.value != "" && obj.value != null )&&(re.test(obj.value) == true))
  {
  obj.value = IpRmZero(obj.value);
  }
  }
  }
  function ReSetValueRmZero(ID)
  {
  var num = arguments.length;
  var obj;
  for(i = 0;i < num; i++)
  {
  obj = getObj(arguments[i]);
  if(obj != null && obj.value != null && obj.value != "")
  {
  obj.value = RmZero(obj.value);
  }
  }
  }
  String.prototype.ReplaceAll = function(value)
  {
  return this.replace(/\s/g,value);
  }
  String.prototype.TrimLR = function()
  {
  return this.replace(/(^\s*)|(\s*$)/g, "");
  }
  String.prototype.LTrim = function()
  {
  return this.replace(/(^\s*)/g, "");
  }
  String.prototype.RTrim = function()
  {
  return this.replace(/(\s*$)/g, "");
  }
  function HtmlShowSpace(value,id)
  {
  getObj(id).innerHTML = value.ReplaceAll("&nbsp;");
  }
  function HtmlInputShowSpace(value,id)
  {
  getObj(id).value = value.ReplaceAll("&nbsp;");
  }
  function trimLSpaces(str){
  return str.LTrim();
  }
  function trimRSpaces(str){
  return str.RTrim();
  }
  function trimAllSpaces(str)
  {
  return str.ReplaceAll("");
  }
  function trimLRSpaces(str)
  {
  return str.TrimLR();
  }
  function setNULLToSepPort(Port, Val)
  {
  var portvalue=Port;
  if(portvalue=="")
  {
  portvalue = Val;
  }
  return portvalue;
  }
  function getSepPortToNULL(Port, Val)
  {
  var portvalue=Port;
  if(portvalue==Val)
  {
  portvalue="";
  }
  return portvalue;
  }
  function setNULLToPort(Port)
  {
  var portvalue=Port;
  if(portvalue=="")
  {
  portvalue = "-1";
  }
  return portvalue;
  }
  function getPortToNULL(Port)
  {
  var portvalue=Port;
  if(portvalue=="-1")
  {
  portvalue="";
  }
  return portvalue;
  }
  function setNULLToMAC(MAC)
  {
  var macaddr=MAC;
  if(macaddr=="")
  {
  macaddr="00:00:00:00:00:00";
  }
  return macaddr;
  }
  function getMACToNULL(MAC)
  {
  var macaddr=MAC;
  if(macaddr=="00:00:00:00:00:00")
  {
  macaddr="";
  }
  return macaddr;
  }
  function setNULLToIP(IP)
  {
  var ipvalue=IP;
  if(ipvalue=="")
  {
  ipvalue="0.0.0.0";
  }
  return ipvalue;
  }
  function getIPToNULL(IP)
  {
  var ipvalue=IP;
  if(ipvalue=="0.0.0.0")
  {
  ipvalue="";
  }
  return ipvalue;
  }
  function setNULLToID(id)
  {
  var i = 0;
  var num = arguments.length;
  for(;i < num; i++)
  {
  getObj(arguments[i]).value = "";
  }
  }
  function encode64(input)
  {
  var keyStr = "ABCDEFGHIJKLMNOP" + "QRSTUVWXYZabcdef" + "ghijklmnopqrstuv" + "wxyz0123456789+/" + "=";
  input = escape(input);
  var outputstr = "";
  var char1, char2, char3 = "";
  var enc1 = "";
  var enc2 = "";
  var enc3 = "";
  var enc4 = "";
  var i = 0;
  do {
  char1 = input.charCodeAt(i++);
  char2 = input.charCodeAt(i++);
  char3 = input.charCodeAt(i++);
  enc1 = char1 >> 2;
  enc2 = ((char1 & 3) << 4) | (char2 >> 4);
  enc3 = ((char2 & 15) << 2) | (char3 >> 6);
  enc4 = char3 & 63;
  if (isNaN(char2))
  {
  enc3 = enc4 = 64;
  }
  else if (isNaN(char3))
  {
  enc4 = 64;
  }
  outputstr = outputstr + keyStr.charAt(enc1) + keyStr.charAt(enc2) + keyStr.charAt(enc3) + keyStr.charAt(enc4);
  char1 = char2 = char3 = "";
  enc1 = enc2 = enc3 = enc4 = "";
  } while (i < input.length);
  return outputstr;
  }
  function encode64_noescape(input){
  var tmpStr = "ABCDEFGHIJKLMNOP" + "QRSTUVWXYZabcdef" + "ghijklmnopqrstuv" + "wxyz0123456789+/" + "=";
  var output = "";
  var tmpChrs = new Array();
  var tmpEncs = new Array();
  var i = 0, len = input.length;
  do {
  tmpChrs[0] = input.charCodeAt(i++);
  tmpChrs[1] = input.charCodeAt(i++);
  tmpChrs[2] = input.charCodeAt(i++);
  tmpEncs[0] = tmpChrs[0] >> 2;
  tmpEncs[1] = ((tmpChrs[0] & 3) << 4) | (tmpChrs[1] >> 4);
  tmpEncs[2] = ((tmpChrs[1] & 15) << 2) | (tmpChrs[2] >> 6);
  tmpEncs[3] = tmpChrs[2] & 63;
  if(isNaN(tmpChrs[1])){
  tmpEncs[2] = tmpEncs[3] = 64;
  }else if(isNaN(tmpChrs[2])){
  tmpEncs[3] = 64;
  }
  output = output +
  tmpStr.charAt(tmpEncs[0]) +
  tmpStr.charAt(tmpEncs[1]) +
  tmpStr.charAt(tmpEncs[2]) +
  tmpStr.charAt(tmpEncs[3]);
  } while (i < len);
  return output;
  }
  function decode64(inputstr)
  {
  var outputstr = "";
  var tmpChr = new Array();
  var tmpEnc = new Array();
  var i = 0;
  var base64teststr = /[^A-Za-z0-9\+\/\=]/g;
  var keyString = "ABCDEFGHIJKLMNOP" + "QRSTUVWXYZabcdef" + "ghijklmnopqrstuv" + "wxyz0123456789+/" + "=";
  var len = inputstr.length;
  if (base64teststr.exec(input))
  {
  alert("There were invalid base64 characters in the input text.\n" + "Valid base64 characters are A-Z, a-z, 0-9, '+', '/', and '='\n" + "Expect errors in decoding.");
  }
  inputstr = inputstr.replace(/[^A-Za-z0-9\+\/\=]/g, "");
  do {
  tmpEnc[0] = keyString.indexOf(inputstr.charAt(i++));
  tmpEnc[1] = keyString.indexOf(inputstr.charAt(i++));
  tmpEnc[2] = keyString.indexOf(inputstr.charAt(i++));
  tmpEnc[3] = keyString.indexOf(inputstr.charAt(i++));
  tmpChr[0] = (tmpEnc[0] << 2) | (tmpEnc[1] >> 4);
  tmpChr[1] = ((tmpEnc[1] & 15) << 4) | (tmpEnc[2] >> 2);
  tmpChr[2] = ((tmpEnc[2] & 3) << 6) | tmpEnc[3];
  outputstr = outputstr + String.fromCharCode(tmpChr[0]);
  if (tmpEnc[2] != 64)
  {
  outputstr = outputstr + String.fromCharCode(tmpChr[1]);
  }
  if (tmpEnc[3] != 64)
  {
  outputstr = outputstr + String.fromCharCode(tmpChr[2]);
  }
  } while (i < len);
  return unescape(outputstr);
  }
  function fnBreakWordAll(obj)
  {
  var obj = obj ? obj : {},
  iWord = obj.word ? obj.word : 13,
  iRe = obj.re ? obj.re : '[a-zA-Z0-9]',
  bAll = obj.all ? obj.all : false,
  sClassName = obj.className ? obj.className : 'word-break-all',
  aEls = obj.els || ( function()
  {
  var aEls = [],
  aAllEls = document.getElementsByTagName( '*' ),
  regStr = '(?:^|\\s+)' + sClassName + '(?:\\s+|$)',
  re = new RegExp( regStr );
  for ( var i = 0, iLen = aAllEls.length; i < iLen; ++i )
  {
  if ( re.test( aAllEls[i].className ) )
  {
  aEls.push(aAllEls[i]);
  }
  }
  return aEls;
  } )() || [],
  fnBreakWord = function( oEl )
  {
  
  if( !oEl || oEl.nodeType !== 1 )
  {
  return false;
  }
  else if( oEl.currentStyle && typeof(oEl.currentStyle.wordWrap) === 'string' )
  {
  breakWord = function( oEl )
  {
  if (oEl.runtimeStyle)
  {
  oEl.runtimeStyle.wordWrap = 'break-word';
  }
  return true;
  };
  return breakWord( oEl );
  }
  else if ( document.createTreeWalker )
  {
  var trim = function  ( str )
  {
  str = str.replace( /^\s\s*/, '' );
  var ws = /\s/,
  i = str.length;
  while ( ws.test( str.charAt( --i ) ) );
  return str.slice(0, i + 1);
  };
  breakWord = function( oEl )
  {
  var dWalker = document.createTreeWalker( oEl, NodeFilter.SHOW_TEXT, null, false ),
  node,
  c = String.fromCharCode( '8203' ),
  regStr = '(' + iRe + '{0,' + iWord + '})',
  re = new RegExp( regStr );
  while ( dWalker.nextNode() )
  {
  node = dWalker.currentNode;
  node.nodeValue = trim( node.nodeValue ).split( re ).join( c );
  }
  return true;
  };
  return breakWord( oEl );
  }
  };
  var len = aEls.length;
  for( var i = 0; i < len; i++ )
  {
  var sUa = navigator.userAgent,
  sTn = aEls[i].tagName.toLowerCase();
  if ( ( /Firefox/ ).test( sUa ) || ( ( /KHTML/ ).test( sUa ) && ( /Opera/ ).test( sUa ) || ( sTn === 'td' || sTn === 'th') ) || bAll )
  {
  fnBreakWord(aEls[i]);
  }
  }
  }
  function getInputtoHtml(id, value)
  {
  return ("<input type=\"text\" class=\"uiNoBorder\" value=\""
  + HTMLEnCode(value) + "\"  id=\"" + id + "\"  readonly>");
  }
  function getNameValue(id, value)
  {
  return ("<input type=\"text\" class=\"uiNoBorder\" value=\""
  + value + "\"  id=\"" + id + "\"  readonly>");
  }
  function getImage(src, strmethod, id)
  {
  var imageHTML = "<input type=\"button\" id=\""
  + id
  + "\" onclick=\""
  + strmethod
  + "\" class =\"multiImg\" "
  + "style=\"background:url(" + src + ");\">";
  return (imageHTML);
  }
  function showIsEnableImage(isEnable, cellId)
  {
  var strId = "";
  if("" != cellId)
  {
  strId = "id=" + cellId;
  }
  if("1" == isEnable)
  {
  return ("<input type=\"image\" src=\"img/enable.gif\" style=\"cursor:default\" " + strId + ">");
  }
  else
  {
  return ("<input type=\"image\" src=\"img/disable.gif\" style=\"cursor:default\" " + strId + ">");
  }
  }
  function getImagefrmClass(ImgClass, strmethod, id)
  {
  var imageHTML = "<input type=\"button\" id=\""
  + id
  + "\" onclick=\""
  + strmethod
  + "\" class =\""
  + ImgClass
  + "\" >";
  return (imageHTML);
  }
  function getXMLHTTPObj()
  {
  var xmlHttp = null;
  try
  {
  
  xmlHttp=new XMLHttpRequest();
  }
  catch (e)
  {
  try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
  catch (e)
  {
  try
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
  catch (e){}
  }
  }
  return xmlHttp;
  }
  var xmlHTTPStatus = new Array();
  xmlHTTPStatus['Uninitialized']  = 0;
  xmlHTTPStatus['Open']           = 1;
  xmlHTTPStatus['Sent']           = 2;
  xmlHTTPStatus['Receiving']      = 3;
  xmlHTTPStatus['Loaded']         = 4;
  function AJAXObj()
  {
  this.obj = getXMLHTTPObj();
  this.postStr = "";
  this.addPostItem = function(name, value)
  {
  this.postStr += name + "=" + value + "&";
  };
  this.post = function(requestURL, responseFunc)
  {
  this.obj.open("POST", requestURL, true);
  this.obj.onreadystatechange = responseFunc;
  this.obj.send(this.postStr);
  this.postStr = "";
  };
  this.getResponseText = function()
  {
  return this.obj.responseText;
  };
  this.getReadyState = function()
  {
  return this.obj.readyState;
  };
  this.getStatus = function()
  {
  return this.obj.status;
  };
  }
  function AJAXAsyncObj()
  {
  this.obj = getXMLHTTPObj();
  this.postStr = "";
  this.addPostItem = function(name, value)
  {
  this.postStr += name + "=" + value + "&";
  };
  this.post = function(requestURL, responseFunc)
  {
  this.obj.open("POST", requestURL, false);
  this.obj.onreadystatechange = responseFunc;
  this.obj.send(this.postStr);
  this.postStr = "";
  };
  this.getResponseText = function()
  {
  return this.obj.responseText;
  };
  this.getReadyState = function()
  {
  return this.obj.readyState;
  };
  this.getStatus = function()
  {
  return this.obj.status;
  };
  }
  function getXMLDoc(xmlStr)
  {
  var xmlDoc;
  try
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  xmlDoc.async="false";
  xmlDoc.loadXML(xmlStr);
  return(xmlDoc);
  }
  catch(e)
  {
  try
  {
  parser=new DOMParser();
  xmlDoc=parser.parseFromString(xmlStr,"text/xml");
  return(xmlDoc);
  }
  catch(e)
  {
  }
  }
  return(null);
  }
  function getAJAXResponseXMLDoc(xmlStr)
  {
  if (xmlStr.match(/^\s*<ajax_response_xml_root>/m) != null)
  {
  return getXMLDoc(xmlStr);
  }
  return null;
  }
  function XMLDocObj(xmlStr)
  {
  this.xmlDoc = getAJAXResponseXMLDoc(xmlStr);
  this.getXMLNodeValue = function(nodeName)
  {
  var nodeValue = "";
  try
  {
  nodeValue = this.xmlDoc.getElementsByTagName(nodeName)[0].childNodes[0].nodeValue;
  }
  catch(e)
  {
  }
  return nodeValue;
  };
  this.getXMLNode = function(nodeName)
  {
  return this.xmlDoc.getElementsByTagName(nodeName)[0];
  };
  this.getCMAPIParaValue = function(OBJNAME, instID, paraName)
  {
  var paraValue = "";
  var instObj   = null;
  var o = this.getXMLNode(OBJNAME);
  var insts = o.childNodes;
  for (var i=0; i<insts.length; i++)
  {
  var attrs = insts[i].childNodes;
  for (var j=0; j<attrs.length; j++)
  {
  if (attrs[j].nodeName=="ID" && instID==attrs[j].childNodes[0].nodeValue)
  {
  instObj = insts[i];
  break;
  }
  }
  }
  if (null != instObj)
  {
  var attrs = instObj.childNodes;
  for (var j=0; j<attrs.length; j++)
  {
  if (attrs[j].nodeName == "Parameters")
  {
  var paras = attrs[j].childNodes;
  for (var k=0; k<paras.length; k++)
  {
  if (paras[k].nodeName == paraName)
  {
  try
  {
  paraValue = paras[k].childNodes[0].nodeValue;
  }
  catch(e)
  {
  }
  break;
  }
  }
  }
  }
  }
  return paraValue;
  };
  this.getMIIDListArr = function(OBJNAME)
  {
  var idListArr = new Array();
  var arrIndex = 0;
  var o = this.getXMLNode(OBJNAME);
  var insts = o.childNodes;
  for (var i=0; i<insts.length; i++)
  {
  var attrs = insts[i].childNodes;
  for (var j=0; j<attrs.length; j++)
  {
  if (attrs[j].nodeName=="ID")
  {
  idListArr[arrIndex++] = attrs[j].childNodes[0].nodeValue;
  }
  }
  }
  return idListArr;
  };
  }
  function appendHiddenInput(fid, id, value)
  {
  var o = getObj(fid);
  if (o != null)
  {
  var is = o.getElementsByTagName("input"); 
  var il = is.length;
  for (var i=0; i<il; i++)
  {
  var sid = is[i].id;
  if ( id == sid )
  {
  is[i].value = value;
  break;
  }
  }
  if ( i == il )
  {
  var i = document.createElement("input");
  i.type = "hidden";
  i.id = id;
  i.name = id;
  i.value = value;
  o.appendChild(i);
  }
  }
  }
  function deleteHiddenInput(fid, id)
  {
  var o = getObj(fid);
  var t = getObj(id);
  o.removeChild(t);
  }
  function clearfSubmit(fid)
  {
  var o = getObj(fid);
  var clds = o.childNodes;
  while (clds.length > 0)
  {
  o.removeChild(clds[0]);
  }
  }
  function checkSameInput(fid)
  {
  var o = getObj(fid);
  if (o != null)
  {
  var is = o.getElementByTagName("input");
  var il = is.length;
  for (var i=0; i<il-1; i++)
  {
  var sid = is[i].id;
  for (var j=i+1; j<il; j++)
  {
  if (sid == is[j].id)
  {
  alert(fid+" has Same Inputs, ID:"+sid);
  }
  }
  }
  }
  }
  function getCookie(c_name)
  {
  if (document.cookie.length>0)
  {
  var c_start=document.cookie.indexOf(c_name + "=");
  if ( -1 != c_start )
  {
  c_start = c_start + c_name.length + 1;
  var c_end=document.cookie.indexOf(";", c_start);
  if ( c_end == -1 )
  {
  c_end=document.cookie.length;
  }
  return unescape( document.cookie.substring(c_start, c_end) );
  }
  }
  return null;
  }
  function setCookie(c_name,value,expiredays)
  {
  var exdate = new Date();
  exdate.setDate( exdate.getDate() + expiredays );
  var cookieContent = c_name + "=" + escape(value);
  if ( null != expiredays )
  {
  cookieContent += "; expires=" + exdate.toGMTString();
  }
  document.cookie = cookieContent;
  }
  function HTMLEnCode(str)
  {
  str = str.replace(/&/g, "&amp;");
  str = str.replace(/</g, "&lt;");
  str = str.replace(/>/g, "&gt;");
  str = str.replace(/ /g, "&nbsp;");
  str = str.replace(/\"/g, "&quot;");
  return str;
  }
  function HTMLDeCode(str)
  {
  str = str.replace(/&lt;/g, "<");
  str = str.replace(/&gt;/g, ">");
  str = str.replace(/&nbsp;/g, " ");
  str = str.replace(/&quot;/g, "\"");
  str = str.replace(/&amp;/g, "&");
  return str;
  }
  function HTMLAddBr(str, wdth)
  {
  var str1 = "";
  for (var i=0; i<Math.ceil(str.length/wdth); i++)
  {
  str1 += HTMLEnCode( str.substr(i*wdth, wdth) );
  if ( Math.ceil(str.length/wdth) != i+1 )
  {
  str1 += "<br>";
  }
  }
  return str1;
  }
  function CheckLen(obj,val)
  {
  if (val.length == obj.maxLength)
  {
  var curIndex = obj.id.match(/\d+$/);
  var nextIndex = parseInt(curIndex, 10)+1;
  var nextID = obj.id.replace(/\d+$/,"")+nextIndex;
  if (getObj(nextID) == null)
  {
  return;
  }
  document.getElementById(nextID).focus();
  document.getElementById(nextID).select();
  }
  else if (val.length == 0)
  {
  var curIndex = obj.id.match(/\d+$/);
  var prevIndex = parseInt(curIndex, 10);
  if (prevIndex > 1)
  {
  prevIndex = prevIndex - 1;
  }
  var prevID = obj.id.replace(/\d+$/,"")+prevIndex;
  if (getObj(prevID) == null)
  {
  return;
  }
  document.getElementById(prevID).focus();
  document.getElementById(prevID).select();
  }
  else
  {
  return;
  }
  }
  function jslSparkItem(id)
  {
  for(var i = 0;i < arguments.length; i++)
  {
  var para = document.createElement("font");
  para.innerHTML = "&nbsp;*";
  para.color = "red";
  para.style.verticalAlign = "middle";
  getObj(arguments[i]).parentNode.insertBefore(para, getObj(arguments[i]).nextSibling);
  }
  }
  function jslShowPassTip(id,tip)
  {
  if(getObj("passTip") == null)
  {
  var tipObj = document.createElement("div");
  tipObj.innerHTML = "<p>"+tip+"</p>";
  tipObj.className = "staticInfoHint";
  tipObj.id = "passTip";
  var Node = getObj(id).parentNode;
  var NodeName;
  while(1)
  {
  NodeName = Node.nodeName;
  if(NodeName.toLowerCase() == "table")
  break;
  Node = Node.parentNode;
  }
  Node.parentNode.insertBefore(tipObj, Node);
  }
  else
  {
  if(getDisplay("passTip") == false)
  jslEnDisplay("passTip");
  }
  }
  function createHiddenInput(name,value)
  {
  var hiddenInput = document.createElement("input");
  hiddenInput.name=name;
  hiddenInput.value=value;
  hiddenInput.type="hidden";
  return hiddenInput;
  }
  function moveErrLayer(left, top)
  {
  document.getElementById("myLayer").style.left = left + "px";
  document.getElementById("myLayer").style.top  = top  + "px";
  }
  function ShowNote(notetitle, msg)
  {
  document.getElementById("errnote").innerHTML = notetitle;
  document.getElementById("errmsg").innerHTML  = msg;
  document.getElementById("myLayer").style.visibility = "visible" ;
  }
  function ShowNoteNew(ctl, notetitle, msg)
  {
  document.getElementById("errnote").innerHTML = notetitle;
  document.getElementById("errmsg").innerHTML  = msg;
  document.getElementById("myLayer").style.visibility = "visible" ;
  if(ctl != null && ctl.disabled == false)
  {
  try
  {
  ctl.focus();
  }
  catch(e)
  {
  }
  }
  }
  function ShowNoteForCom(frmid, fntid, msg)
  {
  var fntmsg;
  var strmsg;
  if(document.getElementById(fntid) == null)
  {
  if(fntid == null)
  fntmsg = "";
  else
  fntmsg = fntid;
  }
  else
  {
  fntmsg = document.getElementById(fntid).innerHTML;
  }
  strmsg = fntmsg + msg;
  ShowNoteNew(document.getElementById(frmid), "Note", strmsg);
  }
  function ShowError(ctl, msg)
  {
  var tmpStr = g_errorInfo;
  if(tmpStr == "undefined")
  {
  tmpStr = "Error";
  }
  document.getElementById("errnote").innerHTML = tmpStr;
  document.getElementById("errmsg").innerHTML = msg;
  document.getElementById("myLayer").style.visibility = "visible" ;
  if(ctl != null && ctl.disabled == false)
  {
  try
  {
  ctl.focus();
  }
  catch(e)
  {
  }
  }
  }
  function ShowErrorForCom(frmid, fntid, msg)
  {
  var fntmsg;
  var strmsg;
  if(document.getElementById(fntid) == null)
  {
  if(fntid == null)
  fntmsg = "";
  else
  fntmsg = fntid;
  }else
  {
  fntmsg = document.getElementById(fntid).innerHTML;
  }
  strmsg = fntmsg + msg;
  ShowError(document.getElementById(frmid),strmsg );
  }
  function getMsgFormArray(str, arg)
  {
  var errid = 0;
  var min   = 0;
  var max   = 0;
  var param = -1;
  var msg   = "";
  var num = arg.length;
  if(num == 1)
  {
  errid = arg[0];
  }
  else
  if(num == 3)
  {
  errid = arg[0];
  min   = arg[1];
  max   = arg[2];
  }
  else
  if(num == 2)
  {
  errid = arg[0];
  param = arg[1];
  }
  else
  return null;
  for(var i = 0; i < str.length; i ++)
  {
  if(typeof(str[i]) == "undefined")
  {
  alert("Initializing array error, please check your code��i = "+ i);
  return null;
  }
  if(errid == str[i][0])
  {
  if(min == max && min == 0)
  {
  if(param == -1)
  {
  msg = str[i][1];
  }
  else
  {
  msg = str[i][1] + param + str[i+1][1];
  }
  }
  else
  msg = str[i][1] + min + "~" + max + str[i+1][1];
  return msg;
  }
  }
  return null;
  }
  function getEvent(event) {
  var ev = event || window.event;
  if (!ev)
  {
  var c = this.getEvent.caller;
  while (c)
  {
  ev = c.arguments[0];
  if (ev &&
  (Event == ev.constructor || MouseEvent == ev.constructor))
  {
  break;
  }
  c = c.caller;
  }
  }
  return ev;
  }
  function setTextFocusEnd()
  {
  var evt = getEvent();
  if (evt.srcElement)
  {
  var elm = evt.srcElement;
  var textRange  = elm.createTextRange();
  textRange.moveStart('character', elm.value.length);
  textRange.collapse(true);
  textRange.select();
  }
  }
  function getwidth(){
  return (document.body.clientWidth+document.body.scrollLeft);
  }
  function getheight(){
  return (document.body.scrollHeight);
  }
  function getleft(w){
  var bw=document.body.clientWidth;
  w=parseFloat(w);
  return (bw/2-w/2+document.body.scrollLeft);
  }
  function gettop(h){
  var bh=document.body.clientHeight;
  h=parseFloat(h);
  return 100;
  }
  function create_mask()
  {
  var mask=document.createElement("div");
  mask.id="mask";
  mask.style.position="absolute";
  mask.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=4,opacity=25)";
  mask.style.opacity=0.4;
  mask.style.zIndex=1000;
  document.body.appendChild(mask);
  re_mask();
  }
  function create_msgbox(w,h,t)
  {
  var box=document.createElement("div");
  box.id="msgbox";
  box.style.position="absolute";
  
  box.style.width=w+"px";
  box.style.height=h+"px";
  
  box.style.overflow="visible";
  box.innerHTML=t;
  box.style.zIndex=1001;
  document.body.appendChild(box);
  re_pos();
  }
  function re_mask()
  {
  var mask=document.getElementById("mask");
  if(null==mask)return;
  mask.style.background="black";
  mask.style.top="0px";
  mask.style.left="0px";
  mask.style.width=getwidth()+"px";
  mask.style.height=getheight()+"px";
  }
  function re_pos()
  {
  window.document.onkeydown=showKeyDown;
  var box=document.getElementById("msgbox");
  if(null!=box)
  {
  var w=box.style.width;
  var h=box.style.height;
  
  box.style.left=getleft(w)+"px";
  
  box.style.top=gettop(h)+"px";
  }
  }
  function remove_msgbox()
  {
  var mask=document.getElementById("mask");
  var msgbox=document.getElementById("msgbox");
  if(null==mask&&null==msgbox)
  {
  return;
  }
  document.body.removeChild(mask);
  document.body.removeChild(msgbox);
  }
  function msgbox(msgJSONData)
  {
  window.parent.scrollTo(0,0);
  create_mask();
  var temp="<table id=\"Tbl_msgbox\" cellpadding=\"0\" cellspacing=\"0\" class=\"msgtb\">";
  temp+="<tr><td width=\"355\" height=\"22\" class=\"msgtr1\" colspan=2>"+msgJSONData.title+"</td></tr>";
  temp+="<tr><td width=\"30\" height=\"75\" class=\"msgtr2\">&nbsp;<img src=\"img/infomsg.gif\">&nbsp;&nbsp;</td><td width=\"325\" class=\"msgtr2\"><font face=\"����\" size=\"2\">"+msgJSONData.content+"</font></td>";
  temp+="</tr><tr><td width=\"355\" height=\"22\" align=\"center\" class=\"msgtr3\" colspan=2><input name=\"msgconfirmb\" type=\"button\" class=\"msgbutton\" id=\"msgconfirmb\" value=\"" + msgJSONData.confirmLabel + "\" onclick=\"remove_msgbox();"+msgJSONData.confirmCallback+";\">";
  if("yes"==msgJSONData.cancelDisplay){temp+="&nbsp;&nbsp;<input name=\"msgcancelb\" type=\"button\" class=\"msgbutton\" id=\"msgcancelb\" value=\"" + msgJSONData.cancelLabel + "\" onclick=\"remove_msgbox();\"></td>";}
  temp+="</tr><tr><td class=\"msgtr4\" width=\"355\" height=\"8\" colspan=2></td></tr></table>";
  create_msgbox(400,200,temp);
  if(msgJSONData.focusButtun=="Confirm")
  {
  document.getElementById("msgconfirmb").focus();
  }
  else
  {
  document.getElementById("msgcancelb").focus();
  }
  }
  function showKeyDown(e)
  {
  e=(e)?e:window.event;
  
  var box=document.getElementById("msgbox");
  if(null!=box)
  {
  if(e.keyCode == 37)
  {
  document.getElementById("msgconfirmb").focus();
  }
  if(e.keyCode == 39)
  {
  document.getElementById("msgcancelb").focus();
  }
  }
  }
  function addEvent(element, type, handler)
  {
  if (element.addEventListener)
  {
  element.addEventListener(type, handler, false);
  }
  else
  {
  if (!handler.$$guid)
  {
  handler.$$guid = addEvent.guid++;
  }
  if (!element.events) element.events = {};
  var handlers = element.events[type];
  if (!handlers)
  {
  handlers = element.events[type] = {};
  if (element["on" + type]) {
  handlers[0] = element["on" + type];
  }
  }
  handlers[handler.$$guid] = handler;
  element["on" + type] = handleEvent;
  }
  };
  addEvent.guid = 1;
  function removeEvent(element, type, handler)
  {
  if (element.removeEventListener) {
  element.removeEventListener(type, handler, false);
  }
  else
  {
  if (element.events && element.events[type])
  {
  delete element.events[type][handler.$$guid];
  }
  }
  };
  function handleEvent(event) {
  var retValue = true;
  event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).event);
  var handlers = this.events[event.type];
  for (var i in handlers) {
  this.$$handleEvent = handlers[i];
  if (this.$$handleEvent(event) === false)
  {
  retValue = false;
  }
  }
  return retValue;
  };
  function fixEvent(event)
  {
  event.preventDefault = fixEvent.preventDefault;
  event.stopPropagation = fixEvent.stopPropagation;
  return event;
  };
  fixEvent.preventDefault = function() {
  this.returnValue = false;
  };
  fixEvent.stopPropagation = function() {
  this.cancelBubble = true;
  };
  
  
  
  if(top.location != self.location)
  {
  top.location=self.location;
  }
  var SetTFlag = 0;
  var maxtime;
  var interval;
  var locktime = 60;
  document.onkeydown = keyDownSearch;
  
  locktime = 60;
  
  function keyDownSearch(ev){
  var ev = ev || window.event;
  var code = ev.keyCode || ev.which || ev.charCode;
  if (code == 13) {
  dosubmit();
  return false;
  }
  return true;
  }
  function setTime()
  {
  if(window.name>=locktime || window.name<0 || window.name=="")
  {
  maxtime = Math.min(locktime, 0 + locktime - 237231);
  }
  else
  {
  maxtime = window.name;
  }
  if(maxtime>=0)
  {
  seconds = maxtime;
  getObj("time").innerHTML=seconds+" secs";
  if (maxtime == 0)
  {
  setDisable();
  SetTFlag =0;
  window.name="";
  if(interval)
  {
  clearInterval(interval);
  interval = 0;
  }
  }
  else
  {
  --maxtime;
  SetTFlag = 1;
  window.name = maxtime;
  }
  }
  }
  function setinner(type)
  {
  if (SetTFlag ==0)
  {
  getObj("myLayer").style.visibility = type ;
  }
  }
  function ChangeLang()
  {
  var lang = "English";
  var submitForm = document.createElement("form");
  submitForm.method = 'post';
  submitForm.action = "";
  document.body.appendChild(submitForm);
  
  var actionElement = createHiddenInput("action", "setlang"),
  langElement = createHiddenInput("_lang", "");
  submitForm.appendChild(actionElement);
  submitForm.appendChild(langElement);
  langElement.disabled = false;
  getObj("Frm_Username").disabled = true;
  getObj("Frm_Password").disabled = true;
  if(true != getObj("TestLang01").disabled)
  {
  if ("English" == lang)
  {
  langElement.value = "Chinese";
  }
  else if ("Chinese" == lang)
  {
  langElement.value = "English";
  }
  getObj("Frm_Username").disabled = true;
  getObj("Frm_Password").disabled = true;
  getObj("LoginId").disabled = true;
  submitForm.submit();
  if(getObj("Frm_Validatecode") != null)
  {
  getObj("Frm_Validatecode").disabled = true;
  getObj("RefreshId").disabled = true;
  }
  var ObjAct = getObj("DevActive");
  if(ObjAct != null)
  {
  ObjAct.disabled = true;
  }
  document.fLogin.submit();
  }
  }
  function SetCookie(name,value)
  {
  var Days = 30;
  var exp = new Date();
  exp.setTime(exp.getTime() + Days*24*60*60*1000);
  document.cookie = name + "="+ escape (value)
  + ";expires=" + exp.toGMTString();
  }
  function getCookie(name)
  {
  var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
  if(arr != null)
  {
  return unescape(arr[2]);
  }
  return null;
  }
  function delCookie(name)
  {
  var exp = new Date();
  exp.setTime(exp.getTime() - 1);
  var cval = getCookie(name);
  if( cval!=null )
  {
  document.cookie= name + "="+cval+";expires="+exp.toGMTString();
  }
  }
  function IsBrowserSupportCookie()
  {
  var support = false;
  SetCookie('cookie_test','1');
  var cookie_test = getCookie('cookie_test');
  if( '1' == cookie_test)
  {
  support = true;
  }
  delCookie('cookie_test');
  return support;
  }
  function focusUsername()
  {
  if (getObj("Frm_Username").disabled == false)
  {
  getObj("Frm_Username").focus();
  }
  if(getObj("Frm_Validatecode") != null)
  {
  var randnum = MathRand();
  getObj("ImgID").src = "/queryImg.gif?"+randnum;
  }
  }
  </script>
  </head>
  
  <body onload = "focusUsername();">
  <div id="container">
  <div id="myLayer" onmousedown="setinner('hidden')">
  <iframe id="myiframe" style="position: absolute; width: 179px; height: 88px; border: 1px none #000000; z-index: -1; filter:alpha(opacity=0); -moz-opacity:0">
  </iframe>
  <div id="layer_login_title">
  <div style="position:relative; left:35px; top:8px;" >
  <font  class="note" id="errnote">&nbsp;Error</font>
  </div>
  </div>
  <div id="layer_login_content">
  <span>
  &nbsp;&nbsp;<font id="errmsg" class="notecontent" ></font><span id="time" style="color:red;display:none;"></span>
  </span>
  </div>
  </div>
  <!--head���ֿ�ʼ-->
  
  <div id="head">
  
  <div class="type"><font id="">F670L</font></div>
  <div id="banner"></div>
  </div>
  <!--head���ֽ���-->
  <!--content���ֿ�ʼ-->
  <div id="loginArea">
  <!--���ݿ�ʼ-->
  <div class="login_frame">
  <ul class="login_title">
  <li class="login_title_left"></li>
  <li class="login_title_center">Please login to continue...</li>
  
  <a id="TestLang" style="cursor:pointer" href="#" ><li id="TestLang01" class="login_title_centercn" style="" onclick="ChangeLang();"></li></a>
  
  <li class="login_title_right"></li>
  </ul>
  
  <div class="content login_content">
  <ul class="login_blank"></ul>
  <ul class="login_ul_1">
  <li class="login_li_1"><span>Username</span></li>
  <li class="login_li_2">
  <input type="text" class="username" name="Username" id="Frm_Username" autocomplete="new-password" >
  </li>
  
  </ul>
  <ul class="login_blank"></ul>
  <ul class="login_ul_1">
  <li class="login_li_1"><span>Password</span></li>
  <li class="login_li_2">
  <input type="password" class="password" name="Password"  id="Frm_Password" autocomplete="new-password">
  </li>
  <li class="login_li_3">
  <input class="login" type="submit"  id="LoginId"  value="Login"  onclick="dosubmit()">
  </li>
  </ul>
  <ul class="login_blank"></ul>
  </div>
  </div>
  
  <!--���ݽ���-->
  </div>
  <!--bottom���ֿ�ʼ-->
  
  <div style="font-family: Arial;font-size: 12px;text-align:center;">
  
  </div>
  
  <div class="bottom_line"></div>
  <div id="bottomx"></div>
  <!--bottom���ֽ���-->
  </div>
  </body>
  </html>
  <script>
  
  var bBrowserCookieOn = IsBrowserSupportCookie();
  if ( bBrowserCookieOn == false )
  {
  getObj("errmsg").innerHTML = "Your browser's cookie functionality is turned off, please turn it on before login.";
  getObj("myLayer").style.visibility = "visible" ;
  }
  else
  {
  
  window.name="";
  
  }
  function getmsg(id)
  {
  var str  = new Array();
  str[0]  = new Array(110, "Attention!");
  str[1]  = new Array(116, "Confirm");
  str[2]  = new Array(117, "Cancel");
  str[3]  = new Array(120, "The system default password is not modified and it is recommended that you modify your login password for security reasons.");
  return getMsgFormArray(str, arguments);
  }
  function SetDisabled()
  {
  getObj("Frm_Username").disabled = true;
  getObj("Frm_Password").disabled = true;
  getObj("LoginId").disabled = true;
  var ObjAct = getObj("TestLang01");
  if(ObjAct != null)
  {
  ObjAct.disabled = true;
  }
  getObj("myLayer").style.visibility = "visible" ;
  getObj("time").style.display = "" ;
  interval = setInterval("setTime()",1000);
  }
  function setDisable()
  {
  if (SetTFlag == 1)
  {
  getObj("Frm_Username").disabled = false;
  getObj("Frm_Password").disabled = false;
  getObj("LoginId").disabled = false;
  var ObjAct = getObj("TestLang01");
  if(ObjAct != null)
  {
  ObjAct.disabled = false;
  }
  getObj("time").style.display = "none";
  getObj("myLayer").style.visibility = "hidden";
  }
  }
  function submitPage1()
  {
  var ajaxObjSuccPage = new AJAXObj();
  var url = "ajax_checkpass_gch.gch";
  function setNextpage()
  {
  if ( ajaxObjSuccPage.getReadyState() == 4 && 200 == ajaxObjSuccPage.getStatus())
  {
  var resultText = ajaxObjSuccPage.getResponseText();
  if(-1 != resultText.indexOf("setpage_OK"))
  {
  pageSubmitexpmd5();
  }
  }
  }
  ajaxObjSuccPage.addPostItem("opType", "setnextpage");
  ajaxObjSuccPage.post(url, setNextpage);
  }
  function dosubmit()
  {
  if (getObj("Frm_Username").value == "")
  {
  getObj("errmsg").innerHTML = "Username cannot be empty.";
  getObj("myLayer").style.visibility = "visible" ;
  return;
  }
  else
  {
  if(getObj("Frm_Validatecode") != null)
  {
  var vaCode = getObj("Frm_Validatecode").value;
  if(vaCode == "")
  {
  alert("Please input the validate code.");
  }
  else
  {
  checkValidateCode(subpageSubmit);
  }
  }
  else
  {
  
  subpageSubmit();
  
  }
  }
  }
  
  function MathRand()
  {
  var Num="";
  for(var i=0;i<6;i++)
  {
  Num+=Math.floor(Math.random()*10);
  }
  return Num;
  }
  function validatecodeRefresh()
  {
  var randnum = MathRand();
  getObj("ImgID").src = "/queryImg.gif?"+randnum;
  jslDisable("RefreshId");
  getObj("Frm_Validatecode").value = "";
  }
  function checkValidateCode(successCall)
  {
  var ajaxObj = new AJAXObj();
  ajaxObj.addPostItem("Validate_Code", getObj("Frm_Validatecode").value);
  ajaxObj.post("checkValidateCode.gch", checkValidateCodeCallBack);
  function checkValidateCodeCallBack()
  {
  if ( ajaxObj.getReadyState() == xmlHTTPStatus['Loaded']
  && 200 == ajaxObj.getStatus() )
  {
  var resultText = ajaxObj.getResponseText();
  if( -1 != resultText.indexOf("SUCC"))
  {
  successCall();
  }
  else
  {
  alert("validate code is error, Please input again.");
  validatecodeRefresh();
  }
  }
  }
  }
  function subpageSubmit()
  {
  getObj("LoginId").disabled = true;
  var ObjAct = getObj("DevActive");
  if(ObjAct != null)
  {
  ObjAct.disabled = true;
  }
  passwordSHA256();
  }
  function pageSubmitexpmd5()
  {
  getObj("LoginId").disabled = true;
  var ObjAct = getObj("DevActive");
  if(ObjAct != null)
  {
  ObjAct.disabled = true;
  }
  getObj("Frm_Logintoken").value = "3";
  document.fLogin.submit();
  }
  function imgLoad()
  {
  getObj("RefreshId").disabled = false;
  }
  function passwordSHA256()
  {
  var after_Password	=  getObj("Frm_Password").value;
  var before_Password;
  var pwd_random = Math.round(Math.random()*89999999)+10000000;
  before_Password = sha256(after_Password + pwd_random);
  var submitForm = document.createElement("form");
  submitForm.method = 'post';
  submitForm.action = "";
  document.body.appendChild(submitForm);
  
  var actionElement = createHiddenInput("action", "login"),
  nameElement = createHiddenInput("Username", getObj("Frm_Username").value),
  passElement = createHiddenInput("Password", before_Password),
  tokenElement = createHiddenInput("Frm_Logintoken", "3"),
  randnumElement = createHiddenInput("UserRandomNum", pwd_random);
  submitForm.appendChild(actionElement);
  submitForm.appendChild(nameElement);
  submitForm.appendChild(passElement);
  submitForm.appendChild(tokenEle
services.body_hash_sha1: sha1:99ea222eab1abe7ed153b3956ade6b0e9e499ecd
services.supported_versions: HTTP/1.1
services.protocol: TELNET
services.transport_protocol: TCP
services.scan_time: 2025-07-28T02:35:53.678865
services.banner: F670L
  
  Login: 
services.source: OSI_APPLICATION_LAYER
services.part: h
services.vendor: ZTE
services.product: F670L
services.cpe: cpe:2.3:h:zte:f670l:*:*:*:*:*:*:*:*
services.value: remote-access
services.value: network-administration
services.banner: F670L
  
  Login: 
services.value: Echo
services.value: Suppress Go Ahead
services.value: Echo
services.value: Negotiate About Window Size
services.value: Remote Flow Control
[binary data, 3 values, 96 bytes]