// Datei js/styles.js
// (c) April 2004  OStR Michael Ziemke für Landrat-Lucas-Gymnasium, Leverkusen
//
// Grundfunktion:
// - Meta-Tags setzen
// - Überblendung bei Ein- und Ausstieg aus der Seite (Duration=1,Transition=12)
// - je nach Bildschirmauflösung passende Schriftgröße einstellen:
//
// Funktion bodystyles():
// - linke obere Ecke darstellen
// - Überschrift-Zeile darstellen
// - eine Zeile Abstand zu weiterem Text
// (wird im body-Bereich aktiviert)

// für Dateien im Verzeichnis oberhalb css und js muss statt ../ jeweils ./ verwendet werden.

document.writeln ('<meta http-equiv="expires" content="2">');
document.writeln ('<meta http-equiv="Page-Enter" content="BlendTrans(Duration=0.2,Transition=12)">');
document.writeln ('<meta http-equiv="Page-Exit" content="BlendTrans(Duration=0.2,Transition=12)">');

if (screen.width>=1024)
    document.writeln ('<link rel="stylesheet" href="http://www.landrat-lucas.de/css/style_13.css" type="text/css">')
  else
    document.writeln ('<link rel="stylesheet" href="http://www.landrat-lucas.de/css/style_11.css" type="text/css">');


function bodystyles (titel)
{
document.writeln ('<div class="ecke-lo">');
document.writeln ('  <img src="http://www.landrat-lucas.de/images/abrundung.gif" border="0"></div>');
document.writeln ('  <table class="titel">');
document.writeln ('    <tr class="titel">');
document.writeln ('      <td class="titel0"><p>&nbsp;</p></td>');
document.writeln ('      <td class="titel">');
document.writeln ('         <p><font size="2" color="white">');
document.writeln ('         <b>' + titel + '</b></font></p>');
document.writeln ('      </td>');
document.writeln ('    </tr>');
document.writeln ('  </table>');
// document.writeln ('<br>');
}
