var referenceSheet; function linkReference_Click() {     if(!referenceSheet || referenceSheet == null || referenceSheet.closed)         referenceSheet = window.open('../help/reference.html?culture='+_00100111, 'ReferenceSheet', 'left=50,top=50,width=800,height=600,menubar=no,scrollbars=yes,resizable=yes');     referenceSheet.focus();     }  function _00010001() {     _01000001('_01110110').style.display = "none";             }  function _00110011() {     _01000001('_01110110').style.display = "inline";             }  function _00010101_Click() {     _00011000_Click();     if(_01111101 !=null && opener && opener.document && opener.document.getElementById(_01111101))     {         var _10001100 = opener.document.getElementById(_01111101);         _10001100.value = _01000001('_10100000_00001000').value;         opener.focus();     } }  function _01111111_Click() {     OnKeyUp(false, false);     _01000001('_10011100').focus(); }   function _01000101(key) {     var url = window.location.href;     var urlLower = url.toLowerCase();     var keyLower = key.toLowerCase();     var _01010110 = urlLower.indexOf(keyLower + '=');     if(_01010110 < 0)         return '';          var _01010110End = urlLower.indexOf('&', _01010110);     if(_01010110End < 0)         _01010110End = urlLower.indexOf('#', _01010110);            if(_01010110End < 0)         _01010110End = urlLower.length;               return url.substring(_01010110 + key.length + 1, _01010110End);      }  var _01111101; function _01010111() {     Initialize();     var culture = _01000101("culture");     if(culture.length == 0)         culture = "en";                  var isPopup = false;     if(_01000101('nh') == '1')     {                     _01111101 = _01000101('fieldID');         if(_01111101.length == 0)             return;                 if(opener && opener.document && opener.document.getElementById(_01111101))         {             var targetField = opener.document.getElementById(_01111101);             if(targetField && targetField.value)             {                 var unicode = targetField.value;                 _01000001('_10011100_00001000').value = _00100101(unicode);                 _01000001('_10100000_00001000').value = unicode;             }                               isPopup = true;                          var _00010101 = _01000001('_00010101');             var _00010101Value = _01000101('buttonText');             if(_00010101Value.length > 0 && _00010101Value.length < 100)                 _00010101.value = unescape(_00010101Value);                                     setTimeout('_00010001()', 10000);                   }    }         var modeID;     if(isPopup)         modeID = "popup";     else         modeID = _01000101("mode");          if(modeID.length == 0 && screen.width < 1000)         modeID = "small";              InitializeLayout(modeID);     InitializeCulture(culture);     _01000001('_10011100').focus();      _01000001("_01111100").style.display = "none";                    setTimeout("_10101100('_01110001', '"+_00100111+"')", 5000); }  var layout; function InitializeLayout(modeID) {    layout = new Layout(modeID); }  var cultureElements; function InitializeCulture(culture) {     cultureElements = new CultureElements();     _00000011(cultureElements, culture); }   function _00010000_Click() {     var ascii = _01000001('_10011100_00001000').value;     var _10000000 = (ascii.length < 20);     if(!_10000000)         if(_00100111 != "en")             _10000000 = confirm(cultureElements.clearThisPagePromptText);         else             _10000000 = confirm('Are you sure you want to clear?');                  if(_10000000)     {         _01000001('_10011100_00001000').value = "";         _01000001('_10100000_00001000').value = "";         _01000001('_10011100').value = "";         _01000001('_10100000').value = "";         try{_01000001('_10011100').focus();}catch(err){}     }      }  function _00010111_Click() {     var unicode = _01000001('_10100000_00001000').value;     var encoded = _00110110(unicode);     _01000001('_10011110_00001000').value  = encoded;       try{_01000001('_10011100').focus();}catch(err){} }  function _10011100_00001000_C() {     var ascii = _01000001('_10011100_00001000').value;     var btnRU = _01000001('_00011000');     if(ascii.length > 700)         {             if(btnRU.disabled)                 {                     btnRU.disabled = false;                     var origBackColor = btnRU.style.backgroundColor;                     btnRU.style.backgroundColor = "Khaki";                                         DisplayManualConversionNotice();                     btnRU.style.backgroundColor = origBackColor;                     setTimeout("_01000001('_00011000').style.backgroundColor = \"Khaki\";", 500);                     setTimeout("_01000001('_00011000').style.backgroundColor = _01000001('_00010010').style.backgroundColor;", 1000);                     setTimeout("_01000001('_00011000').style.backgroundColor = \"Khaki\";", 1500);                     setTimeout("_01000001('_00011000').style.backgroundColor = _01000001('_00010010').style.backgroundColor;", 2000);                 }         }     else     {         var unicode = Convert(ascii, false);         _01000001('_10100000_00001000').value  = unicode;               if(!btnRU.disabled)             btnRU.disabled = true;     }      }  function _00011000_Click() {     var ascii = _01000001('_10011100_00001000').value;     var unicode = Convert(ascii, false);     _01000001('_10100000_00001000').value  = unicode;       _10000011('_10100000_00001000'); }  function _00011011_Click() {     OnKeyUp(true, true);     }  function OnKeyUp(_00000111, _00000010) {     var ascii = _01000001('_10011100').value;     var _10000001 = "";     if(!_00000111 && ascii.length > 80)     {         var _00111010 = ascii.indexOf(" ", 80);         if(_00111010 == -1 && ascii.length > 120)             _00111010 = ascii.length;                      if(_00111010 > -1)         {                             _10000001 = ascii.substring(_00111010);             ascii = ascii.substring(0, _00111010);             _00000111 = true;         }     }      var _01011100 = null;     var unicode;     if(_01000001('_01111111_Smart').checked)           _01011100 = true;      else if(_01000001('_01111111_Basic').checked)         _01011100 = false;          if(_01011100 == true)          unicode = Convert(ascii, true);     else if(_01011100 == false)          unicode = Convert(ascii, false);     else                unicode = Convert('{'+ascii+'}', false);             if(_00000010 && ascii && ascii.indexOf("\n") == -1)     {         ascii += "\n";         unicode += "\n";     }              if(_00000111)     {         _01000001('_10100000_00001000').value += unicode;         _01000001('_10011100_00001000').value += _00100101(unicode);                  _10000011('_10011100_00001000');         _10000011('_10100000_00001000');          _01000001('_10011100').value = "";         _01000001('_10100000').value = "";                          if(_10000001 != null && _10000001.length > 0)         {             if(_01011100 == true)                  unicode = Convert(_10000001, true);             else if(_01011100 == false)                  unicode = Convert(_10000001, false);             else                        unicode = Convert('{'+_10000001+'}', false);                               _01000001('_10011100').value = _10000001;             _01000001('_10100000').value = unicode;                 }         else         {             _01000001('_10011100').focus();         }     }     else                 _01000001('_10100000').value = unicode; }   function _00010010_Click() {      _00000101("pnlAscii_00001000", layout._10010001, layout._10010010, layout._10010000, layout.height, true);         _00000101("pnlUnicode_00001000", layout._10010011, layout._10010100, layout._10010000, layout.height, true);          _01000001('_00010011').style.display="inline";     _01000001('_00011000').style.display="inline";     _01000001('_00010010').style.display = "none";      _01000001('_00010100').style.display = "none";     _01000001('_00011010').style.display = "none"; }  function _00010011_Click() {     _00011000_Click();     _00000101("pnlUnicode_00001000", layout._10001101, layout._10001110, layout._10001111, layout.height, true);         _01000001('pnlAscii_00001000').style.display="none";     _01000001('_00010011').style.display="none";     _01000001('_00011000').style.display="none";     _01000001('_00010010').style.display = "inline";      if(layout.mode !="popup")     {         _01000001('_00010100').style.display = "inline";         _01000001('_00011010').style.display = "inline";     }      _01000001('_10011100').focus();      }  function _00010100_Click() {     var unicode = _01000001('_10100000_00001000').value;     var encoded = _00110110(unicode);     _01000001('_10011110_00001000').value  = encoded;        _00000101("pnlUnicode_00001000", layout._10010001, layout._10010010, layout._10010000, layout.height, true);         _00000101("pnlHtml_00001000", layout._10010011, layout._10010100, layout._10010000, layout.height, true);          _01000001('pnlAscii_00001000').style.display="none";     _01000001('_00010000').style.display="none";     _01000001('_00010010').style.display="none";     _01000001('_00010100').style.display = "none";     _01000001('_00011010').style.display = "none";     _01000001('_00010111').style.display = "inline";     _01000001('_00010110').style.display = "inline";     _01000001('_00011001').style.display = "inline";     _01000001('_10011100').focus(); }  function _00010110_Click() {     _00000101("pnlUnicode_00001000", layout._10001101, layout._10001110, layout._10001111, layout.height, true);         _01000001('pnlHtml_00001000').style.display="none";     _01000001('_00010000').style.display="inline";     _01000001('_00010010').style.display="inline";     _01000001('_00010110').style.display = "none";     _01000001('_00011001').style.display = "none";     _01000001('_00010111').style.display = "none";      if(!layout.mode !="popup")     {         _01000001('_00010100').style.display = "inline";         _01000001('_00011010').style.display = "inline";     }      _01000001('_10011100').focus();  }  function _01000001(_100110001ID) {     return document.getElementById(_100110001ID); }  function _10000100(_10010110)  {      var _10011101 = _01000001(_10010110);     if(_10011101 == null)return; if(_10011101.createTextRange)   { t = _10011101.createTextRange(); if(t.select) t.select(); if(t.execCommand) t.execCommand('copy'); } if(_10011101.setSelectionRange)  { _10011101.setSelectionRange(0,_10011101.value.length); } else if(_10011101.createTextRange)  { var r = _10011101.createTextRange(); r.select(); } if(_10011101.focus) _10011101.focus(); }  function _10000011(_100110001ID) {     var _100110001 = _01000001(_100110001ID);     if(_100110001 == null) return;     var st = _100110001.scrollTop;     var sh = _100110001.scrollHeight;     var osh = _100110001.offsetHeight;      while(st  < sh - osh)  {             st += 10;     _100110001.scrollTop = st;      } }  function _10000111 (input, pos)  {   _10001000(input, pos, pos); }  function _10001000(input, selectionStart, selectionEnd)  {   if (input.setSelectionRange)  { input.focus(); input.setSelectionRange(selectionStart, selectionEnd); }   else if (input.createTextRange)  { var _tr = input.createTextRange(); _tr.collapse(true); _tr.moveEnd('character', selectionEnd); _tr.moveStart('character', selectionStart); _tr.select(); } }  var notifications_DefaultCulture = new Array(); var notifications_AltCulture = new Array();  var notificationIntervalMins = 5; var notificationAutoCloseMins = .30; var notificationIndex = 0; var recycleNotifications = false; function ScheduleNotifications() {     if(notificationIndex >= notifications_DefaultCulture.length)     {         if(recycleNotifications)         {             notificationIndex = 0;         }         else         {             return;         }      }       var notification;      if(_00100111 == "en")      {         if(notificationIndex >= notifications_DefaultCulture.length)             notification = "";         else             notification = notifications_DefaultCulture[notificationIndex];      }      else      {         if(notificationIndex >= notifications_AltCulture.length)             notification = "";         else             notification = notifications_AltCulture[notificationIndex];           }      if(notification.length > 0)     {         _00000101('pnlNotification', 200, 150, 500, 100, true);              _01000001('pnlNotification_101001011').innerHTML = notification;         setTimeout('CloseNotification()', notificationAutoCloseMins * 60000);     }      notificationIndex++;          setTimeout('ScheduleNotifications()', notificationIntervalMins * 60000); }  function CloseNotification() {     _01000001('pnlNotification').style.display = "none"; }       var _10101101; function _10101100(divID, culture) {     var text;          if(culture == "en")     {         text = _10101010;     }     else     {         text = _10101011;     }          text = document.getElementById(divID).innerHTML + text;          var index;     for(index=0;index<100;index++)     {         text +="&nbsp;";     }         var _10110000 = "_10101110";     var _10101111 = navigator.userAgent.toLowerCase(); if (_10101111.indexOf("firefox")!=-1 || _10101111.indexOf("safari")!=-1)  { document.getElementById(divID).innerHTML = "<table  cellspacing='0' cellpadding='0' width='100%'><tr><td nowrap='nowrap'><span style='' id='"+_10110000+"' width='100%'>&nbsp;</span></td></tr></table>"; } else if (_10101111.indexOf("msie")!=-1 && _10101111.indexOf("opera")==-1)  { document.getElementById(divID).innerHTML = "<div nowrap='nowrap' style='width:100%;'><span style='' id='"+_10110000+"' width='100%'></span></div>"; }  document.getElementById(divID).scrollLeft = 0; document.getElementById(_10110000).innerHTML = text; document.getElementById(divID).style.display="block";      _10101101 = new _10110001(divID, _10110000);     _10101101._10111010(2, _10101101._10110100); }  _10110001.prototype._10110010 = ""; _10110001.prototype._10110001DivID = ""; _10110001.prototype._10110100 = ""; function _10110001(_10110101, _10110000) {     this._10110010 = _10110101;     this._10110001DivID = _10110000;        this._10110100 = new Date().toString();  }  _10110001.prototype._10110110 = true;  function pause_10110001() { _10101101._10110110 = false; }  function resume_10110001() { _10101101._10110110 = false; }  function toggle_10110001() { if(_10101101._10110110) _10101101._10110110 = false; else _10101101._10110110 = true; }  _10110001.prototype._10111010 = _10111010;  function _10111010(_10111011, _10111100) {         var _10111101 = 25;     var div = document.getElementById(this._10110010);  if(this._10110110 && _10111100 == this._10110100)  {     div.scrollLeft += (_10111011);                 if(div.scrollLeft >= div.scrollWidth - div.offsetWidth)          div.scrollLeft = 0;                     }     if(_10111100 == this._10110100)        {         window.setTimeout("_10101101._10111010("+_10111011+", '"+this._10110100+"')", _10111101);     } }  