/* ------------------------------------------------------------
   Allgemeine Hinweise

   Autor: Dietmar Rabich
   Datei: allgemein.js

   Copyright (c) Dietmar Rabich, Duelmen.
   Alle Rechte vorbehalten.

   Diese Datei stammt von http://skripte.rabich.de/.

   Das Entfernen oder Veraendern dieser Informationen ist
   ohne ausdrueckliche Zustimmung des Autors nicht gestattet.
------------------------------------------------------------ */

function wndAbout(skriptname)
{
	var	about_wnd	= open("", "About", "innerWidth=320,width=320,innerHeight=320,height=320,toolbar=0,status=0,scrollbars=0,resizable,personalbar=0,menubar=0,location=0,directories=0,dependent");
	if(!about_wnd || (typeof(about_wnd) != "object"))
		if(confirm("F\u00FCr das Skript \"" + skriptname + "\" gilt:\nCopyright \u00A9 Dietmar Rabich, D\u00FClmen.\nAlle Rechte vorbehalten.\n\nWollen Sie die Homepage des Autors besuchen?"))
			location.href	= "http:\/\/skripte.rabich.de\/";

	with(about_wnd.document)
	{
		open("text\/html");
		writeln("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
		writeln("<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.1\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml11\/DTD\/xhtml11.dtd\">");
		writeln("<html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" xml:lang=\"de\">");
		writeln("<head>");
		writeln("<title>Hinweis<\/title>");
		writeln("<meta http-equiv=\"CONTENT-LANGUAGE\" content=\"de\" \/>");
		writeln("<meta http-equiv=\"CONTENT-TYPE\" content=\"text\/html; CHARSET=utf-8\" \/>");
		writeln("<meta http-equiv=\"CONTENT-SCRIPT-TYPE\" content=\"text\/javascript\" \/>");
		writeln("<meta http-equiv=\"CONTENT-STYLE-TYPE\" content=\"text\/css\" \/>");
		writeln("<style type=\"text\/css\"><!--")
		writeln("body {margin: 16px; font-family: sans-serif; color: #000; background-color: #eee; font-size: 10pt;}");
		writeln("h1, p {text-align: center; margin-top: 0; margin-left: 0; margin-right: 0; margin-bottom: 0.5em;}");
		writeln("h1 {font-size: large;}");
		writeln("a:link, a:visited, a:hover, a:active, a:focus {color: #00c; text-decoration: none; font-weight: bold;}");
		writeln(".Zusatz {font-size: smaller;}");
		writeln("--><\/style>");
		writeln("<script type=\"text\/javascript\"><!--")
		writeln("function homepage() {window.opener.href=\"http:\/\/skripte.rabich.de\/\";}");
		writeln("\/\/--><\/script>");
		writeln("<\/head>");
		writeln("<body>");
		writeln("<h1>Hinweis<\/h1>");
		writeln("<p>Diese Seite enth&auml;lt Skripte von<br \/>Dietmar Rabich, D&uuml;lmen,<br \/>u.a. das Skript &quot;" + skriptname + "&quot;.<\/p>");
		writeln("<p>F&uuml;r die vorgenannten Skripte gilt:<\/p>");
		writeln("<p>Copyright &copy; Dietmar Rabich, D&uuml;lmen.<br \/>Alle Rechte vorbehalten.<\/p>");
		writeln("<p>Weitere Hinweise zu den Skripten sind auf folgender Seite aufgef&uuml;hrt:<\/p>");
		writeln("<p><a href=\"javascript:homepage()\">&lt;Skripte&gt; von Dietmar Rabich<\/a><\/p>");
		writeln("<p class=\"Zusatz\">F&uuml;r die Verwendung der Skripte innerhalb der Seiten von \"" + ((location.hostname == "") ? "offline" : location.hostname) + "\" sind allein die Autoren der Seiten verantwortlich.<\/p>");
		writeln("<p>[ <a href=\"javascript:self.close()\">Fenster schlie&szlig;en<\/a> ]<\/p>");
		writeln("<\/body>");
		writeln("<\/html>");
		close();
	}
}

function hinweis_autor(skriptname)
{
	wndAbout(skriptname);
}

function hinweis_copyright(skriptname)
{
	wndAbout(skriptname);
}

// EOF