function clear_value(val, this_ob)
		{
			this_ob.value		= Trim( this_ob.value );
			if( this_ob.value == val ){	this_ob.value = "";	}
		}

		function send()
		{

			if( document.frm_main.id.value == "" )
			{
				alert("IDを入力してください。");
				document.frm_main.id.focus();
				return;
			}
			
			if( document.frm_main.password.value == "" )
			{
				alert("PASSWORDを入力してください。");
				document.frm_main.password.focus();
				return;
			}			
			
			with(document.frm_main)
			{
				action = "login_post.php";
				target = "_self";
				method = "post";
		    	submit();
		    }

		}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
