var JS_detect_flash=0;
//if(navigator.plugins["Shockwave Flash"]) JS_detect_flash = 1;
function load(key, name, value, target) {
document.epus.elements.key.value = key;
if(name) document.epus.elements[name].value = value;
document.epus.target = target;
document.epus.submit();
}
function printer(url) {
var x = parseInt(window.screen.availWidth/10);
var y = parseInt(window.screen.availHeight/10);
w = parseInt(window.screen.availWidth/1.3);
h = parseInt(window.screen.availHeight/1.4);
win = window.open(url, 'print', 'toolbar=yes,scrollbars=yes,status=no,resizable=yes,height='+h+',width='+w+",left="+x+",top="+y+",screenX="+x+",screenY="+y);
win.focus();
//if(win.print) win.print();
}
function view(url, w, h) {
var x = parseInt(window.screen.availWidth/5);
var y = parseInt(window.screen.availHeight/5);
w = w + 55;
h = h + 110;
if(w > 1024) w = 1024;
if(h > 768) h = 768;
win = window.open(url, 'win', 'toolbar=no,scrollbars=yes,status=no,resizable=yes,height='+h+',width='+w+",left="+x+",top="+y+",screenX="+x+",screenY="+y);
win.resizeTo(w, h);
win.focus();
}
function showGalleryImg(url, width, height, alt) {
var x = parseInt(window.screen.availWidth/5);
var y = parseInt(window.screen.availHeight/5);
var w = 35 + width;
var h = 35 + height;
if(w > 800) w = 800;
if(h > 600) h = 600;
win = window.open('', 'gallery', 'scrollbars=yes,status=yes,resizable=yes,height='+h+',width='+w+",left="+x+",top="+y+",screenX="+x+",screenY="+y);
win.document.open("text/html");
win.document.writeln('
Galerie');
win.document.close();
win.resizeTo(w+15, h+46);
win.focus();
}
function show4img(url1, url2, url3, url4, width1, height1, width2, height2, width3, height3, width4, height4) {
var x = parseInt(window.screen.availWidth/5);
var y = parseInt(window.screen.availHeight/5);
var w = 20 + width1 + 25;
var h = 35 + height1 + 66;
if(w > 800) w = 800;
if(h > 600) h = 600;
var win = window.open('', 'show4img', 'scrollbars=yes,status=yes,resizable=yes,height='+h+',width='+w+",left="+x+",top="+y+",screenX="+x+",screenY="+y);
win.document.open("text/html");
win.document.writeln('Gal');
win.document.writeln('');
win.document.writeln('');
win.document.writeln('');
win.document.close();
win.focus();
}
function html4img(url1, url2, url3, url4, width1, height1, width2, height2, width3, height3, width4, height4) {
var w = 20 + width1 + 25;
var h = 35 + height1 + 66;
if(w > 800) w = 800;
if(h > 600) h = 600;
var body = '