<!--
function render_flash(url, width, height) {
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="' + url + '">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<param name="menu" value="false" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<embed src="' + url + '" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" wmode="transparent"></embed>');
		document.write('</object>');
}

function render_flash_wholeview(url, width, height) {
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="' + width + '" height="' + height + '" VIEWASTEXT id="wholeview">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="' + url + '">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<param name="menu" value="false" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<embed src="' + url + '" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" wmode="transparent" name="wholeview"></embed>');
		document.write('</object>');
}

function render_flash_quick(url, width, height) {
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="' + width + '" height="' + height + '" VIEWASTEXT id="quick01">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="' + url + '">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<param name="menu" value="false" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<embed src="' + url + '" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" wmode="transparent" name="quick01"></embed>');
		document.write('</object>');
}

function getRect() {
	return {
		x: document.body.scrollLeft,
		y: document.body.scrollTop,
		width: document.body.clientWidth, 
		height: document.body.clientHeight}
}

function goLogin(ID,PW,saveCheck) {
	if (ID == "")
	{
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		return ;
	}
	if (PW == "")
	{
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		return ;
	}
	document.frmFlash.Id.value = ID;
	document.frmFlash.Pass.value = PW;
	document.frmFlash.submit();
}

function sendLogin() {
	document.frmFlash.action = "https://membership.kyowon.co.kr/login.asp"
	document.frmFlash.submit();
}

function goLogout() {
	document.location.href = "/kw_front/common/CookieLogout.asp";
}

function getMovieName(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) return window[movieName];
	else return document[movieName];
}

function render_wholeview() {
  document.getElementById("_wholeview").style.display = "inline";
  document.getElementById("_subwholeview").style.height = "640px";
  getMovieName("wholeview").wOpen(); 
}

function render_wholeclose() {
   document.getElementById("_subwholeview").style.height = "1px";
   document.getElementById("_wholeview").style.display = "none";
}

function render_eduplan01() {
  document.getElementById("_eduplan01").style.display = "inline";
  document.getElementById("_subeduplan01").style.height = "894px";
  getMovieName("eduplan01").wOpen(); 
}

function render_edupalnclose01() {
   document.getElementById("_subeduplan01").style.height = "0";
   document.getElementById("_eduplan01").style.display = "none";
}

function render_eduplan02() {
  document.getElementById("_eduplan02").style.display = "inline";
  document.getElementById("_subeduplan02").style.height = "250px";
  getMovieName("eduplan02").wOpen(); 
}

function render_edupalnclose02() {
   document.getElementById("_subeduplan02").style.height = "0";
   document.getElementById("_eduplan02").style.display = "none";
}

function render_jemnotic_pop01() {
	window.open('/kw_front/premiumstudy/pop_notice_01.asp', 'jemnotic', 'width=521, height=397, scrollbars=no');
}

function render_jemnotic_pop02() {
	window.open('/kw_front/premiumstudy/pop_notice_02.asp', 'jemnotic', 'width=521, height=397, scrollbars=no');
}

function render_jemnotic_pop03() {
	window.open('/kw_front/premiumstudy/pop_notice_03.asp', 'jemnotic', 'width=521, height=397, scrollbars=no');
}

function render_jemnotic_pop04() {
	window.open('/kw_front/premiumstudy/pop_notice_04.asp', 'jemnotic', 'width=521, height=397, scrollbars=no');
}

function render_goKSL(uid) {
	location.href = '/kw_front/diagnosis/ksl/self_led_ksl.asp';
	/*
	var now = new Date();
	var todayDate = now.getFullYear()+"0"+(now.getMonth()+1)+now.getDate()+now.getHours()+"00";	
	//alert(todayDate);
	if((todayDate>"201008272159") && (todayDate<"201008272359")){
		alert("¼­ºñ½º ÀÌ¿ë¿¡ ºÒÆíÀ» µå·Á ÁË¼ÛÇÕ´Ï´Ù.\n\nÇöÀç Àåºñ ¾÷±×·¹ÀÌµå·ÎÀÎÇØ ÇØ´ç ¼­ºñ½ºÀÇ ÀÌ¿ëÀÌ ºÒ°¡ÇÕ´Ï´Ù.\n\nÁßÁö ±â°£ : 8¿ù 27ÀÏ 22½Ã ~ 24½Ã");
	}
	else{
		window.open('http://ksl.kyowon.co.kr/exam/index02.aspx?user_id='+uid, 'ksl', 'width=1000, height=740, location=no, scrollbars=yes');
	}
	*/
	/*
	var nDate = new Date();
	var sDate = new Date("Thu Nov 19 02:00:00 UTC+0900 2009");
	var eDate = new Date("Thu Nov 19 06:00:00 UTC+0900 2009");
	if (sDate<=nDate && nDate<=eDate){
		alert("ÇöÀç ¼­ºñ½º Á¡°ËÁß¿¡ ÀÖ½À´Ï´Ù.\n\n[Á¡°Ë ½Ã°£ : 19ÀÏ 02:00 ~ 06:00 AM]\n\n¼­ºñ½º ÀÌ¿ë¿¡ ºÒÆíÀ» µå·Á ÁË¼ÛÇÕ´Ï´Ù.");
	}
	else {
		window.open('http://ksl.kyowon.co.kr/exam/index02.aspx?user_id='+uid, 'ksl', 'width=1000, height=740, location=no, scrollbars=yes');
	}
	*/
}

function render_goevent_apply02() {
	window.open('http://www.kyowon.co.kr/popup/p_event_apply02.asp', 'p_event_apply02', 'width=500, height=500, location=no, scrollbars=no');
}

function render_testBankErr_NoLogin() {
	alert('·Î±×ÀÎÈÄ¿¡¸¸ »ç¿ë°¡´ÉÇÑ ¸Þ´ºÀÔ´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}
function render_testBankErr_OnlyElim() {
	alert('ÃÊµî È¸¿ø¸¸ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}

function render_testBankErr_OnlyElim36() {
	alert('ÃÊµî 3~6 ÇÐ³â ÇÐ»ý¸¸ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}

function render_testBankErr_OnlyMiddle() {
	alert('Áßµî È¸¿ø¸¸ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}
//function minisamNoUse() {
	//alert('&#47784;&#51032;&#44256;&#49324; &#44592;&#44036;&#50640;&#45716; &#48120;&#45768;&#49368; &#51060;&#50857;&#51060; &#51228;&#54620;&#46121;&#45768;&#45796;.');
//}
function render_testBankErr_Stop() {
	alert('¼­ºñ½º Á¡°Ë ÁßÀÔ´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}

function render_testBank_Close() {
	alert('½ÃÇè´ëºñ ¹®Á¦ÀºÇà ¼­ºñ½º Á¾·á¿¡ µû¶ó ½ÃÇèÀÇ ´ÞÀÎ ÇÙ½É°³³ä Æ¯°­À¸·Î 4¿ù 1ÀÏºÎÅÍ ¼­ºñ½º ÇÕ´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}

function render_mathCoolErr_Stop() {
	alert('¸Å½ºÄð ¼­ºñ½º ÀÓ½Ã Á¡°ËÁßÀÔ´Ï´Ù.\nÀÌ¿ë¿¡ ºÒÆíÀ» µå·Á ÁË¼ÛÇÕ´Ï´Ù.');
	//document.location.href = '/kw_front/premiumstudy/redpen/submain01.asp';
}

function render_engarea_Ready() {
	alert('Level III´Â 2011³â¿¡ ¿ÀÇÂ µË´Ï´Ù.');
}

function render_Play_Stop() {
	alert('12¿ù 6ÀÏ ¿ÀÈÄ 6½ÃºÎÅÍ 8½Ã 00ºÐ±îÁö ¹Ì´Ï»ù ¼­ºñ½º Á¡°Ë ÁßÀÔ´Ï´Ù.\n\nÀÌ¿ë¿¡ ºÒÆíÀ» µå·Á ÁË¼ÛÇÕ´Ï´Ù.');
}

function jemPopup(){
	window.open('/kw_front/popup/pop_20090803.html','jem_down','width=293,height=280');
	return;
}
//-->

