/*function openjav()
{
var width = 500;var height = 500;var left = (screen.availWidth/2) - (width/2);var top = (screen.availHeight/2) - (height/2);
window.open("index.php?id=56&clean=yes", 'window_clients', 'status = yes, scrollbars=no, toolbar=no, resizable = no, menubar = no, width='+width+', height='+height+', left='+left+', top='+top);
}
*/
function openWinde()
{
var width = 780;var height = 500;var left = (screen.availWidth/2) - (width/2);var top = (screen.availHeight/2) - (height/2);
window.open("http://www.signature-check.de/fileadmin/checkparameter_de.php", 'window_clients', 'status = yes, scrollbars=yes, toolbar=no, resizable = no, menubar = no, width='+width+', height='+height+', left='+left+', top='+top);
}

function openWinen()
{
var width = 780;var height = 500;var left = (screen.availWidth/2) - (width/2);var top = (screen.availHeight/2) - (height/2);
window.open("http://www.signature-check.de/fileadmin/checkparameter_en.php", 'window_clients', 'status = yes, scrollbars=yes, toolbar=no, resizable = no, menubar = no, width='+width+', height='+height+', left='+left+', top='+top);
}

function openWinfr()
{
var width = 780;var height = 500;var left = (screen.availWidth/2) - (width/2);var top = (screen.availHeight/2) - (height/2);
window.open("http://www.signature-check.de/fileadmin/checkparameter_fr.php", 'window_clients', 'status = yes, scrollbars=yes, toolbar=no, resizable = no, menubar = no, width='+width+', height='+height+', left='+left+', top='+top);
}




function opd() {

var width = 1000;
var height = 600;
var left = (screen.availWidth/2) - (width/2);
var top = (screen.availHeight/2) - (height/2);

window.open("index.php?id=1&clean=yes", 'window_clients', 'scrollbars=1, toolbar=1, status=1, resizable = 1, menubar = 1, width='+width+', height='+height+', left='+left+', top='+top);

}

function setVal()
{
window.open("checkparameter.php?enabled="+navigator.javaEnabled()+"&login="+document.sub.login.value,"Verificationservice","width=780,height=490,status=yes,status=no,scrollbars=no,left=0,top=0");
    /*var bla = new Date();
    var s = bla.getSeconds();
    var h = bla.getHours();
    var m = bla.getMinutes();
    var result = ((h*237)*(s*m*796))*343;
    if(s<10)
        s = "0"+s;
    if(m<10)
        m = "0"+m;
    if(h<10)
        h = "0"+h;
    document.sub.val.value = s+""+h+""+m+""+result;
    document.sub.submit();
*/
}

function test(test)
{
     if (document.sub.login.value != "demo")

     {
     alert ("Bitte geben Sie eine gueltige Kunden ID ein");
     }

    if (document.sub.login.value == "demo")

   {

  window.open("https://217.6.137.100/verifier_bk/Verifikationsbericht?method=verify","","width=900,height=598,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,")

/*
   window.open("https://pluto.authentidate.de/verify/Verifikationsbericht?method=verify&kdnr=1001&subkdnr=1002");
*/
}

}

function feldleer() {
document.sub.login.value = "";
document.sub.login.focus();
}

function switchStyle(s) {
  if (!document.getElementsByTagName) return;
  var el = document.getElementsByTagName("link");
  for (var i = 0; i < el.length; i++ ) {
    if ((el[i].getAttribute("rel") && el[i].getAttribute("rel").indexOf("style") != -1) && el[i].getAttribute("title")) {
      el[i].disabled = true;
      if (el[i].getAttribute("title") == s) el[i].disabled = false;
    }
  }
}


function see()   {

if (screen.width >1024)
 {

  switchStyle("gross");
  document.writeln('</head>');
  document.writeln('<body align="center" class="gross">');
  document.writeln('<table border="0" width="982px" align="center" class="gross">');
 }
if (screen.width <=1024)
 {
  switchStyle("klein");
  document.writeln('</head>');
 document.writeln('<body align="center" class="klein">');
 document.writeln('<table border="0" width="982px" align="center" class="klein">');
 }
                  }


function seelog()   {

if (screen.width >1024)
 {

  switchStyle("gross");
 }
if (screen.width <=1024)
 {
  switchStyle("gross");
 }
                  }





function gopop(test) {
var popurl=test;
winpops=window.open(popurl,"","width=750,height=440,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,")

}

function helpde(test) {
var popurl=test+"themes/Verifikationsdienst/status_de.htm";

winpops=window.open(popurl,"","width=460,height=490,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,")

}



function anleitung(test) {
var popurl=test+"index.php?id=28";

winpops=window.open(popurl,"","width=460,height=490,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,")

}

function gross(test) {
var popurl="";

winpops=window.open(popurl,"","width=460,height=490,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,")

}





