<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_open(theURL,winName,features) { //v2.0
 if (theURL==1) {
  window.open("http://www.briefkasten.de/www_ben/unn/phe.htm",winName,features);
 }
 if (theURL==2) {
  window.open("http://www.boitesauxlettres.fr/index.htm",winName,features);
 }
 if (theURL==3) {
  window.open("http://www.renzpostkasten.nl",winName,features);
 }
 if (theURL==4) {
  window.open("http://www.briefkasten.de/www_non/unn/phe.htm",winName,features);
 }
 if (theURL==5) {
  window.open("http://www.briefkasten.de/www_oeh/unn/phe.htm",winName,features);
 }
 if (theURL==6) {
  window.open("http://www.skrzynka-pocztowa.pl",winName,features);
 }
 if (theURL==7) {
  window.open("http://www.briefkasten.de/www_rud/unn/phe.htm",winName,features);
 }
 if (theURL==8) {
  window.open("http://www.briefkasten.de/www_swn/unn/phe.htm",winName,features);
 }
 if (theURL==9) {
  window.open("http://www.briefkasten.ch",winName,features);
 }
 if (theURL==10) {
  window.open("http://www.briefkasten.de/www_tsn/unn/phe.htm",winName,features);
 }
 if (theURL==11) {
  window.open("http://www.renz-mailboxes.co.uk",winName,features);
 }
 if (theURL==12) {
  window.open("http://www.briefkasten.de/www_dak/index.html",winName,features);
 }
 if (theURL==13) {
  window.open("http://www.briefkasten.de/www_sua/unn/phe.htm",winName,features);
 }
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

function fenster()
   {
      var zahl = Math.floor(Math.random() * 1)+1;  
      var win;
      win=window.open("","Fenster1","height=567,width=567,left=500,top=300,scrollbars=no");
      win.document.write("<HTML><HEAD><TITLE>Neuheiten</TITLE>");
	  win.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href='s/main.css' type='text/css'>");
	  win.document.write("</HEAD><BODY><A href='depotbox/index.html' target='_blank'><IMG align='top' SRC='popup/pop-up");
	  win.document.write(zahl);
	  win.document.write(".gif' border='0' onclick='javascript:self.close()'></a></BODY></HTML>"); 
   }


//-------------------------- layer ------------------------------

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


//-------------------------- form ------------------------------
function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}




function ResetForm(which){
var pass=true
var first=-1
if (document.images){
for (i=0;i<which.length;i++){
var tempobj=which.elements[i]
 if (tempobj.type=="text"){
  eval(tempobj.value="")
  if (first==-1) {first=i}
 }
 else if (tempobj.type=="checkbox") {
  eval(tempobj.checked=0)
  if (first==-1) {first=i}
 }
 else if (tempobj.col!="") {
  eval(tempobj.value="")
  if (first==-1) {first=i}
 }
}
}
which.elements[first].focus()
return true
}

function submit(y,p){
	chkFormular(y);
	if (x == 0) {
	   p.submit();
	}
}

function submit2(y,p){
	chkFormular(y);
	if (document.forms[0].kundennummer.value=="") {
		document.forms[0].kundennummer.value=self.name;
    }
	if (x == 0) {
	   p.submit();
	}
}

function reset(){
	p=document.formular;
	p.reset();
}

function resethsuche(){
	p=document.hsuche;
	p.reset();
}

function chkFormular(y) {
   x=0;
   if (y == 5) {
      if (document.forms[0].Vorname.value=="") {
         alert("Bitte Ihren Vornamen eingeben!");
	     document.forms[0].Vorname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Nachname.value=="") {
         alert("Bitte Ihren Nachnamen eingeben!");
	     document.forms[0].Nachname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Strasse.value=="") {
         alert("Bitte Ihre Strasse eingeben!");
	     document.forms[0].Strasse.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].PLZ.value=="") {
         alert("Bitte Ihre Postleitzahl eingeben!");
	     document.forms[0].PLZ.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Ort.value=="") {
         alert("Bitte Ihren Ort eingeben!");
	     document.forms[0].Ort.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 6) {
      if (document.forms[0].Firma.value=="") {
         alert("Bitte Ihren Firmennamen eingeben!");
	     document.forms[0].Firma.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Vorname.value=="") {
         alert("Bitte Ihren Vornamen eingeben!");
	     document.forms[0].Vorname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Nachname.value=="") {
         alert("Bitte Ihren Nachnamen eingeben!");
	     document.forms[0].Nachname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Strasse.value=="") {
         alert("Bitte Ihre Strasse eingeben!");
	     document.forms[0].Strasse.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].PLZ.value=="") {
         alert("Bitte Ihre Postleitzahl eingeben!");
	     document.forms[0].PLZ.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Ort.value=="") {
         alert("Bitte Ihren Ort eingeben!");
	     document.forms[0].Ort.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].email.value=="") {
         alert("Bitte Ihren E-Mailadresse eingeben!");
	     document.forms[0].email.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 61) {
      if (document.forms[0].Vorname.value=="") {
         alert("Bitte Ihren Vornamen eingeben!");
	     document.forms[0].Vorname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Nachname.value=="") {
         alert("Bitte Ihren Nachnamen eingeben!");
	     document.forms[0].Nachname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Strasse.value=="") {
         alert("Bitte Ihre Strasse eingeben!");
	     document.forms[0].Strasse.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].PLZ.value=="") {
         alert("Bitte Ihre Postleitzahl eingeben!");
	     document.forms[0].PLZ.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].Ort.value=="") {
         alert("Bitte Ihren Ort eingeben!");
	     document.forms[0].Ort.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].email.value=="") {
         alert("Bitte Ihre E-Mailadresse eingeben!");
	     document.forms[0].email.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 62) {
      if (document.forms[0].auftragsnummer.value=="") {
         alert("Bitte Ihre Auftragsnummer eingeben!");
	     document.forms[0].auftragsnummer.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].vorname.value=="") {
         alert("Bitte Ihren Vornamen eingeben!");
	     document.forms[0].vorname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].nachname.value=="") {
         alert("Bitte Ihren Nachnamen eingeben!");
	     document.forms[0].nachname.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].strasse.value=="") {
         alert("Bitte Ihre Strasse und Hausnummer eingeben!");
	     document.forms[0].strasse.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].plz.value=="") {
         alert("Bitte Ihre Postleitzahl eingeben!");
	     document.forms[0].plz.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].ort.value=="") {
         alert("Bitte Ihren Ort eingeben!");
	     document.forms[0].ort.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 2) {
      if (document.forms[0].name.value=="") {
         alert("Bitte Ihren Namen eingeben!");
	     document.forms[0].name.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].email.value=="") {
         alert("Bitte Ihre E-Mail-Adresse eingeben!");
	     document.forms[0].email.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 4) {
      if (document.forms[0].namnam.value=="") {
         alert("Bitte Ihre Vor-und Nachnamen eingeben!");
	     document.forms[0].namnam.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].strasse.value=="") {
         alert("Bitte Ihre Strasse eingeben!");
	     document.forms[0].strasse.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].plzort.value=="") {
         alert("Bitte Ihre Postleitzahl und Ihren Ort eingeben!");
	     document.forms[0].plzort.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].email.value=="") {
         alert("Bitte Ihr Email-Adresse eingeben!");
	     document.forms[0].email.focus();
	     x=1;
	     return x;
      }
   }
   if (y == 41) {
      if (document.forms[0].namnam.value=="") {
         alert("Bitte Ihre Vor-und Nachnamen eingeben!");
	     document.forms[0].namnam.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].buero.value=="") {
         alert("Bitte Ihr Büro eingeben!");
	     document.forms[0].buero.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].strasse.value=="") {
         alert("Bitte Ihre Strasse eingeben!");
	     document.forms[0].strasse.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].plzort.value=="") {
         alert("Bitte Ihre Postleitzahl und Ihren Ort eingeben!");
	     document.forms[0].plzort.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].email.value=="") {
         alert("Bitte Ihre Email-Adresse eingeben!");
	     document.forms[0].email.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].depotbox.checked==1) {
	     document.forms[0].einstellung_recipientemail.value="renzboxes@renz-net.de, werbung@renz-net.de";
	  }
	   
   }
   if (y == 3) {
      if (document.forms[0].kundennummer.value=="") {
         alert("Bitte Ihre Kundennummer eingeben!");
	     document.forms[0].kundennummer.focus();
	     x=1;
	     return x;
      }
      if (document.forms[0].firma.value=="") {
         alert("Bitte Ihren Firmennamen eingeben!");
	     document.forms[0].firma.focus();
	     x=1;
	     return x;
      }
	  if (document.forms[0].ort.value=="") {
         alert("Bitte Ihren Ort eingeben!");
	     document.forms[0].ort.focus();
	     x=1;
	     return x;
      }
   }
   
}

//-------------------------- login ------------------------------
function login(){
	p=document.formular;
	if(p.Kundennummer.value==""||p.PLZ.value==""){
		alert("Es wurden nicht alle Daten eingegeben");
	}
	else{
	    self.name=p.Kundennummer.value;
		p.submit();
	}
}



function astatus(){     
	p=document.auftragsstatus;
	if(p.order.value==""||p.posnr.value==""){
		alert("Es wurden nicht alle Daten eingegeben.");
	}
	else{
	win=window.open("../ordertracking/dborder.asp?order="+p.order.value+"&posnr="+p.posnr.value,"",'toolbar=yes,scrollbars=yes,width=595,height=490')	 
	//p.submit();
	}
}

function MM_openBrWindow1(theURL,winName,features) { //v2.0
  /*win=window.open(theURL,winName,features);
     win=window.open("../test/frame1.html",winName,features);*/
 win=window.open("#",winName,features);
  win.document.write("");
  win.document.write("<HTML>");
  win.document.write("<HEAD>");
  win.document.write("<TITLE>");
  win.document.write(theURL);
  win.document.write("</TITLE>");
  win.document.write("</HEAD>");
  win.document.write('<FRAMESET ROWS="245,*" frameborder=no border=0 framespacing=0 framecolor="#FFFFFF">');
  win.document.write('<FRAME SRC="../test/kopf.html" NAME="kopf" SCROLLING="NO" NORESIZE MARGINWIDTH="1" MARGINHEIGHT="1">');
  win.document.write('<FRAME SRC="../test/body.html" NAME="lid_home" MARGINWIDTH="5" MARGINHEIGHT="5">');
  win.document.write("</FRAMESET>");
  win.document.write("</html>");	
  win.frames[1].location=theURL;	
}





function plzval(){
    var i;
	p=document.hsuche;
	
	
	
	if (p.PLZ1.value==""&&p.Ort.value=="") {
	   alert("Bitte geben Sie einen Suchparameter ein");
	}
	else {
	   
	   if (p.PLZ1.value!=""&&p.Ort.value!="") {
	      alert("Bitte geben Sie entweder Postleitzahl oder Ort ein");
	      p.PLZ1.value = "";
	      p.Ort.value = "";
		  
	   }
	   else {
	      if (p.PLZ1.value!="") {
	         if(p.PLZ2.value==""){
		        alert("Geben Sie bitte beide PLZ ein");
	         }
	      else{
		     PLZv1 = p.PLZ1.value;
             PLZv2 = p.PLZ2.value;
             if(PLZv1.length<2||PLZv2.length<2){
		        alert("Die PLZ dürfen nicht kürzer als 2 Zeichen sein");
		     }
		     else{
		        PLZv1=PLZv1.substring(0,3);
                PLZv2=PLZv2.substring(0,3);
		        if(p.datai[0].checked){
			       Dataiv="renzpriv";	
		        }
		        else{
			       Dataiv="renz";
		        }
                url="../s/suche2.cgi?datai="+Dataiv+"&PLZ1="+PLZv1+"&PLZ2="+PLZv2;
		        MM_openBrWindow1(url,'','toolbar=yes,scrollbars=yes,width=495,height=490');
		       //p.submit();  
		   }
	   }
     }
     else {
       PLZv1 = p.PLZ1.value;
       Ortv = p.Ort.value;
	   Ortw1 = Ortv; 
       Ortw = Ortv;
	   Ortz1= "";
       i=Ortv.indexOf(' ');
	   
       while (i>0) {
          
          if (i>0) {   
            Ortz=Ortw.slice(0,i);
            Ortz1=Ortz1.concat(Ortz);
            Ortz1=Ortz1.concat('+'); 
            i=i+1;
			
            Ortw=Ortw1.slice(i,Ortw1.length);
            i=Ortw.indexOf(' ');
            Ortw1=Ortw;
			
          } 
          if (i<0) {
             Ortz1=Ortz1.concat(Ortw);
			Ortv=Ortz1;
          }
           
       }
       if(p.datai[0].checked){
		  Dataiv="renzpriv";	
	   }
	   else{
		  Dataiv="renz";
	   }
	   url="../s/suche.cgi?datai="+Dataiv+"&PLZ1="+PLZv1+"&Ort="+Ortv;
	   MM_openBrWindow1(url,'','toolbar=yes,scrollbars=yes,width=495,height=490');
	   //p.submit();
    }
    }
	}
	
   
}

function plzvaldepotbox(){
    var i;
	p=document.hsuche;
	
	
	
	if (p.PLZ1.value==""&&p.Ort.value=="") {
	   alert("Bitte geben Sie einen Suchparameter ein");
	}
	else {
	   
	   if (p.PLZ1.value!=""&&p.Ort.value!="") {
	      alert("Bitte geben Sie entweder Postleitzahl oder Ort ein");
	      p.PLZ1.value = "";
	      p.Ort.value = "";
		  
	   }
	   else {
	      if (p.PLZ1.value!="") {
	         if(p.PLZ2.value==""){
		        alert("Geben Sie bitte beide PLZ ein");
	         }
	      else{
		     PLZv1 = p.PLZ1.value;
             PLZv2 = p.PLZ2.value;
             if(PLZv1.length<2||PLZv2.length<2){
		        alert("Die PLZ dürfen nicht kürzer als 2 Zeichen sein");
		     }
		     else{
		        PLZv1=PLZv1.substring(0,3);
                PLZv2=PLZv2.substring(0,3);
		        if(p.datai[0].checked){
			       Dataiv="renzpriv-depotbox";	
		        }
		        else{
			       Dataiv="renz-depotbox";
		        }
                url="../s/suchedepotbox2.cgi?datai="+Dataiv+"&PLZ1="+PLZv1+"&PLZ2="+PLZv2;
		        MM_openBrWindow1(url,'','toolbar=yes,scrollbars=yes,width=495,height=490');
		       //p.submit();  
		   }
	   }
     }
     else {
       PLZv1 = p.PLZ1.value;
       Ortv = p.Ort.value;
	   Ortw1 = Ortv; 
       Ortw = Ortv;
	   Ortz1= "";
       i=Ortv.indexOf(' ');
	   
       while (i>0) {
          
          if (i>0) {   
            Ortz=Ortw.slice(0,i);
            Ortz1=Ortz1.concat(Ortz);
            Ortz1=Ortz1.concat('+'); 
            i=i+1;
			
            Ortw=Ortw1.slice(i,Ortw1.length);
            i=Ortw.indexOf(' ');
            Ortw1=Ortw;
			
          } 
          if (i<0) {
             Ortz1=Ortz1.concat(Ortw);
			Ortv=Ortz1;
          }
           
       }
       if(p.datai[0].checked){
		  Dataiv="renzpriv-depotbox";	
	   }
	   else{
		  Dataiv="renz-depotbox";
	   }
	   url="../s/suchedepotbox.cgi?datai="+Dataiv+"&PLZ1="+PLZv1+"&Ort="+Ortv;
	   MM_openBrWindow1(url,'','toolbar=yes,scrollbars=yes,width=495,height=490');
	   //p.submit();
    }
    }
	}
	
   
}


// Plausiprüfung auf self.name (könnte von anderer Website gesetzt worden sein) 
//=============================================================================

//function chkSelfName()
//{
 // var i1;
  //var tmpArray1;
  //var i2;
  //var tmpArray2;
  //var gSplitter1="||";
  //var gSplitter2="@@";
  
//-----------------------------------------------------------------------------

//  if (self.name!="")
  //{
    //tmpArray1 = self.name.split(gSplitter1);
    //tmpArray2 = tmpArray1[0].split(gSplitter2);
    //if (isNaN(tmpArray2[0]))
    //{
	
//      alert("Fehler1:"+tmpArray2[0]);
    
	//  self.name="";
    //}
    //else
    //{
      //if (tmpArray2.length != 15)
      //{
	  
//        alert("Fehler2:"+tmpArray2.length);
      
	  //  self.name="";
      //}
      //else
      //{
        //for (i1=1; i1<14; i1=i1+1)
        //{
        //  if (tmpArray2[i1] == "undefined")
          //{
		  
//            alert("Fehler3:"+i1);
          
		  //  self.name="";
          //}
        //}
      //}
    //}
  //}
//}

function init()
  { 
 // chkSelfName();
  //alert(self.name);
  if (self.name!="")
    {
	  tmp = self.name.indexOf('@');
	  tmp2 = self.name.slice(0,tmp);
	  if (tmp2=="0")
	  {
	     location.replace("0401.html");
	  }
	}
	else
	{
	  location.replace("0401.html");
	}
  }


//-------------------------- win ------------------------------

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function setKundennummerFormular()
{
	if (document.forms[0].kundennummer.value=="") { 
	   document.forms[0].kundennummer.value=self.name;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  /*win=window.open(theURL,winName,features);
     win=window.open("../test/frame1.html",winName,features);*/
 win=window.open("#",winName,features);
  win.document.write("");
  win.document.write("<HTML>");
  win.document.write("<HEAD>");
  win.document.write("</HEAD>");
  win.document.write('<FRAMESET ROWS="245,*" frameborder=no border=0 framespacing=0 framecolor="#CCCCCC">');
  win.document.write('<FRAME SRC="../test/kopf.html"  SCROLLING="NO" NORESIZE MARGINWIDTH="1" MARGINHEIGHT="1">');
  //win.document.write('<FRAME SRC="../test/body.html" NAME="lid_home" MARGINWIDTH="5" MARGINHEIGHT="5">');
  win.document.write("</FRAMESET>");
  win.document.write("</html>");	
  win.frames[1].location=theURL;	
}
//-->
