<!--

function watchvideo(url) {
  var h = 480;
  var w = 640;
  var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera) y = 0;
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no";
  parameter += ",resizable=yes,scrollbars=no";
  Fenster = window.open(url,"PopUp",parameter);
}

function video(url) {
  var h = 408;
  var w = 500;
  var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera) y = 0;
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no";
  parameter += ",resizable=yes,scrollbars=no";
  Fenster = window.open(url,"PopUp",parameter);
}

function divshare(url) {
  var h = 370;
  var w = 425;
  var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera) y = 0;
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no";
  parameter += ",resizable=yes,scrollbars=no";
  Fenster = window.open(url,"PopUp",parameter);
}

function audio(url){
  var h = 100;
  var w = 300;
  h = h - 20; var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera) y = 0;
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no";
  parameter += ",resizable=yes,scrollbars=no";
  Fenster = window.open(url,"PopUp",parameter);

}

function image(url,w,h) {
  var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera) y = 0;
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no";
  parameter += ",resizable=yes,scrollbars=no";
  Fenster = window.open(url,"PopUp",parameter);
}

function spoil(id){
if (document.getElementById) {
var divid = document.getElementById(id);
divid.style.display = (divid.style.display=='block'?'none':'block');
} }

function catedit(url)
{
open(url, 'catedit', "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=0,width=400px,height=300px");
href = url;
}

function langedit(url)
{
open(url, 'langedit', "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=0,width=300px,height=320px");
href = url;
}

function addimg(url)
{
open(url, 'addimg', "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=326px,height=140px");
href = url;
}

function editn(url)
{
open(url, 'editn', "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=700px,height=660px");
href = url;
}
function upload(url)
{
open(url, 'upload', "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=0,width=400px,height=190px");
href = url;
}

function newspopup(url)
{
open(url, 'newspopup', "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=600px,height=400px");
href = url;
}

function change(url)
{
open(url, 'change', "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=300px,height=200px");
href = url;
}

function print(url)
{
open(url, 'print', "toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=0,width=850px,height=500px");
href = url;
}

//----------------------------------------

function target_userdefined(url,width,height)
{
open(url, 'target_userdefined', "toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=0,width="+width+"px,height="+height+"px");
href = url;
}

// -->
