// LWL | Lukas Wenger Langenthal  winOpen.js  V 2.05  2003-01-05

function winOpen(u,t,h,l,a)
{

if(t == null)
	t = "LWL | Lukas Wenger Langenthal";

if(h == null)
	h = "Abbildung";

if(l == null)
	l = "";

if(a == null)
	a = "";

var code = '<!DOCTYPE html PUBLIC "-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN">\n';
code += '<html lang="de">\n';
code += '<head>\n';
code += '<title>' + t + '</title>\n';
code += '<meta http-equiv="content-type" content="text\/html; charset=iso-8859-1">\n';
code += '<style type="text/css">\n';
code += '@import url(\/style\/style.css);\n';
code += '<\/style>\n';
code += '<\/head>\n\n';
code += '<body>\n';
code += '<div id="head">\n';
code += '<h1 class="head">' + t + '<\/h1>\n';
code += '<br clear="all">\n';
code += '<\/div>\n';
code += '<div id="content">\n';
code += '<h1>' + h + '<\/h1>\n';
code += '<p><img src="' + u + '" alt="Grafik" title="' + l + '" border="0"><\/p>\n';
code += '<p class="small">' + l + ' <span class="author">' + a + '<\/span><\/p>\n';
code += '<p><a href="javascript:self.close()"><img src="\/images\/childmenu.gif" alt="" title="" width="10" height="10" border="0"><\/a>\n';
code += '<a href="javascript:self.close()">schliessen<\/a><\/p>\n';
code += '<br>\n';
code += '<\/div>\n';
code += '<div id="footer">\n';
code += 'LWL | Lukas Wenger Langenthal &bull; &copy; 1998 &ndash; 2003<br>\n';
code += '<\/div>\n';
code += '<\/body>\n';
code += '<\/html>\n';

lwlWin = window.open(u,"lwlWin","locationbar=no,menubar=yes,resizable=yes,scrollbars=yes,status=yes");
lwlWin.location.href = "about:blank";

lwlWin.document.open();
lwlWin.document.write(code);
lwlWin.document.close();

lwlWin.focus();
}
