function HiddenAllLayers () {
  document.getElementById('LxT1').style.visibility = 'hidden';
  document.getElementById('LxT1').style.zIndex = 0;
  document.getElementById('LxT2').style.visibility = 'hidden';
  document.getElementById('LxT2').style.zIndex = 0;
  document.getElementById('LxM1').style.visibility = 'hidden';
  document.getElementById('LxM1').style.zIndex = 0;
  document.getElementById('LxM1B1').style.visibility = 'hidden';
  document.getElementById('LxM1B1').style.zIndex = 0;
  document.getElementById('LxM1B2').style.visibility = 'hidden';
  document.getElementById('LxM1B2').style.zIndex = 0;
  document.getElementById('LxM1B3').style.visibility = 'hidden';
  document.getElementById('LxM1B3').style.zIndex = 0;
  document.getElementById('LxM1B4').style.visibility = 'hidden';
  document.getElementById('LxM1B4').style.zIndex = 0;
  document.getElementById('LxM1B5').style.visibility = 'hidden';
  document.getElementById('LxM1B5').style.zIndex = 0;
  document.getElementById('LxM1B6').style.visibility = 'hidden';
  document.getElementById('LxM1B6').style.zIndex = 0;
  document.getElementById('LxM1B7').style.visibility = 'hidden';
  document.getElementById('LxM1B7').style.zIndex = 0;
  document.getElementById('LxM2').style.visibility = 'hidden';
  document.getElementById('LxM2').style.zIndex = 0;
  document.getElementById('LxM2B1').style.visibility = 'hidden';
  document.getElementById('LxM2B1').style.zIndex = 0;
  document.getElementById('LxM2B2').style.visibility = 'hidden';
  document.getElementById('LxM2B2').style.zIndex = 0;
  document.getElementById('LxM2B3').style.visibility = 'hidden';
  document.getElementById('LxM2B3').style.zIndex = 0;
}
function ShowLayer () {
  HiddenAllLayers();
  for (var i = 0; i < ShowLayer.arguments.length; ++i) {
    document.getElementById('Lx'+ ShowLayer.arguments[i]).style.visibility = 'visible';
    document.getElementById('Lx'+ ShowLayer.arguments[i]).style.zIndex = 1;
  }
}
var V1xL109O226 = 'L109O226E588';
var V2xL109O226 = 'SKIN/1/'+ Language +'/PICS/login32.png';
function F1xL109O226 (Id1, Id2, Id3) {
  document.getElementById(V1xL109O226).src=V2xL109O226;
  V1xL109O226 = Id1;
  V2xL109O226 = 'SKIN/1/'+ Language +'/'+ Id2;
  document.getElementById(Id1).src = 'SKIN/1/'+ Language +'/'+ Id3;
}
function F2xL109O226 (Id1, Id2) {
  if (V1xL109O226 != Id1) {
    document.getElementById(Id1).src = 'SKIN/1/'+ Language +'/'+ Id2;
  }
}
function getFocus(n)
{
}
function checkPassword (checkXML) {
  var goto = checkXML.getElementsByTagName("goto")[0];
  var module = goto.getAttribute("module");
  switch (module) {
    case "main":
      window.location.href = "https://www.kasse24.com/a17.php?p1="+goto.getAttribute("a1")+"&p2="+goto.getAttribute("a2")+"&p3="+goto.getAttribute("a3")+"&p4="+goto.getAttribute("a4");
      break;
    case "error":
      var errMsg = (goto.getElementsByTagName("error")[0].firstChild == null) ? "?" : goto.getElementsByTagName("error")[0].firstChild.nodeValue;
      var errURL = (goto.getElementsByTagName("url")[0].firstChild == null)   ? "?" : goto.getElementsByTagName("url")[0].firstChild.nodeValue;
      var errFile =(goto.getElementsByTagName("file")[0].firstChild == null)  ? "?" : goto.getElementsByTagName("file")[0].firstChild.nodeValue;
      var errLine =(goto.getElementsByTagName("line")[0].firstChild == null)  ? "?" : goto.getElementsByTagName("line")[0].firstChild.nodeValue;
      window.location.href = "error.php?p1="+ errURL +"&p2="+ errFile +"&p3="+ errLine +"&p4="+ errMsg
      break;
    default:
      clearLogonPassword ();
      break;
  }
  if (LoadingImage != null) {
    document.getElementById(LoadingImage).src = LoadingSrc;
  }
  if (LoadingButton != null) {
    document.getElementById(LoadingButton).disabled = false;
  }
}
function getLogonEnterprise () {
  return document.FxL109O227.IxL109O227E585.value;
}
function clearLogonEnterprise () {
  document.FxL109O227.IxL109O227E585.value = "";
}
function getLogonUser () {
  return document.FxL109O228.IxL109O228E586.value;
}
function clearLogonUser () {
  document.FxL109O228.IxL109O228E586.value = "";
}
function getLogonPassword () {
  return document.FxL109O229.IxL109O229E587.value;
}
function clearLogonPassword () {
  document.FxL109O229.IxL109O229E587.value = "";
}
var V1xL110O215 = 'BxL110O215E574';
var V2xL110O215 = 'PICS/1.png';
var V3xL110O215 = 'L110O215E574';
var V4xL110O215 = '';
function F1xL110O215 (Id1, Id2, Id3, Id4, Id5) {
  document.getElementById(V1xL110O215).src = V2xL110O215;
  document.getElementById(V3xL110O215).style.backgroundColor = V4xL110O215;
  V1xL110O215 = Id1;
  V2xL110O215 = Id2;
  V3xL110O215 = Id4;
  document.getElementById(Id1).src = Id3;
  document.getElementById(Id4).style.backgroundColor = Id5;
}
function F2xL110O215 (Id1, Id2) {
  if (V1xL110O215 != Id1) {
    document.getElementById(Id1).src = Id2;
  }
}
var V1xL117O220 = 'BxL117O220E579';
var V2xL117O220 = 'PICS/1.png';
var V3xL117O220 = 'L117O220E579';
var V4xL117O220 = '';
function F1xL117O220 (Id1, Id2, Id3, Id4, Id5) {
  document.getElementById(V1xL117O220).src = V2xL117O220;
  document.getElementById(V3xL117O220).style.backgroundColor = V4xL117O220;
  V1xL117O220 = Id1;
  V2xL117O220 = Id2;
  V3xL117O220 = Id4;
  document.getElementById(Id1).src = Id3;
  document.getElementById(Id4).style.backgroundColor = Id5;
}
function F2xL117O220 (Id1, Id2) {
  if (V1xL117O220 != Id1) {
    document.getElementById(Id1).src = Id2;
  }
}
var V1xL108O214 = 'BxL108O214E573';
var V2xL108O214 = 'PICS/home32.png';
var V3xL108O214 = 'L108O214E573';
var V4xL108O214 = '';
function F1xL108O214 (Id1, Id2, Id3, Id4, Id5) {
  document.getElementById(V1xL108O214).src = V2xL108O214;
  document.getElementById(V3xL108O214).style.backgroundColor = V4xL108O214;
  V1xL108O214 = Id1;
  V2xL108O214 = Id2;
  V3xL108O214 = Id4;
  document.getElementById(Id1).src = Id3;
  document.getElementById(Id4).style.backgroundColor = Id5;
}
function F2xL108O214 (Id1, Id2) {
  if (V1xL108O214 != Id1) {
    document.getElementById(Id1).src = Id2;
  }
}

