//
// this is part of VDR Admin
//
function open_help(url) {
	window.open(url, "_blank", "width=580, height=480, resizable=yes, scrollbars=yes, status=no, toolbar=no");
}

function del(message, suffix) {
	check=confirm(message);
	if(check) window.location.href=suffix;
}

function change(message, suffix) {
	check=confirm(message);
	if(check) window.location.href=suffix;
}

function mdel_old(message) {
	check=confirm(message);
  if(check) document.FormName.submit();
}

function mdel(message) {
	check=confirm(message);
//  if(check) document.FormName.submit();
  return check;
}

function callurl( url ) {
	image = new Image();
	image.src = url;
}

function popup(URL) {
	window.open(URL, '_new', 'width=500, height=250, scrollbars=yes, resizable=yes, toolbar=no, status=no');
}

function toolbar(URL) {
	window.open(URL, '_new', 'width=200, height=50');
}

function AllMessages(myform)
{
	for (var x = 0; x < myform.elements.length; x++) {
		var y = myform.elements[x];
		if (y.name != 'SELALL')
				y.checked = myform.SELALL.checked;
	}
}
