function NewWin(WindowName, WindowURL, width, height) {
	var URL = WindowURL;
	var name = WindowName;
	var features =
		'width=' + width.toString()+       
        ',height=' + height.toString() +
        ',directories=0' +
        ',location=0' +
        ',menubar=0' +
        ',scrollbars=0' +
        ',status=0' +
        ',toolbar=0' +
        ',resizable=0';
		
	window.open(URL, name, features);
}
function CloseWin() {
	window.close()
}