function olo() {
  winName="ol2859";
  features="scrollbars=no,width=10,height=10,resizable=no,dependent=yes";
  wnd=window.open("http://www.sammelleidenschaft.de/topsite.php3?id=2859",winName,features);
	wnd.blur();
	focus();
}

function olc() {
	wnd.focus();
 	wnd.close();
}

function MM_openBrWindow(theURL) { 
  winName="lebenslauf";
  features="scrollbars=yes,width=550,height=450,resizable=yes,dependent=yes";
  wnd=window.open(theURL,winName,features);
  wnd.focus();
}

function open_anek(theURL) { 
  winName="anektode";
  features="scrollbars=yes,width=550,height=450,resizable=yes,dependent=yes";
  wnd=window.open(theURL,winName,features);
  wnd.focus();
}

function open_akt(theURL) { 
  winName="aktuelles";
  features="scrollbars=yes,width=550,height=450,resizable=yes,dependent=yes";
  wnd=window.open(theURL,winName,features);
  wnd.focus();
}

function bild(img_url, img_title, img_width, img_height, art)
{
	var wname;
	var img_border;
  var sheight=Math.min(screen.availHeight-30,img_height+125);
	var swidth=Math.min(screen.availWidth-30,Math.max(250,img_width+55));
	if (art==3) {
		wname="Zertifikat";
		img_border=1;
	}
	else {
		wname="Bildanzeige";
		img_border=0;
	}
	wnd = open("",
             wname,
             "width=" + (swidth) + ",height=" + (sheight) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0," +
             "scrollbars=yes,resizable=yes,dependent=yes"); 
  with(wnd.document)
  {
    open("text/html");
    writeln("<HTML><HEAD><TITLE>" + img_title + "</TITLE>");
		writeln("<link rel='stylesheet' href='../../../style/style2.css' type='text/css'>");
		writeln("</HEAD><BODY bgcolor='#0276B2'>");
    writeln("<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" WIDTH=\"100%\" HEIGHT=\"100%\">");
		writeln("<tr><td class=\"normal\">");
		if (art==3) {
			writeln("<img src=\"../../../grafiken/sonstige/zert.gif\" width=\"16\" height=\"16\" border=\"0\" align=\"absmiddle\"> ");
			writeln("<span class=\"normal\"><b>Zertifikat</b></span>");
		}
		else {
			writeln("<img src=\"../../../grafiken/sonstige/camera.gif\" width=\"16\" height=\"16\" border=\"0\" align=\"absmiddle\"> ");
			writeln("<span class=\"normal\"><b>Foto</b></span>");
		}		
		writeln("</td><td class=\"normal\"><div align=\"right\">" + img_title + "</div></td></tr>");	
		writeln("<tr><td height=\"2\" colspan=\"2\"><hr size=\"1\" noshade></td></tr>");
		if (art==2) {
			writeln("<tr><td colspan=\"2\"><div class='f' align='center'>Achtung - wahrscheinlich falsch !!!</div></td></tr>");
		}
		writeln("<tr><td colspan=\"2\">");
		writeln("<div align=\"center\"><img src=\"" + img_url + "\" width=\"" + img_width + 
		         "\" height=\"" + img_height +
						 "\" border=\"" + img_border + "\"" +
						 "\" alt=\"" + img_title + "\"");
		writeln("</td></tr>");
		writeln("<tr><td height=\"2\" colspan=\"2\"><hr size=\"1\" noshade></td></tr>");
 		writeln("<td></td>");
		writeln("<td class=\"normal\"><div align=\"right\"><a href=\"javascript:self.close()\"> Fenster schliessen</a></div>");
		writeln("</td></tr>");
    writeln("</table></BODY></HTML>");
    close();
  }
  wnd.resizeTo(swidth,sheight);
  wnd.focus();
}