document.domain = "kbstar.com";

// addLoadEvent
function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			oldonload();
			func();
		}
	}
}
// ÀÌº¥Æ® Ãß°¡/»èÁ¦
function addEvent( obj, type, fn ) {
  if ( obj.attachEvent ) {
    obj['e'+type+fn] = fn;
    obj[type+fn] = function(){obj['e'+type+fn]( window.event );}
    obj.attachEvent( 'on'+type, obj[type+fn] );
  } else
    obj.addEventListener( type, fn, false );
}
function removeEvent( obj, type, fn ) {
  if ( obj.detachEvent ) {
    obj.detachEvent( 'on'+type, obj[type+fn] );
    obj[type+fn] = null;
  } else
    obj.removeEventListener( type, fn, false );
}

// Top Search Input
function schInput(obj,chknum) {
    if (chknum == 1) {
        obj.className = 'imgin-none';
    }
    else {
        if (obj.value == '') {
            obj.className = 'imgin';
            obj.value = '';
        }
    }
}


// hasClass
function hasClass(element,value) {
	var re = new RegExp("(^|\\s)" + value + "(\\s|$)");
	return re.test(element.className);
}

// getElementsByClass
function getElementsByClass(search_class,node,tag) {
	var class_elements = new Array();
	if (node == null) {
		node = document;
	}
	if (tag == null) {
		tag = "*";
	}
	var els = node.getElementsByTagName(tag);
	for (var i=0, j=0; i<els.length; i++) {
		if (hasClass(els[i],search_class)) {
			class_elements[j] = els[i];
			j++;
		}
	}
	return class_elements;
}


// addClass
function addClass(element,value) {
	if (!element.className) {
		element.className = value;
	} else {
		var new_class_name = element.className;
		if (!hasClass(element,value)) {
			element.className += " " + value;
		}
	}
}

// removeClass
function removeClass(element,value) {
	if (element.className && hasClass(element,value)) {
		var re = new RegExp("(^|\\s)" + value + "(\\s|$)");
		element.className = element.className.replace(re,"");
	}
}

// toggleClass
function toggleClass(element,value1,value2) {
	if (hasClass(element,value1)) {
		if (value2) {
			addClass(element,value2);
		}
		removeClass(element,value1);
	} else {
		if (value2 && hasClass(element,value2)) {
			removeClass(element,value2);
		}
		addClass(element,value1);
	}
}
// get children
function getChildrenByTagName(parent,tag_name) {
	var all_children = parent.childNodes;
	var new_children = new Array();
	for (var i=0, j=0; i<all_children.length; i++) {
		if (all_children[i].tagName && (all_children[i].tagName.toLowerCase() == tag_name.toLowerCase())) {
			new_children[j] = all_children[i];
			j++;
		}
	}
	return new_children;
}

function getChildrenByClassName(parent,class_name) {
	var all_children = parent.childNodes;
	var new_children = new Array();
	for (var i=0, j=0; i<all_children.length; i++) {
		if (hasClass(all_children[i],class_name)) {
			new_children[j] = all_children[i];
			j++;
		}
	}
	return new_children;
}

// Check IE
function isIE() {
	var version = navigator.appVersion;
	if (version.indexOf("MSIE") != -1) {
		return true;
	} else {
		return false;
	}
}
function isIE6() {
	var version = navigator.appVersion;
	if (version.indexOf("MSIE 6") != -1) {
		return true;
	} else {
		return false;
	}
}

// insertAfter
function insertAfter(new_element,target_element) {
	var parent = target_element.parentNode;
	if (parent.lastChild == target_element) {
		parent.appendChild(new_element);
	} else {
		parent.insertBefore(new_element,target_element.nextSibling);
	}
}

// getStyle
function getStyle(el,css_prop){
	var strValue;
	if (document.defaultView && document.defaultView.getComputedStyle) {
		strValue = document.defaultView.getComputedStyle(el,null).getPropertyValue(css_prop);
	} else if (el.currentStyle) {
		css_prop = css_prop.replace(/\-(\w)/g, function (strMatch, p1){
			return p1.toUpperCase();
		});
		strValue = el.currentStyle[css_prop];
	}
	return strValue;
}
// on/off ÀÌ¹ÌÁö ±³Ã¼
function imageChg(obj) {
	if(obj.src.indexOf('off.gif') != -1) obj.src = obj.src.replace('off.gif', 'on.gif');
	else if(obj.src.indexOf('on.gif') != -1) obj.src = obj.src.replace('on.gif', 'off.gif');
}
function classChg(obj,no) {
	if(no == 1) obj.className = 'off';
	else  obj.className = 'on';
}

// Content Display
function contView(obj) {
	var target = document.getElementById(obj);
	target.style.display = (target.style.display=='none' ? 'block':'none');
}

function contView1(obj) {
	var target = document.getElementById(obj);
	target.style.display = (target.style.display=='none' ? 'block':'none');
}
function contView2(obj) {
	if(typeof contView2.prevObj=="object"){
		contView2.prevObj.style.display = "none";
	}
	var target = document.getElementById(obj);
	target.style.display = 'block';
	contView2.prevObj = target;
}




// chgHeadingTab ÇØµù ÅÇ
function chgHeadingTab(el) {
	if (!document.getElementsByTagName) return false;
	var tabtag = el;
	var headings = new RegExp("[h1-6]","i");
	while (!headings.test(tabtag.tagName)) {
		tabtag = tabtag.parentNode;
	}
	if (!headings.test(tabtag.tagName)) return false;
	var tabparent = tabtag.parentNode;
	tabtag = tabtag.tagName;
	var clickedtab = el;
	while (clickedtab.tagName != tabtag) {
		clickedtab = clickedtab.parentNode;
	}
	var tabitems = tabparent.getElementsByTagName(tabtag);
	for (var i=0; i<tabitems.length; i++) {
		var tabimg = tabitems[i].getElementsByTagName("IMG")[0];
		var tabcont = tabitems[i].nextSibling;
		while (tabcont.nodeType != 1) {
			tabcont = tabcont.nextSibling;
		}
		if ((tabitems[i] == clickedtab) && (tabimg.src.indexOf("_off.gif") != -1)) {
			tabimg.src = tabimg.src.replace("_off.gif","_on.gif");
			tabcont.style.display = "block";
		} else if (tabitems[i] != clickedtab) {
			if (tabimg.src.indexOf("_on.gif") != -1) {
				tabimg.src = tabimg.src.replace("_on.gif","_off.gif");
			}
			tabcont.style.display = "none";
		}
	}
	return false;
}

//chgTab - .on Å¬·¡½º »ç¿ëÇØ¼­ ÅÇ ÀÌ¹ÌÁö ¹× ÄÁÅÄÃ÷ º¯°æ ½Ã
function getConts(el,wrapper_class,cont_class) {
	var wrapper = el;
	while (!hasClass(wrapper,wrapper_class)) {
		wrapper = wrapper.parentNode;
	}
	var children = wrapper.childNodes;
	var tabconts = new Array();
	for (var i=0, j=0; i<children.length; i++) {
		if (children[i].className && hasClass(children[i],cont_class)) {
			tabconts[j] = children[i];
			j++;
		}
	}
	return tabconts;
}



//chgTab - .on Å¬·¡½º »ç¿ëÇØ¼­ ÅÇ ÀÌ¹ÌÁö º¯°æ ½Ã
function getTabConts(el) {
	var children = el.childNodes;
	var tabconts = new Array();
	for (var i=0, j=0; i<children.length; i++) {
		if (children[i].className && hasClass(children[i],"tab-cont")) {
			tabconts[j] = children[i];
			j++;
		}
	}
	return tabconts;
}
function chgTab(el,tabclass,tag,tURL) {
	var wrapper = el;
	while ( !hasClass(wrapper,"tab-wrap")) {
		wrapper = wrapper.parentNode;
	}
	var tabconts = getTabConts(wrapper);
	var tablist = el;
	while ((tablist.tagName != "OL") && (tablist.tagName !="UL")) {
		tablist = tablist.parentNode;
	}
	var ontag = getElementsByClass("on",tablist)[0].tagName;
	var clicked = el;
	while (clicked.tagName != ontag) {
		clicked = clicked.parentNode;
	}
	var tabitems = tablist.getElementsByTagName(ontag);
	for (var i=0; i<tabitems.length; i++){
		if ((tabitems[i] == clicked) && !hasClass(clicked,"on")) {
			addClass(tabitems[i],"on");
			addClass(tabconts[i],"on");
		} else if (tabitems[i] != clicked) {
			removeClass(tabitems[i],"on");
			removeClass(tabconts[i],"on");
		}
	}
	return false;
}


function chgTab2(el,tabclass,tag,tURL) {
	var wrapper = el;
	while ( !hasClass(wrapper,"tab-wrap")) {
		wrapper = wrapper.parentNode;
	}
	var tabconts = getTabConts(wrapper);
	var tablist = el;
	while ((tablist.tagName != "OL") && (tablist.tagName !="UL")) {
		tablist = tablist.parentNode;
	}
	var ontag = getElementsByClass("on",tablist)[0].tagName;
	var clicked = el;
	while (clicked.tagName != ontag) {
		clicked = clicked.parentNode;
	}
	var tabitems = tablist.getElementsByTagName(ontag);
	for (var i=0; i<tabitems.length; i++){
		img = tabitems[i].getElementsByTagName("img")[0];
		if ((tabitems[i] == clicked) && !hasClass(clicked,"on")) {
			addClass(tabitems[i],"on");
			addClass(tabconts[i],"on");
			if (img.src.indexOf("_on.gif") == -1) {
				imageChg(img);
			}
		} else if (tabitems[i] != clicked) {
			removeClass(tabitems[i],"on");
			removeClass(tabconts[i],"on");
			if (img.src.indexOf("_off.gif") == -1) {
				imageChg(img);
			}
		}
	}
	return false;
}


// toggle
function toggle(obj) {
	var el = document.getElementById(obj);
	el.style.display = (el.style.display != 'none') ? 'none' : 'block';
}
function toggleRow(id,cl) {
	var el = document.getElementById(id);
	if (window.getComputedStyle) {
		var visibility = document.defaultView.getComputedStyle(el,null).getPropertyValue("visibility");
		el.style.visibility = (visibility != "collapse") ? "collapse" : "visible";
	} else {
		var children = el.childNodes;
		for (var i=0; i<children.length; i++) {
			children[i].style.display = (children[i].style.display != "block") ? "block" : "";
		}
	}
}
function togObj(obj) {
	obj.style.display = (obj.style.display != 'none') ? 'none' : 'block';
}

// alt ÅØ½ºÆ® ±³Ã¼
function chgAlt(obj,src,dst) {
	var objAlt = obj.getAttribute('alt');
	if ( objAlt == src ) {
		obj.setAttribute('alt',dst);
	} else if ( objAlt == dst ) {
		obj.setAttribute('alt',src);
	}
}

// ´Þ·Â
function togCal(cal) {
	if (typeof cal == "string") {
		cal = document.getElementById(cal);
	}
	var ie6 = isIE6();
	var frame = cal.getElementsByTagName("iframe")[0];

	if (!frame && ie6) {
		frame = document.createElement("iframe");
		frame.className = "cal";
	}
	if (cal.style.display != "inline") {
		cal.style.display = "inline";
		if (ie6) {
			cal.insertBefore(frame,cal.firstChild);
		}
	} else {
		cal.style.display = "";
		if (ie6) {
			cal.removeChild(frame);
			cal = null;
		}
	}
}

// Faq 20080813 - Ãß°¡
function viewContent(lid,num) {
	var faqList = document.getElementById('faq');
	var faqItems = faqList.childNodes;
	var faqQuest = new Array();
	var faqConts = new Array();
	for (var i=0, j=0; i<faqItems.length; i++) {
		if (faqItems[i].tagName == "LI") {
			if (faqItems[i].className != "ans") {
				faqConts[j] = faqItems[i];
				j++
			}
		}
	}
	for (i=1; i<=faqConts.length ; i++) {
		k=i-1;
		document.getElementById(lid+i).style.display = (i==num) ? 'block' : 'none';
		faqConts[i-1].className = (i==num) ? 'on' : '';
	}
}

// cont list 20080903 - Ãß°¡
function viewLcont(lid,num,cls) {
	var contList = document.getElementById('contlist');
	var contItems = contList.childNodes;
	var contQuest = new Array();
	var contConts = new Array();
	for (var i=0, j=0; i<contItems.length; i++) {
		if (contItems[i].tagName == "LI") {
			if (contItems[i].className != "dview") {
				contConts[j] = contItems[i];
				j++
			}
		}
	}
	if(cls == true) {
		for (i=1; i<=contConts.length ; i++) {
			document.getElementById(lid+i).style.display = 'none';
			contConts[i-1].className = '';
		}
		return;
	}
	for (i=1; i<=contConts.length ; i++) {
		k=i-1;
		document.getElementById(lid+i).style.display = (i==num) ? 'block' : 'none';
		contConts[i-1].className = (i==num) ? 'on' : '';
	}
}

// Gift list 20081005 - Ãß°¡
function viewGift(lid,num) {
	var giftList = document.getElementById('gift');
	var giftItems = giftList.childNodes;
	var giftQuest = new Array();
	var giftConts = new Array();
	for (var i=0, j=0; i<giftItems.length; i++) {
		if (giftItems[i].tagName == "LI") {
			if (giftItems[i].className != "gift-view") {
				giftConts[j] = giftItems[i];
				j++
			}
		}
	}
	for (i=1; i<=giftConts.length ; i++) {
		k=i-1;
		document.getElementById(lid+i).style.display = (i==num) ? 'block' : 'none';
		//giftConts[i-1].className = (i==num) ? 'on' : '';
	}
}


// Step
function stepOn(step) {
	step.className = step.className.replace('off','on');
}
function stepOff(step) {
	step.className = step.className.replace('on','off');
}

// °èÁÂÁ¶È¸ Åä±Û
function togTrd(trdnum) {
	var trdobj = document.getElementById('trd' + trdnum);
	var trdtit = getElementsByClass('trd-st', trdobj, 'h5')[0];
	var trdblk = getElementsByClass('trd-block', trdobj, 'div')[0];
	var togbtn = trdtit.getElementsByTagName('img')[0];
	
	imageChg(togbtn);
	chgAlt(togbtn,'¿­±â','´Ý±â');
	togObj(trdblk);
}


/* ÆË¾÷ ¶ç¿ì±â */
function popup(e) {
	var winURI = e.getAttribute("href");
	var winname = e.rel.split(" ")[1] ? e.rel.split(" ")[1] : "popup";
	newWindow = window.open(winURI,winname,"menubar=no,location=no,resizable=no,status=no");
	newWindow.focus();
	return false;
}
function initPopup() {
	if (!document.getElementsByTagName) return false;
	var links = document.getElementsByTagName("a");
	if (links.length < 1) return false;
	var title;
	for (i = 0; i<links.length; i++) {
		if (links[i].rel.indexOf("popup") != -1) {
			links[i].onclick = function() {
				return popup(this);
			}
			title = links[i].getAttribute("title") ? links[i].getAttribute("title") + "(ÆË¾÷Ã¢À» ¶ç¿ó´Ï´Ù.)" : "ÆË¾÷Ã¢À» ¶ç¿ó´Ï´Ù.";
			links[i].setAttribute("title",title);
		}
	}
}

function MM_openBrWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}
function goWinPopup(url){
	pOption = "left=300,top=200,width=716,height=620";
	//url     = "/quics?page=B008556&cc=b000001:B003730" ;
	//url     = "/quics?page=B001873&cc=b000001:b005978";
	window.open(url, "Pop", pOption);
}


addLoadEvent(initPopup);

function popup2(filename,width,height) {
	window.open(filename,"popup", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height);
}

/* ÆË¾÷¿¡¼­ opener ¸µÅ©ÀÌµ¿ */
function parentLink(url) {
	opener.location.href = url;
	self.close();
}

// isIE6  ¹ÚÁØ±Ô Ãß°¡ ºÎºÐ ½ÃÀÛ

/*
 * Unit PNG fix
 * http://labs.unitinteractive.com/unitpngfix.php
 */
var clear = "http://img1.kbstar.com/img/common/clear.gif" //path to clear.gif

pngfix = function() {
	var els = document.getElementsByTagName('*');
	var ip = /\.png/i;
	var i = els.length;
	while (i-- > 0) {
		var el = els[i];
		var es = el.style;
		if (el.src && el.src.match(ip) && !es.filter) {
			es.height = el.height;
			es.width = el.width;
			es.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + el.src + "',sizingMethod='crop')";
			el.src = clear;
		} else {
			var elb = el.currentStyle.backgroundImage;
			if (elb.match(ip)) {
				var path = elb.split('"');
				var rep = (el.currentStyle.backgroundRepeat == 'no-repeat') ? 'crop' : 'scale';
				es.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + path[1] + "',sizingMethod='" + rep + "')";
				es.height = el.clientHeight + 'px';
				es.backgroundImage = 'none';
				var elkids = el.getElementsByTagName('*');
				if (elkids) {
					var j = elkids.length;
					if (el.currentStyle.position != "absolute") es.position = 'static';
					while (j-- > 0) if (!elkids[j].style.position) elkids[j].style.position = "relative";
				}
			}
		}
	}
}


function ie6PngFix() {
	if (isIE6()) {
		window.attachEvent('onload',pngfix);
	} else {
		return false;
	}
}

addLoadEvent(ie6PngFix);
// ¹ÚÁØ±Ô Ãß°¡ ºÎºÐ ³¡



// selectbox link
function goPage() { 
	if(this.go.value != "default") { 
	URL = this.go.value 
		window.open(URL,'_self','') 
	} 
} 

// alert
//function alert() {
//	alert(alert);
//}


// µ¡±Û
function viewContent2(obj) {
	if(typeof viewContent2.prevObj=="object"){
		var prevItemNodes = viewContent2.prevObj.parentNode.childNodes;
		for (var i=0; i<prevItemNodes.length; i++) {
			if (prevItemNodes[i].tagName == "SPAN") {
				prevItemNodes[i].style.display = (prevItemNodes[i].className == "fold") ? "block" : "none";
			}
		}
	}
	var ItemNodes = obj.parentNode.childNodes;
	for (var i=0; i<ItemNodes.length; i++) {
		if (ItemNodes[i].tagName == "SPAN") {
			ItemNodes[i].style.display = "block";
		}
	}
	obj.style.display = "none";
	viewContent2.prevObj = obj;
}

// GNB ¿Â¿À¹ö zIndexº¯È¯
function flash_layer(t) {
	if(t==1) {

		document.getElementById('header').style.zIndex = '2000';
	}else {
		if(topMenuStatus=="over"){
		document.getElementById('header').style.zIndex = '2000';
		}else{
		document.getElementById('header').style.zIndex = '1';
		}
	}
}

//°­Áö³ªÃß°¡
//»õÃ¢¶ç¿ì±â ±â´É	
	function open_win1(){			
		window.open('http://www.kbcardgsp.co.kr/front/customer/card_use_1.asp');
	}
	function open_win2(){			
		window.open('http://www.kbcardgsp.co.kr');
	}



// Flax 
function thisMovie(movieName) {
 if (navigator.appName.indexOf("Microsoft") != -1) {
  return window[movieName];
 } else {
  return document[movieName];
 }
}

/*
function setMymenu(args) {
 thisMovie("MyMenuSetting").setFlex(args[0], args[1]);
}
function showMymenu() {
	document.getElementById('mymenuPop').style.top = '120px';
}

function hideMymenu() {
	document.getElementById('mymenuPop').style.top = '-1000px';
}
*/
function reloadhWin() {
	document.location.reload();
}

// ÀüÃ¼¸Þ´ºº¸±â
function cardallMenu1() {
	if(mm==0) {
		document.getElementById('cardallMenu1').style.display = 'block';
		mm = mm+1;
	}else{
		document.getElementById('cardallMenu1').style.display = 'none';
		mm = mm-1;
	}
}

function cardallMenu2() {
	if(mm==0) {
		document.getElementById('cardallMenu2').style.display = 'block';
		mm = mm+1;
	}else{
		document.getElementById('cardallMenu2').style.display = 'none';
		mm = mm-1;
	}
}

function cardallMenu3() {
	if(mm==0) {
		document.getElementById('cardallMenu3').style.display = 'block';
		mm = mm+1;
	}else{
		document.getElementById('cardallMenu3').style.display = 'none';
		mm = mm-1;
	}
}

//ÆÐ¹Ð¸®Á¸ ·¹ÀÌ¾îÆË¾÷
function showFzone() {
	scrollBy(0,1);
	Overlay('http://img1.kbstar.com/img/card/product/0.gif','image', false);
	document.getElementById('familyzone-layer').style.display = 'block';
	document.getElementById('familyzone-hiddenArea').style.display = 'block';
}
function hideFzone() {
	Overlay(); 	
	document.getElementById('familyzone-layer').style.display = 'none';
	document.getElementById('familyzone-hiddenArea').style.display = 'none';
}


//Gnb, Lnb
/*function flashNavigation(pSwfUrl, pXmlUrl, pCode, wt, ht, fmode, crtPageNm,fam_common){
    var xmlUrl = escape(pXmlUrl);
    var pathArr = pSwfUrl.split("/");
    var flashID = pathArr[pathArr.length-1].split(".")[0];

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+flashID+"' align='top'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='FlashVars' value='xml_url="+xmlUrl+"&code="+pCode+"&crtPageNm="+crtPageNm+"&fam_common="+fam_common+"' />");
    document.write("<param name='wmode' value='"+fmode+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='xml_url="+xmlUrl+"&code="+pCode+"&crtPageNm="+crtPageNm+"&fam_common="+fam_common+"' wmode='"+fmode+"' quality='high' width='"+wt+"' height='"+ht+"' name='lnb' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function flashNavigation(pSwfUrl, pXmlUrl,pCode,wt,ht,fmode,userName,fam_common,mm_xmlPath,swf_loadPath){
    var xmlUrl = escape(pXmlUrl);
    var pathArr = pSwfUrl.split("/");
    var flashID = pathArr[pathArr.length-1].split(".")[0];

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+flashID+"' align='top'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='FlashVars' value='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"' />");
    document.write("<param name='wmode' value='"+fmode+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"' wmode='"+fmode+"' quality='high' width='"+wt+"' height='"+ht+"' name='lnb' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}
*/

function flashNavigation(pSwfUrl, pXmlUrl,pCode,wt,ht,fmode,userName,fam_common,mm_xmlPath,swf_loadPath,mm_loginPath,log1,log2,log3,loginFlag){
    var xmlUrl = escape(pXmlUrl);
    var pathArr = pSwfUrl.split("/");
    var flashID = pathArr[pathArr.length-1].split(".")[0];

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+flashID+"' align='top'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='FlashVars' value='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"&mm_loginPath="+mm_loginPath+"&log1="+log1+"&log2="+log2+"&log3="+log3+"&loginFlag="+loginFlag+"' />");
    document.write("<param name='wmode' value='"+fmode+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"&mm_loginPath="+mm_loginPath+"&log1="+log1+"&log2="+log2+"&log3="+log3+"&loginFlag="+loginFlag+"'' wmode='"+fmode+"' quality='high' width='"+wt+"' height='"+ht+"' name='lnb' align='top' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

// À¯¸®³ª Ãß°¡

function flashWriteNew(url,id,width,height,trans,flashvars,bgcolor){
 var strFlashTag = new String();
 if (navigator.appName.indexOf("Microsoft") != -1)    {
  strFlashTag += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
  strFlashTag += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=version=9,0,0,0" width="' + width + '" id="' + id + '" height="' + height + '">';
  strFlashTag += '<param name="movie" value="' + url + '"/>';
  strFlashTag += '<param name="FlashVars" value="' + flashvars + '"/>';
  if (bgcolor) strFlashTag += '<param name="bgcolor" value="' + bgcolor + '"/>';
  else  strFlashTag += '<param name="bgcolor" value="#ffffff"/>';
  strFlashTag += '<param name="quality" value="best"/>';
  strFlashTag += '<param name="menu" value="false"/>';
  if(trans==true){
   strFlashTag += '<param name="wmode" value="transparent"/>';
  }
  else{
   strFlashTag += '<param name="wmode" value="opaque"/>';
  }
  strFlashTag += '<param name="allowScriptAccess" value="always"/>';
  strFlashTag += '</object>';
 }
 else{
  strFlashTag += '<embed src="' + url + '?' + flashvars + '" ';
  strFlashTag += 'quality="best" ';
  if (bgcolor) strFlashTag += 'bgcolor="' + bgcolor + '" ';
  else strFlashTag += 'bgcolor="#ffffff" ';
  strFlashTag += 'width="' + width + '" ';
  strFlashTag += 'height="' + height + '" ';
  strFlashTag += 'menu="false" ';
  strFlashTag += 'name="'+id+'" ';
  if(trans==true){
   strFlashTag += 'wmode="transparent" ';
  }
  else{
   strFlashTag += 'wmode="opaque" ';
  }
  strFlashTag += 'allowScriptAccess="always" ';
  strFlashTag += '</embed>';
 }
 document.write(strFlashTag);
}

function gallery_open(){
	/*ºê¶ó¿ìÀú Ã¼Å©*/
	appname = navigator.appName;
	useragent = navigator.userAgent;
	if(appname == "Microsoft Internet Explorer") appname = "IE";
	IE6 = (useragent.indexOf('MSIE 6')>0);     //6.0 ¹öÀü
	var wid=screen.width;
	var hei=screen.height;
	if(wid>=1600){
		var wid2=1600;
		var hei2=900;
	}
	else if(wid<=1600 && hei>=840){
		if(appname=="IE" && IE6) {
			var wid2=screen.width-10;
		}else{
			var wid2=screen.width;
		}
		var hei2=830;
	} 
	else if(wid<=1024){
		if(appname=="IE" && IE6) {
			var wid2=screen.width-10;
		}else{
			var wid2=screen.width;
		}
		var hei2=700;
	}
	else if(wid<1024){
		if(appname=="IE" && IE6) {
			var wid2=screen.width-10;
		}else{
			var wid2=screen.width;
		}
		var hei2=600;
		window.open('/quics?page=gallery','','toolbar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=' + wid2+',height='+hei2+'');
		return false;
	}
	else{
		if(appname=="IE" && IE6) {
			var wid2=screen.width-10;
			var hei2=700;
		}else{
			var wid2=screen.width;
			var hei2=700;
		}
	}
		window.open('/quics?page=gallery','','toolbar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + wid2+',height='+hei2+'');
}

// À®¸µÅ©
function flashLinkWing(_type, _index){
	//alert(_type + ", " + _index);
	//Ä«µå¾ØÅ×¸¶
	if(_type=="0"){
		switch(_index)
		{
		case 0:document.location.href = "/quics?page=B013116";break;
		case 1: document.location.href = "/quics?page=vip";break;
		case 2: document.location.href = "/quics?page=eqs";break;
		case 3: document.location.href = "/quics?page=love";break;
		case 4: document.location.href = "/quics?page=gli";break;
		case 5: window.open("http://www.gounmom.co.kr/");break;
		case 6: gallery_open();break;/*gallery_open();break;*/
		}
	}
	//HUVV
	if(_type=="1"){
		switch(_index)
		{
		case 0: document.location.href = "/quics?page=partner";break;/*Çãºê*/
		case 1: document.location.href = "/quics?page=B012381";break;/*¼îÇÎ*/
		case 2: document.location.href = "/quics?page=B012382";break;/*¿©Çà*/
		case 3: window.open("http://www.kbndcard.com/main.aspx");break;/*nd*/
		case 4: document.location.href = "/quics?page=B013093";break;
		}
	}
	//½ºÅ¸¼¥
	if(_type=="2"){
		switch(_index)
		{
		case 0: document.location.href = "/quics?page=stp";break;
		}
	}
	//speciall
	if(_type=="3"){
		switch(_index)
		{
		case 0: document.location.href = "/quics?page=B007638";break;
		case 1: document.location.href = "/quics?page=B013096";break;
		case 2: document.location.href = "/quics?page=B007614";break;
		case 3: document.location.href = "/quics?page=B007645";break;
		}
	}
}
// »ó´Ü drop¸Þ´º
var topMenuStatus="out";
function gnbTopMenuEvent(_type, _x, _width){
 //¸Þ´º ¼¼·Î±æÀÌ
 var _height = 126
 //_type : over / out
 //alert(_type + ", " + _x + ", " + _width + ", " + _height);
 topMenuStatus=_type;
 if(_type=="over"){
		document.getElementById("header").style.zIndex="100";
	}
	if(_type=="out"){
		document.getElementById("header").style.zIndex="0";
	}
	
}

function gnbEtcLink(_btType, _btIndex){
	//alert(_btType + ", " + _btIndex);
	if(_btType=="Kbcard"){
		switch(_btIndex)
		{
		case 0:document.location.href = "/quics?page=card";break;    //KB Card ¸Ç¿ÞÂÊ ¸µÅ©
		}
	}

	if(_btType=="Haat"){
		switch(_btIndex)
		{
		case 0:document.location.href = "/quics?page=service";break;    //KB Card ¸Ç¿ÞÂÊ ¹Ù·Î¿· HAATÀÇ ¸µÅ© 
		}
	}
	if(_btType=="Huvv"){    //KB Card ¸Ç¿ÞÂÊ ¹Ù·Î¿· huvvÀÇ ¸µÅ© 
		switch(_btIndex)
		{
		case 0:document.location.href = "/quics?page=partner";break;
		}
	}
	if(_btType=="Love"){    //KB Card ¸Ç¿ÞÂÊ ¹Ù·Î¿· ³»°íÀå»ç¶û ¸µÅ© 
		switch(_btIndex)
		{
		case 0:document.location.href = "/quics?page=love";break;
		}
	}
	if(_btType=="Starshop"){    //KB Card ¸Ç¿ÞÂÊ ¹Ù·Î¿· ½ºÅ¸¼¥ ¸µÅ© 
		switch(_btIndex)
		{
		case 0:document.location.href = "/quics?page=stp";break;
		}
	}
	if(_btType=="Card"){
		switch(_btIndex)
		{
		case 0: document.location.href = "/quics?page=B013116";break;    //Ä«µå¾ØÅ×¸¶
		case 1: document.location.href = "/quics?page=vip";break;    //vip
		case 2: document.location.href = "/quics?page=eqs";break;    //ÀÌÄýÁî
		case 3: document.location.href = "/quics?page=love";break;    //³»°íÀå»ç¶û
		case 4: document.location.href = "/quics?page=gli";break;    //°ñµç¶óÀÌÇÁ
		case 5: window.open("http://www.gounmom.co.kr/resort_frame.asp?refercode=001");break;    //°í¿î¸¾
		case 6: gallery_open();break;    //°¶·¯¸®

		}
	}else if(_btType=="HUVV"){
		switch(_btIndex)
		{
	    case 0: document.location.href = "/quics?page=partner";break;      //HUVV
		case 1: document.location.href = "/quics?page=B012381";break;   //¼îÇÎ
		case 2: document.location.href = "/quics?page=B012382";break;     //¿©Çà
		case 3: window.open("http://www.kbndcard.com/main.aspx");break;     //&d
		case 4: document.location.href = "/quics?page=B013093";break;       //°Ç°­À°¾Æ
		}
	}else if(_btType=="Top"){
		switch(_btIndex)
		{
		case 0: document.location.href = "/quics?page=B007397";break;    //»çÀÌ¹öÁöÁ¡
		case 1: document.location.href = "/quics?page=B007269";break;    //Ä«µå¾È³»/½ÅÃ»
		case 2: document.location.href = "/quics?page=B007191";break;    //±ÝÀ¶¼­ºñ½º
		case 3: document.location.href = "/quics?page=B007471";break;    //Ä«µåÀÌ¿ë¾È³»
		case 4: document.location.href = "/quics?page=B007280";break;    //°í°´¾È½É¼­ºñ½º
		case 5: document.location.href = "/quics?page=pvi";break;           //Pointree
		case 6: document.location.href = "/quics?page=B013119";break;    //AVENUE
		case 7: document.location.href = "/quics?page=service";break;    //HAAT
		case 8: document.location.href = "/quics?page=B007682";break;    //ÀÌº¥Æ®/»õ¼Ò½Ä
		}
	}else if(_btType=="Footer"){
		switch(_btIndex)
		{
		case 0: document.location.href="/quics?page=B007845";break;
		case 1: setSearch(['0','']); break;
		case 2: showSearch(); break;
		}
	}else if(_btType=="Login"){
		document.location.href="/quics?page=B007995";
	}else if(_btType=="Logout"){
		document.location.href="/quics?page=B008000";
	}else if(_btType=="Info"){
		document.location.href="/quics?page=B002295";
	}
}


//Cp, Rp
function flashWrite(pSwfUrl, wt, ht, name, bg, fmode){
    var pathArr = pSwfUrl.split("/");
    var flashID = pathArr[pathArr.length-1].split(".")[0];

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+flashID+"' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='best' />");
    document.write("<param name='wmode' value='"+fmode+"' />");
    document.write("<param name='bgcolor' value='"+bg+"' />");
    document.write("<embed src='"+pSwfUrl+"' wmode='"+fmode+"' quality='best' width='"+wt+"' height='"+ht+"' name='"+name+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function setMovieSize(h){
    var lidBox = document.getElementById("M1L-lpcontent");
    lidBox.style.height = h + 30 + "px";
}

if ( !titData ) { var titData; }

function titleWriter(str){
	titData = str.replace(/\./g,''); ;
  flashTitle_in();
}

function flashTitle_in(){    
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='500' height='24' id='common_title2' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='http://img1.kbstar.com/img/common/common_title2.swf' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='wmode' value='transparent' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='http://img1.kbstar.com/img/common/common_title2.swf' wmode='transparent' quality='high' width='500' height='24' name='common_title2' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function titleData(){

   return titData; 	
}


function getFlash(swfName,wt,ht,id){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+wt+'" height="'+ht+'" id="'+id+'">');
    document.write('<param name="movie" value="'+swfName+'">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="allowScriptAccess" value="always">');
    document.write('<embed src="'+swfName+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="'+wt+'" height="'+ht+'" allowScriptAccess="sameDomain" id="'+id+'"></embed></object>');
}
//À¯¸®³ª ¼öÁ¤
function getFlashWing(swfName,wt,ht,id,code){
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+id+"' align='middle'>");
    document.write('<param name="movie" value="'+swfName+'" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="FlashVars" value="code='+code+'" />');
	document.write('<param name="allowScriptAccess" value="always" />');
    document.write("<embed src='"+swfName+"' FlashVars='code="+code+"' quality='high' wmode='transparent' width='"+wt+"' height='"+ht+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function getFlashPrd(swfName,wt,ht,id,jsp_url){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+wt+'" height="'+ht+'" id="'+id+'">');
    document.write('<param name="movie" value="'+swfName+'">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="jsp_url='+jsp_url+'" />');
	document.write('<param name="allowScriptAccess" value="always">');
    document.write('<embed src="'+swfName+'" FlashVars="jsp_url='+jsp_url+'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="'+wt+'" height="'+ht+'" allowScriptAccess="sameDomain" id="'+id+'"></embed></object>');
}
function getFlashMylounge(swfName,wt,ht,id,CardImg_url,CardLink_url,ChainName_url,ChainTel_url,ChainLink_url){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+wt+'" height="'+ht+'" id="'+id+'">');
    document.write('<param name="movie" value="'+swfName+'">');
    document.write('<param name="quality" value="high">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="FlashVars" value="CardImg_url='+CardImg_url+'&CardLink_url='+CardLink_url+'&ChainName_url='+ChainName_url+'&ChainTel_url='+ChainTel_url+'&ChainLink_url='+ChainLink_url+'" />');
	document.write('<param name="allowScriptAccess" value="always">');
    document.write('<embed src="'+swfName+'" FlashVars="CardImg_url='+CardImg_url+'&CardLink_url='+CardLink_url+'&ChainName_url='+ChainName_url+'&ChainTel_url='+ChainTel_url+'&ChainLink_url='+ChainLink_url+'"" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="'+wt+'" height="'+ht+'" allowScriptAccess="sameDomain" id="'+id+'"></embed></object>');
}

//ÀÌº¥Æ®¸ÞÀÎ ÇÃ·¡½Ã write : ¹ÚÁØ±Ô Ãß°¡. 11/04
function getFlashXML(pSwfUrl,pXmlUrl,wt,ht,trans) {
    var xmlUrl = escape(pXmlUrl);
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    if (trans == 1) {document.write("<param name='wmode' value='transparent' />");}
    document.write("<param name='FlashVars' value='xml_url="+xmlUrl+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='xml_url="+xmlUrl+"' quality='high' wmode='transparent' bgcolor='#FFFFFF' width='"+wt+"' height='"+ht+"' name='' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function getFlashBannerXML(pSwfUrl,banner_url,wt,ht,trans) {
    var xmlUrl = escape(banner_url);
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    if (trans == 1) {document.write("<param name='wmode' value='transparent' />");}
    document.write("<param name='FlashVars' value='banner_url="+banner_url+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='banner_url="+banner_url+"' quality='high' wmode='transparent' bgcolor='#FFFFFF' width='"+wt+"' height='"+ht+"' name='' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

function getFlashMainXML(pSwfUrl,main_url,wt,ht,trans) { /*½ºÅ¸¼¥ ¸ÞÀÎºñÁÖ¾ó ¹è³Ê xml */
    var xmlUrl = escape(main_url);
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='high' />");
    if (trans == 1) {document.write("<param name='wmode' value='transparent' />");}
    document.write("<param name='FlashVars' value='main_url="+main_url+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='main_url="+main_url+"' quality='high' wmode='transparent' bgcolor='#FFFFFF' width='"+wt+"' height='"+ht+"' name='' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

//Ä«µå¸ÞÀÎ
function flashMain(pSwfUrl, pXmlUrl,pCode,wt,ht,fmode,userName,fam_common,mm_xmlPath,swf_loadPath,mm_loginPath,log1,log2,log3,loginFlag,Banner_url,News_url,jsp_url){
    var xmlUrl = escape(pXmlUrl);
    var pathArr = pSwfUrl.split("/");
    var flashID = pathArr[pathArr.length-1].split(".")[0];

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+wt+"' height='"+ht+"' id='"+flashID+"' align='middle'>");
    document.write("<param name='allowScriptAccess' value='always' />");
    document.write("<param name='movie' value='"+pSwfUrl+"' />");
    document.write("<param name='quality' value='best' />");
    document.write("<param name='FlashVars' value='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"&mm_loginPath="+mm_loginPath+"&log1="+log1+"&log2="+log2+"&log3="+log3+"&loginFlag="+loginFlag+"&Banner_url="+Banner_url+"&News_url="+News_url+"&jsp_url="+jsp_url+"' />");
    document.write("<param name='wmode' value='"+fmode+"' />");
    document.write("<param name='bgcolor' value='#FFFFFF' />");
    document.write("<embed src='"+pSwfUrl+"' FlashVars='xml_url="+xmlUrl+"&code="+pCode+"&userName="+userName+"&fam_common="+fam_common+"&mm_xmlPath="+mm_xmlPath+"&swf_loadPath="+swf_loadPath+"&mm_loginPath="+mm_loginPath+"&log1="+log1+"&log2="+log2+"&log3="+log3+"&loginFlag="+loginFlag+"&Banner_url="+Banner_url+"&News_url="+News_url+"&jsp_url="+jsp_url+"' wmode='"+fmode+"' quality='best' width='"+wt+"' height='"+ht+"' name='lnb' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

// ÀÌ ¹ØÀ¸·Î ÇÔ¼ö Ãß°¡±ÝÁö!!!!!!!!!!!!!!!!!!!!!!!! ÇÃ·¡½ÃÇÔ¼ö »ó´Ü¿¡ ³Ö¾îÁÖ¼¼¿ä