<!--
// JAVA - SCRIPTE
// --------------
// Datum und Uhrzeit in langer Darstellung
// Datum und Uhrzeit in kurzer Darstellung
// Besichtigungsangebot und Hinweis auf AGB's
// Provision und MwSt.
// Fussbereich für Wohnungslisten
// Hinweis auf AGB's
// Passwort
// Anzeige Statuszeile
//
// =====================================================================================
// folgende Zeilen müssen in den Body-Bereich kopiert und die entsprechende Funktion
// eingesetzt werden:
//
// <script type="text/javascript">
// <!--
// funktion();
// //-->
// </script>
//
// ======================================================================================
// Datumsausgabe und Uhrzeit mit Tagesnamen und Monatsnamen

function PrintDateTimeLong() 
{
var x  = new Date();
day    = new Array(7);
day[0] = "So.";
day[1] = "Mo.";
day[2] = "Di.";
day[3] = "Mi.";
day[4] = "Do.";
day[5] = "Fr.";
day[6] = "Sa.";
month     = new Array(12);
month[0]  = "Januar";
month[1]  = "Februar";
month[2]  = "März";
month[3]  = "April";
month[4]  = "Mai";
month[5]  = "Juni";
month[6]  = "Juli";
month[7]  = "August";
month[8]  = "September";
month[9]  = "Oktober";
month[10] = "November";
month[11] = "Dezember";

document.write('<font size="1" face="arial"><b>');
document.write(day[x.getDay()]+', ');
document.write(x.getDate()+'. ');
document.write(month[x.getMonth()]+' ');
document.write(x.getYear()+' ');
// document.write('<br>');
// document.write(x.getHours() +':'+ x.getMinutes() + ' Uhr');
document.write(x.getHours() +':'+ x.getMinutes());
}

// =======================================================================================
// Datumsausgabe und Uhrzeit in Kurzform

function PrintDateTimeShort() 
{
var x = new Date();
var date = x.getDate();
if (date < 10) 
{
date = '0' + date;
}

var minutes = x.getMinutes();
if (minutes < 10) 
{
minutes = '0' + minutes;
}

month     = new Array(12);
month[0]  = "01.";
month[1]  = "02.";
month[2]  = "03.";
month[3]  = "04.";
month[4]  = "05.";
month[5]  = "06.";
month[6]  = "07.";
month[7]  = "08.";
month[8]  = "09.";
month[9]  = "10.";
month[10] = "11.";
month[11] = "12.";
// document.write('<font size="1" face="arial"<b>');
document.write(date+'.');
document.write(month[x.getMonth()]);
if (x.getYear()<=1900)
document.write(x.getYear()+1900);
else
document.write(x.getYear()+' ');
// document.write(' ' +x.getHours() +':'+ minutes + ' Uhr');
document.write(' ' +x.getHours() +':'+ minutes);
}

// =====================================================================================
// Besichtigungsangebot und Hinweis auf AGB's

function besi()
{
var besiwunsch = "Auf Wunsch vereinbaren wir eine Besichtigung vor Ort, gern auch am Wochenende.";

document.write ('<p align="center">');
document.write ('<font face="Verdana, Arial, sans-serif">');
document.write ('<font size="2">');
document.write ('<p>');
document.write ('<p>');
document.write (besiwunsch);

document.write ('<font size="1">');
document.write ('<p>');
document.write ('<b>');
document.write ('Im übrigen gelten die <a href="../../../agb_gi.html"> Allgemeinen Geschäftsbedingungen');

document.write ('</b>');
document.write ('<br>');
}

// =====================================================================================
// Provision und MwSt. 5,8%

function provision()
{
var prov = "5,8"
var provtext = " % (inkl. MwSt.) vom Gesamtkaufpreis - zahlbar und verdient am Tag des notariellen Kaufvertrages";
document.write(prov + provtext);
}

// =====================================================================================
// Provision und MwSt. 5,8%

function provision58()
{
var prov = "5,8"
var provtext = " % (inkl. MwSt.) vom Gesamtkaufpreis - zahlbar und verdient am Tag des notariellen Kaufvertrages";
document.write(prov + provtext);
}

// =====================================================================================
// Provision und MwSt. 2,9%

function provision29()
{
var prov = "2,9"
var provtext = " % (inkl. MwSt.) vom Gesamtkaufpreis - zahlbar und verdient am Tag des notariellen Kaufvertrages";
document.write(prov + provtext);
}

// =====================================================================================
// Provision und MwSt. 3,48%

function provision348()
{
var prov = "3,48"
var provtext = " % (inkl. MwSt.) vom Gesamtkaufpreis - zahlbar und verdient am Tag des notariellen Kaufvertrages";
document.write(prov + provtext);
}

// ====================================================================================
// Fussbereich für Wohnungslisten

function wohnung_foot()
{
var firma = "Graupner Immobilien";
var str   = "Feuerbachstraße 7";
var ort   = "04105 Leipzig";
var tel   = "Telefon: 0341 / 9112909";
var fax   = "Fax: 0341 / 9117920";
var mobil = "Mobil: 0177 / 3370597 und 0173 / 9255467 und 0179 / 2931394";
var trenn = " -------- ";

document.write ('<font face="Verdana, Arial, sans-serif">');
document.write ('<p align="center">');
document.write ('<font size="1">');
document.write (firma + trenn + str + trenn + ort);
document.write ('<br>');
document.write (tel + trenn + mobil + trenn + fax);
}

// =======================================================================================
// Hinweis auf AGB's

function agb()
{
document.write ('<p align="center">');
document.write ('<font face="Verdana, Arial, sans-serif">');
document.write ('<font size="1">');
document.write ('<p>');
document.write ('<b>');
document.write ('Im übrigen gelten die <a href="../../../agb_gi.html"> Allgemeinen Geschäftsbedingungen');
}

// =======================================================================================
//
if (document.layers)
   {
   window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
   window.onmousedown=rightclick;
   window.onmouseup=rightclick;

   function rightclick(e)
   {
     if (e.which == 3)
     {
     alert("\n             Copyright" +
           "\n  " +            
           "\n        Graupner Immobilien");
     return false;
     }
     else
     {
     return true;
     }
   }
}

if (document.all)
   {
   function click()
   {
   if (event.button==2)
     {
     alert("\n Geschützter Bereich");
     }

    if (event.button==3)
       {
       alert("\n             Copyright" +
           "\n  " +            
           "\n        Graupner Immobilien");
        }
    }
    document.onmousedown=click
}

// =======================================================================================
//
// Passwortprüfung durch Eingabe der anzuzeigenden Seite
//Das Paßwort ist nichts anderes, als der Dateiname der geschützten Seite ohne Endung
//
function passwort( ) 
{
location.href=document.pwort.pw.value + ".html";
}

// =======================================================================================
//
// Anzeige Statuszeile

function statuszeile() 
{
window.defaultStatus = "Graupner Immobilien Leipzig";
}

//-->

