// JavaScript Document
function customInput (e,__input) 
{
	var goodInput = __input;
	var evt = (e)?e:window.event;
	var key_code = (document.all)?evt.keyCode:evt.which;
	
	if (key_code == 0 || key_code == 8) return true;
	if (goodInput.indexOf(String.fromCharCode(key_code)) == -1)
		return false;			
	else
		return true;
}

function popup_make_center(__width,__height)
{
	var _top = (window.screen.height - __height) / 2;
	var _left = (window.screen.width - __width) / 2;
	
	window.resizeTo(__width,__height);
	window.moveTo(_left,_top);
}


