/**************************************************************************************
* Á¦    ¸ñ : »ç¿ëÀÚ °ü·Ã ½ºÅ©¸³Æ®
* ¼³    ¸í : MEM.asp(js)
* ÀÛ ¼º ÀÚ : sunjoo,na (loveforssun@hotmail.com)
* ÀÛ ¼º ÀÏ : 2006-07-07
* ¼öÁ¤ÀÌ·Â : 
**************************************************************************************/
/*
	ÃÊ±âÈ­
*/
function fDefault(){
	for(var intLoop = 0; intLoop < form.elements.length; intLoop++)
	{
		//ÃÊ±âÈ­ÇÒ °ª ¼¼ÆÃ
		if(null != form.elements[intLoop].getAttribute("Default"))
		{
			if(form.elements[intLoop].tagName == "INPUT"){
				form.elements[intLoop].value = "";
			}else if(form.elements[intLoop].tagName == "SELECT"){
				form.elements[intLoop].options[0].selected = true;
			}
		}
		
		//SELECT BOX ±æÀÌ°ªÀ» 1·Î ÃÊ±âÈ­
		if(null != form.elements[intLoop].getAttribute("DefaultLength"))
		{
			if(form.elements[intLoop].tagName == "SELECT"){
				form.elements[intLoop].length = 1;
			}
		}

		//Check BOX, Radio BOXÀÇ °ªÀ» unCheck·Î ÃÊ±âÈ­
		if(null != form.elements[intLoop].getAttribute("DefaultCheck"))
		{
			fSetRadioChecked(form.elements[intLoop].name, "");
		}

	}
}


/*
	ÆäÀÌÁö ÀÌµ¿
*/
function fMemMovePage(pPage, pElement1, pElement2, pValue1, pValue2, pTarget){
	with(form){
		if(pElement1 != '') eval(pElement1).value = pValue1;
		if(pElement2 != '') eval(pElement2).value = pValue2;
		target = pTarget;
		action  = pPage;
		submit();
	}
}

/*
	·Î±×¾Æ¿ô
*/
function fLogOut(){
	with(form){
		hiddenProcess.value = "OUT";
		target = "hiddenFrame";
		action = "/MEM/LOGProcess.asp";
		submit();
	}
}

