function GnxFlashActivate ( strFlashUrl , n4Witdh , n4Height , strWmode , strId , strClassName , strFlashvar ) {

	if (n4Witdh != 0) {
		objSize_attribute = " width='"+ n4Witdh +"' height='"+ n4Height +"'";
	} else {
		objSize_attribute = "";
	}

	if (strId != 0) {
		objId_attribute = " id='" + strId + "'";
		objId_IE_attribute = " id='" + strId + "'";
	} else {
		objId_attribute = "";
		objId_IE_attribute = "";
	}

	if (strClassName != 0) {
		className_attribute = " class='" + strClassName + "'";
	} else {
		className_attribute = "";
	}

	if (strWmode != 0) {
		wmode_param = "<param name='wmode' value='" + strWmode + "' />";
		wmode_attribute = " wmode='" + strWmode + "'";
	} else {
		wmode_param = "";
		wmode_attribute = "";
	}

	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='https://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( "<param name='wmode' value='transparent' />" );
	document.writeln( "<embed src='"+ strFlashUrl +"' quality='high' '"+ objSize_attribute +"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'  wmode='transparent'></embed>" );
	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>" );*/
  	document.writeln( "</object>" );
}
function appendCss(){
	var id = 'HEADERCSS';
	var css = document.createElement('link');
	css.rel = 'Stylesheet';
	css.href= 'http://www.cultureland.co.kr/css/game_header.css';
	css.type = 'text/css';
	css.charset = 'utf-8';
	document.getElementsByTagName('head')[0].appendChild(css);
}
appendCss()
document.write(" <table border='0' cellpadding='0' cellspacing='0' width='100%' style='background:url(http://www.cultureland.co.kr/asp/images/common/game_top_bg.gif) repeat-x center; height:58px;'> ")
document.write("	<tr> ")
document.write("		<td style='text-align:center; vertical-align:top; padding:3px 0 0 0;'> ")
document.write("		<table border='0' cellpadding='0' cellspacing='0' width='920px' align='center'> ")
document.write("			<tr>")
document.write("				<td style=' padding:4px 10px 0 0; width:140px;'><a href='http://game.cultureland.co.kr' target='_top'><img src='http://www.cultureland.co.kr/asp/images/common/gamegnb_logo2.gif' alt='Culture °ÔÀÓ'></a></td>")
document.write(" 				<td style=' padding-top:10px; width:520px; text-align:left;'><div style='position:absolute; top:0; width:500px; height:100px; z-index:10; visibility:show;'><script type='text/javascript'>GnxFlashActivate('http://www.cultureland.co.kr/asp/flash/CultureGame_GNB.swf', '525', '130', '', '', '', '')</script></div></td>")
document.write(" 				<td style='padding:5px 0 0 0;'>")
document.write(" 				<table border='0' cellpadding='0' cellspacing='0' style='background-color:#f4f4f4; padding:5px 10px 0 10px; width:260px; height:18px;'>")
document.write("					<tr style='text-align:center'>")
document.write("						<td>")
document.write("						<table border='0' cellpadding='0' cellspacing='0' width='250px'>")
document.write("							<tr>")
document.write("								<td><a href='http://game.cultureland.co.kr/event/event_main.asp' target='_top'><img src='http://www.cultureland.co.kr/asp/images/common/game_top_right_mn001.gif' alt='ÀÌº¥Æ®' /></a></td>")
document.write("								<td><a href='http://game.cultureland.co.kr/community/fun.asp?board_section=comm_fun' target='_top'><img src='http://www.cultureland.co.kr/asp/images/common/game_top_right_mn002.gif' alt='Ä¿¹Â´ÏÆ¼' /></a></td>")
document.write("								<td><a href='http://nolto.cultureland.co.kr/shop/avatar/mall/g_avatar.asp' target='_top'><img src='http://www.cultureland.co.kr/asp/images/common/game_top_right_mn003.gif' alt='¾Æ¹ÙÅ¸' /></a></td>")
document.write("								<td><a href='http://game.cultureland.co.kr/customer/customer.asp' target='_top'><img src='http://www.cultureland.co.kr/asp/images/common/game_top_right_mn004.gif' alt='Game °í°´¼¾ÅÍ' /></a></td>")
document.write("							</tr> ")
document.write("						</table> ")
document.write("						</td> ")
document.write("					</tr> ")
document.write("				</table> ")
document.write("				</td> ")
document.write("			</tr> ")
document.write("			<tr> ")
document.write("				<td colspan='3'> ")
document.write("				<table border='0' cellpadding='0' cellspacing='0' width='920px'> ")
document.write("					<tr> ")
document.write("						<td style='text-align:left; padding-top:10px;color:#999;font-size:11px; width:700px;'>º» °ÔÀÓÀº ÄÃÃÄ·£µå¿Í °¢ °ÔÀÓ»ç°¡ ÇÔ²² ¼­ºñ½º Á¦°øÇÏ°í ÀÖ½À´Ï´Ù.</td> ")
document.write("						<td style='text-align:right;padding-top:5px;'> ")
document.write("						<table border='0' cellpadding='0' cellspacing='0'> ")
document.write("							<tr> ")
document.write("								<td style='padding:6px 10px 0 0; color:#666;font-size:11px;'><img src='http://www.cultureland.co.kr/asp/images/common/bult_gray.gif'></span> <a href='http://www.cultureland.co.kr' target='_top' class='button'>ÄÃÃÄ·£µå</a></td>								 ")
document.write("								<td style='padding:6px 10px 0 0; color:#666;font-size:11px;'><img src='http://www.cultureland.co.kr/asp/images/common/bult_gray.gif'></span> <a href='https://www.cultureland.co.kr/asp/mypage/charge01_2.asp' target='_top' class='button'>ÄÃÃÄÄ³½¬ ÃæÀü</a></td> ")
document.write("								<td style='padding:6px 0 0 0; color:#666;font-size:11px; font-weight:bold;'><img src='http://www.cultureland.co.kr/asp/images/common/bult_gray.gif'></span> <a href='http://www.cultureland.co.kr/asp/mypage/index.asp' target='_top' class='button'>·Î±×ÀÎ</a></td> ")
document.write("							</tr> ")
document.write("						</table> ")
document.write("						</td> ")
document.write("					</tr> ")
document.write("				</table> ")
document.write("				</td>		 ")		
document.write("			</tr> ")
document.write("		</table> ")
document.write("		</td> ")
document.write("	</tr>		  ")
document.write(" </table> ")
