/*
	var frameSetURL = "http://www.dkp-online.de/frameset.html";
	var currentURL = self.location.href;
	if (top.frameSetLoaded != 1 && top.location.protocol == 'http:')
	{
		var targetURL = frameSetURL + "?" + currentURL;
		top.location.href = targetURL;
	}
*/

function disclaimer(url)
{
 var Text;
 Text=confirm("Sie verlassen das Angebot von www.unsere-zeit.de.\nFür die Inhalte der gelinkten Seiten sind die\njeweiligen Autoren selbst verantwortlich.");
 while(Text==true)
  {
   window.open(url);
   break;
  }
} 

function matform() { mform = window.open("/mailform/material/form.htm", "mform", "width=500,height=400,scrollbars"); mform.focus(); }        
function uzfrei() { uform = window.open("/mailform/material/uzfrei.htm", "uform", "width=500,height=400,scrollbars"); uform.focus(); }        

// mehrteiliges skript zum öffnen von bilddateien
function Foto(img){
  foto1= new Image();
  foto1.src=img; // die "()" Klammern können wohl weg!!!
  Controlla(img);
}
function Controlla(img){
//  if((foto1.width!=0)&&(foto1.height!=0)){
  if(foto1.complete){ // diese Zeile wurde geändert!!!
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img){
  largh=foto1.width+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"",stringa);
}
// ende bilderskript

