
var now = new Date();
var startzeit = now.getTime();
 
function unload() {
  var now = new Date();
  var endzeit = now.getTime() - startzeit;
  timewin = window.open("http://webcounter.goweb.de/109495TIME"+endzeit, "TIME", "toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, height=100, width=100");
}


function localStart()
{
  if(document.images)
 {
  if(self == top)
  self.location.replace("http:\/\/www.scg-puttgarden.de");
 }
   else self.location.href="http:\/\/www.scg-puttgarden.de";
}


function preLoad()
{
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preLoad.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}


function goToURL()
{
  var i, args=goToURL.arguments; document.returnValue = false; 
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); 
}


function printPage()
{
 if (window.print) {
 agree = confirm('Ein Klick auf OK genügt \nund die Seite wird ausgedruckt. \n\nJetzt Ausdrucken?');
 if (agree) window.print(); }
}


function printTable()
{
 if (window.print) {
 agree = confirm('Ein Klick auf OK genügt \nund die Tabelle wird ausgedruckt. \n\nJetzt Ausdrucken?');
 if (agree) window.print(); }
}


function aufDamit(theURL,winName,features) 
{
window.open(theURL,'_blank','width=760,height=575,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left=0,top=0');
}


function openPrint(theURL,winName,features) 
{
window.open(theURL,'_blank','width=700,height=575,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,left=0,top=0');
}
