/////////////////////////////// ¸ÞÀÎ¸Þ´º ¸µÅ© ¹è¿­
urls = new Array();


// ±Û·Î¹ú
urls[0] = [];
urls[0]["home"] = "/";
urls[0]["login"] = "/login.php";
urls[0]["logout"] = "/logout_ok.php";
urls[0]["newMember"] = "/newMember.php";
urls[0]["changeInfo"] = "/memberModify.php";
urls[0]["inquiry"] = "/customer/inquiry/";


// È¸»ç¼Ò°³
urls[1] = ["", "/company/", "/company/history.php", "/company/principle.php", "/company/recruit.php", "/company/map.php"];
// Á¦Ç°¼Ò°³
urls[2] = ["", "/product/", "/product/", "/product/lpg.php", "/product/relate.php", "/product/etc.php"];
// Áö»ç¼Ò°³
urls[3] = ["", "/branch/", "/branch/index2.php", "/branch/index3.php"];
// ¾Ë¸²±¤Àå
urls[4] = ["", "/board/?cate=1", "/board/?cate=2", "/board/?cate=3", "/board/?cate=4", "/board/?cate=5"];
// °í°´Áö¿ø
urls[5] = ["", "/customer/board/", "/customer/faq/", "/customer/inquiry/"];

///////////////////////////////////// ¸ÞÀÎ¸Þ´º ¸µÅ©
function goLink(m, s){
	// ¸Þ´º °ªÀÌ ÀÖÀ»¶§¸¸ ½ÇÇà
	if(m != undefined){
		// ¼­ºê°ªÀÌ ¾øÀ¸¸é ÃÊ±â°ª 0
		if(s == undefined){
			s = 0;	
		}
		window.location.href=(urls[m][s]);
	}
}

// °ü·Ã»ç Ç®´Ù¿î¸Þ´º ¸µÅ©
openCooperation = function(url){
	if(url != ""){
		window.open(url, "", "");
	}
}
// ÀÌ¸ÞÀÏ ¼öÁý °ÅºÎ
openNoEmail = function (){
	window.open("/popup_noemail.htm", "kiNoEmail", "width=300,height=377");
}