<!--
function sendmail_check(theForm)
{
           if (theForm.name.value == "")
	{
		alert("º¸³»´Â»ç¶÷ ¼º¸íÀ» ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿ä.");
		theForm.name.focus();
		return false;
	}

           if (theForm.from.value == "")
	{
		alert("º¸³»´Â»ç¶÷ E-MailÀ» ÀÔ·ÂÇÏ¿© ÁÖ½Ê½Ã¿ä.");
		theForm.from.focus();
		return false;
	}
	
           if (theForm.from.value.length > 0) {
		var dotIndex;
		var atIndexl;
		atIndex = theForm.from.value.indexOf('@');
		dotIndex = theForm.from.value.indexOf('.');
		if (atIndex < 0 || dotIndex < 0 || atIndex > dotIndex) {
			alert("E-mail ÁÖ¼Ò¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇØ¾ß ÇÕ´Ï´Ù.");
			theForm.from.focus();
			return false;
		}
		for (i=0;i<theForm.from.value.length;i++) {
			ch = theForm.from.value.charAt(i);
			if (IsAlnum(ch) == false && ch != '@' && ch != '.' && ch != '-' && ch != '_' ) {
				alert("E-mail ÁÖ¼Ò¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇØ¾ß ÇÕ´Ï´Ù.");
				theForm.from.focus();
				return false;
			}
		}
	}

        if (theForm.subject.value=="")
	{
		alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
		theForm.subject.focus();
		return false;
	}

	if (theForm.content.value=="")
	{
		alert("³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
		theForm.content.focus();
		return false;
	}

        if (confirm("°ü¸®ÀÚ¿¡°Ô E-mailÀ» Àü¼ÛÇÏ½Ã°Ú½À´Ï±î?"))
		return true;
	else	
		return false;	
}


function IsAlnum(ch) {
    return ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9'));
}

function fnMouse(obj, col)
	{
		obj.style.cursor = "hand" ;
		obj.borderColor = col ;
		obj.style.backgroundColor = col ;
	}

//-->