function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function checkserch(frm) {
	if(frm.kwd.value == "") {
		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		frm.kwd.focus();
		return;
	}
	var flag = 0;
	for (var i=0; i < frm.kwd.value.length; i++) {
		if ( frm.kwd.value.charAt(i) == " ") {
			flag++;
		}
	}
	if (flag == frm.kwd.value.length) {
		alert("°ø¹é¸¸ »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.´Ù½Ã ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		frm.kwd.focus();
		return;
	}
	frm.submit();
}

function resizeImg(imgObj,size) {
	if(imgObj.width > size) {
		imgObj.width = size;
	}
}
var text = "SEOUL SAMSUNG THUNDERS";
var speed = 100
function StatusSet() {
	top.status = text;
	setTimeout("StatusSet()",speed);
}
//StatusSet();


/* Object º¯°æ ºÎºÐ ½ºÅ©¸³Æ® */
/* GNB */
function GNB(depth1, depth2, ls) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="918" height="105" id="gnb_navi" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="/image/swf/gnb_navi.swf?flash_xml=/image/swf/XML/flash_url.xml&depth01=' + depth1 + '&depth02=' + depth2 + '&logNum=' + ls + '" />');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="bgcolor" value="#7CD3F1" />');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/gnb_navi.swf" quality="high" bgcolor="#ffffff" width="918" height="105" name="gnb_navi" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ');
	document.write('</object>');
}
/* QuickMenu */
function QuickMenu() {
	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="110" height="210">');
	document.write('  <param name="movie" value="/image/swf/quickmenu.swf">');
	document.write('  <param name="quality" value="high">');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/quickmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="110" height="210"></embed>');
	document.write('</object>');
}

/* banner_01 */
function banner_01() {
	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="160" height="50">');
	document.write('  <param name="movie" value="/image/swf/soobinflash.swf">');
	document.write('  <param name="quality" value="high">');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/soobinflash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="50"></embed>');
	document.write('</object>');
}
/* Left Navi */
function LeftNavi(gb, depth2, depth3) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="258" height="414" id="left_navi" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="/image/swf/left_navi_' + gb + '.swf?flash_xml=/image/swf/XML/flash_url.xml&depth02='+depth2+'&depth03='+depth3+'" />');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="bgcolor" value="#99dff8" />');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/left_navi_' + gb + '.swf" quality="high" bgcolor="#99dff8" width="258" height="414" name="left_navi_1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
/* Visual */
function MainVisual() {
	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="375" height="515">');
	document.write('  <param name="movie" value="/image/swf/main_visual.swf">');
	document.write('  <param name="quality" value="high">');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/main_visual.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="375" height="515"></embed>');
	document.write('</object>');
}
/* Fighting */
function MainFighting() {
	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="143" height="515">');
	document.write('  <param name="movie" value="/image/swf/message.swf?link=/comuser/members/comment_fighting.asp">');
	document.write('  <param name="quality" value="high">');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/swf/message.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="143" height="515"></embed>');
	document.write('</object>');
}

/* ¿µ¹® GNB */
function Eng_GNB(depth1, depth2, ls) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="918" height="105" id="gnb_navi" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="/image/eng_swf/gnb_navi.swf?flash_xml=/image/eng_swf/XML/flash_url.xml&depth01='+depth1+'&depth02='+depth2+'&logNum='+ls+'" />');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="bgcolor" value="#7CD3F1" />');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/eng_swf/gnb_navi.swf" quality="high" bgcolor="#ffffff" width="918" height="105" name="gnb_navi" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
/* ¿µ¹® Left Navi */
function Eng_LeftNavi(gb, depth2, depth3) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="258" height="414" id="left_navi" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="/image/eng_swf/left_navi_'+gb+'.swf?flash_xml=/image/eng_swf/XML/flash_url.xml&depth02='+depth2+'&depth03='+depth3+'" />');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="bgcolor" value="#99dff8" />');
	document.write('  <param name="wmode" value="transparent">');
	document.write('  <embed src="/image/eng_swf/left_navi_'+gb+'.swf" quality="high" bgcolor="#99dff8" width="258" height="414" name="left_navi" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
/* ¹Ìµð¾î ¼¾ÅÍ */
function MediaCenter(URL) {
	document.write('<object ID="VodPlayer" name="VodPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"  standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="middle" width="320" height="286">');
	document.write('  <param name="CurrentPosition" value="1">');
	document.write('  <param name="SetCurrentEntry" value="1">');
	document.write('  <param name="ClickToPlay" value="1">');
	document.write('  <param name="AutoSize" value="0">');
	document.write('  <param name="AutoStart" value="1">');
	document.write('  <param name="ShowControls" value="1">');
	document.write('  <param name="ShowAudioControls" value="1">');
	document.write('  <param name="ShowDisplay" value="0">');
	document.write('  <param name="ShowStatusBar" value="0">');
	document.write('  <param name="EnableContextMenu" value="0">');
	document.write('  <param name="ShowPositionControls" value="0">');
	document.write('  <param name="DisplayBackColor" value="0">');
	document.write('  <param name="ShowTracker" value="1">');
	document.write('  <param name="ShowCaptioning" value="0">');
	document.write('  <param name="AutoRewind" value="0">');
	document.write('  <param name="EnableTracker" value="1">');
	document.write('  <param name="Volume" value="-1">');
	document.write('  <param name="Filename" value="'+URL+'">');
	document.write('</object>');
}