
var m1="";
var m2="";

function SetMenu(x) {
  if (m1 == "" && m2 == "") {
    eval(x).style.display = "";
    window.parent.txt.location = x + ".html";
    m1 = x; return; }
  if (m1 == x && m2 == "") {
    eval(x).style.display = "none";
    window.parent.txt.location = x + ".html";
    m1 = ""; return; }
  if (m1 != "" && m2 == "" && m1 != x && m1 != x.substring(0, x.length-2)) {
    eval(m1).style.display = "none";
    eval(x).style.display = "";
    window.parent.txt.location = x + ".html";
    m1 = x; return; }
  if (m1 != "" && m2 == "" && m1 == x.substring(0, x.length-2)) {
    eval(x).style.display = "";
    window.parent.txt.location = x + ".html";
    m2 = x; return; }
  if (m1 != "" && m2 == x && m1 == x.substring(0, x.length-2)) {
    eval(x).style.display = "none";
    window.parent.txt.location = x + ".html";
    m2 = ""; return; }
  if (m1 != "" && m2 != "" && m2 != x && m2.substring(0, m2.length-2) == x.substring(0, x.length-2)) {
    eval(m2).style.display = "none";
    eval(x).style.display = "";
    window.parent.txt.location = x + ".html";
    m2 = x; return; }
  if (m1 != "" && m2 != "" && m1 == x) {
    eval(m2).style.display = "none";
    eval(x).style.display = "none";
    window.parent.txt.location = x + ".html";
    m1 = ""; m2 = ""; return; }
  if (m1 != "" && m2 != "" && m1 != x && m1 != x.substring(0, x.length-2)) {
    eval(m2).style.display = "none";
    eval(m1).style.display = "none";
    eval(x).style.display = "";
    window.parent.txt.location = x + ".html";
    m1 = x; m2 = ""; return; }
}


function TopLoad() {
  if (window.top != window) {
    window.top.location = window.location; }
}

