1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
//
// 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;
}
}
|