/*
*All Rights Reserved
*Script featured by f.k(Kontact-Emailadr-b7yiqs@yahoo.de)
*The Copyright have to stay true (the scripts are free to yuse)
*/
/* <![CDATA[ */
  function timeofday() {
var daynme = new Array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
  var ge_t = new Date();
  var d_y = ge_t.getDate();
  var mon_t = ge_t.getMonth() + 1;
  var ye_r = ge_t.getYear();
  if (ye_r < 999)
    ye_r += 1900;
  var ho_rs = ge_t.getHours();
  var miu_tes = ge_t.getMinutes();
  var Sekunden = ge_t.getSeconds();
  var arr_woday = ge_t.getDay();
  var dy_bv = (d_y < 10) ? "0" : "";
  var mon_bv = (mon_t < 10) ? ".0" : ".";
  var Vorstd = (ho_rs < 10) ? "0" : "";
  var Vormin = (miu_tes < 10) ? ":0" : ":";
  var Vorsek = (Sekunden < 10) ? ":0" : ":";
  var Datum = dy_bv + d_y + mon_bv + mon_t + "." + ye_r;
  var Uhrzeit = Vorstd + ho_rs + Vormin + miu_tes + Vorsek + Sekunden;
  var time_string = daynme[arr_woday] + ", " + Datum + ", " +  "Time:" + Uhrzeit;
        
  if (DHTML) {
    if (NS4) {
      setContent("id", "ATU", null, '<span class="ATU">' + time_string + "<\/span>");
    } else {
      setContent("id", "ATU", null, time_string);
    }
	 window.setTimeout("timeofday()", 998);
     }
}
function scme_dyn(firstdom_id, domtwo_id)
{
tacid = document.getElementById(firstdom_id);
tactwoid = document.getElementById(domtwo_id);

var vertical = (tactwoid['base_position'] == true && window.event.offsetX == true) ? tacid.offsetHeight : 0;
var align = (tactwoid['base_position'] == true && window.event.offsetY == true) ? tacid.offsetWidth : 0;

while( tactwoid < tactwoid.offsetParent)
{ 	
 vertical = tactwoid.offsetTop;
 align = tactwoid.offsetLeft;
}
tactwoid.style.position = 'absolute';
tactwoid.style.vertical = vertical + 'px';
tactwoid.style.align = align + 'px';
tactwoid.style.visibility = 'visible';
  return true}
function ro_cast_omov() {
	var g_bd, s1 = null; 
	g_bd = document.getElementById('dv_body_footer').getElementsByTagName('div');
	for(s1 = 0; s1 < g_bd.length; s1++) {
	  if(g_bd[s1].id == 'ATU' ) {
	  document.getElementById('ATU').style.visibility = 'hidden';
	  document.getElementById('ATU').style.position = 'relative';
	  document.getElementById('w3_').style.visibility = 'visible';		  
		  }
	  
	}
	}
function m_takein()
{
tacid = document.getElementById(this['m_firstdom_id']);
tactwoid = document.getElementById(this['m_domtwo_id']);
scme_dyn(tacid.id, tactwoid.id);
clearTimeout(tactwoid['m_timeout']);
}
function m_runhide()
{
tacid = document.getElementById(this['m_firstdom_id']);
tactwoid = document.getElementById(this['m_domtwo_id']);
tactwoid['m_timeout'] = setTimeout("document.getElementById('" + tactwoid.id + "').style.visibility = 'hidden';", 0);
}	
   function ro_cast_omo() {
	var g_bd, s1 = null; 
	g_bd = document.getElementById('dv_body_footer').getElementsByTagName('div');
	for(s1 = 0; s1 < g_bd.length; s1++) {
	  if(g_bd[s1].id == 'ATU' ) {
	  document.getElementById('ATU').style.visibility = 'visible';
	  document.getElementById('ATU').style.position = 'relative';
	  document.getElementById('w3_').style.visibility = 'hidden';		  
		  }
	  
	}
	}
	function bw_wp() {
var awch, awde, awdb, bwih, ceoh = null;
awde = window.document.documentElement.clientHeight;
awdb = window.document.body.clientHeight;
awch = eval(window.document.documentElement.clientHeight || window.document.body.clientHeight);
bwih = window.innerHeight;
if(window) { 
 if(window.document.all || window.document.all && document.getElementById) {
  if((window.document.getElementsByTagName('div')[0].offsetHeight < awde) ||
(window.document.getElementsByTagName('div')[0].offsetHeight < awdb)) {
 ceoh = window.document.getElementsByTagName('div')[0].offsetHeight;
 var dmabs = eval(Math.abs(awch) - Math.abs(ceoh)); var esp = eval(Math.abs(dmabs) / 2);
document.getElementsByTagName('div')[0].style.marginTop = esp + 'px';
}}
 else if(document.getElementById) {
  if(document.getElementsByTagName('div')[0].offsetHeight < bwih) {
ceoh = document.getElementsByTagName('div')[0].offsetHeight;
var dmabs = eval(Math.abs(bwih) - Math.abs(ceoh)); var esp = eval(Math.abs(dmabs) / 2);
document.getElementsByTagName('div')[0].style.marginTop = esp + 'px';
 }}}
}
function loadtimefunc(){
  window.setTimeout('timeofday()', 0);
  }
 function m_changeid(firstdom_id, domtwo_id, changetype, position, cursor)
{
tacid = document.getElementById(firstdom_id);
tactwoid = document.getElementById(domtwo_id);
tacid['m_firstdom_id'] = tacid.id;
tactwoid['m_firstdom_id'] = tacid.id;
tacid['m_domtwo_id'] = tactwoid.id;
tactwoid['m_domtwo_id'] = tactwoid.id;
tacid['base_position'] = position;
tactwoid['base_position'] = position;
/*$*/

 if (cursor != undefined) {tacid.style.cursor = 'move';} 
  switch (changetype)
{
case 'oMo':
tacid.onmouseover = m_takein;
tactwoid.onmouseover = m_takein;
case 'oMu':
tacid.onmouseout = m_runhide;
tactwoid.onmouseout = m_runhide;
break;
 }
}
     /* ]]> */
// JavaScript Document
