<!-- shields up!
/* written by: Ulrich Busch
 */
function GetDocDate() {
var Tag;
var Monat;
var Jahr;
var D =  new Date(document.lastModified);

 Tag = D.getDate();
 Monat = D.getMonth() + 1;
 Jahr = D.getYear();

 var TagAusgabe  = ((Tag < 10) ? "0" + Tag : Tag);
 var MonAusgabe  = ((Monat < 10) ? "0" + Monat : Monat);
 var JahrAusgabe = ((Jahr < 2000) ? Jahr+1900 : Jahr);

 /* alert(TagAusgabe + "." + MonAusgabe + "." + JahrAusgabe); */

 return TagAusgabe + "." + MonAusgabe + "." + JahrAusgabe;

}

function changeRowSC(theRow, theStyleClass) {

    var theCells = null;
	var rowCellsCnt;
	var domDetect
	var c = null;

    if (typeof(theRow.className) == 'undefined') {
        return false;
    }

    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    rowCellsCnt  = theCells.length;

    if (typeof(window.opera) == 'undefined' && typeof(theCells[0].className) != 'undefined') {
        domDetect = true;
    }
    else {
        domDetect = false;
    }

	if (domDetect) {
	    for (c = 0; c < rowCellsCnt; c++) {
	        theCells[c].className = theStyleClass;
	    }
	}
    return true;
}

function changeCellSC(theCell, theStyleClass) {

	var domDetect

    if (typeof(theCell.className) == 'undefined') {
        return false;
    }

    if (typeof(window.opera) == 'undefined' && typeof(theCell.className) != 'undefined') {
        domDetect = true;
    }
    else {
        domDetect = false;
    }

	if (domDetect) {
        theCell.className = theStyleClass;
	}
//	alert(theCell.className);
    return true;
}


function BildSrc()
{

/* alert(window.location.href); */

t = window.location.href;
s = t.indexOf("=") + 1;
l = t.length;
b = t.slice(s,l);
/* alert(b); */
/* document.images["pic"].src = b; */
return b;
}

var BLD = new Image();
var aktiv;

function resizeBLD()
{
if (BLD.width) {
//    alert("test");
  W = BLD.width;
  if (W < 113)
    {
    W = 125;
    } else
    {
    W = W + 12;
    }
  H = BLD.height + 53 ;
  window.resizeTo(W, H);
  window.clearInterval(aktiv);
  window.focus();
  }
}


function ShowBild()
{
  BLD.src = BildSrc();
  document.write('<A href="javascript:window.close()"><img src="'+BLD.src+'" border=0 alt="return"></A>');
//  document.write('<A href="javascript:history.back()"><img src="'+BLD.src+'" border=0 alt="return"></A>');
  aktiv = window.setInterval("resizeBLD()",10);
}

function ShowImg(B)
{
  var BLD = new Image();
  BLD.src = B;
  if (BLD.width) {
  W = BLD.width ;
  H = BLD.height ;
  } else {
  W = 800 ;
  H = 600 ;
  }
  F = window.open("bild.htm"+"?pic="+B,"_blank", "width="+W+",height="+H+",left=0,top=0,scrollbars=yes,resizable=yes");
//  F = window.open("bild.htm"+"?pic="+B,"Hauptframe", "width="+W+",height="+H+",left=0,top=0,scrollbars=yes,resizable=yes");
}

/* preload Thumbnails */

TNBLA = new Image(); TNBLA.src = "tn/tnblank.gif";
TNR  = new Image(); TNR.src  = "tn/tnr.gif";
TNTR = new Image(); TNTR.src = "tn/tntr.gif";
TNB  = new Image(); TNB.src  = "tn/tnb.gif";
TNBL = new Image(); TNBL.src = "tn/tnbl.gif";
TNBR = new Image(); TNBR.src = "tn/tnbr.gif";



function SImg(caption, image, width, height)
{
        w=width-10
        h=height-11
        document.write('<table border="0" cellpadding="0" cellspacing="0"><tr>')
        document.write('<td><img src="'+image+'" width="'+width+'" height="'+height+'" alt="'+caption+'" border="0"></td>')
        document.write('<td valign="top"><img src="tn/tnblank.gif" width="8" height="3"><br>')
        document.write('<img src="tn/tntr.gif" width="8" height="8"><br>')
        document.write('<img src="tn/tnr.gif" width="8" height="' + h + '"></td>')
        document.write('</tr><tr><td valign="top"><img src="tn/tnblank.gif" width="2" height="7">')
        document.write('<img src="tn/tnbl.gif" width="8" height="7">')
        document.write('<img src="tn/tnb.gif" width="' + w + '" height="7"></td>')
        document.write('<td valign="top"><img src="tn/tnbr.gif" width="8" height="7"></td></tr></table>')
}

function GImg(gross, image, width, height)
{
        w=width-10
        h=height-11
        document.write('<table border="0" cellpadding="0" cellspacing="0"><tr>')
        document.write('<td><img class="Jmp" src="'+image+'" width="'+width+'" height="'+height+'" alt="vergr&ouml;&szlig;ern" border="0" onclick="ShowImg('+"'"+gross+"','')"+'"></td>')
        document.write('<td valign="top"><img src="tn/tnblank.gif" width="8" height="3"><br>')
        document.write('<img src="tn/tntr.gif" width="8" height="8"><br>')
        document.write('<img src="tn/tnr.gif" width="8" height="' + h + '"></td>')
        document.write('</tr><tr><td valign="top"><img src="tn/tnblank.gif" width="2" height="7">')
        document.write('<img src="tn/tnbl.gif" width="8" height="7">')
        document.write('<img src="tn/tnb.gif" width="' + w + '" height="7"></td>')
        document.write('<td valign="top"><img src="tn/tnbr.gif" width="8" height="7"></td></tr>')
        document.write('</table>')
}

function JImg(jump, image, width, height)
{
        w=width-10
        h=height-11
        document.write('<table border="0" cellpadding="0" cellspacing="0"><tr>')
        document.write('<td><img class="Jmp" src="'+image+'" width="'+width+'" height="'+height+'" alt="anzeigen" border="0" onclick="window.open('+"'"+jump+"','_self')"+'"></td>')
        document.write('<td valign="top"><img src="tn/tnblank.gif" width="8" height="3"><br>')
        document.write('<img src="tn/tntr.gif" width="8" height="8"><br>')
        document.write('<img src="tn/tnr.gif" width="8" height="' + h + '"></td>')
        document.write('</tr><tr><td valign="top"><img src="tn/tnblank.gif" width="2" height="7">')
        document.write('<img src="tn/tnbl.gif" width="8" height="7">')
        document.write('<img src="tn/tnb.gif" width="' + w + '" height="7"></td>')
        document.write('<td valign="top"><img src="tn/tnbr.gif" width="8" height="7"></td></tr>')
        document.write('</table>')
}


-->

