function statwin(filename){
var win; win=window.open(filename,"statdoc","width=500,height=300,left=16,top=16,scrollbars=yes,resizable=yes,dependent=yes");
win.focus(); win.setTimeout("window.close()",30000);
}
function reqwin(){
var win;
win=window.open("http://www.alles-in-druck.de/reqwin.htm","","width=500,height=250,left=300,top=300,scrollbars=no,resizable=no,dependent=yes");
win.focus(); win.setTimeout("window.close()",15000);
}
function getCookie(name){
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}
function fixDate(date){
var base = new Date(0);
var skew = base.getTime();
if (skew > 0)
 date.setTime(date.getTime() - skew)
}
function Psw(Dest){
caution=false;Bpin=0;now=new Date();fixDate(now);now.setTime(now.getTime()+30*86400000);KndPin=getCookie("_TmpPin");
if (Dest == ""){
location.href = "intro.html";}else{
location.href = "http://www.alles-in-druck.de/pro/" + KndPin + Dest + ".htm?" + now;}
}
