



// ·Î±×ÀÎ Æû ½ÃÀÛ

	function Jlogin_check() 	{
		var f = document.Jlogin_form;

		f.screen_width.value = window.screen.width;
		
		if (f.me_id.value == "") {
			alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
			f.me_id.focus();
			return false;
		}

		if (f.me_pass.value == "") {
			alert("ÆÐ½º¿öµå¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
			f.me_pass.focus();
			return false;
		}

	}



	function AutoLogin_check() { 
		if (document.Jlogin_form.auto_login.checked==true) {
			var check;  
			check = confirm("ÀÚµ¿ ·Î±×ÀÎ ±â´ÉÀ» »ç¿ëÇÏ½Ã°Ú½À´Ï±î?\n\nÀÚµ¿ ·Î±×ÀÎ »ç¿ë½Ã ´ÙÀ½ Á¢¼ÓºÎÅÍ´Â ·Î±×ÀÎÀ» ÇÏ½ÇÇÊ¿ä°¡ ¾ø½À´Ï´Ù.\n\n´Ü, °ÔÀÓ¹æ, ÇÐ±³µî °ø°øÀå¼Ò¿¡¼­ ÀÌ¿ë½Ã °³ÀÎÁ¤º¸°¡ À¯ÃâµÉ ¼ö ÀÖÀ¸´Ï ÁÖÀÇÇØÁÖ¼¼¿ä");

			if(check==false) {
				document.Jlogin_form.auto_login.checked=false;
			}

		}                  
	}




	function Login(La, Lb, Lc, Ld, width, height, Le, Lf, Lg, Lh) {
	
		var link_href;

		if (Lc.lastIndexOf("%")+1 > 0) Lc = Lc.replace("%", "¡§")

		if (Ld.lastIndexOf("#")+1 > 0) Ld = Ld.replace("#", "")


		locationStep = Lh.split("../").length-1;
		LogInOutStep = Lf.split("../").length-1;

		for (i=1; i <= LogInOutStep; i++){
			Lf = Lf.replace("../", "");
		}

		
		link_href = Lh+'skin/Jlogin_outside/'+La+'/login_form.asp';
		link_href += '?login_var='+La+',';
		link_href += Lb+','+Lc+',';
		link_href += Ld+','+Le+',';
		link_href += Lf+','+Lg+',';
		link_href += LogInOutStep+','+locationStep;

		SLB(link_href,'iframe', width, height, true, true);
	
	}





	function loginLink(relative_location, webSkin, mobileSkin, fileLocation, target) {

		if (mobileSkin != '') mobileSkin += '/';
		if (webSkin != '') webSkin += '/';

		if (window.screen.width == 320) {
			eval(target).location.href = relative_location + mobileSkin + fileLocation;
		} else {
			eval(target).location.href = relative_location + webSkin + fileLocation;
		}		

		if (target == 'parent') {
			parent.SLB();
		}

	}




	function authLink(relative_location, webSkin, mobileSkin, fileLocation) {

		if (mobileSkin != '') mobileSkin += '/';
		if (webSkin != '') webSkin += '/';

		if (window.screen.width == 320) {
			window.location.href = relative_location + mobileSkin + fileLocation;
		} else {
			window.location.href = relative_location + webSkin + fileLocation;
		}

	}



// ·Î±×ÀÎ Æû ³¡



