// JScript source code
var tmp1isthereicon = 0;
var tmp1istheremoicon = 0;
var tmp1istherearrow = 0;
var tmp1istheremoarrow = 0;
tmp1ver_hor = 1;
var tmp1pgi_co = 8;
var tmp1zminx = 120;
var tmp1preimg1;
var tmp1preimg2;
var tmp1preimg3;
var tmp1preimg4;

function tmp1mimgpre() {}
uagent = window.navigator.userAgent.toLowerCase();
IEB = (uagent.indexOf('msie') != -1) ? true : false;
OPB = (uagent.indexOf('opera') != -1) ? true : false;
CRB = (uagent.indexOf('chrome') != -1) ? true : false;
SFB = (uagent.indexOf('safari') != -1) ? true : false;
IES = false;
var FFB = false;
if ((IEB == false) && (OPB == false) && (SFB == false)) {
  FFB = true;
}
var scompat = document.compatMode;
if (scompat != "BackCompat") {
  IES = true;
} else {
  IES = false;
}
var i = 0;
imgpx = 0;
imgpy = 0;
var lll = null;
var tmp1timepop = null;
var tmp1timepop2 = null;
var tmpobj = null;
var tmpobj2 = null;
var tmpobj3 = null;
var tmpobj4 = null;
var tmpobj5 = null;
var tmpobj6 = null;
var tmp1MFN = "";
var tmp1effvarmiki = 0;
var tmp1TheLastItem = null;
var llllll = 0;
var lllllll = 0;
var llllllll = 0;
var lllllllll = 0;
var llllllllll = 0;
var lllllllllll = 0;
var tmp1tgsdurum = 1;
var HeaderHeight = 0;
var HeaderWidth = 0;
var FooterHeight = 0;
var FooterWidth = 0;

function HideObjs(tagname) {
  var tg = document.getElementsByTagName(tagname);
  for (i = 0; i < tg.length; i++) {
    tg[i].style.visibility = "hidden";
  }
}

function ShowObjs(tagname) {
  var tg = document.getElementsByTagName(tagname);
  for (i = 0; i < tg.length; i++) {
    tg[i].style.visibility = "visible";
  }
}

function tmp1CreateHorMenu() {
  arrtxt = "";
  llllllll = 0;
  lllllllllll = 0;
  lll = document.getElementById('tmp1sfmenu');
  if (!lll) {
    setTimeout('tmp1CreateHorMenu()', 50);
    return;
  }
  lll.sagbak = 1;
  if (tmp1ver_hor == 1) {
    if ((IEB == true) && (IES == false)) {
      lll.style.height = "" + 24 + "px";
    } else {
      lll.style.height = "" + (24 - 0 - 0) + "px";
    }
  }
  lll.style.top = "0px";
  lll.style.left = "0px";
  lll.mainmi = 1;
  if (0 != 1) {
    lll.style.backgroundColor = "#E7E7E7";
  }
  lll.style.borderLeftWidth = "" + 0 + "px";
  lll.style.borderTopWidth = "" + 0 + "px";
  lll.style.borderRightWidth = "" + 0 + "px";
  lll.style.borderBottomWidth = "" + 0 + "px";
  lll.style.borderStyle = "solid";
  lll.style.borderColor = "#808080";
  if (0 == 1) {
    lll.style.backgroundImage = MainBlockBgTileImage;
    lll.style.backgroundRepeat = MainBlockBgTileRepeat;
    lll.style.backgroundPosition = "" + MainBlockBgTilePositionY + "px " + MainBlockBgTilePositionX + "px";
  }
  lll.ChildCount = tmp1hma_in0.length;
  lll.artx = "";
  if (tmp1ver_hor == 1) {
    llllllllll = 0;
    lllllllllll = 0;
  } else {
    llllllllll = 0;
    lllllllllll = 0;
  }
  lllllll = 24 - 0 - 0 - 0 - 0;
  if ((IEB == true) && (IES == false)) {} else {
    lllllll = lllllll - 4 - 0 - 0;
  }
  if (tmp1ver_hor == 1) {
    HeaderHeight = 24 - 0 - 0;
    FooterHeight = HeaderHeight;
  } else {
    HeaderWidth = 180 - 0 - 0;
    FooterWidth = HeaderWidth;
  }
  if (0 == 1) {
    ll = lll.appendChild(document.createElement("DIV"));
    ll.style.position = "absolute";
    ll.style.visibility = "inherit";
    ll.style.overflow = "hidden";
    ll.style.cursor = 'default';
    if (tmp1ver_hor == 1) {
      ll.style.top = "" + 0 + "px";
      ll.style.left = "" + 0 + "px";
      ll.style.width = "auto";
      ll.style.height = "" + HeaderHeight + "px";
    } else {
      ll.style.top = "" + 0 + "px";
      ll.style.left = "" + 0 + "px";
      ll.style.width = "" + HeaderWidth + "px";
      ll.style.height = "auto";
    }
    lllll = ll.appendChild(document.createElement("IMG"));
    lllll.style.position = "relative";
    lllll.style.zIndex = 0;
    lllll.style.visibility = "inherit";
    lllll.src = tmp1MFN + "";
    lllll.style.top = "0px";
    lllll.style.left = "0px";
    ll.onmouseover = tmp1headerover;
  }
  if (0 == 1) {
    ll = lll.appendChild(document.createElement("DIV"));
    ll.style.position = "absolute";
    ll.style.visibility = "inherit";
    ll.style.overflow = "hidden";
    ll.style.cursor = 'default';
    if (tmp1ver_hor == 1) {
      ll.style.top = "" + 0 + "px";
      ll.style.left = "" + 0 + "px";
      ll.style.width = "auto";
      ll.style.height = "" + FooterHeight + "px";
    } else {
      ll.style.top = "" + 0 + "px";
      ll.style.left = "" + 0 + "px";
      ll.style.width = "" + FooterWidth + "px";
      ll.style.height = "auto";
    }
    lllll = ll.appendChild(document.createElement("IMG"));
    lllll.style.position = "relative";
    lllll.style.zIndex = 0;
    lllll.style.visibility = "inherit";
    lllll.src = tmp1MFN + "";
    lllll.style.top = "0px";
    lllll.style.left = "0px";
    ll.onmouseover = tmp1headerover;
  }
  eval("tmp1ma_rr" + arrtxt + "obj=lll");
  lll.onmouseover = tmp1mblockover;
  lll.onmouseout = tmp1mblockout;
  lll.tmp1hideobjchilds = tmp1hideobjchildsfunc;
  for (i = 0; i < (tmp1hma_in0.length); i++) {
    if (tmp1ver_hor == 1) {
      if ((IEB == true) && (IES == false)) {
        llllll = parseInt(tmp1hma_in0[i][4]);
      } else {
        llllll = parseInt(tmp1hma_in0[i][4]) - 0 - 0 - 4 - 4;
      }
    } else {
      if ((IEB == true) && (IES == false)) {
        llllll = 180 - 0 - 0 - 0 - 0;
      } else {
        llllll = 180 - 0 - 0 - 0 - 0 - 4 - 4 - 0 - 0;
      }
    }
    ll = lll.appendChild(document.createElement("DIV"));
    ll.id = "tmp1pgiid" + i;
    ll.style.position = "absolute";
    ll.style.visibility = "inherit";
    if (0 != 1) {
      ll.style.backgroundColor = "#E7E7E7";
    }
    ll.style.overflow = "hidden";
    ll.innerHTML = "<span style=\"position:relative; z-index:2; \">" + tmp1hma_in0[i][0] + "</span>";
    ll.style.color = "#000000";
    ll.style.fontFamily = "Arial";
    ll.style.fontSize = "12px";
    ll.style.fontStyle = "normal";
    ll.style.fontWeight = "bold";
    ll.style.textAlign = "center";
    ll.style.textDecoration = "none";
    ll.style.paddingTop = "" + 4 + "px";
    ll.style.paddingLeft = "" + 4 + "px";
    ll.style.paddingRight = "" + 4 + "px";
    if (tmp1ver_hor == 0) {
      ll.style.paddingBottom = "" + 4 + "px";
    }
    ll.style.borderLeftWidth = "" + 0 + "px";
    ll.style.borderTopWidth = "" + 0 + "px";
    ll.style.borderRightWidth = "" + 0 + "px";
    ll.style.borderBottomWidth = "" + 0 + "px";
    ll.style.borderStyle = "solid";
    ll.style.borderColor = "#636363";
    if (tmp1hma_in0[i][1].length < 3) {
      ll.style.cursor = 'default';
    } else {
      ll.style.cursor = 'pointer';
    }
    ll.sinex = i;
    ll.hassub = parseInt("" + tmp1hma_in0[i][9]);
    ll.hastext = "_" + i;
    ll.artx = "";
    eval("tmp1submi" + arrtxt + "_" + i + "obj=ll");
    ll.style.top = "" + lllllllllll + "px";
    ll.style.left = "" + llllllllll + "px";
    ll.style.width = "" + llllll + "px";
    if (tmp1ver_hor == 1) {
      ll.style.height = "" + lllllll + "px";
    }
    if (0 == 1) {
      ll.style.backgroundImage = MainItemBgTileImage;
      ll.style.backgroundRepeat = MainItemBgTileRepeat;
      ll.style.backgroundPosition = "" + MainItemBgTilePositionY + "px " + MainItemBgTilePositionX + "px";
    }
    ll.imgvar = 0;
    if (tmp1hma_in0[i][5].length > 3) {
      lllll = ll.appendChild(document.createElement("IMG"));
      lllll.id = "tmp1bir" + i;
      lllll.style.position = "absolute";
      lllll.style.zIndex = 1;
      lllll.style.visibility = "inherit";
      lllll.src = tmp1MFN + tmp1hma_in0[i][5];
      lllll.style.top = "" + tmp1hma_in0[i][8] + "px";
      lllll.style.left = "" + tmp1hma_in0[i][7] + "px";
      ll.imgvar = 1;
    }
    ll.linktx = tmp1hma_in0[i][1];
    ll.targtx = tmp1hma_in0[i][2];
    ll2 = lll.appendChild(document.createElement("DIV"));
    ll2.id = "tmp1pgiidR" + i;
    ll2.style.position = "absolute";
    ll2.style.visibility = "hidden";
    if (0 != 1) {
      ll2.style.backgroundColor = "#AAAAAA";
    }
    ll2.style.overflow = "hidden";
    ll2.innerHTML = "<span style=\"position:relative; z-index:2; \">" + tmp1hma_in0[i][0] + "</span>";
    ll2.style.color = "#030303";
    ll2.style.fontFamily = "Arial";
    ll2.style.fontSize = "12px";
    ll2.style.fontStyle = "normal";
    ll2.style.fontWeight = "bold";
    ll2.style.textAlign = "center";
    ll2.style.textDecoration = "none";
    ll2.style.paddingTop = "" + 4 + "px";
    ll2.style.paddingLeft = "" + 4 + "px";
    ll2.style.paddingRight = "" + 4 + "px";
    if (tmp1ver_hor == 0) {
      ll2.style.paddingBottom = "" + 4 + "px";
    }
    ll2.style.borderLeftWidth = "" + 0 + "px";
    ll2.style.borderTopWidth = "" + 0 + "px";
    ll2.style.borderRightWidth = "" + 0 + "px";
    ll2.style.borderBottomWidth = "" + 0 + "px";
    ll2.style.borderStyle = "solid";
    ll2.style.borderColor = "#636363";
    if (tmp1hma_in0[i][1].length < 3) {
      ll2.style.cursor = 'default';
    } else {
      ll2.style.cursor = 'pointer';
    }
    ll2.sinex = i;
    ll2.hassub = parseInt("" + tmp1hma_in0[i][9]);
    ll2.hastext = "_" + i;
    ll2.artx = "";
    eval("tmp1submiH" + arrtxt + "_" + i + "obj=ll2");
    ll2.style.top = "" + lllllllllll + "px";
    ll2.style.left = "" + llllllllll + "px";
    ll2.style.width = "" + llllll + "px";
    if (tmp1ver_hor == 1) {
      ll2.style.height = "" + lllllll + "px";
    }
    if (0 == 1) {
      ll2.style.backgroundImage = MainItemMOBgTileImage;
      ll2.style.backgroundRepeat = MainItemMOBgTileRepeat;
      ll2.style.backgroundPosition = "" + MainItemMOBgTilePositionY + "px " + MainItemMOBgTilePositionX + "px";
    }
    ll2.imgvar = 0;
    if (tmp1hma_in0[i][5].length > 3) {
      lllll = ll2.appendChild(document.createElement("IMG"));
      lllll.id = "tmp1birR" + i;
      lllll.style.position = "absolute";
      lllll.style.zIndex = 1;
      lllll.style.visibility = "inherit";
      lllll.src = tmp1MFN + tmp1hma_in0[i][6];
      lllll.style.top = "" + tmp1hma_in0[i][8] + "px";
      lllll.style.left = "" + tmp1hma_in0[i][7] + "px";
      ll2.imgvar = 1;
    }
    ll2.linktx = tmp1hma_in0[i][1];
    ll2.targtx = tmp1hma_in0[i][2];
    if (tmp1ver_hor == 1) {
      llllllllll = llllllllll + parseInt(tmp1hma_in0[i][4]) + 0;
    } else {
      prevh = ll.offsetHeight;
      lllllllllll = lllllllllll + prevh + 0;
    }
    ll.onmouseover = tmp1ItemOver;
    ll2.onmouseover = tmp1Item2Over;
    ll2.onclick = tmp1itemclick;
  }
  if (tmp1ver_hor == 1) {
    if ((IEB == true) && (IES == false)) {
      llllllll = llllllllll - 0 + 0 + 0 + 0;
    } else {
      llllllll = llllllllll - 0 + 0;
    }
  } else {
    if ((IEB == true) && (IES == false)) {
      llllllll = 180;
    } else {
      llllllll = 180 - 0 - 0;
    }
    if ((IEB == true) && (IES == false)) {
      lllllllll = lllllllllll - 0 + 0 + 0 + 0;
    } else {
      lllllllll = lllllllllll - 0 + 0;
    }
    lll.style.height = "" + lllllllll + "px";
  }
  lll.style.width = "" + llllllll + "px";
}

function tmp1CreateSubMenu(arrobj, arrtxt) {
  llll = document.createElement("DIV");
  0
  llll.style.position = "absolute";
  llll.style.visibility = "hidden";
  tmp1tutwi = eval("tmp1ma_rr" + arrtxt + "objw");
  if ((IEB == true) && (IES == false)) {
    llll.style.width = "" + tmp1tutwi + "px";
  } else {
    llll.style.width = "" + (parseInt(tmp1tutwi) - 1 - 1) + "px";
  }
  llll.Iwidth = tmp1tutwi;
  llll.sagbak = 1;
  llll.mainmi = 0;
  llll.style.zIndex = (tmp1zminx++);
  if (0 != 1) {
    llll.style.backgroundColor = "#282828";
  }
  llll.style.left = "" + imgpx + "px";
  llll.style.padding = 0;
  llll.style.borderStyle = "solid";
  llll.style.borderWidth = "1px	1px	1px	1px";
  llll.style.borderColor = "#FFFFFF";
  if (IEB == true) {
    llll.style.filter = "";
  } else {
    llll.style.opacity = 1.00;
  }
  llll.innerHTML = "";
  if (0 == 1) {
    llll.style.backgroundImage = SubBlockBgTileImage;
    llll.style.backgroundRepeat = SubBlockBgTileRepeat;
    llll.style.backgroundPosition = "" + SubBlockBgTilePositionY + "px " + SubBlockBgTilePositionX + "px";
  }
  llll.onmouseover = tmp1mblockover;
  llll.onmouseout = tmp1mblockout;
  llll.tmp1hideobjchilds = tmp1hideobjchildsfunc;
  document.body.appendChild(llll);
  llll.artx = "" + arrtxt;
  llll.ChildCount = arrobj.length;
  eval("tmp1ma_rr" + arrtxt + "obj=llll");
  prevh = 0;
  addh = 1;
  subbh = 0;
  for (i = 0; i < arrobj.length; i++) {
    arrowposx = tmp1tutwi - parseInt(1) - parseInt(1) - 1 - 1 - (12) - 1 - 1;
    ticont = "<span	style=\"position:relative; -index:2; \">" + arrobj[i][0] + "</span>";
    ll = llll.appendChild(document.createElement("DIV"));
    ll.id = "tmp1pgiid" + arrtxt + "_" + i;
    ll.style.position = "absolute";
    ll.style.visibility = "inherit";
    if ((IEB == true) && (IES == false)) {
      llllll = (tmp1tutwi - parseInt(1) - parseInt(1) - 1 - 1);
    } else {
      llllll = (tmp1tutwi - 1 - parseInt(1) - 1 - 1 - 18 - 2 - parseInt(1) - parseInt(1));
    }
    ll.style.width = "" + llllll + "px";
    ll.style.left = "" + 1 + "px";
    ll.style.top = "" + addh + "px";
    if (0 != 1) {
      ll.style.backgroundColor = "#D6D6D6";
    }
    ll.style.color = "#000000";
    ll.style.fontFamily = "Arial";
    ll.style.fontSize = "11px";
    ll.style.fontStyle = "normal";
    ll.style.fontWeight = "normal";
    ll.style.textAlign = "left";
    ll.style.textDecoration = "none";
    ll.style.padding = "" + 4 + "px	" + 2 + "px	" + 4 + "px	" + 18 + "px";
    ll.style.borderStyle = "solid";
    ll.style.borderWidth = "1px	1px	1px	1px";
    ll.style.borderColor = "#C5C5C5";
    if (arrobj[i][1].length < 3) {
      ll.style.cursor = 'default';
    } else {
      ll.style.cursor = 'pointer';
    }
    ll.hassub = arrobj[i][3];
    ll.artx = "" + arrtxt;
    ll.sinex = i;
    ll.hastext = "" + arrtxt + "_" + i;
    eval("tmp1submi" + arrtxt + "_" + i + "obj=ll");
    ll.linktx = arrobj[i][1];
    ll.targtx = arrobj[i][2];
    ll.innerHTML = ticont;
    if (0 == 1) {
      ll.style.backgroundImage = SubItemBgTileImage;
      ll.style.backgroundRepeat = SubItemBgTileRepeat;
      ll.style.backgroundPosition = "" + SubItemBgTilePositionY + "px	" + SubItemBgTilePositionX + "px";
    }
    if (tmp1isthereicon == 1) {
      lllll = ll.appendChild(document.createElement("IMG"));
      lllll.style.position = "absolute";
      lllll.style.zIndex = 1;
      lllll.style.visibility = "inherit";
      lllll.src = tmp1MFN + "sequire6.gif";
      lllll.style.top = "" + 7 + "px";
      lllll.style.left = "" + 3 + "px";
    }
    if (arrobj[i][3] == 1) {
      if (tmp1istherearrow == 1) {
        lllll3 = ll.appendChild(document.createElement("IMG"));
        lllll3.style.position = "absolute";
        lllll3.style.zIndex = 3;
        lllll3.style.visibility = "inherit";
        lllll3.src = tmp1MFN + "arrow_black1.gif";
        lllll3.style.top = "" + 7 + "px";
        lllll3.style.left = "" + arrowposx + "px";
      }
    }
    ll2 = llll.appendChild(document.createElement("DIV"));
    ll2.id = "tmp1pgiidR" + arrtxt + "_" + i;
    ll2.style.position = "absolute";
    ll2.style.visibility = "hidden";
    ll2.style.width = "" + llllll + "px";
    ll2.style.left = "" + 1 + "px";
    ll2.style.top = "" + addh + "px";
    if (0 != 1) {
      ll2.style.backgroundColor = "#4A4A4A";
    }
    ll2.style.color = "#E1E1E1";
    ll2.style.fontFamily = "Arial";
    ll2.style.fontSize = "11px";
    ll2.style.fontStyle = "normal";
    ll2.style.fontWeight = "normal";
    ll2.style.textAlign = "left";
    ll2.style.textDecoration = "none";
    ll2.style.padding = "" + 4 + "px " + 2 + "px " + 4 + "px " + 18 + "px";
    ll2.style.borderStyle = "solid";
    ll2.style.borderWidth = "1px 1px 1px 1px";
    ll2.style.borderColor = "#C5C5C5";
    if (arrobj[i][1].length < 3) {
      ll2.style.cursor = 'default';
    } else {
      ll2.style.cursor = 'pointer';
    }
    ll2.hassub = arrobj[i][3];
    ll2.artx = "" + arrtxt;
    ll2.sinex = i;
    ll2.hastext = "" + arrtxt + "_" + i;
    eval("tmp1submiH" + arrtxt + "_" + i + "obj=ll2");
    ll2.linktx = arrobj[i][1];
    ll2.targtx = arrobj[i][2];
    ll2.innerHTML = ticont;
    if (0 == 1) {
      ll2.style.backgroundImage = SubItemMOBgTileImage;
      ll2.style.backgroundRepeat = SubItemMOBgTileRepeat;
      ll2.style.backgroundPosition = "" + SubItemMOBgTilePositionY + "px " + SubItemMOBgTilePositionX + "px";
    }
    if (tmp1istheremoicon == 1) {
      lllll2 = ll2.appendChild(document.createElement("IMG"));
      lllll2.style.position = "absolute";
      lllll2.style.zIndex = 1;
      lllll2.style.visibility = "inherit";
      lllll2.src = tmp1MFN + "sequire2.gif";
      lllll2.style.top = "" + 7 + "px";
      lllll2.style.left = "" + 3 + "px";
    }
    if (arrobj[i][3] == 1) {
      if (tmp1istheremoarrow == 1) {
        lllll4 = ll2.appendChild(document.createElement("IMG"));
        lllll4.style.position = "absolute";
        lllll4.style.zIndex = 3;
        lllll4.style.visibility = "inherit";
        lllll4.src = tmp1MFN + "arrow_y2.gif";
        lllll4.style.top = "" + 7 + "px";
        lllll4.style.left = "" + arrowposx + "px";
      }
    }
    prevh = ll.offsetHeight;
    ll.onmouseover = tmp1ItemOver;
    ll2.onmouseover = tmp1Item2Over;
    ll2.onclick = tmp1itemclick;
    if (i == (arrobj.length - 1)) {
      addh = addh + prevh;
    } else {
      addh = addh + prevh + 1;
    }
  }
  if ((IEB == true) && (IES == false)) {
    llll.style.height = "" + (addh + 1 + 1 + 1) + "px";
  } else {
    llll.style.height = "" + (addh + 1) + "px";
  }
  llll.skh = addh + 1 + 1 + 1;
}

function getx(o) {
  var n = 0;
  var parent;
  n = parseInt(o.offsetLeft);
  while (o.offsetParent != null) {
    parent = o.offsetParent;
    n = n + parent.offsetLeft;
    if ((IEB != true) || ((IEB == true) && (IES == true))) {
      if (!isNaN(parent.clientLeft)) {
        n = n + parseInt(parent.clientLeft);
      }
    }
    o = parent;
  }
  return n;
}

function gety(o) {
  var n = 0;
  var parent;
  n = parseInt(o.offsetTop);
  while (o.offsetParent != null) {
    parent = o.offsetParent;
    n = n + parent.offsetTop;
    if ((IEB != true) || ((IEB == true) && (IES == true))) {
      if (!isNaN(parent.clientTop)) {
        n = n + parseInt(parent.clientTop);
      }
    }
    o = parent;
  }
  return n;
}

function tmp1hideobjchildsfunc() {
  this.d1 = 0;
  this.d2 = 0;
  for (this.d1 = 0; this.d1 < this.ChildCount; this.d1++) {
    tmpobj2 = eval("tmp1submi" + this.artx + "_" + this.d1 + "obj");
    if (tmpobj2.hassub == 1) {
      tmpobj3 = eval("tmp1ma_rr" + tmpobj2.hastext + "obj");
      if (tmpobj3) {
        if (tmpobj3.style.visibility != "hidden") {
          tmpobj2.style.visibility = "inherit";
          tmpobj4 = eval("tmp1submiH" + this.artx + "_" + this.d1 + "obj");
          tmpobj4.style.visibility = "hidden";
          tmpobj3.style.visibility = "hidden";
          for (this.d2 = 0; this.d2 < tmpobj3.ChildCount; this.d2++) {
            tmpobj6 = eval("tmp1submi" + tmpobj3.artx + "_" + this.d2 + "obj");
            tmpobj6.style.visibility = "inherit";
            tmpobj6 = eval("tmp1submiH" + tmpobj3.artx + "_" + this.d2 + "obj");
            tmpobj6.style.visibility = "hidden";
          }
          tmpobj3.tmp1hideobjchilds();
        }
      }
    }
  }
}

function tmp1Item2Over(e) {
  subvarmi = parseInt("" + this.hassub);
  if (subvarmi == 1) {
    tmpobj5 = eval("tmp1ma_rr" + this.hastext + "obj");
    if (tmpobj5) {
      tmpobj5.tmp1hideobjchilds();
    }
  }
}

function tmp1ItemOver(e) {
  tmp1TheLastItem = this;
  tmpobj = null;
  this.parentNode.tmp1hideobjchilds();
  j = 0;
  for (j = 0; j < this.parentNode.ChildCount; j++) {
    if (this.sinex != j) {
      gobj = eval("tmp1submi" + this.artx + "_" + j + "obj");
      gobj.style.visibility = "inherit";
      gobj2 = eval("tmp1submiH" + this.artx + "_" + j + "obj");

      gobj2.style.visibility = "hidden";
    }
  }
  llllllllllll = eval("tmp1submiH" + this.hastext + "obj");
  llllllllllll.style.visibility = "inherit";
  this.style.visibility = "hidden";
  subvarmi = parseInt("" + this.hassub);
  if (subvarmi == 1) {
    tmpobj = eval("tmp1ma_rr" + this.hastext + "obj");
    if (!tmpobj) {
      tmp1CreateSubMenu(eval("tmp1ma_rr" + this.hastext + ""), "" + this.hastext);
    }
  }
  if (subvarmi == 1) {
    tmpobj = eval("tmp1ma_rr" + this.hastext + "obj");
    var xpos = 0;
    var ypos = 0;
    var lllllllllllll = 0;
    if (this.parentNode.mainmi == 1) {
      if (IEB == true) {
        var obj = event.srcElement;
        xpos = parseInt(event.clientX) - parseInt(event.x) + parseInt(document.body.scrollLeft) - parseInt(document.body.clientLeft);
      } else {
        xpos = getx(this.offsetParent) - (document.body.offsetLeft) - (document.body.offsetLeft);
      }
      lllllllllllll = xpos;
    } else {
      lllllllllllll = parseInt(this.parentNode.style.left);
    }
    var llllllllllllllllll = 0;
    if (this.parentNode.mainmi == 1) {
      if (IEB == true) {
        var obj = event.srcElement;
        ypos = parseInt(event.clientY) - parseInt(event.y) + parseInt(document.body.scrollTop) - parseInt(document.body.clientTop);
      } else {
        ypos = gety(this.offsetParent) - (document.body.offsetTop) - (document.body.offsetTop);
      }
      llllllllllllllllll = ypos;
    } else {
      llllllllllllllllll = parseInt(this.parentNode.style.top);
    }
    var g3 = parseInt(this.parentNode.style.top);
    var g8 = parseInt(this.parentNode.offsetTop);
    var llllllllllllll = parseInt(this.parentNode.offsetWidth);
    var lllllllllllllllllllll = parseInt(this.parentNode.offsetHeight);
    var lllllllllllllll = parseInt(this.style.top);
    var lllllllllllllllllll = parseInt(this.style.left);
    var llllllllllllllll = 0;
    if (this.parentNode.mainmi == 1) {
      ypos = gety(this.offsetParent);
      if (tmp1ver_hor == 0) {
        llllllllllllllll = ypos + lllllllllllllll;
      } else {
        llllllllllllllll = ypos + parseInt(this.parentNode.style.height);
      }
    } else {
      llllllllllllllll = parseInt(this.style.top);
    }
    var lllllllllllllllll = parseInt(tmpobj.style.width);
    var llllllllllllllllllll = parseInt(tmpobj.offsetWidth);
    var g1 = parseInt(document.body.scrollTop);
    var g4 = parseInt(document.body.clientWidth);
    var g5 = parseInt(document.body.clientHeight);
    var g6 = parseInt(document.body.scrollLeft);
    tmpobj.style.overflow = "hidden";
    var yd = this.parentNode.sagbak;
    if (this.parentNode.mainmi == 1) {
      if ((llllllllllllllllll - g1 + 0 + lllllllllllllll + parseInt(tmpobj.skh) + (1)) < g5) {
        if (tmp1ver_hor == 0) {
          tmpobj.style.top = "" + (llllllllllllllllll + 0 + lllllllllllllll + (1)) + "px";
        } else {
          tmpobj.style.top = "" + (llllllllllllllllll + lllllllllllllllllllll + (1)) + "px";
        }
      } else {
        if (parseInt(tmpobj.style.height) < (g5 - 4)) {
          tmpobj.style.top = "" + (g1 + g5 - parseInt(tmpobj.skh) - (1)) + "px";
        } else {
          tmpobj.style.height = "" + (g5 - 4) + "px";
          tmpobj.style.overflowX = "hidden";
          tmpobj.style.overflowY = "scroll";
          var sdeg = parseInt(tmpobj.Iwidth) - parseInt(tmpobj.clientWidth) - (parseInt(1) + parseInt(1));
          tmpobj.style.width = "" + (parseInt(tmpobj.Iwidth) + parseInt(sdeg)) + "px";
          tmpobj.style.top = (g1 + 2) + "px";
        }
      }
    } else {
      if ((g8 - g1 + lllllllllllllll + parseInt(tmpobj.skh) + (2)) < g5) {
        tmpobj.style.top = "" + (llllllllllllllllll + lllllllllllllll + 1 + (2)) + "px";
      } else {
        if (parseInt(tmpobj.style.height) < (g5 - 4)) {
          tmpobj.style.top = "" + (g1 + g5 - parseInt(tmpobj.skh) - (2)) + "px";
        } else {
          tmpobj.style.height = "" + (g5 - 4) + "px";
          tmpobj.style.overflowX = "hidden";
          tmpobj.style.overflowY = "scroll";
          var sdeg = parseInt(tmpobj.Iwidth) - parseInt(tmpobj.clientWidth) - (parseInt(1) + parseInt(1));
          tmpobj.style.width = "" + (parseInt(tmpobj.Iwidth) + parseInt(sdeg)) + "px";
          tmpobj.style.top = (g1 + 2) + "px";
        }
      }
    }
    if (this.parentNode.mainmi == 1) {
      if (tmp1ver_hor == 0) {
        if (yd == 1) {
          if ((lllllllllllllllll + lllllllllllll + llllllllllllll + (-1)) < (g4 + g6)) {
            tmpobj.sagbak = 1;
            tmpobj.style.left = "" + (lllllllllllll + llllllllllllll + (-1)) + "px";
          } else {
            tmpobj.sagbak = 0;
            tmpobj.style.left = "" + (lllllllllllll - lllllllllllllllll - (-1)) + "px";
          }
        } else {
          if ((lllllllllllll - lllllllllllllllll) > (g6 + 2)) {
            tmpobj.sagbak = 0;
            tmpobj.style.left = "" + (lllllllllllll - lllllllllllllllll - (-1)) + "px";
          } else {
            tmpobj.sagbak = 1;
            tmpobj.style.left = "" + (lllllllllllll + llllllllllllll + (-1)) + "px";
          }
        }
      } else {
        if (yd == 1) {
          if ((lllllllllllll - g6 + lllllllllllllllllll + llllllllllllllllllll + (-1)) < g4) {
            tmpobj.sagbak = 1;
            tmpobj.style.left = "" + (lllllllllllll + lllllllllllllllllll + 0 + (-1)) + "px";
          } else {
            tmpobj.sagbak = 0;
            tmpobj.style.left = "" + (g4 + g6 - llllllllllllllllllll) + "px";
          }
        } else {
          if ((lllllllllllll - lllllllllllllllll) > (g6 + 2)) {
            tmpobj.sagbak = 0;
            tmpobj.style.left = "" + (lllllllllllll - lllllllllllllllll - (-1)) + "px";
          } else {
            tmpobj.sagbak = 1;
            tmpobj.style.left = "" + (lllllllllllll + llllllllllllll + (-1)) + "px";
          }
        }
      }
    } else {
      if (yd == 1) {
        if ((lllllllllllllllll + lllllllllllll + llllllllllllll + (-4)) < (g4 + g6)) {
          tmpobj.sagbak = 1;
          tmpobj.style.left = "" + (lllllllllllll + llllllllllllll + (-4)) + "px";
        } else {
          tmpobj.sagbak = 0;
          tmpobj.style.left = "" + (lllllllllllll - lllllllllllllllll - (-4)) + "px";
        }
      } else {
        if ((lllllllllllll - lllllllllllllllll) > (g6 + 2)) {
          tmpobj.sagbak = 0;
          tmpobj.style.left = "" + (lllllllllllll - llllllllllllllllllll - (-4)) + "px";
        } else {
          tmpobj.sagbak = 1;
          tmpobj.style.left = "" + (lllllllllllll + llllllllllllll + (-4)) + "px";
        }
      }
    }
    tmpobj.tmp1hideobjchilds();
    if ((IEB == true) && (tmp1effvarmiki == 1)) {
      tmpobj.filters[0].apply();
    }
    tmpobj.style.visibility = "visible";
    if ((IEB == true) && (tmp1effvarmiki == 1)) {
      tmpobj.filters[0].play();
    }
  }
}

function tmp1hideblocks() {
  if (tmp1TheLastItem != null) {
    tmpobj2 = eval("tmp1submi" + tmp1TheLastItem.artx + "_" + tmp1TheLastItem.sinex + "obj");
    tmpobj2.style.visibility = "inherit";
    tmpobj2 = eval("tmp1submiH" + tmp1TheLastItem.artx + "_" + tmp1TheLastItem.sinex + "obj");
    tmpobj2.style.visibility = "hidden";
    lllTemp = document.getElementById('tmp1sfmenu');
    lllTemp.tmp1hideobjchilds();
  }
  if (tmp1tgsdurum == 0) {
    tmp1tgsdurum = 1;
  }
}

function tmp1ItemOut() {}

function tmp1itemclick() {
  if (this.linktx.length > 3) {
    tmp1headerover();
    if ((this.targtx.indexOf("_parent") > -1)) {
      eval("parent.window.location='" + this.linktx + "'");
    } else if ((this.targtx.indexOf("_top") > -1)) {
      eval("top.window.location='" + this.linktx + "'");
    } else {
      window.open('' + this.linktx, '' + this.targtx);
    }
  }
}

function tmp1mblockover() {
  clearTimeout(tmp1timepop);
  if (tmp1tgsdurum == 1) {
    tmp1tgsdurum = 0;
  }
}

function tmp1headerover() {
  clearTimeout(tmp1timepop);
  tmp1hideblocks();
}

function tmp1mblockout() {
  clearTimeout(tmp1timepop);
  tmp1timepop = setTimeout('tmp1hideblocks()', 1000);
}

function tmp1InitMenu() {
  tmp1MFN = MenuFolderName;
  document.write('<div id="tmp1sfmenu" style="position:relative; margin:0px; padding:0px; display:block; left:0px; top:0px;   overflow:hidden; zoom:1; "></div>');
  setTimeout('tmp1CreateHorMenu()', 50);
}
tmp1InitMenu();
