function winOpen(url,width,height) {
	var status = "width=" + width + ",height=" + height + ",toolbar=no,status=no,menubar=no, scrollbars=atuo, resizable=yes";
	win = window.open(url,'',status);
} 

function winOpen2(url,width,height) {
	var status = "width=" + width + ",height=" + height + ",toolbar=no,status=no,menubar=no, scrollbars=yes, resizable=yes";
	win = window.open(url,'',status);
} 

function winClose() {
	self.close();
}

function winClose2(choice) {
	if(choice=="ok")
		self.close();
	else
		history.back();
}

function idCheckOpen(table) {
	var userid = document.gaipform.userid.value;
	
	var url = "id_check.php?userid=" + userid + "&table=" + table;
	winOpen(url, 300,200);
}

function delConfirm(url) {
	if(confirm('Will you delete it really?'))
		location.href=url;
	else
		return;
}

	function delConfirm1(b_search)
	{
		if(confirm("Will you delete it really?"))
			location.href='list.php' + b_search + '&board=ok&mode=del';
	}

	function delConfirm2(b_search)
	{
		if(confirm("Will you delete it really?"))
			location.href='list1.php' + b_search + '&board=ok&mode=del';
	}

