function fenster1(nam,num) 
{
	WinIco=window.open(nam,num,"screenx=250,screeny=200,width=600,height=800,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=yes");
	//WinIco.focus();
	
	
}

function htmFenster(adr,wname,features) { 
  Fenster = window.open(adr,wname,features); 
/*<a href="#" onClick="htmFenster('xxxxx.htm ','yyyy','scrollbars=no,resizable=no,width=450,height=60')"> mehr </a>
       */

}


function fenster22(nam,num,x,y) 
{
stringwh="width="+x+",height="+y;
	WinIco=window.open(nam,"",stringwh);
	//WinIco.focus();
	
	
}


function bild(bildname) {
     
	WinIco=window.open( bildname,"bild","screenx=170,screeny=190,toolbar=no,menubar=no,status=yes,scrollbars=no,resizable=no");
	//WinIco.focus();
	//window.WinIco.moveTo(170,190);
}
function fenster(img)
{

  foto1= new Image();

  foto1.src=(img);

  kontrolle(img);

}

function kontrolle(img){

  if((foto1.width!=0)&&(foto1.height!=0)){

    viewFoto(img);

  }

  else{

    wert="kontrolle('"+img+"')";

    intervall=setTimeout(wert,20);

  }

}

function viewFoto(img){

  w=foto1.width+15;

  h=foto1.height+15;

  stringwh="width="+w+",height="+h;

  winbild=window.open(img,"",stringwh);

}
