//
function EmbededFlash(sourceUrl,objWidth,objHeight){
	document.write("<OBJECT codeBase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'");
	document.write("height='"+objHeight+"' width='"+objWidth+"' align='middle' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'>");
	document.write("<PARAM NAME='FlashVars' VALUE=''>");
	document.write("<PARAM NAME='Movie' VALUE='"+sourceUrl+"'>");
	document.write("<PARAM NAME='Src' VALUE='"+sourceUrl+"'>");
	document.write("<PARAM NAME='WMode' VALUE='Transparent'>");
	document.write("<PARAM NAME='Play' VALUE='-1'>");
	document.write("<PARAM NAME='Loop' VALUE='-1'>");
	document.write("<PARAM NAME='Quality' VALUE='High'>");
	document.write("<PARAM NAME='SAlign' VALUE=''>");
	document.write("<PARAM NAME='Menu' VALUE='-1'>");
	document.write("<PARAM NAME='Base' VALUE=''>");
	document.write("<PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>");
	document.write("<PARAM NAME='Scale' VALUE='ShowAll'>");
	document.write("<PARAM NAME='DeviceFont' VALUE='0'>");
	document.write("<PARAM NAME='EmbedMovie' VALUE='0'>");
	document.write("<PARAM NAME='BGColor' VALUE=''>");
	document.write("<PARAM NAME='SWRemote' VALUE=''>");
	document.write("<PARAM NAME='MovieData' VALUE=''>");
	document.write("<PARAM NAME='SeamlessTabbing' VALUE='1'>");
	document.write("<PARAM NAME='Profile' VALUE='0'>");
	document.write("<PARAM NAME='ProfileAddress' VALUE=''>");
	document.write("<PARAM NAME='ProfilePort' VALUE='0'>");
	document.write("<embed src='"+sourceUrl+"' quality='high' WMode='Transparent' width='"+objWidth+"' height='"+objHeight+"' align='middle' allowScriptAccess='sameDomain'");
	document.write("type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>");
	document.write("</OBJECT>");
}

function goHome()
{
		document.location = '/index.asp';
}

// My Fila
function my(chk)
{
		if (chk==0) {
			document.location = '../myfila/info_change.php'; // 
		} else if (chk==1) {
			document.location = '../myfila/info_change.php'; // °³ÀÎÁ¤º¸ ¼öÁ¤
		} else if (chk==2) {
			document.location = '../myfila/my_familycard.php'; // ÆÐ¹Ð¸® Ä«µå
		} else if (chk==3) {
			//document.location = '../myfila/info_change.php'; // ÀÌº¥Æ® ÄíÆù
			document.location = '../myfila/event_info.html'; // ÀÌº¥Æ® ÀÀ¸ðÇöÈ²
		} else if (chk==4) {
		    document.location = '../myfila/order_info.php'; // ÁÖ¹®/¹è¼Û Á¶È¸
		} else if (chk==5) {
		    document.location = '../myfila/problem_info.php'; // ±³È¯/È¯ºÒ¾È³»
		} else if (chk==6) {
		    document.location = '../myfila/inquiry.php'; // ¹®ÀÇ»çÇ×	
		} else if (chk==7) {
		    document.location = '../myfila/order_info2.php'; // ¹®ÀÇ»çÇ×	
		}
}

// Customer Center
function customer(chk)
{
		if (chk==0) {
			document.location = '../customer/notice_list.php'; // 
		} else if (chk==1) {
			document.location = '../customer/notice_list.php'; // °øÁö»çÇ×
		} else if (chk==2) {
			document.location = '../customer/faq.php'; // FAQ
		} else if (chk==3) {
			document.location = '../customer/customer_qna.php'; // °í°´¹®ÀÇ
		} else if (chk==4) {
		    document.location = '../customer/AS.php'; // A/S¹®ÀÇ
		} else if (chk==5) {
		    document.location = '../customer/problem_info.php'; // ±³È¯/È¯ºÒ¾È³»
		} else if (chk==6) {
		    //document.location = '../customer/family_card.php'; // ÆÐ¹Ð¸® Ä«µå
		    document.location = '../myfila/my_familycard.php';
		} else if (chk==7) {
		    document.location = '../customer/shop_info_map.php'; // ¸ÅÀå¾È³»
		}
		
}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
	Flash Activete
	deute ²¨ ÈÉÃÄ¿Â zizzy;;
*/
function GnxFlashActivate ( strFlashUrl , n4Witdh , n4Height , strWmode , strId , strClassName , strFlashvar ) {
	//width,height ¿©ºÎ & ¹­À½ (width,height°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (n4Witdh != 0) {
		objSize_attribute = " width='"+ n4Witdh +"' height='"+ n4Height +"'";
	} else {
		objSize_attribute = "";
	}
	//id ¿©ºÎ (ID ¼¿·º·ºÅÍ°¡ ¾øÀ»°æ¿ì 0À¸·Î¼±¾ð)
	if (strId != 0) {
		objId_attribute = " id='" + strId + "'";
		objId_IE_attribute = " id='" + strId + "'";
	} else {
		objId_attribute = "";
		objId_IE_attribute = "";
	}
	//class ¿©ºÎ (class°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strClassName != 0) {
		className_attribute = " class='" + strClassName + "'";
	} else {
		className_attribute = "";
	}
	//wmode ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strWmode != 0) {
		wmode_param = "<param name='wmode' value='" + strWmode + "' />";
		wmode_attribute = " wmode='" + strWmode + "'";
	} else {
		wmode_param = "";
		wmode_attribute = "";
	}
	//Flashvar ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
	if (strFlashvar != 0) {
		Flashvar_param = "<param name='flashvars' value='" + strFlashvar + "' />";
		Flashvar_attribute = " Flashvars='" + strFlashvar + "'";
	} else {
		Flashvar_param = "";
		Flashvar_attribute = "";
	}
	document.writeln( "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' " + objSize_attribute + objId_IE_attribute + className_attribute + ">" );
	document.writeln( "<param name='movie' value='"+ strFlashUrl +"' />" );
	document.writeln( "<param name='quality' value='high' />" );
	document.writeln( "<param name='allowScriptAccess' value='always' />" );
	document.writeln( wmode_param );
	document.writeln( Flashvar_param );
	document.writeln( "<!-- Hixie method -->" );
	document.writeln( "<!--[if !IE]> <-->" );
	document.writeln( "<object type='application/x-shockwave-flash' data='"+ strFlashUrl +"'" + Flashvar_attribute + objSize_attribute + objId_attribute + wmode_attribute + className_attribute + "></object>" );
	document.writeln( "<!--> <![endif]-->" );
	document.writeln( "</object>" );
}


