if (document.images) {

kodomoprojon  = new Image();
kodomoprojon.src  = "images/tmenu_kodomoproj_on.gif";
kodomoprojoff  = new Image();
kodomoprojoff.src  = "images/tmenu_kodomoproj.gif";

taikenprogon  = new Image();
taikenprogon.src  = "images/tmenu_taikenprog_on.gif";
taikenprogoff  = new Image();
taikenprogoff.src  = "images/tmenu_taikenprog.gif";

taikenminsyukuon  = new Image();
taikenminsyukuon.src  = "images/tmenu_taikenminsyuku_on.gif";
taikenminsyukuoff  = new Image();
taikenminsyukuoff.src  = "images/tmenu_taikenminsyuku.gif";

areamapon  = new Image();
areamapon.src  = "images/tmenu_areamap_on.gif";
areamapoff  = new Image();
areamapoff.src  = "images/tmenu_areamap.gif";

gtourismon  = new Image();
gtourismon.src  = "images/tmenu_gtourism2_on.gif";
gtourismoff  = new Image();
gtourismoff.src  = "images/tmenu_gtourism2.gif";

minamiuonumaon  = new Image();
minamiuonumaon.src  = "images/tmenu_minamiuonuma2_on.gif";
minamiuonumaoff  = new Image();
minamiuonumaoff.src  = "images/tmenu_minamiuonuma2.gif";

shion  = new Image();
shion.src  = "images/tmenu_shi_on.gif";
shioff  = new Image();
shioff.src  = "images/tmenu_shi.gif";

nukagamaon  = new Image();
nukagamaon.src  = "images/tmenu_nukagama_on.gif";
nukagamaoff  = new Image();
nukagamaoff.src  = "images/tmenu_nukagama.gif";

koshion  = new Image();
koshion.src  = "images/tmenu_koshi_on.gif";
koshioff  = new Image();
koshioff.src  = "images/tmenu_koshi.gif";

madoon  = new Image();
madoon.src  = "images/tmenu_mado_on.gif";
madooff  = new Image();
madooff.src  = "images/tmenu_mado.gif";

kakoon  = new Image();
kakoon.src  = "images/tmenu_kako_on.gif";
kakooff  = new Image();
kakooff.src  = "images/tmenu_kako.gif";

linkon  = new Image();
linkon.src  = "images/tmenu_link_on.gif";
linkoff  = new Image();
linkoff.src  = "images/tmenu_link.gif";

topon  = new Image();
topon.src  = "images/tmenu_top_on.gif";
topoff  = new Image();
topoff.src  = "images/tmenu_top.gif";


}
function imgOn(imgName) {
	if (document.images) {
          document[imgName].src = eval(imgName + "on.src");
    }
}
function imgOff(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "off.src");
	}
}



// w 開くWindowの幅
// h 開くWindowの高さ

var cWin0 = window;

function wOpen0(url,name,w,h,flg){
  // Cookie Check
  if (cWin0 == window || cWin0.closed) {
    cWin0 = window.open(url,name,"width="+w+",height="+h+",resizable=yes,scrollbars=yes");
  } else {
    if (cWin0.location.href.indexOf(url) == -1) { cWin0.location.href = url; }
    cWin0.focus();
  }
}

window.onerror = null; 
var ie  = (navigator.appName.indexOf('Micr') != -1); 
var mac = (navigator.userAgent.indexOf('Mac') != -1 || navigator.userAgent.indexOf('mac') != -1); 
var win = (navigator.userAgent.indexOf('Win') != -1 || navigator.userAgent.indexOf('win') != -1); 
if (win) { 
if (ie) document.write('<LINK REL="STYLESHEET" HREF="jakome.css" TYPE="text/css">'); 
else document.write('<LINK REL="STYLESHEET" HREF="jakome.css" TYPE="text/css">'); 
}else{ 
if (mac) { 
if (ie) document.write('<LINK REL="STYLESHEET" HREF="jakome_mac.css" TYPE="text/css">'); 
else document.write('<LINK REL="STYLESHEET" HREF="jakome_mac.css" TYPE="text/css">'); 
}else{ 
document.write('<LINK REL="STYLESHEET" HREF="jakome.css" TYPE="text/css">'); 
} 
} 

