function isIE(){
  return (navigator.appName.indexOf("Microsoft")!=-1);
}

function st(nT){
  if(nCurrTab!=-1){
    if(document.getElementById('tabimg'+nT))
      str=((document.getElementById('tabimg'+nT).style.backgroundImage.indexOf("TabDn.gif")==-1&&document.getElementById('tabimg'+nT).style.backgroundImage.indexOf("TabUp.gif")==-1)?"2.gif":".gif");
    if(document.getElementById('tab'+nCurrTab))document.getElementById('tab'+nCurrTab).style.display="none";
    if(document.getElementById('tabimg'+nCurrTab))document.getElementById('tabimg'+nCurrTab).style.backgroundImage="url("+HOST_SERVER+IDA_PATH+"images/TabDn"+str+")";
    if(document.getElementById('tabtxt'+nCurrTab))document.getElementById('tabtxt'+nCurrTab).style.top="2px";
    nCurrTab = nT
    if(document.getElementById('tab'+nT))document.getElementById('tab'+nT).style.display="inline";
    if(document.getElementById('tabimg'+nT))document.getElementById('tabimg'+nT).style.backgroundImage="url("+HOST_SERVER+IDA_PATH+"images/TabUp"+str+")";
    if(document.getElementById('tabtxt'+nCurrTab))document.getElementById('tabtxt'+nCurrTab).style.top="0px";
  }
}

function autoSave(strRouting){
  if(document.forms['frmValues']&&document.forms['frmValues'].elements['autosave']&&!bReadOnly&&bDirty){
    if(confirm("You have made changes that have NOT been saved.\n\nClick 'OK' to save your changes, or 'Cancel' to carry on and lose them.")){
    	eval(document.forms['frmValues'].elements['autosave'].value+"'"+strRouting+"')");
    	return true;
    }
  }
  return false;
}

function getPopupParams(){return strPopupParams;}
function getSFParams(){return strPopupParamsSF;}

var bUnloadOK=false;

function gopage(strIsapiCmd){
  form=document.forms['frmGo'];
  form.elements['mfcisapicommand'].value=strIsapiCmd;
  bUnloadOK=true;
  form.submit();
}
      
function gotoSearchPage(strFnName,strID,strEditType){
  form=document.forms['frmSearch'];
  form.elements['fnname'].value=strFnName;
  form.elements['idnumber'].value=strID
  form.elements['edittype'].value=strEditType
  bUnloadOK=true;
  form.submit();
}

function showMessage(strMessage){
  if(strMessage!=""&&strMessage!="[Mess"+"age]"&&strMessage!="[&Mess"+"age]")
    alert(strMessage);
}

function toggle(strCtrlName){
  rawform=document.forms['frmRaw'];
  if(!rawform.elements[strCtrlName].disabled)
    rawform.elements[strCtrlName].checked=!rawform.elements[strCtrlName].checked;
}

var INVALID_CHARS="\\ \" ? & = % | ~";
function hasInvalidChars(str,strChars){
  arrIC=((arguments.length>1)?strChars:INVALID_CHARS).split(" ");
  for(hicloop=0;hicloop<arrIC.length;hicloop++){
    if(str.indexOf(arrIC[hicloop])!=-1)
      return true;
  }
  return false;
}

var TRANS=String.fromCharCode(192)+"~&Agrave;|"+String.fromCharCode(193)+"~&Aacute;|"+String.fromCharCode(194)+"~&Acirc;|"+String.fromCharCode(200)+"~&Egrave;|"+String.fromCharCode(201)+"~&Eacute;|"+String.fromCharCode(202)+"~&Ecirc;|"+String.fromCharCode(204)+"~&Igrave;|"+String.fromCharCode(205)+"~&Iacute;|"+String.fromCharCode(206)+"~&Icirc;|"+String.fromCharCode(210)+"~&Ograve;|"+String.fromCharCode(211)+"~&Oacute;|"+String.fromCharCode(212)+"~&Ocirc;|"+String.fromCharCode(217)+"~&Ugrave;|"+String.fromCharCode(218)+"~&Uacute;|"+String.fromCharCode(219)+"~&Ucirc;|"+String.fromCharCode(199)+"~&Ccedil;|"+String.fromCharCode(224)+"~&agrave;|"+String.fromCharCode(225)+"~&aacute;|"+String.fromCharCode(226)+"~&acirc;|"+String.fromCharCode(232)+"~&egrave;|"+String.fromCharCode(233)+"~&eacute;|"+String.fromCharCode(234)+"~&ecirc;|"+String.fromCharCode(236)+"~&igrave;|"+String.fromCharCode(237)+"~&iacute;|"+String.fromCharCode(238)+"~&icirc;|"+String.fromCharCode(242)+"~&ograve;|"+String.fromCharCode(243)+"~&oacute;|"+String.fromCharCode(244)+"~&ocirc;|"+String.fromCharCode(249)+"~&ugrave;|"+String.fromCharCode(250)+"~&uacute;|"+String.fromCharCode(251)+"~&ucirc;|"+String.fromCharCode(231)+"~&ccedil;";
function transHTML(strTrans){
  arrTRANS=TRANS.split("|");
  for(ti=0;ti<arrTRANS.length;ti++){
    arrTRAN=arrTRANS[ti].split("~");
    if(arrTRAN.length>1){
      re=new RegExp(arrTRAN[1],"g");
      strTrans=strTrans.replace(re,arrTRAN[0]);
    }
  }
  return strTrans;
}

function maxLen(obj,nLen){
  if(obj.value.length>nLen)
    obj.value=obj.value.substring(0,nLen);
}

function trim(str,bQuotes){
  if(arguments.length<2)bQuotes=false;
  while(str.length>0&&(str.charAt(0)==" "||str.charAt(0)=="\t"||(bQuotes&&(str.charAt(0)=="'"||str.charAt(0)=="\""))))
    str=str.substr(1);
  while(str.length>0&&(str.charAt(str.length-1)==" "||str.charAt(str.length-1)=="\t"||(bQuotes&&(str.charAt(str.length-1)=="'"||str.charAt(str.length-1)=="\""))))
    str=str.substring(0,str.length-1);
  return str;
}

function validFriendly(strEmail){
  if((nPos1=strEmail.indexOf("<"))!=-1&&(nPos2=strEmail.indexOf(">"))!=-1)
    strEmail=strEmail.substring((nPos1+1),nPos2);
  return validEmail(strEmail);
}

function validEmail(strEmail){
  var re=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
  return re.test(strEmail);
}

function closePopup(){
  try{
    if(winPopup&&bWinPopup){
      winPopup.close();
      bWinPopup=false;
      winPopup=null;
    }
  }catch(e){}
}

function showHelp(){
  nWidth=300;
  nHeight=480;
  window.open(HOST_SERVER+IDA_PATH+"IdaHelpTrigger.htm","winHelp","left="+(screen.width-(nWidth+12))+",top="+(screen.height-nHeight)/2+",width="+nWidth+",height="+nHeight+",resizable=1,scrollbars=1");
}

function showHT(strHT){
  nWidth=833;
  nHeight=560;
  if(!isIE())
    strHT=strHT.replace(/\\/,"/");
  winPopup=window.open(HOST_SERVER+IDA_PATH+strHT+".htm","winPopup","left="+((screen.width-(nWidth+12))/2)+",top="+((screen.height-(nHeight+30))/2)+",width="+nWidth+",height="+nHeight+",resizable=1,scrollbars=1,dependent=1");
  bWinPopup=true;
}

function setPP(n,str){
  arrParams=strPopupParams.split("|");
  arrParams[n]=str;
  strPopupParams=arrParams.join("|");
}

function systest(){
  nWidth=650;
  nHeight=575;
  winPopup=window.open(HOST_SERVER+IDA_PATH+"idaSysTestTrigger.htm","winPopup","left="+(screen.width-nWidth)/2+",top="+(screen.height-nHeight)/2+",width="+nWidth+",height="+nHeight+",resizable=1,scrollbars=1,dependent=1");
  bWinPopup=true;
}

function getWinLeft(nLeft,nWidth){
  switch(nLeft){
    case "-1":
      return 0;
    case "-2":
      return (screen.width-(nWidth - -12))/2;
    case "-3":
      return screen.width-(nWidth - -12);
    default:
      return nLeft;
  }
}

function getWinTop(nTop,nHeight){
  switch(nTop){
    case "-1":
      return 0;
    case "-2":
      return (screen.height-(nHeight - -30))/2;
    case "-3":
      return screen.height-(nHeight - -58);
    default:
      return nTop;
  }
}

function idareplace(strText,strRep,strVal){
  nPos=-1;
  while((nPos=strText.indexOf(strRep))!=-1)
    strText=strText.substring(0,nPos)+strVal+strText.substring(nPos+strRep.length);
  return strText;
}

function formatDate(fdate,bTime){
  arrFormat=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
  return fdate.getDate()+" "+arrFormat[fdate.getMonth()]+" "+fdate.getFullYear()+((arguments.length>1&&bTime)?" at "+fdate.getHours()+":"+((fdate.getMinutes()<10)?"0":"")+fdate.getMinutes():"");
}

function triggerContent(){
}

function getCookieVal(nStartPos){
  var nEndPos=document.cookie.indexOf(";",nStartPos);
  if(nEndPos==-1)
    nEndPos=document.cookie.length;
  return unescape(document.cookie.substring(nStartPos,nEndPos));
}

function getCookie(strName){
  strName+="=";
  var i=0;
  while(i<document.cookie.length){
    var j=i+strName.length;
    if(document.cookie.substring(i,j)==strName)
      return getCookieVal(j);
    i=document.cookie.indexOf(" ",i)+1;
    if(i==0)break;
  }
  return "";
}

function setCookie(name,value,expires,path,domain,secure){
  document.cookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+path:"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");
}

function parseCond(strCond){
  if(strCond.indexOf("LIKE")!=-1){
    nP1=strCond.indexOf("(\"");
    nP2=strCond.lastIndexOf("\",\"[");
    nP3=strCond.lastIndexOf("]\")");
    if(nP1==-1||nP2==-1||nP3==-1||nP2<nP1||nP3<nP2)
      return false;
    strID=strCond.substring(nP2+4,nP3);
    strOp=strCond.substring(1,nP1);
    strVal=strCond.substring(nP1+2,nP2);
  }else if(strCond.indexOf("DATE")!=-1){
    nP1=strCond.indexOf("([");
    nP2=strCond.indexOf("]) ");
    nP3=strCond.lastIndexOf("DATE(");
    nP4=strCond.lastIndexOf("))");
    if(nP1==-1||nP2==-1||nP3==-1||nP4==-1||nP2<nP1||nP3<nP2||nP4<nP3)
      return false;
    arr=strCond.substring(nP3+5,nP4).split(",");
    if(arr.length<3)
      return false;
    strID=strCond.substring(nP1+2,nP2);
    strOp=strCond.substring(nP2+3,nP3-1);
    strVal=arr[0]+" "+arr[1]+" "+arr[2];
  }else if(strCond.indexOf("'' = '[")==1||strCond.indexOf("'' != '[")==1){
    nP1=strCond.indexOf("[");
    nP2=strCond.indexOf("]");
    if(nP1==-1||nP2==-1||nP2<nP1)
      return false;
    strID=strCond.substring(nP1+1,nP2);
    strOp=((strCond.indexOf("!=")>0)?"!=":"=");
    strVal="";
  }else{
    arr=strCond.split(" ");
    if(arr.length<3||arr[0].length<2||arr[2].length<2)
      return false;
    if(arr.length>3){
      nArrPos=0;nQPos=-1;
      if((nQPos=arr[nArrPos].indexOf("\""))!=-1&&arr[nArrPos].indexOf("\"",nQPos+1)==-1){
        for(++nArrPos;nArrPos<arr.length&&arr[nArrPos].indexOf("\"")==-1;nArrPos++)
          arr[0]+=" "+arr[nArrPos];
        arr[0]+=" "+arr[nArrPos];
      }
      arr[1]=arr[++nArrPos];
      if((nQPos=arr[++nArrPos].indexOf("\""))!=-1&&arr[nArrPos].indexOf("\"",nQPos+1)==-1){
        arr[2]=arr[nArrPos];
        for(++nArrPos;nArrPos<arr.length&&arr[nArrPos].indexOf("\"")==-1;nArrPos++)
          arr[2]+=" "+arr[nArrPos];
        arr[2]+=" "+arr[nArrPos];
      }else{
        arr[2]=arr[nArrPos];
      }
    }
    if(arr[0].indexOf("[")==-1){
      strID=arr[0];
      strOp=arr[1];
      strVal=arr[2].substring(0,arr[2].length-1);
    }else{
      strID=arr[0].substring(2,arr[0].length-1);
      strOp=arr[1];
      strVal=arr[2].substring(0,arr[2].length-1);
      if(strID.indexOf("-")!=-1){
        arr=strID.split("-");
        if(arr.length<2)
          return false;
        strID=arr[0];
        nON=parseInt(arr[1]);
      }else if(strID.indexOf("_")!=-1){
        arr=strID.split("_");
        if(arr.length<4)
          return false;
        strID=arr[0];
        nPart=parseInt(arr[1]);
        nOC=parseInt(arr[2]);
        nON=parseInt(arr[3]);
      }
    }
  }
  return true;
}

var MCE_THEME="advanced";
var MCE_BASIC_PLUGINS="paste";
var MCE_BASIC_BTNS1="bold,italic,underline,separator,justifyleft,justifycenter,justifyright,separator,outdent,indent,separator,fontselect,fontsizeselect,forecolor,backcolor,separator,bullist,numlist,separator,code";
var MCE_MAIL_BTNS1="link,separator,bold,italic,underline,separator,justifyleft,justifycenter,justifyright,separator,outdent,indent,separator,fontselect,fontsizeselect,forecolor,backcolor,separator,bullist,numlist,separator,code";
var MCE_BASIC_BTNS2="";
var MCE_BASIC_BTNS3="";
var MCE_ADV_PLUGINS="layer,table,paste,inlinepopups";
var MCE_ADV_BTNS1="bold,italic,underline,sub,sup,separator,justifyleft,justifycenter,justifyright,separator,outdent,indent,separator,fontselect,fontsizeselect,forecolor,backcolor,separator,bullist,numlist";
var MCE_ADV_BTNS2="tablecontrols,separator,insertlayer,moveforward,movebackward,absolute,separator,hr,charmap,separator,undo,redo,separator,cut,copy,paste";
var MCE_ADV_BTNS3="";
var MCE_TOOLBAR_LOCATION="top";
var MCE_PATH_LOCATION="none";
var MCE_RESIZE_HORIZ=false;
var MCE_RESIZING=false;
var MCE_RESIZING_USE_COOKIE=false;
var MCE_TOOLBAR_ALIGN="left";
var MCE_PATH=false;
var MCE_FORCED_ROOT_BLOCK="p";
var MCE_NBSP_FORCE_TAB=true;
var MCE_RELATIVE_URLS=false;
var MCE_CONVERT_URLS=false;
var MCE_REMOVE_LINEBREAKS=true;
var MCE_CONVERT_NL_TO_BR=false;
var MCE_FORCE_BR=false;
var MCE_FORCE_P=true;
var MCE_APPLY_SOURCE_FORMATTING=true;
var MCE_TRIM_SPAN=true;
var MCE_INLINE_STYLES=true;  
var MCE_PASTE_CREATE_PARA=true; // text paste
var MCE_PASTE_STRIP_CLASS="mso";
var MCE_PASTE_CREATE_CRLF=false;
var MCE_PASTE_USE_DIALOG=false;
var MCE_PASTE_AUTO_CLEANUP=true;
var MCE_PASTE_FORCE_CLEANUP_WORDPASTE=true;
var MCE_PASTE_CONVERT_MIDDOT_LISTS=true;
var MCE_PASTE_UNINDENTED_LIST_CLASS="unindentedList";
var MCE_PASTE_CONVERT_HEADERS_TO_STRONG=false;
var MCE_PASTE_REMOVE_SPANS=true;
var MCE_PASTE_REMOVE_STYLES=false;
var MCE_USE_NATIVE_SELECTS=true;
var MCE_XHTML_VALID=""
+"a[accesskey|charset|class|coords|dir<ltr?rtl|href|hreflang|id|lang|name"
  +"|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|rel|rev"
  +"|shape<circle?default?poly?rect|style|tabindex|title|target|type],"
//+"abbr[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"acronym[class|dir<ltr?rtl|id|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"address[class|align|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
//+"applet[align<bottom?left?middle?right?top|alt|archive|class|code|codebase"
//  +"|height|hspace|id|name|object|style|title|vspace|width],"
//+"area[accesskey|alt|class|coords|dir<ltr?rtl|href|id|lang|nohref<nohref"
//  +"|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup"
//  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup"
//  +"|shape<circle?default?poly?rect|style|tabindex|title|target],"
//+"base[href|target],"
//+"basefont[color|face|id|size],"
//+"bdo[class|dir<ltr?rtl|id|lang|style|title],"
//+"big[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
+"blockquote[cite|class|dir<ltr?rtl|id|lang|onclick|ondblclick"
  +"|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout"
  +"|onmouseover|onmouseup|style|title],"
+"body[alink|background|bgcolor|class|dir<ltr?rtl|id|lang|link|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|onunload|style|title|text|vlink],"
+"br[class|clear<all?left?none?right|id|style|title],"
+"button[accesskey|class|dir<ltr?rtl|disabled<disabled|id|lang|name|onblur"
  +"|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown"
  +"|onmousemove|onmouseout|onmouseover|onmouseup|style|tabindex|title|type"
  +"|value],"
//+"caption[align<bottom?left?right?top|class|dir<ltr?rtl|id|lang|onclick"
//  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
//  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"center[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
//+"cite[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"code[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"col[align<center?char?justify?left?right|char|charoff|class|dir<ltr?rtl|id"
//  +"|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown"
//  +"|onmousemove|onmouseout|onmouseover|onmouseup|span|style|title"
//  +"|valign<baseline?bottom?middle?top|width],"
//+"colgroup[align<center?char?justify?left?right|char|charoff|class|dir<ltr?rtl"
//  +"|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown"
//  +"|onmousemove|onmouseout|onmouseover|onmouseup|span|style|title"
//  +"|valign<baseline?bottom?middle?top|width],"
//+"dd[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
//  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"
//+"del[cite|class|datetime|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
//+"dfn[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"dir[class|compact<compact|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
+"div[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
//+"dl[class|compact<compact|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
//+"dt[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
//  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"
+"em/i[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
+"embed[align|alt|border|class|code|codebase|frameborder|width|height|hspace|vspace"
  +"|id|name|palette|pluginspace|pluginurl|src|style|title|type|units|controls|controller"
  +"|showtracker|showdisplay|showcontrols|showstatusbar|volume|starttime|endtime|autoplay|autostart|loop|playcount],"
//+"fieldset[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
+"font[class|color|dir<ltr?rtl|face|id|lang|size|style|title],"
+"form[accept|accept-charset|action|class|dir<ltr?rtl|enctype|id|lang"
  +"|method<get?post|name|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onreset|onsubmit"
  +"|style|title|target],"
+"frame[class|frameborder|id|longdesc|marginheight|marginwidth|name"
  +"|noresize<noresize|scrolling<auto?no?yes|src|style|title],"
+"frameset[class|cols|id|onload|onunload|rows|style|title],"
+"h1[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"h2[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"h3[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"h4[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"h5[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"h6[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"head[dir<ltr?rtl|lang|profile],"
+"hr[align<center?left?right|class|dir<ltr?rtl|id|lang|noshade<noshade|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|size|style|title|width],"
+"html[dir<ltr?rtl|lang|version],"
+"iframe[align<bottom?left?middle?right?top|class|frameborder|height|id"
  +"|longdesc|marginheight|marginwidth|name|scrolling<auto?no?yes|src|style"
  +"|title|width],"
+"img[align<bottom?left?middle?right?top|alt|border|class|dir<ltr?rtl|height"
  +"|hspace|id|ismap<ismap|lang|longdesc|name|onclick|ondblclick|onkeydown"
  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
  +"|onmouseup|src|style|title|usemap|vspace|width],"
+"input[accept|accesskey|align<bottom?left?middle?right?top|alt"
  +"|checked<checked|class|dir<ltr?rtl|disabled<disabled|id|ismap<ismap|lang"
  +"|maxlength|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onselect"
  +"|readonly<readonly|size|src|style|tabindex|title"
  +"|type<button?checkbox?file?hidden?image?password?radio?reset?submit?text"
  +"|usemap|value],"
//+"ins[cite|class|datetime|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
//+"isindex[class|dir<ltr?rtl|id|lang|prompt|style|title],"
//+"kbd[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"label[accesskey|class|dir<ltr?rtl|for|id|lang|onblur|onclick|ondblclick"
//  +"|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout"
//  +"|onmouseover|onmouseup|style|title],"
//+"legend[align<bottom?left?right?top|accesskey|class|dir<ltr?rtl|id|lang"
//  +"|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
//  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"li[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title|type"
  +"|value],"
+"link[charset|class|dir<ltr?rtl|href|hreflang|id|lang|media|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|rel|rev|style|title|target|type],"
//+"map[class|dir<ltr?rtl|id|lang|name|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"menu[class|compact<compact|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
//  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
//  +"|onmouseup|style|title],"
+"meta[content|dir<ltr?rtl|http-equiv|lang|name|scheme],"
+"noframes[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
//+"noscript[class|dir<ltr?rtl|id|lang|style|title],"
//+"object[align<bottom?left?middle?right?top|archive|border|class|classid"
//  +"|codebase|codetype|data|declare|dir<ltr?rtl|height|hspace|id|lang|name"
//  +"|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
//  +"|onmouseout|onmouseover|onmouseup|standby|style|tabindex|title|type|usemap"
//  +"|vspace|width],"
+"ol[class|compact<compact|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
  +"|onmouseup|start|style|title|type],"
+"optgroup[class|dir<ltr?rtl|disabled<disabled|id|label|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
+"option[class|dir<ltr?rtl|disabled<disabled|id|label|lang|onclick|ondblclick"
  +"|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout"
  +"|onmouseover|onmouseup|selected<selected|style|title|value],"
+"p[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|style|title],"
//+"param[id|name|type|value|valuetype<DATA?OBJECT?REF],"
//+"pre/listing/plaintext/xmp[align|class|dir<ltr?rtl|id|lang|onclick|ondblclick"
//  +"|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout"
//  +"|onmouseover|onmouseup|style|title|width],"
//+"q[cite|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"s[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
//  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"
//+"samp[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title],"
//+"script[charset|defer|language|src|type],"
+"select[class|dir<ltr?rtl|disabled<disabled|id|lang|multiple<multiple|name"
  +"|onblur|onchange|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|size|style"
  +"|tabindex|title],"
+"small[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
+"span[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
  +"|onmouseup|style|title],"
+"strike[class|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
  +"|onmouseup|style|title],"
+"strong/b[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
+"style[dir<ltr?rtl|lang|media|title|type],"
+"sub[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
+"sup[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title],"
+"table[align<center?left?right|bgcolor|border|cellpadding|cellspacing|class"
  +"|dir<ltr?rtl|frame|height|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|rules"
  +"|style|summary|title|width],"
+"tbody[align<center?char?justify?left?right|char|class|charoff|dir<ltr?rtl|id"
  +"|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown"
  +"|onmousemove|onmouseout|onmouseover|onmouseup|style|title"
  +"|valign<baseline?bottom?middle?top],"
+"td[abbr|align<center?char?justify?left?right|axis|bgcolor|char|charoff|class"
  +"|colspan|dir<ltr?rtl|headers|height|id|lang|nowrap<nowrap|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|rowspan|scope<col?colgroup?row?rowgroup"
  +"|style|title|valign<baseline?bottom?middle?top|width],"
+"textarea[accesskey|class|cols|dir<ltr?rtl|disabled<disabled|id|lang|name"
  +"|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onselect"
  +"|readonly<readonly|rows|style|tabindex|title],"
+"tfoot[align<center?char?justify?left?right|char|charoff|class|dir<ltr?rtl|id"
  +"|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown"
  +"|onmousemove|onmouseout|onmouseover|onmouseup|style|title"
  +"|valign<baseline?bottom?middle?top],"
+"th[abbr|align<center?char?justify?left?right|axis|bgcolor|char|charoff|class"
  +"|colspan|dir<ltr?rtl|headers|height|id|lang|nowrap<nowrap|onclick"
  +"|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove"
  +"|onmouseout|onmouseover|onmouseup|rowspan|scope<col?colgroup?row?rowgroup"
  +"|style|title|valign<baseline?bottom?middle?top|width],"
+"thead[align<center?char?justify?left?right|char|charoff|class|dir<ltr?rtl|id"
  +"|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown"
  +"|onmousemove|onmouseout|onmouseover|onmouseup|style|title"
  +"|valign<baseline?bottom?middle?top],"
+"title[dir<ltr?rtl|lang],"
+"tr[abbr|align<center?char?justify?left?right|bgcolor|char|charoff|class"
  +"|rowspan|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
  +"|title|valign<baseline?bottom?middle?top],"
+"tt[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"
+"u[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup"
  +"|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"
+"ul[class|compact<compact|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown"
  +"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
  +"|onmouseup|style|title|type],"
//+"var[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
//  +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
//  +"|title]"
