function checkIt(form){
	if(!form.id.value){
		alert("ID를 입력하세요!");
		form.id.focus();
		return false;
	}
	if(!form.passwd.value){
		alert("비밀번호를 입력하세요!");
		form.passwd.focus();
		return false;
	}
	return true;
}

function lostid_open(){
	var window_left=(screen.width-640)/2;
	var window_top=(screen.height-480)/2;
	window.open("/bbs/lostid.php?mode=form-id",'','width=450,height=250,top='+window_top+',left='+window_left+',resize=no,scrollbar=no');
}
/*function lostpw_open(){
	var window_left=(screen.width-640)/2;
	var window_top=(screen.height-480)/2;
	window.open("../bbs/lostid.php?mode=form-pw",'','width=350,height=200,top='+window_top+',left='+window_left+',resize=no,scrollbar=no');
}*/
function gotoURL(){
	locaion.href='<?echo("$url")?>';
	
}	
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
//  onClick="MM_openBrWindow('/openlect/openlect.php','','width=665,height=442')"
}

