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
|
/*jslint browser: true */
//
// this is part of VDR Admin
//
function open_help(url) {
window.open(url, "VDRAdminHELP", "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(but, message) {
return confirm(message);
}
function callurl(url) {
image = new Image();
Now = new Date();
image.src = url + "&rand=" + Now.getTime();
}
function popup(URL, win_w, win_h) {
window.open(URL, '_blank', 'width=' + win_w + ', height=' + win_h + ', scrollbars=yes, resizable=yes, toolbar=no, status=no');
}
function toolbar(URL) {
window.open(URL, '_blank', '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;
}
}
}
|