var agt=navigator.userAgent.toLowerCase();
var NS=(agt.indexOf('netscape') != -1);
var IE=((navigator.appVersion.indexOf('MSIE') != -1) & (agt.indexOf('opera') == -1)) ? true : false;

function isArray(ee) {
  if(ee.constructor.toString().indexOf('Array') == -1) return(false);
  return(true);
}

function inArray(iArray,tv) {
  if(! isArray(iArray)) return(false);
  for(var tk in iArray) if(iArray[tk] == tv) return(true);
  return(false);
}

function _getbyid(iid) {
  return(document.getElementById(iid));
}
//
function getSelectVal(ee) {
  si=ee.selectedIndex;
  if(si < 0) return(false);
  return(ee.options[si].value);
}
//
function soeTitle() {
//
}

function soeDept() {
//
}

function getDateTime() {
  var mDate=new Date();
  o=mDate.getFullYear();
  o+='/'+(mDate.getMonth()+1);
  o+='/'+mDate.getDate();
  o+=' '+mDate.getHours();
  o+=':'+mDate.getMinutes();
  return(o);
}

function getWindowWidth() {
 if(NS) return(window.innerWidth);
 if(IE) {
 	if(document.documentElement && document.documentElement.clientWidth) {
 	 return(document.documentElement.clientWidth);
 	} 
 	if( document.body && document.body.clientWidth) return(document.body.clientWidth);
  return(document.body.offsetWidth);
 }
 return(window.innerWidth);
}

function getWindowHeight() {
 if(NS) return(window.innerHeight);
 if(IE) {
 	if(document.documentElement && document.documentElement.clientHeight) {
 	 return(document.documentElement.clientHeight);
 	} 
 	if( document.body && document.body.clientHeight) return(document.body.clientHeight);
 	return(document.body.offsetHeight);
 }
 return(window.innerHeight);
}

function positionElement(iid,w,h,l,t) {
 if(! document.getElementById(iid)) return;
 with(document.getElementById(iid)) {
  style.width=w+'px';
  style.height=h+'px';
  style.left=l+'px';
  style.top=t+'px';
 }
}

function _idpos(iid,w,h,l,t) {
 if(! document.getElementById(iid)) return;
 with(document.getElementById(iid)) {
  style.width=w+'px';
  style.height=h+'px';
  style.left=l+'px';
  style.top=t+'px';
 }
}

function _hide(idiv) {
  if(! document.getElementById(idiv)) return;
  document.getElementById(idiv).style.display='none';
}

function _show(idiv) {
//  if(! document.getElementById(idiv)) return;
  document.getElementById(idiv).style.display='';
}

function getFormList() {
  
}

function getSyncPage(URL,pv,ee) {
  var xh=new XMLHttpRequest();
  xh.open('POST',URL,false);
  xh.setRequestHeader('Content-Length',pv.length);
  xh.setRequestHeader('CONTENT-TYPE','application/x-www-form-urlencoded');
  xh.send(pv);
  if(ee !== '') ee.innerHTML=xh.responseText;
  xh=null;
  return;
}

function getPage(URL,pv,ee) {
  var xh=new XMLHttpRequest();
  xh.onreadystatechange=function() {
    if((xh.readyState == 4) && (xh.status == 200)) {
      if(ee != '') ee.innerHTML=xh.responseText;
      return;
    }
  }
  xh.open('POST',URL,true);
  xh.setRequestHeader('Content-Length',pv.length);
  xh.setRequestHeader('CONTENT-TYPE','application/x-www-form-urlencoded');
  xh.send(pv);
  return(xh);
}

function myEscape(s) {
  var es=escape(s);
  return(es.replace(/\+/g,'%2B'));
}

function getWindowHeight() {
  if(NS) return(window.innerHeight);
  if(document.all) {
    if(document.documentElement && document.documentElement.clientHeight) {
      return(document.documentElement.clientHeight);
    }
    if(document.body && document.body.clientHeight) return(document.body.clientHeight);
    return(document.body.offsetHeight);
  }
  return(window.innerHeight);
}

function getWindowWidth() {
  if(NS) return(window.innerWidth);
  if(document.all) {
    if(document.documentElement && document.documentElement.clientWidth) {
      return(document.documentElement.clientWidth);
    }
    if(document.body && document.body.clientWidth) return(document.body.clientWidth);
    return(document.body.offsetWidth);
  }
  return(window.innerWidth);
}

function resetSelect(ee) {
  var ex=document.forms[0].elements[ee];
  if(! ex) return;
  while(ex.length > 0) ex.options[0]=null;
}
//
//20071203 created!
//
function _getElementValue(ee) {
  if(! ee) return(null);
  switch(ee.type) {
    case 'text': case 'hidden': case 'textarea': case 'hidden':
      var r=ee.value;
      break;
    case 'checkbox':
      if(ee.checked) var r=ee.value;
      break;
    case 'select-one':
      var i=ee.selectedIndex;
      var r=ee.options[i].value;
      break;
    case 'select-multiple':
      var el=ee.length;
      var r=new Array();
      for(var i=0;i < el;i++) {
        if(ee.options[i].selected) r.push(ee.options[i].value);
      }
      break;
  }
  return(r);
}
//
//20071203 created!
//
function _setElementValue(ee,vv) {
  if(! ee) return(null);
  switch(ee.type) {
    case 'text': case 'hidden': case 'textarea': case 'hidden':
      ee.value=vv;
      break;
    case 'checkbox':
      if(ee.checked) ee.value=vv;
      break;
    case 'select-one':
      var el=ee.length;
      for(var i=0;i < el;i++) {
        if(ee.options[i].value == vv) {
          ee.selectedIndex=i;
          break;
        }
      }
      break;
    case 'select-multiple':
      var el=ee.length;
      for(var i=0;i < el;i++) {
        if(! isArray(tmpValue)) {
          if(ee.options[i].value == vv) {
            ee.selectedIndex=i;
            break;
          }
        } else {
          if(inArray(vv,ee.options[i].value)) ee.options[i].selected=true;
        }
      }
      break;
  }
}

function _getXMLFromService(iurl,pv) {
  var xh=new XMLHttpRequest();
  xh.open('POST',iurl,false);
  xh.setRequestHeader('Content-Length',pv.length);
  xh.setRequestHeader('CONTENT-TYPE','application/x-www-form-urlencoded');
  xh.send(pv);
  var x=xh.responseXML;
  xh=null;
  return(x);
}

function _getStringFromService(iurl,pv) {
  var x=_getXMLFromService(iurl,pv);
  var r=x.getElementsByTagName('sv');
  if(r[0].childNodes.length > 0) return(r[0].firstChild.data);
  return(null);
}

function _getOption(ee,iurl,pv) {
  resetSelect(ee);
  var x=_getXMLFromService(iurl,pv);
  var r=x.getElementsByTagName('optionList');
  var cl=r[0].childNodes.length;
  for(var i=0;i < cl;i++) {
    var se=r[0].childNodes[i];
    ee.options[i]=new Option(se.getAttribute('text'),se.getAttribute('value'));
  }
}

function _set_INPUT_TEXT(ee,iurl,pv) {
  var x=_getXMLFromService(iurl,pv);
  var r=x.getElementsByTagName('sv');
  if(ee) ee.value=r[0].firstChild.data;
}

function _set_SELECT_BY_VALUE(ee,iurl,pv) {
  var x=_getXMLFromService(iurl,pv);
  var r=x.getElementsByTagName('sv');
  var nv=r[0].firstChild.data;
  var el=ee.length;
  for(var i=0;i < el;i++) {
    if(ee.options[i].text == nv) {
      ee.selectedIndex=i;
      return;
    }
  }
  return;
}

function _setValueByXML(x) {
  var r=x.getElementsByTagName('sa');
  var el=r[0].childNodes.length;
  for(i=0;i < el;i++) {
    var ne=r[0].childNodes[i];
    var ek=ne.getAttribute('key');
    var se=document.forms[0].elements[ek];
    if(se) {
      if(ne.firstChild) _setElementValue(se,ne.firstChild.data);
    }
  }
}

function getClientLanguage() {
  if(IE) {
    return(navigator.systemLanguage.toLowerCase());
  } else {
    return(navigator.language.toLowerCase());
  }
}

function draw_cn_menu() {
  stm_bm(["menu2f28",700,"","/cn/images/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
  stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999","#FFFFF7","",3,0,0,"#000000"]);
  stm_ai("p0i0",[2,"","/cn/images/menu_02_cn.jpg","/cn/images/menu2_02_cn.jpg",178,24,0,"/cn/About_Us/about.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#B5BED6",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","8pt 新细明体","8pt 新细明体",0,0]);
  stm_bp("p1",[1,2,-5,0,2,3,0,0,85,"",-2,"",-2,50,2,1,"#CCCCCC","#FFFFF7","",3,1,1,"#CCCCCC"]);
  stm_aix("p1i0","p0i0",[0,"最新消息","","",-1,-1,0,"/tw/news/news.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","9pt 'Arial','Verdana'","9pt 'Arial','Verdana'"]);
  stm_aix("p1i1","p1i0",[0,"大事纪","","",-1,-1,0,"/cn/About_Us/milestones.html"]);
  stm_aix("p1i2","p1i0",[0,"组织图","","",-1,-1,0,"/cn/About_Us/organization.html"]);
  stm_aix("p1i3","p1i0",[0,"公司愿景","","",-1,-1,0,"/cn/About_Us/vision.html"]);
  stm_aix("p1i4","p1i0",[0,"质量管理认证","","",-1,-1,0,"/cn/About_Us/iso.html"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (NEW)","","",-1,-1,0,"http://www.soe-ele.com/soe_webmail/index.php","_blank"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (OLD)","","",-1,-1,0,"http://mail.soe-ele.com/cgi-bin/sqwebmail?index=1","_blank"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (NEW)","","",-1,-1,0,"http://ms1.soe-ele.com/polytech_webmail/index.php"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (OLD)","","",-1,-1,0,"http://mail.polytech-dg.com.cn/cgi-bin/sqwebmail?index=1"]);
  stm_ep();
  stm_aix("p0i1","p0i0",[2,"","/cn/images/menu_03_cn.jpg","/cn/images/menu2_03_cn.jpg",178,24,0,"/cn/products/products_1_1.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef"]);
  stm_bpx("p2","p1",[1,2,-5,0,2,3,0,7]);
  stm_aix("p2i0","p1i0",[0,"计算机周边","","",-1,-1,0,"/cn/products/products_1_1.html","_self","","","","",0,0,0,"/cn/images/arrow_r.gif","/cn/images/arrow_r.gif",7,7],70,0);
  stm_bpx("p3","p1",[1,2,2]);
  stm_aix("p3i0","p1i0",[0,"键盘薄膜线路","","",-1,-1,0,"/cn/products/products_1_1.html"]);
  stm_aix("p3i1","p1i0",[0,"面板","","",-1,-1,0,"/cn/products/products_1_2.html"]);
  stm_ep();
  stm_aix("p2i1","p2i0",[0,"手机通讯","","",-1,-1,0,"/cn/products/products_2_1.html"],70,0);
  stm_bpx("p4","p3",[]);
  stm_aix("p4i0","p3i0",[0,"手机弹片及组装","","",-1,-1,0,"/cn/products/products_2_1.html"]);
  stm_aix("p4i1","p1i0",[0,"手机按键","","",-1,-1,0,"/cn/products/products_2_2.html"]);
  stm_aix("p4i2","p1i0",[0,"手机机壳","","",-1,-1,0,"/cn/products/products_2_3.html"]);
  stm_aix("p4i3","p1i0",[0,"touch key","","",-1,-1,0,"/cn/products/products_2_4.html"]);
  stm_ep();
  stm_ep();
  stm_aix("p0i2","p0i1",[2,"","/cn/images/menu_04_cn.jpg","/cn/images/menu2_04_cn.jpg",178,24,0,"/cn/R&D/rd.html"]);
  stm_aix("p0i3","p0i1",[2,"","/cn/images/menu_07.jpg","/cn/images/menu2_07.jpg",178,24,0,"/cn/Service/tactic.html"]);
  stm_bpx("p5","p1",[]);
  stm_aix("p5i0","p1i0",[0,"营销策略","","",-1,-1,0,"/cn/Service/tactic.html"],65,0);
  stm_aix("p5i1","p1i0",[0,"主要客户","","",-1,-1,0,"/cn/Service/customer.html"],65,0);
  stm_ep();
  stm_aix("p0i4","p0i1",[2,"","/cn/images/menu_06_cn.jpg","/cn/images/menu2_06_cn.jpg",178,24,0,"/cn/Stockholder/annals.html"]);
  stm_bpx("p6","p1",[]);
  stm_aix("p6i0","p1i0",[0,"年报资料","","",-1,-1,0,"/tw/Stockholder/annals.html"],65,0);
  stm_aix("p6i1","p1i0",[0,"财务报表","","",-1,-1,0,"/tw/Stockholder/finance.html"],65,0);
  stm_aix("p6i2","p1i5",[0,"股价信息","","",-1,-1,0,"http://tw.stock.yahoo.com/q/bc?s=6283"],65,0);
  stm_ep();
  stm_ep();
  stm_em();
}

function draw_tw_menu() {
  stm_bm(["menu2f28",700,"","/tw/images/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
  stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999","#FFFFF7","",3,0,0,"#000000"]);
  stm_ai("p0i0",[2,"","/tw/images/menu_02.jpg","/tw/images/menu2_02.jpg",178,24,0,"/tw/About_Us/about.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#B5BED6",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","8pt 新細明體","8pt 新細明體",0,0]);
  stm_bp("p1",[1,2,-5,0,2,3,0,0,85,"",-2,"",-2,50,2,1,"#CCCCCC","#FFFFF7","",3,1,1,"#CCCCCC"]);
  stm_aix("p1i0","p0i0",[0,"最新消息","","",-1,-1,0,"/tw/news/news.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","9pt 'Arial','Verdana'","9pt 'Arial','Verdana'"]);
  stm_aix("p1i1","p1i0",[0,"大事紀","","",-1,-1,0,"/tw/About_Us/milestones.html"]);
  stm_aix("p1i2","p1i0",[0,"組織圖","","",-1,-1,0,"/tw/About_Us/organization.html"]);
  stm_aix("p1i3","p1i0",[0,"公司願景","","",-1,-1,0,"/tw/About_Us/vision.html"]);
  stm_aix("p1i4","p1i0",[0,"品質管理認證","","",-1,-1,0,"/tw/About_Us/iso.html"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (NEW)","","",-1,-1,0,"http://www.soe-ele.com/soe_webmail/index.php","_blank"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (OLD)","","",-1,-1,0,"http://mail.soe-ele.com/cgi-bin/sqwebmail?index=1","_blank"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (NEW)","","",-1,-1,0,"http://ms1.soe-ele.com/polytech_webmail/index.php"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (OLD)","","",-1,-1,0,"http://mail.polytech-dg.com.cn/cgi-bin/sqwebmail?index=1"]);
  stm_ep();
  stm_aix("p0i1","p0i0",[2,"","/tw/images/menu_03.jpg","/tw/images/menu2_03.jpg",178,24,0,"/tw/products/products_1_1.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef"]);
  stm_bpx("p2","p1",[1,2,-5,0,2,3,0,7]);
  stm_aix("p2i0","p1i0",[0,"電腦周邊","","",-1,-1,0,"/tw/products/products_1_1.html","_self","","","","",0,0,0,"/tw/images/arrow_r.gif","/tw/images/arrow_r.gif",7,7],70,0);
  stm_bpx("p3","p1",[1,2,2]);
  stm_aix("p3i0","p1i0",[0,"鍵盤薄膜線路","","",-1,-1,0,"/tw/products/products_1_1.html"]);
  stm_aix("p3i1","p1i0",[0,"面板","","",-1,-1,0,"/tw/products/products_1_2.html"]);
  stm_ep();
  stm_aix("p2i1","p2i0",[0,"手機通訊","","",-1,-1,0,"/tw/products/products_2_1.html"],70,0);
  stm_bpx("p4","p3",[]);
  stm_aix("p4i0","p3i0",[0,"手機彈片及組裝","","",-1,-1,0,"/tw/products/products_2_1.html"]);
  stm_aix("p4i1","p1i0",[0,"手機按鍵","","",-1,-1,0,"/tw/products/products_2_2.html"]);
  stm_aix("p4i2","p1i0",[0,"手機機殼","","",-1,-1,0,"/tw/products/products_2_3.html"]);
  stm_aix("p4i3","p1i0",[0,"touch key","","",-1,-1,0,"/tw/products/products_2_4.html"]);
  stm_ep();
  stm_ep();
  stm_aix("p0i2","p0i1",[2,"","/tw/images/menu_05.jpg","/tw/images/menu2_05.jpg",178,24,0,"/tw/R&D/rd.html"]);
  stm_aix("p0i3","p0i1",[2,"","/tw/images/menu_07.jpg","/tw/images/menu2_07.jpg",178,24,0,"/tw/Service/tactic.html"]);
  stm_bpx("p5","p1",[]);
  stm_aix("p5i0","p1i0",[0,"行銷策略","","",-1,-1,0,"/tw/Service/tactic.html"],65,0);
  stm_aix("p5i1","p1i0",[0,"主要客戶","","",-1,-1,0,"/tw/Service/customer.html"],65,0);
  stm_ep();
  stm_aix("p0i4","p0i1",[2,"","/tw/images/menu_06.jpg","/tw/images/menu2_06.jpg",178,24,0,"/tw/Stockholder/annals.html"]);
  stm_bpx("p6","p1",[]);
  stm_aix("p6i0","p1i0",[0,"年報資料","","",-1,-1,0,"/tw/Stockholder/annals.html"],65,0);
  stm_aix("p6i1","p1i0",[0,"財務報表","","",-1,-1,0,"/tw/Stockholder/finance.html"],65,0);
  stm_aix("p6i2","p1i5",[0,"股價資訊","","",-1,-1,0,"http://tw.stock.yahoo.com/q/bc?s=6283"],65,0);
  stm_ep();
  stm_ep();
  stm_em();
}

function draw_en_menu() {
  stm_bm(["menu2f28",700,"","/cn/images/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
  stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999","#FFFFF7","",3,0,0,"#000000"]);
  stm_ai("p0i0",[2,"","/en/images/menu_02_en.jpg","/en/images/menu2_02_en.jpg",178,24,0,"/en/About_Us/about.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#B5BED6",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","8pt 新细明体","8pt 新细明体",0,0]);
  stm_bp("p1",[1,2,-5,0,2,3,0,0,85,"",-2,"",-2,50,2,1,"#CCCCCC","#FFFFF7","",3,1,1,"#CCCCCC"]);
  stm_aix("p1i0","p0i0",[0,"Contact Us","","",-1,-1,0,"/en/About_Us/contact_us.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000","9pt 'Arial','Verdana'","9pt 'Arial','Verdana'"]);
  stm_aix("p1i2","p1i0",[0,"Organization","","",-1,-1,0,"/en/About_Us/organization.html"]);
  stm_aix("p1i3","p1i0",[0,"Vision","","",-1,-1,0,"/en/About_Us/vision.html"]);
  stm_aix("p1i4","p1i0",[0,"Quality","","",-1,-1,0,"/en/About_Us/iso.html"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (NEW)","","",-1,-1,0,"http://www.soe-ele.com/soe_webmail/index.php","_blank"]);
  stm_aix("p1i5","p1i0",[0,"SOE Webmail (OLD)","","",-1,-1,0,"http://mail.soe-ele.com/cgi-bin/sqwebmail?index=1","_blank"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (NEW)","","",-1,-1,0,"http://ms1.soe-ele.com/polytech_webmail/index.php"]);
//  stm_aix("p1i6","p1i5",[0,"Polytech Webmail (OLD)","","",-1,-1,0,"http://mail.polytech-dg.com.cn/cgi-bin/sqwebmail?index=1"]);
  stm_ep();
  stm_aix("p0i1","p0i0",[2,"","/en/images/menu_03_en.jpg","/en/images/menu2_03_en.jpg",178,24,0,"/en/products/products_1_1.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",0,"#bbebef"]);
  stm_bpx("p2","p1",[1,2,-5,0,2,3,0,7]);
  stm_aix("p2i0","p1i0",[0,"Computer","","",-1,-1,0,"/en/products/products_1_1.html","_self","","","","",0,0,0,"/en/images/arrow_r.gif","/en/images/arrow_r.gif",7,7],70,0);
  stm_bpx("p3","p1",[1,2,2]);
  stm_aix("p3i0","p1i0",[0,"Membrane","","",-1,-1,0,"/en/products/products_1_1.html"]);
  stm_aix("p3i1","p1i0",[0,"Overlay","","",-1,-1,0,"/en/products/products_1_2.html"]);
  stm_ep();
  stm_aix("p2i1","p2i0",[0,"Mobile","","",-1,-1,0,"/en/products/products_2_1.html"],70,0);
  stm_bpx("p4","p3",[]);
  stm_aix("p4i0","p3i0",[0,"Dome","","",-1,-1,0,"/en/products/products_2_1.html"]);
  stm_aix("p4i1","p1i0",[0,"Keypad","","",-1,-1,0,"/en/products/products_2_2.html"]);
  stm_aix("p4i2","p1i0",[0,"Housing","","",-1,-1,0,"/en/products/products_2_3.html"]);
  stm_aix("p4i3","p1i0",[0,"Touch key","","",-1,-1,0,"/en/products/products_2_4.html"]);
  stm_ep();
  stm_ep();
  stm_aix("p0i2","p0i1",[2,"","/en/images/menu_04_en.jpg","/en/images/menu2_04_en.jpg",178,24,0,"/en/R&D/rd.html"]);
  stm_aix("p0i3","p0i1",[2,"","/en/images/menu_05_en.jpg","/en/images/menu2_05_en.jpg",178,24,0,"/en/Service/tactic.html"]);
  stm_bpx("p5","p1",[]);
  stm_aix("p5i0","p1i0",[0,"Strategy","","",-1,-1,0,"/en/Service/tactic.html"],65,0);
  stm_aix("p5i1","p1i0",[0,"Customers","","",-1,-1,0,"/en/Service/customer.html"],65,0);
  stm_ep();
  stm_em();
}

var dispVal=true;
function blinkTEXT(){
  var iid='SOEHIGHLIGHT';
  if(! document.getElementById(iid)) return;
  if (dispVal) {
    dispVal=false;
    document.getElementById(iid).style.visibility="visible";
  } else {
    dispVal=true;
    document.getElementById(iid).style.visibility="hidden";
  }
}

