﻿var D=document,W=window,F=document.forms,P=parent;
var br=navigator.userAgent.toLowerCase();
isIE=br.indexOf('msie')>=0||D.all?1:0;
isGK=br.indexOf('gecko')>=0?1:0;
isOP=br.indexOf('opera')>=0?1:0;
function GeT(s,o){return (o?o:D).getElementsByTagName(s)} /* GetElementByTagname(tagname,object) */
function GeI(s,o){return (o?o:D).getElementById(s)} /* GetElementById(id,bject) */
function GeAx(o){return o.parentNode}
function Geax(o){return o.previousSibling}
function GePx(o){return o.firstChild}
function Geax(o){return o.nextSibling}

var imgs=new Array();
imgs[0]=new Image();
imgs[0].src='imgs/Bundesgerichtshof.jpg';
imgs[1]=new Image();
imgs[1].src='imgs/Bundesverfassungsgericht.jpg';
imgs[2]=new Image();
imgs[2].src='imgs/Hamburg.jpg';
imgs[3]=new Image();
imgs[3].src='imgs/Hessen.jpg';
imgs[4]=new Image();
imgs[4].src='imgs/Rheinland-Pfalz.jpg';
imgs[5]=new Image();
imgs[5].src='imgs/Baden-Wuerttemberg.jpg';
imgs[6]=new Image();
imgs[6].src='imgs/Saarland.jpg';
imgs[7]=new Image();
imgs[7].src='imgs/Niedersachsen.jpg';
imgs[8]=new Image();
imgs[8].src='imgs/Berlin.jpg';
imgs[9]=new Image();
imgs[9].src='imgs/Brandenburg.jpg';
imgs[10]=new Image();
imgs[10].src='imgs/Nordrhein-Westfalen.jpg';
imgs[11]=new Image();
imgs[11].src='imgs/Schleswig-Holstein.jpg';
imgs[12]=new Image();
imgs[12].src='imgs/Thueringen.jpg';
imgs[13]=new Image();
imgs[13].src='imgs/Sachsen-Anhalt.jpg';
imgs[14]=new Image();
imgs[14].src='imgs/Bremen.jpg';
imgs[15]=new Image();
imgs[15].src='imgs/Mecklenburg-Vorpommern.jpg';
imgs[16]=new Image();
imgs[16].src='imgs/Sachsen.jpg';
imgs[17]=new Image();
imgs[17].src='imgs/Bayern.jpg';
imgs[18]=new Image();
imgs[18].src='imgs/OLG_Nuernberg.jpg';
imgs[19]=new Image();
imgs[19].src='imgs/OLG_Bamberg.jpg';

var txts=new Array('Alle Entscheidungen des BGH in ungekürzter Form seit 2000.','Alle Entscheidungen des BVerfG in ungekürzter Form seit 1998.','Veröffentlichswürdige Entscheidungen ab 2003 vom AG und LG Hamburg. Entscheidungen des OLG Hamburg sind nicht enthalten.  Unter "Justiz" sind weitere interessante Informationen.','Entscheidungen u.a. des AG und OLG Frankfurt, die von Richterinnen und Richtern zur Veröffentlichung vorgesehen wurden.','Entscheidungen u.a. der AG, LG und OLG seit 1996.','Entscheidungen u.a. der AG, LG und OLG seit 2002.','Entscheidungen u.a. des AG, LG und OLG Sarbrücken seit 2002.','Entscheidungen der  OLG Celle, Braunschweig, Oldenburg.','Entscheidungen des Kammergerichts ab 2002.','Auswahl aus der Rechtsprechungstätigkeit des OLG Brandenburg für Entscheidungen seit 1998.','Entscheidungen der Gerichte in NRW, an denen ein öffentliches Interesse besteht. +  ->"Adressen & Links" -> "Justiz im www" sämtliche Internetauftritte der Justizeinrichtungen des Landes.','Veröffentlichungswürdige Entscheidung u.a. der AG, LG und des OLG Schleswig seit 2005.','Infothek Entscheidungen des Thüringer Oberlandesgericht mit allgemeiner Bedeutung und Pressemitteilungen.','Entscheidungen des Oberlandesgerichtes sind nur auf schriftliche Anforderung zu erhalten.','Leider keine Datenbank vorhanden  Link zur Justiz-Seite.','Leider keine Datenbank vorhanden  Link zur Justiz-Seite.','Entscheidungen des OLG Dresden.','Nur ganz vereinzelte Entscheidungen vorhanden.','Kurzhinweise zu Entscheidungen und Auszüge aus Urteilen und Beschlüssen der Gerichte seit 2004.','Urteile als Pressemitteilung.');

var tx='',iu=0,ilt=0;

var result=new Array();

var alltxt="";

function IS(){
  var ad=GeT('*',P.frames[0].document);
//  alert( ad.length);
  for(i in ad){
    if(ad[i].className.match(/gi/g));//
    alert(ad[i].innerHTML);
  };  
};

function ss(){
  var ad=GeT('*',P.frames[0].document);
  for(i in ad){
    if(ad[i].className.match(/gi/g));//
    alert(ad[i].innerHTML);
  };  
//  alert(P.frames[0].innerHTML);
};

function hi(o,x){GeT('img',o)[0].style.backgroundPosition='0px '+x+'px';};
function om(n){
  x=GeI('ghsm'+n);
  x.style.display='block';
};
function cm(n){
  x=GeI('ghsm'+n);
  x.style.display='none';
};

function FillForm(){
//  for(i in Gerichte){alert(Gerichte[i]);};
//  alert(Gerichte[0]);
  for(var i=0; i<Gerichte.length;i++){
    var n=new Option(Gerichte[i],Gerichte[i]);
    document.forms[0].gericht.options[document.forms[0].gericht.length] = n;
  };
  var nks=Keywords.sort();
  for(var i=0; i<nks.length;i++){
    var t=nks[i];
    if(t.indexOf("(")>-1)t=t.substring(0,t.indexOf("("));
    if(t.indexOf("/")>-1)t=t.substring(0,t.indexOf("/"));
    var n=new Option(nks[i],t);
    document.forms[0].stichwort.options[document.forms[0].stichwort.length] = n;
  };
};

function liHi(o,n){
  var pic=GeI('gctcsi');
  var txt=GeI('gctcst');
  pic.src=imgs[n].src;
  txt.innerHTML=txts[n];
//  alert(o.innerHTML);
};
function liLo(o,n){
//  var pic=GeI('gctcsi');
//  var txt=GeI('gctcst');
//  alert(o.innerHTML);
};

function AZCode(s){
  var t=s.replace(/\//g,"_");
  return t;
};

function CheckVD(d,v){
  var da=d.split(".");
  var va=v.split(".");
  if(Number(va[2])<Number(da[2])) return 1;
  else if(Number(va[2])>Number(da[2])) return -1;
  else {
    if(Number(va[1])<Number(da[1])) return 1;
    else if(Number(va[1])>Number(da[1])) return -1;
    else {
      if(Number(va[0])<=Number(da[0])) return 1;
      else if(Number(va[0])>Number(da[0])) return -1;
    };
  };
  return -1;
};

function CheckBD(d,v){
  var da=d.split(".");
  var va=v.split(".");
  if(Number(va[2])>Number(da[2])) return 1;
  else if(Number(va[2])<Number(da[2])) return -1;
  else {
    if(Number(va[1])>Number(da[1])) return 1;
    else if(Number(va[1])<Number(da[1])) return -1;
    else {
      if(Number(va[0])>=Number(da[0])) return 1;
      else if(Number(va[0])<Number(da[0])) return -1;
    };
  };
  return -1;
};

function CheckUrl(i,t){

  alert(GeI('urtif').innerHTML);
};

function DoSearch() {
  var i=0;
  ilt=0;iu=0;tx='';var gf='',az='',ed='',vd='',bd='',sp='',st='',sr=0,zi=0,al=0;
  if(!document.forms[0].gericht.value.match(/\bAlle Gerichte\b/))gf=document.forms[0].gericht.value;
  if(document.forms[0].aktenzeichen.value)az=document.forms[0].aktenzeichen.value;
  if(document.forms[0].datum.value)ed=document.forms[0].datum.value;
  var da=ed.split("."); if(ed&&da.length<3){alert('Bitte geben Sie das Datum in der Form Tag.Monat.Jahr ein!');return;};
  if(document.forms[0].von.value)vd=document.forms[0].von.value;
  var va=vd.split("."); if(vd&&va.length<3){alert('Bitte geben Sie das von-Datum in der Form Tag.Monat.Jahr ein!');return;};
  if(document.forms[0].bis.value)bd=document.forms[0].bis.value;
  var ba=bd.split("."); if(bd&&ba.length<3){alert('Bitte geben Sie das bis-Datum in der Form Tag.Monat.Jahr ein!');return;};
  if(!document.forms[0].sparte.value.match(/\bAlle Sparten\b/))sp=document.forms[0].sparte.value;
  if(!document.forms[0].stichwort.value.match(/\bAlle Stichworte\b/))st=document.forms[0].stichwort.value;
  if(document.forms[0].text.value)tx=document.forms[0].text.value;
  if(document.forms[0].Leitsatz.checked)ilt=1;
  if(document.forms[0].Urteil.checked)iu=1;
  if(document.forms[0].strafrecht.checked)sr=1;
  if(document.forms[0].zivilrecht.checked)zi=1;
  if(document.forms[0].alle.checked)al=1;
  var found=0;
  for(i=0;i<allAZ.length;i++){
    if(al==1){result[found]=i;found++;}    
    else if(!gf||eval('allGerichte[i].match(/'+gf+'/i)')){
//        alert(AZCode(az)+' '+AZCode(allAZ[i]));
      if(!az||eval('AZCode(allAZ[i]).match(/'+AZCode(az)+'/i)')){
        if(!ed||eval('allDatum[i].match(/'+ed+'/i)')){
          if(!vd||CheckVD(allDatum[i],vd)==1){
//	    alert(vd+' '+allDatum[i]);
            if(!bd||CheckBD(allDatum[i],bd)==1){
	      if(!sp||eval('allSparte[i].match(/'+sp+'/i)')){
//	        alert(i+' +'+allkeys[i]+'+ +'+st+'+');
	        if(!st||eval('allkeys[i].match(/'+st+'/i)')){
		  if((sr==1&&allRecht[i].match(/s/i))||(zi==1&&allRecht[i].match(/z/i))){
//		    alert(allUrt[i].match(/Heckklappe/i));
		      if(!tx||(ilt==1&&eval('allLeit[i].match(/'+tx+'/i)'))||(iu==1&&eval('allUrt[i].match(/'+tx+'/i)'))){
//		      if (ilt==1&&!eval('allLeit[i].match(/'+tx+'/i)')) ilt=0;
		      result[found]=i;
//		      alert(result[found]);
		      found++;
		    };
                  };
                };
              };
            };
          };
        };
      };
    };
  };
  if(found>0){
//    var rl=result.length;
//    alert(rl);
    PrintHeader();  
    PrintHeader2();  
//  D.write('<tr><td>'+result[rl]+'</td></tr>');
    for(j=0;j<result.length;j++){
      PrintResult(result[j]);
    };
    PrintFooter2();
    PrintHeaderP();  
    for(j=0;j<result.length;j++){
      PrintResult(result[j]);
    };
    PrintFooter();
    D.write(alltxt);
  }
  else if(found==0) alert('Kein Ergebnis!');
  D.close();  
};

function hitr(o){
  o.style.background='#c3c5c8';
};
function lotr(o){
  o.style.background='#fff';
};

function SDrucken(){
  var p=GeI('cont'), q=GeI('gsept');
  var l=GeI('leg1');
  p.style.display='none';
  q.style.display='block';
  l.style.display='none';
  window.setTimeout('window.print()', 100);
};

function DruckBack(){
  var p=GeI('cont'), q=GeI('gsept');
  var l=GeI('leg1');
  p.style.display='block';
  q.style.display='none';
  l.style.display='block';
};

function PrintHeader(){
  alltxt+='<!DOCTYPE html PUBLIC "-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN" "http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd">\n';
  alltxt+='<html xmlns="http:\/\/www.w3.org\/1999\/xhtml" lang="de">\n';
  alltxt+='<head>\n';
  alltxt+='<title>Urteilssammlung<\/title>\n';
  alltxt+='<meta http-equiv="content-type" content="text\/html; charset=utf-8" \/>\n';
  alltxt+='<link rel="stylesheet" type="text\/css" href="css\/styles.css" \/>\n';
  alltxt+='<!--<script type="text\/javascript" src="js\/data.js"><\/script>-->\n';
  alltxt+='<script type="text\/javascript" src="js\/funcs.js"><\/script>\n';
  alltxt+='<!--[if IE]>\n';
  alltxt+='  <link rel="stylesheet" type="text\/css" href="css\/styles_IE.css" \/>\n';
  alltxt+='<![endif]-->\n';
  alltxt+='<\/head>\n';
  alltxt+='<body>\n';
  alltxt+='<div id="cont">\n';
  alltxt+='<div id="gsh">\n';
  alltxt+='  <div class="ghr">Urteilssammlung<\/div>\n';
  alltxt+='  <div class="ghm">\n';
  alltxt+='    <div class="ghmt"><p style="width:83px">&nbsp;<\/p><\/div>\n';
  alltxt+='    <div class="ghmt"><a href="urteilssammlung.html" style="width:423px">Urteilssammlung<\/a><\/div>\n';
  alltxt+='    <div class="ghmt"><a href="javascript:dummy()" style="width:197px"\n';
  alltxt+='    onmouseover="om(1)" onmouseout="cm(1)">SIS<\/a><\/div>\n';
  alltxt+='    <div class="ghmt"><a href="javascript:dummy()" style="width:196px"\n';
  alltxt+='    onmouseover="om(2)" onmouseout="cm(2)">Informationen<\/a><\/div>\n';
  alltxt+='    <div class="ghmt ghml"><p style="width:83px">&nbsp;<\/p><\/div>\n';
  alltxt+='  <\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<div id="ghsm1" class="ghsm" onmouseover="om(1)" onmouseout="cm(1)">\n';
  alltxt+='  <div class="ghmt"><a href="http://sharepoint/sites/shuk-sm/default.aspx" style="width:177px">SIS Homepage<\/a><\/div>\n';
  alltxt+='  <div class="ghmt"><a href="http://sharepoint/sites/shuk-sm/nss.aspx" style="width:177px">NÜRNBERGER SofortService AG<\/a><\/div>\n';
  alltxt+='  <div class="ghmt"><a href="http://sharepoint/sites/SIS%20Wissensdatenbank/default.aspx" style="width:177px">SIS Wissensdatenbank<\/a><\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<div id="ghsm2" class="ghsm" onmouseover="om(2)" onmouseout="cm(2)">\n';
  alltxt+='  <div class="ghmt"><a href="http://www.outpost-is.com/" style="width:176px">OIS<\/a><\/div>\n';
  alltxt+='  <div class="ghmt"><a href="http://www.outpost-is.com/links.htm" style="width:176px">www-links<\/a><\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<div id="gco">\n';
  alltxt+='  <img src="imgs\/lbg.gif" width="255" height="633" alt="" title="" \/>\n';
  alltxt+='  <div class="gcbg">&nbsp;<\/div>\n';
  alltxt+='  <div class="gcf"><img src="imgs\/logo_nuernberger.gif" width="98" height="56" alt="GDV" title="GDV" \/><\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<div id="gse">\n';
  alltxt+='<p class="gsr">Ihr Suchergebnis<\/p><br \/>\n';
  alltxt+='<p>Stichwort: '+tx+'<\/p>\n';
  alltxt+='<\/div>\n';
  alltxt+='<form action="urteilssammlung.html" name="hi"><input type="hidden" name="result" value="'+result.join("#")+'" /></form>';
  alltxt+='<div class="gseb"><a href="urteilssammlung.html">Neue Suche<\/a><\/div>\n';
  alltxt+='<div class="gseb gseb2"><a href="javascript:SDrucken()">Drucken<\/a><\/div>\n';
};

function PrintHeader2(){
  alltxt+='<div id="gset" class="gset">\n';
  alltxt+='  <table class="gseth">    \n';
  alltxt+='    <tr><td class="tdi"><img src="imgs\/t.gif" width="87" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="102" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="80" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="247" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="56" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="58" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="63" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="61" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="72" height="1" alt="" \/><\/td><\/tr>\n';
  alltxt+='    <tr><td class="td1">Entscheidungs-<br \/>Datum<\/td>\n';
  alltxt+='    <td class="td2"><br \/>Gericht<\/td>\n';
  alltxt+='    <td class="td3"><br \/>Aktenzeichen<\/td>\n';
  alltxt+='    <td class="td4"><br \/>Leitsatz<\/td>\n';
  alltxt+='    <td class="td5">Rechts-<br \/>gebiet<\/td>\n';
  alltxt+='    <td class="td6"><br \/>Sparte<\/td>\n';
  alltxt+='    <td class="td7"><br \/>VVG<\/td>\n';
  alltxt+='    <td class="td8">Anzeige<br \/>Text<\/td>\n';
  alltxt+='    <td class="td9">Download<br \/>Original<\/td><\/tr>\n';
  alltxt+='  <\/table>\n';
  alltxt+='  <div class="gsetc">\n';
  alltxt+='    <table class="gsethc">\n';
  alltxt+='    <tr><td class="tdi"><img src="imgs\/t.gif" width="87" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="102" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="80" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="240" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="56" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="58" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="63" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="61" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="50" height="1" alt="" \/><\/td><\/tr>\n';
};

function PrintHeaderP(){
//  alltxt+='<div id="gse">\n';
//  alltxt+='<\/div>\n';
  alltxt+='<div id="gsept" class="gset">\n';
  alltxt+='<table style="width:100%"><tr><td style="width:600px"><h1>Ihr Suchergebnis<\/h1>\n';
  alltxt+='<p>Stichwort: '+tx+'<\/p></td><td valign="middle"><a href="javascript:DruckBack()" class="al">zurück</a></td></tr></table>\n';
  alltxt+='  <table class="gseth">    \n';
  alltxt+='    <tr><td class="tdi"><img src="imgs\/t.gif" width="87" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="102" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="80" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="247" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="56" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="58" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="63" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="61" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="72" height="1" alt="" \/><\/td><\/tr>\n';
  alltxt+='    <tr><td class="td1">Entscheidungs-<br \/>Datum<\/td>\n';
  alltxt+='    <td class="td2"><br \/>Gericht<\/td>\n';
  alltxt+='    <td class="td3"><br \/>Aktenzeichen<\/td>\n';
  alltxt+='    <td class="td4"><br \/>Leitsatz<\/td>\n';
  alltxt+='    <td class="td5">Rechts-<br \/>gebiet<\/td>\n';
  alltxt+='    <td class="td6"><br \/>Sparte<\/td>\n';
  alltxt+='    <td class="td7"><br \/>VVG<\/td>\n';
  alltxt+='    <td class="td8">Anzeige<br \/>Text<\/td>\n';
  alltxt+='    <td class="td9">Download<br \/>Original<\/td><\/tr>\n';
  alltxt+='  <\/table>\n';
  alltxt+='  <div class="gsetc">\n';
  alltxt+='    <table class="gsethc">\n';
  alltxt+='    <tr><td class="tdi"><img src="imgs\/t.gif" width="87" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="102" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="80" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="240" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="56" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="58" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="63" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="61" height="1" alt="" \/><\/td>\n';
  alltxt+='    <td class="tdi"><img src="imgs\/t.gif" width="50" height="1" alt="" \/><\/td><\/tr>\n';
};

function PrintResult(n){
//  alert(n);
  alltxt+='    <tr onmouseover="hitr(this)" onmouseout="lotr(this)"><td>'+allDatum[n]+'<\/td>\n';
  alltxt+='    <td>'+allGerichte[n]+'<\/td>\n';
  alltxt+='    <td>'+allAZ[n]+'<\/td>\n';
  var lt=allLeit[n];
  var lts=lt.toLowerCase();
  var lt1 = lt.substring(0,lts.indexOf(tx.toLowerCase()));
  var ltx = lt.substring(lts.indexOf(tx.toLowerCase()),lts.indexOf(tx.toLowerCase())+tx.length);  
  var lt2 = lt.substring(lts.indexOf(tx.toLowerCase())+tx.length);  
  if(tx&&eval('lt.match(/'+tx+'/i)'))lt=lt1+'\<span class=\'sehi\'>'+ltx+'</span>'+lt2;
  alltxt+='    <td>'+lt+'<\/td>\n';
  var re='Zivilrecht';
  if(!allRecht[n].match(/z/i))re='Strafrecht';
  alltxt+='    <td>'+re+'<\/td>\n';
  var sp='Haftpflicht';
  if(allSparte[n].match(/k/i))sp='Kraftfahrt';
  else if(allSparte[n].match(/s/i))sp='Sach';
  alltxt+='    <td>'+sp+'<\/td>\n';
  var vvg='neu';
  if(allvvg[n].match(/a/i))vvg='alt';
  alltxt+='    <td>'+vvg+'<\/td>\n';
  alltxt+='    <td>';
  if(allhtm[n]==1)
    alltxt+='<a href="urteile/'+allnum[n]+'.html" target="_new" class="txtl"><img src="imgs\/t.gif" width="21" height="21" alt="Textversion anzeigen" title="Textversion anzeigen" \/><\/a>';
  alltxt+='<\/td>\n';
  alltxt+='    <td>';
  if(allpdf[n]==1)
    alltxt+='    <a href="pdf/'+allnum[n]+'.pdf" target="_new" class="pdfl"><img src="imgs\/t.gif" width="21" height="21" alt="PDF downloaden" title="PDF downloaden" \/><\/a>\n';
  alltxt+='<\/td><\/tr>\n';
};

function PrintFooter(){
  alltxt+='    <\/table>\n';
  alltxt+='<div class="leg">Erläuterungen zum Aufbau des Leitsatzes<br />"Kurzbeschreibung" <br />II. Besondere Hinweise<br />III. Ergebnis des Urteils<br />'
  alltxt+='<p class="sm">VU=Versicherungsunternehmen; VN=Versicherungsnehmer<br />AS=Anspruchsteller; SV=Sachverst&auml;ndiger</p></div>';
  alltxt+='  <\/div>\n';
//  alltxt+='<\/div>\n';
//  alltxt+='<\/div>\n';
  alltxt+='<\/body>\n';
  alltxt+='<\/html>\n';
};

function PrintFooter2(){
  alltxt+='    <\/table>\n';
  alltxt+='  <\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<\/div>\n';
  alltxt+='<div class="leg" id="leg1">Erläuterungen zum Aufbau des Leitsatzes<br />"Kurzbeschreibung" <br />II. Besondere Hinweise<br />III. Ergebnis des Urteils<br />'
  alltxt+='<p class="sm">VU=Versicherungsunternehmen; VN=Versicherungsnehmer<br />AS=Anspruchsteller; SV=Sachverst&auml;ndiger</p></div>';
};


function dummy(){};