function allesSchliessen(){
window.opener = top;

window.close();
}		


function tmt_print() {
    function stopError() {
        return true;
    };
    window.onerror = stopError;
    if (document.all) {
        var OLECMDID_PRINT = 6;
        var OLECMDEXECOPT_DONTPROMPTUSER = 2;
        var OLECMDEXECOPT_PROMPTUSER = 1;
        var WebBrowser = "<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>";
        document.body.insertAdjacentHTML("beforeEnd", WebBrowser);
        WebBrowser1.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER);
        WebBrowser1.outerHTML = "";
    } else {
        self.print();
    }
}


function surfto(form) 
	{
		var myindex=form.select1.selectedIndex
		if(form.select1.options[myindex].value !="0")
		{ window.open(form.select1.options[myindex].value, target="_self"); }
	}


function KHArray(size){
  this.length = size;
  for(var i = 1; i <= size; i++)
  {
    this[i] = "";
  }
  return this;
}



function stopclock (){
  if(timerRunning)
  clearTimeout(timerID);
  timerRunning = false
}


function showtime () {
  var now = new Date();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var timeValue = "";
  timeValue += ((hours < 10) ? "0" : "") + hours;
  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
  document.jsfrm.face.value = timeValue;
  timerID = setTimeout("showtime()",1000);
  timerRunning = true
}


function startclock () {
  stopclock();
  showtime()
  }

//Browserabfrage//
		
function Is () {
	    	var agt=navigator.userAgent.toLowerCase()
        	var apn=navigator.appName.toLowerCase()
	
	    	this.major = parseInt(navigator.appVersion)
	    	this.minor = parseFloat(navigator.appVersion)
	
	    	this.nav  = (apn.indexOf("netscape") != -1)
	    	this.nav2 = (this.nav && (this.major == 2))
	    	this.nav3 = (this.nav && (this.major == 3))
	    	this.nav4 = (this.nav && (this.major >= 4))
	
	    	this.ie   = (agt.indexOf("msie") != -1)
	    	this.ie3  = (this.ie && (this.major == 2))
	    	this.ie4  = (this.ie && (this.major >= 4))
	
	    	this.mac    = (agt.indexOf("mac")!=-1)
	}		




	 
