
function GoWin(WO){
	if (opener.closed){
		NewWin = window.open("","MWindow");
		NewWin.location.href=WO;
		}
	else{ opener.location.href=WO }
	}
 
 function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}



var preloadFlag = false;
function preloadImages() {
	if (document.images) {
m_toppage002 = newImage("img/m_toppage-on.gif");
m_product006 = newImage("img/m_product-on.gif");
m_price010 = newImage("img/m_price-on.gif");
m_case014 = newImage("img/m_case-on.gif");
m_company018 = newImage("img/m_company-on.gif");
m_inquiry022 = newImage("img/m_inquiry-on.gif");
m_rules_m_rules026 = newImage("img/m_rules-on.gif");
m_recrit030 = newImage("img/m_recrit-on.gif");
m_recrit032 = newImage("img/m_cart-on.gif");
		preloadFlag = true;
	}
}

preloadImages();




function navi(obj) {
 url = obj.options[obj.selectedIndex].value;
 if(url != "") {
   location.href = url;
  }
}


function MenuTree(idname){
  var imgid = "img_" + idname ;
  
  if (document.getElementById(idname).style.display == "block") {
    document.getElementById(idname).style.display = "none";
    document.getElementById(imgid).src = "../img/bitp.gif";
  } else {
    document.getElementById(idname).style.display = "block";
    document.getElementById(imgid).src = "../img/bitm.gif";
  }
}

