function gameDownLoadx(code, gtype) { 
	
	window.open("/downpopup.html?code=" + code + "&gametype=" + gtype,"gdown","width=500 height=257");
	
}

function viewPopImg(game_type,game_code,game_num) {

	window.open("/screenshot.html?game_type=" + game_type + "&game_code=" + game_code + "&game_num=" + game_num,"","width=600 height=471");
}

function viewPopImg_oraksil(game_type,game_code,game_num,width,height) {

		window.open("/screenshot.html?game_type=" + game_type + "&game_code=" + game_code + "&game_num=" + game_num,"","width=" + width + " " + "height=" +height);
}

function gameDowns() {

	frm = document.star_point_frm;
	frm.mode.value = "gamedown";
	frm.submit();

}

function myGameBag() {
	frm = document.star_point_frm;
	frm.mode.value = "mygame";
	frm.submit();	
	
}

// ½É½É´ñ±Û -
function comment_delete(code) {
	
	frm = document.comment;
	if (confirm("»èÁ¦ ÇÏ½Ã°Ú½À´Ï±î?") ) { 
	
		
		frm.action="/include/comment_delete.php";
		frm.comment_code.value = code;
		frm.method="post";
		frm.submit();
	
	} else {
	
		return false;
	
	}
	
	
}


// ºñ¹ý Àü¼ö -
function comment_regist2() {
	
	frm = document.nowhow;
	
	if (frm.content.value == "" ) {
	
		alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		frm.content.focus();
		
	
	} else {
	
		
		frm.action = "/include/comment_save.php";
		frm.method="post";
		frm.submit();
		
	}
	
}

function comment_delete2(code) {
	
	frm = document.nowhow;
	if (confirm("»èÁ¦ ÇÏ½Ã°Ú½À´Ï±î?") ) { 
	
		
		frm.action="/include/comment_delete.php";
		frm.comment_code.value = code;
		frm.method="post";
		frm.submit();
	
	} else {
	
		return false;
	
	}
	
}

function openflash() {

	winmemo = window.open("/flashgame/flash_how.html","setMemo","width=536 height=335 scrollbars=no");	
	
}


function check_icon1(code) { 

	frm = document.comment;
	frm.select_icon.value = code;
	
}

function check_icon2(code) { 

	frm = document.nowhow;
	frm.select_icon.value = code;
	
}
