function confirmAction(message, url) {
	if (confirm(message)) {
		window.location.href = url;
	}
}

function openWindow(url, name, width, height) {
	window.open(url, name, 'width='+width+',height='+height+',scrollbars=1');
	return false;
}
