// Solid Casting header
var ck = document.file.information.value;
var st = document.file.sort.value;
var nt = document.file.next.value;

// open window
function openn() {
        str="content_01.html";
        menuWin = window.open(str,'newwin_F','width=280,height=400,resizable=no,scrollbars=yes');
        menuWin.opener = self;
}
function opens() {
	str="content_02.html";
	menuWin = window.open(str,'newwin_F','width=280,height=400,resizable=no,scrollbars=yes');
	menuWin.opener = self;
}
function opene() {
        str="enter1.htm";
        menuWin = window.open(str,'enter1','width=300,height=300,resizable=no,scrollbars=no');
        menuWin.opener = self;
}

// left space
if (ck=="index" || ck=="*index" || ck=="*") {
  document.write("<a href='999.html'><img src='logo/b.gif' width='10' height='25' border='0'></a>");
} else {
  document.write("<img src='logo/b.gif' width='10' height='25'>");
}

// Information
if (ck=="index" || ck=="link" ||ck=="link2" || ck=="test") {
  document.write("<a href='00.html' onmouseout='img00.src = src00' onmouseover='img00.src = src00b'>");
  document.write("<img name='img00' src='logo/i1.gif' width='100' height='25' border='0'></a>");
} else {
  if (ck=="info" || ck=="*index" || ck=="*") {
    document.write("<img src='logo/i1a.gif' width='100' height='25' border='0'>");
  } else {
    if (ck!="" && ck!="info" && ck!="cata2" && ck!="cata3" && ck!="prof"
      && ck!="free" && ck!="photo" && ck!="link" && ck!="bgm_bar" && st=="c"||st=="English") {
      document.write("<a href='sc_00.html",ck,"' onmouseout='img00.src = src00' onmouseover='img00.src = src00b'>");
      document.write("<img name='img00' src='logo/i1.gif' width='100' height='25' border='0'></a>");
    } else {
      document.write("<a href='sc_00.html' onmouseout='img00.src = src00' onmouseover='img00.src = src00b'>");
      document.write("<img name='img00' src='logo/i1.gif' width='100' height='25' border='0'></a>");
    }
  }
}

// Catalog_1
if (ck=="index" ||ck=="link" ||ck=="link2" ||  ck=="test") {
  document.write("<a href='01.html' onmouseout='img01.src = src01' onmouseover='img01.src = src01b'>");
  document.write("<img name='img01' src='logo/c1.gif' width='100' height='25' border='0'></a>");
} else {
  if (ck=="cata1" || ck=="*index" || ck=="*") {
    document.write("<img src='logo/c1a.gif' width='100' height='25' border='0'>");
  } else {
    if (ck!="" && ck!="info" && ck!="cata2" && ck!="cata3" && ck!="prof"
      && ck!="free" && ck!="photo" && ck!="link" && ck!="bgm_bar" && st=="c1" || st=="c"||st=="English") {
      document.write("<a href='sc_01.html",ck,"' onmouseout='img01.src = src01' onmouseover='img01.src = src01b'>");
      document.write("<img name='img01' src='logo/c1.gif' width='100' height='25' border='0'></a>");
    } else {
      document.write("<a href='sc_01.html' onmouseout='img01.src = src01' onmouseover='img01.src = src01b'>");
      document.write("<img name='img01' src='logo/c1.gif' width='100' height='25' border='0'></a>");
    }
  }
}

// Catalog_2
if (ck=="index" || ck=="link" || ck=="link2" || ck=="test") {
  document.write("<a href='02.html' onmouseout='img02.src = src02' onmouseover='img02.src = src02b'>");
  document.write("<img name='img02' src='logo/c2.gif' width='100' height='25' border='0'></a>");
} else {
  if (ck=="cata2" || ck=="*index" || ck=="*") {
    document.write("<img src='logo/c2a.gif' width='100' height='25' border='0'>");
  } else {
    if (ck!="" && ck!="info" && ck!="cata1" && ck!="cata3" && ck!="prof"
      && ck!="free" && ck!="photo" && ck!="link" && ck!="bgm_bar" && st=="c2" || st=="c"||st=="English") {
      document.write("<a href='sc_02.html",ck,"' onmouseout='img02.src = src02' onmouseover='img02.src = src02b'>");
      document.write("<img name='img02' src='logo/c2.gif' width='100' height='25' border='0'></a>");
    } else {
      document.write("<a href='sc_02.html' onmouseout='img02.src = src02' onmouseover='img02.src = src02b'>");
      document.write("<img name='img02' src='logo/c2.gif' width='100' height='25' border='0'></a>");
    }
  }
}

// Catalog_3
if (ck=="index" || ck=="link" || ck=="link2" || ck=="test") {
  document.write("<a href='03.html' onmouseout='img03.src = src03' onmouseover='img03.src = src03b'>");
  document.write("<img name='img03' src='logo/c3.gif' width='100' height='25' border='0'></a>");
} else {
  if (ck=="cata3" || ck=="*index" || ck=="*") {
    document.write("<img src='logo/c3a.gif' width='100' height='25' border='0'>");
  } else {
    if (ck!="" && ck!="info" && ck!="cata1" && ck!="cata2" && ck!="prof"
      && ck!="free" && ck!="photo" && ck!="link" && ck!="bgm_bar" && st=="c3" || st=="c"||st=="English") {
      document.write("<a href='sc_03.html",ck,"' onmouseout='img03.src = src03' onmouseover='img03.src = src03b'>");
      document.write("<img name='img03' src='logo/c3.gif' width='100' height='25' border='0'></a>");
    } else {
      document.write("<a href='sc_03.html' onmouseout='img03.src = src03' onmouseover='img03.src = src03b'>");
      document.write("<img name='img03' src='logo/c3.gif' width='100' height='25' border='0'></a>");
    }
  }
}

// Event photographs
if (ck=="index" || ck=="link" || ck=="link2" || ck=="test") {
  document.write("<a href='04.html' onmouseout='img04.src = src04' onmouseover='img04.src = src04b'>");
  document.write("<img name='img04' src='logo/p1.gif' width='100' height='25' border='0'></a>");
} else {
  if (ck=="photo" || ck=="*index" || ck=="*") {
    document.write("<img src='logo/p1a.gif' width='100' height='25' border='0'>");
  } else {
    document.write("<a href='sc_04.html' onmouseout='img04.src = src04' onmouseover='img04.src = src04b'>");
    document.write("<img name='img04' src='logo/p1.gif' width='100' height='25' border='0'></a>");
  }
}

// Profile
if (ck=="index" || ck=="link" || ck=="link2" || ck=="test") {
    document.write("<a href='0m.html' onmouseout='img20.src = src20' onmouseover='img20.src = src20b'>");
    document.write("<img name='img20' src='logo/profile1.gif' width='60' height='25' border='0'></a>");
} else {
  if (ck=="bgm_bar") {
    document.write("");
  } else {
    if (ck=="prof" || ck=="*index" || ck=="*") {
      document.write("<img src='logo/profile1a.gif' width='60' height='25' border='0'>");
    } else {
      document.write("<a href='sc_map.html' onmouseout='img20.src = src20' onmouseover='img20.src = src20b'>");
      document.write("<img name='img20' src='logo/profile1.gif' width='60' height='25' border='0'></a>");
    }
  }
}

// Freetalk
if (ck=="index" || ck=="link" || ck=="link2" || ck=="test") {
    document.write("<a href='05.html' onmouseout='img13.src = src13' onmouseover='img13.src = src13b'>");
    document.write("<img name='img13' src='logo/f1.gif' width='75' height='25' border='0'></a>");
} else {
  if (ck=="bgm_bar") {
    document.write("");
  } else {
    if (ck=="free" || ck=="*index" || ck=="*") {
      document.write("<img src='logo/f1a.gif' width='75' height='25' border='0'>");
    } else {
      document.write("<a href='sc_05.html' onmouseout='img13.src = src13' onmouseover='img13.src = src13b'>");
      document.write("<img name='img13' src='logo/f1.gif' width='75' height='25' border='0'></a>");
    }
  }
}

// Links or Next
if (nt=="back") {
  document.write("<a href='javascript:history.back()' onmouseout='img16.src = src16' onmouseover='img16.src = src16b'>");
  document.write("<img name='img16' src='logo/back_1.gif' width='50' height='25' border='0'></a>");
} else {
  if (nt!="" && nt!="back") {
    document.write("<a href='",nt,"' onmouseout='img14.src = src14' onmouseover='img14.src = src14b'>");
    document.write("<img name='img14' src='logo/next_1.gif' width='50' height='25' border='0'></a>");
  } else {
    if (ck=="link" || ck=="link2" || ck=="link3" || ck=="*index" || ck=="*") {
      document.write("<img src='logo/l1a.gif' width='50' height='25' border='0'>");
    } else {
      document.write("<a href='sc_link.html' target='_top' onmouseout='img11.src = src11' onmouseover='img11.src = src11b'>");
      document.write("<img name='img11'src='logo/l1.gif' width='50' height='25' border='0'></a>");
    }
  }
}

// Website map
if (ck=="bgm_bar" || ck=="test") {
  document.write("<a href='javascript:openn()' onmouseout='img18.src = src18' onmouseover='img18.src = src18b'>");
  document.write("<img name='img18' src='logo/website-map.gif' width='100' height='25' border='0'></a>");
}

// right space
if (ck=="registry") {
  document.write("<a href='999.html'><img src='logo/b.gif' width='10' height='25' border='0'></a>");
} else {
  document.write("<img src='logo/b.gif' width='10' height='25'>");
}