function showDialogBox(id, name)
{
	width = 370;
	height = 500;
	w = window.open('', 'da_' + name,'toolbar=no,scrollbars=no,status=no,resizable=yes,height=' + height + ',width=' + width);
	if (!(w.framelog)) {
		w = window.open('/dialog.php?id=' + id, 'da_' + name,'toolbar=no,scrollbars=no,status=no,resizable=yes,height=' + height + ',width=' + width);
		w.focus();
	}
}

function showDialogLog(id1, id2)
{
	width = 370;
	height = 500;
	w = window.open('', 'da_' + id1 + '_' + id2,'toolbar=no,scrollbars=auto,status=no,resizable=yes,height=' + height + ',width=' + width);
	if (!(w.framelog)) {
		w = window.open('/dialogview.php?member1_id=' + id1 + '&member2_id=' + id2, 'da_' + id1 + '_' + id2,'toolbar=no,scrollbars=auto,status=no,resizable=yes,height=' + height + ',width=' + width);
		w.focus();
	}
}

function showPopup(url, name, width, height, scrollbars)
{
	w = window.open(url, 'da_' + name,'toolbar=no,scrollbars=' + scrollbars + ',status=no,resizable=yes,height=' + height + ',width=' + width);
	//w.focus();
}


