/**
 *	toolbox
 *
 *	Systemvoraussetzung:
 *	Linux, Windows
 * 	PHP 4 >= 4.0.0-RC2 , PHP 5
 *	GD-Bibliothek ( > gd-1.6 )
 *	FreeType-Bibliothek
 *
 *	Toolbox Java
 *
 * 	LICENSE: GNU General Public License (GPL)
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License version 2,
 *	as published by the Free Software Foundation.
 *
 *	@category   Toolbox Java
 *	@author     Detlev Molitor (dmo@xotti.de)
 *	@copyright  2001-2008 Detlev Molitor
 *	@version    $Id: toolbox.js,v 0.10
 *	@link       http://www.xotti.de
 */

/* <script src="http://www.bramis.net/.tools/toolbox.js" type="text/javascript"></script><noscript><hr noshade size="2"><p><strong>Bitte aktivieren Sie <a href="http://GeierTours.de/supersearchgd.php?search=javascript%2Baktivierung%2Bhilfe" target="_blank">JavaScript</a> und laden Sie diese Seite erneut.<br>Falls Sie noch kein Java Installiert haben: <a href="http://java.sun.com/getjava/download.html">Download Java</a><br><br><b>Browser with Java and Frame Options</b><br><b>Browser mit Java und Frame Optionen</b><br><a href="http://www.microsoft.com" onmouseover="window.status='Get IE'; return true" onmouseout="window.status=' '; return true">Microsoft Internet Explorer</a><br><a href="http://www.netscape.com" onmouseover="window.status='Get Netscape'; return true" onmouseout="window.status=' '; return true">Netscape</a><br></strong></p><hr noshade size="2"></noscript> */





function tipp(fenster)
/* <a href="#" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="neu">???</a> */
/* <a href="javascript:window.open('Protokoll://username:passwort@servername:port/Verzeichnis/Dateiname#Anker?search','','status=no, scrollbars=no, toolbar=no, width=800 height=600,screenX=0,screenY=0,left=10,top=10'); void('');" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="_self">???</a> */
{
 self.name = "text";
 info = window.open ('','tipp','width=150, height=70, screenX=0, screenY=0, left=700, top=10')
 if(info != null)
 {
  if(info.opener == null)
  {
   info.opener = self;
  }
 }
 info.document.open()
 info.document.write("<html><head><title>Information</title>");
 info.document.write("</head><body bgcolor=gold text=black >")
 info.document.write("<center><font size=2>")
 info.document.write(fenster)
 info.document.write("</body></html>")
 info.document.close()
 return true;
}
        function tippzu()
        {
         info.close()
         return true;
        }

function tippmittel(fenster)
/* <a href="#" onmouseover="tippmittel('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="neu">???</a> */
/* <a href="javascript:window.open('Protokoll://username:passwort@servername:port/Verzeichnis/Dateiname#Anker?search','','status=no, scrollbars=no, toolbar=no, width=800 height=600,screenX=0,screenY=0,left=10,top=10'); void('');" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="_self">???</a> */
{
 self.name = "text";
 info = window.open ('','tipp','width=250, height=170, screenX=0, screenY=0, left=700, top=10')
 if(info != null)
 {
  if(info.opener == null)
  {
   info.opener = self;
  }
 }
 info.document.open()
 info.document.write("<html><head><title>Information</title>")
 info.document.write("</head><body bgcolor=gold text=black >")
 info.document.write("<center><font size=2>")
 info.document.write(fenster)
 info.document.write("</body></html>")
 info.document.close()
 return true;
}
        function tippzu()
        {
         info.close()
         return true;
        }

function tippmittellinks(fenster)
/* <a href="#" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="neu">???</a> */
/* <a href="javascript:window.open('Protokoll://username:passwort@servername:port/Verzeichnis/Dateiname#Anker?search','','status=no, scrollbars=no, toolbar=no, width=800 height=600,screenX=0,screenY=0,left=10,top=10'); void('');" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="_self">???</a> */
{
 self.name = "text";
 info = window.open ('','tipp','width=250, height=170, screenX=0, screenY=0, left=10, top=50')
 if(info != null)
 {
  if(info.opener == null)
  {
   info.opener = self;
  }
 }
 info.document.open()
 info.document.write("<html><head><title>Information</title>")
 info.document.write("</head><body bgcolor=gold text=black >")
 info.document.write("<center><font size=2>")
 info.document.write(fenster)
 info.document.write("</body></html>")
 info.document.close()
 return true;
}
        function tippzu()
        {
         info.close()
         return true;
        }

function tippgross(fenster)
/* <a href="#" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="neu">???</a> */
/* <a href="javascript:window.open('Protokoll://username:passwort@servername:port/Verzeichnis/Dateiname#Anker?search','','status=no, scrollbars=no, toolbar=no, width=800 height=600,screenX=0,screenY=0,left=10,top=10'); void('');" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="_self">???</a> */
{
 self.name = "text";
 info = window.open ('','tipp','width=370, height=370, screenX=0, screenY=0, left=700, top=10')
 if(info != null)
 {
  if(info.opener == null)
  {
   info.opener = self;
  }
 }
 info.document.open()
 info.document.write("<html><head><title>Information</title>")
 info.document.write("</head><body bgcolor=gold text=black >")
 info.document.write("<left><font size=2>")
 info.document.write(fenster)
 info.document.write("</body></html>")
 info.document.close()
 return true;
}
         function tippzu()
        {
         info.close()
         return true;
        }

function tippbild(fenster)
/* <a href="#" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="neu">???</a> */
/* <a href="javascript:window.open('Protokoll://username:passwort@servername:port/Verzeichnis/Dateiname#Anker?search','','status=no, scrollbars=no, toolbar=no, width=800 height=600,screenX=0,screenY=0,left=10,top=10'); void('');" onmouseover="tipp('Hier ist ein Tipp zum ...')", onmouseout="tippzu()" target="_self">???</a> */
{
 self.name = "text";
 info = window.open ('','tipp','width=500, height=500, screenX=0, screenY=0, left=700, top=10')
 if(info != null)
 {
  if(info.opener == null)
  {
   info.opener = self;
  }
 }
 info.document.open()
 info.document.write("<html><head><title>Information</title>")
 info.document.write("</head><body bgcolor=gold text=black >")
 info.document.write("<left><font size=2>")
 info.document.write(fenster)
 info.document.write("</body></html>")
 info.document.close()
 return true;
}
         function tippzu()
        {
         info.close()
         return true;
        }
/* <a href="javascript:socialbookmark()" target="_self"><img src="http://www.bramis.net/graphics/sbicon-social-bookmark.gif" width="80" height="15" border="0" alt="Social Bookmarks"></a> */



function socialbookmark() { //v2.0
  window.open('http://www.bramis.net/include/social-bookmarks.php?url='+(document.location)+'&title='+(document.title)+'&description=<? echo $description?>','','status=no, scrollbars=no, toolbar=no, width=900,height=680,screenX=0,screenY=0,left=10,top=10');
}

function titletime() { //v2.0
        <!-- Copyright 2002, Sandeep Gangadharan (sivam@bol.net.in) -->
        <!-- For more free scripts go to http://web1.mtnl.net.in/~sivam/ -->
        var
        month= new Array();
        month[0]="January";
        month[1]="February";
        month[2]="March";
        month[3]="April";
        month[4]="May";
        month[5]="June";
        month[6]="July";
        month[7]="August";
        month[8]="September";
        month[9]="October";
        month[10]="November";
        month[11]="December";

        var
        day= new Array();
        day[0]="Sunday";
        day[1]="Monday";
        day[2]="Tuesday";
        day[3]="Wednesday";
        day[4]="Thursday";
        day[5]="Friday";
        day[6]="Saturday";


        today = new Date();
        dtStr = today.getDate();
        dyStr = (day[today.getDay()]);
        mthStr = (month[today.getMonth()]);
        yrStr = today.getFullYear();
        gmt = today.toGMTString();
        exp = gmt;

        suf="th";
        if (dtStr==1 || dtStr==21 || dtStr==31) {suf="st";}
        if (dtStr==2 || dtStr==22) {suf="nd";}
        if (dtStr==3 || dtStr==23) {suf="rd";}

        date="Today is: " + dyStr + ", " + dtStr + suf + " " + mthStr + ", " + yrStr;

        function sivamtime() {
                 now=new Date();
                 hour=now.getHours();
                 min=now.getMinutes();
                 sec=now.getSeconds();

        if (min<=9) {
                 min="0"+min;
         }
        if (sec<=9) {
                 sec="0"+sec;
         }
        if (hour>12) {
                 hour=hour-12;
                 add=" p.m";
         }
        else {
                 hour=hour;
                 add=" a.m";
         }
        if (hour==12) {
                 add=" p.m";
         }
        if (hour==00) {
                 hour="12";
         }

        time = " - " + ((hour<=11) ? "0"+hour : hour) + ":" + min + ":" + sec
                 + add;
        document.title = date + time;
        setTimeout("sivamtime()", 1000);

        }
}

