function setLeftMenu(obj, gubun, n) {
	if (gubun=='over') {
		img_obj = document.getElementById("left_menu_"+n);
		img_obj.src = cur_img_path + "left_menu" + n + "_on.gif";
		obj.className="on";
	}else {
		img_obj = document.getElementById("left_menu_"+n);
		if (cur_select_menu==n) {
			img_obj.src = cur_img_path + "left_menu" + n + "_on.gif";
			obj.className="on";
		} else {
			img_obj.src = cur_img_path + "left_menu" + n + ".gif";
			obj.className="off";
		}
	}
}


function embedFlash(fn, w, h) {
   document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'>");
   document.write("<param name='movie' value='"+fn+"'>");
   document.write("<param name='quality' value='high'>");
   document.write("<param name='wmode' value='transparent'>");
   document.write("<embed src='"+fn+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"'></embed></object>");
}

   
function linkURL(code) {
	if (code=='01') location.href='/info/story.asp';
	else if (code=='0101') location.href='/info/story.asp';
	else if (code=='0102') location.href='/info/why.asp';
	else if (code=='0103') location.href='/info/how.asp';
	else if (code=='0104') location.href='/info/marketing.asp';
	
	else if (code=='02') location.href='/service/online.asp';
	else if (code=='0201') location.href='/service/online.asp';
	else if (code=='0202') location.href='/service/offline.asp';
	else if (code=='0203') location.href='/service/exhibition.asp';
	else if (code=='0204') location.href='/service/callcenter.asp';
														
	else if (code=='03') location.href='/marketing/today.asp';
	else if (code=='0301') location.href='/marketing/today.asp';
	else if (code=='0302') location.href='/marketing/today.asp?Category=2';
	else if (code=='0303') location.href='/marketing/crtt.asp';

	else if (code=='04') location.href='/portfolio/portfolio_list.asp';
	else if (code=='0401') location.href='/portfolio/portfolio_list.asp';			

	else if (code=='05') location.href='/customer/notice.asp';
	else if (code=='0501') location.href='/customer/notice.asp';	
	else if (code=='0502') location.href='/customer/pay.asp';		
	else if (code=='0503') location.href='/customer/meeting.asp';	
	else if (code=='0504') location.href='/customer/mailing.asp';	
	else if (code=='0505') location.href='/customer/customer.asp';				
}
