// JavaScript Document
var oe=function(Fehler,Datei,Zeile){alert('Es ist der JS- Fehler: '+Fehler+', in der Datei: '+Datei+', in der Zeile: '+Zeile+'Aufgetreten.');};
var oe2=function(){return true;};
window.onerror=oe;
$GLOBALS = {},$GLOBALS.tmp = null;
window.opera = window.opera;
$GLOBALS.hiddens = [];
$GLOBALS.IE = false;
$GLOBALS.IE6 = false;
$GLOBALS.IE7 = false;
$GLOBALS.IE8 = false;
if(navigator.appVersion.match(/MSIE/)&&!navigator.appVersion.match(/Macintosh/)&&!opera&&!navigator.appVersion.match(/Konqueror/)){
	$GLOBALS.IE=true;
	if(navigator.appVersion.match(/MSIE 6/))$GLOBALS.IE6 = true;
	if(navigator.appVersion.match(/MSIE 7/))$GLOBALS.IE7 = true;
	if(navigator.appVersion.match(/MSIE 8/))$GLOBALS.IE8 = true;
}
if($GLOBALS.IE6)document.body.style.visibility = 'hidden';
var $O = function(Obj,Doc)
{
	return (Doc||document).getElementById(Obj);
};
var $T = function(Tag,Parent)
{
	Tag=Tag?Tag:'*';
	return ((Tag=='*') && !document.getElementsByTagName('*').length)?(Parent||document).all:(Parent||document).getElementsByTagName(Tag);
};
var $C = function(className, Tag) {// Jedes Attribut ließe sich mit dieser Methode "ziehen"
	Tag = !Tag ? '*' : Tag;
    var muster = new RegExp("(^| )" + className + "($| )");
    var alles = $T();
    var gefunden = [];
	for(i=0;i<alles.length;i++){
		if ((alles[i].tagName && (alles[i].tagName.toLowerCase() == Tag)||(Tag=='*')) && alles[i].className && (alles[i].className != "")) {
            if (alles[i].className.match(muster)) {
                gefunden[gefunden.length] = alles[i];
			}
        }
	}
    return gefunden;
};
var init = function()
{
   if($GLOBALS.IE6){
	   	setTimeout(showBody,1000);
		document.body.style.behavior = 'url(/js/csshover3.htc);';
		for(var i=0;i<$T('img').length;i++){
			$T('img')[i].style.behavior = 'url(/js/hm_iepngfix.htc);';
		}
		for(var i=0;i<$C('pngtrans').length;i++){
			$C('pngtrans')[i].style.behavior = 'url(/js/hm_iepngfix.htc);';
		}
   }
   var a=$T('a');
   for(var i=0,inp=$T('input'),inp_l=inp.length;i<inp_l;i++)a[a.length]=inp[i];
   for (var i=0,l=a.length;i<l;i++) { /* http://www.tomislav.net/gestrichelte-linie-um-link-verstecken.htm */
	  if(a.tagName && a.tagName.toLowerCase()=='input' && a.type!='submit')continue;
	  if(a[i].tagName){
		  a[i].onmousedown = function()
	      {
	         this.onfocus = function()
	         {
	        	this.blur();
	         };
	      };
	      a[i].onmouseup = function()
	      {
	         this.onfocus = function(){};
	      };
	      a[i].onmouseout = a[i].onmouseup;
   	  }
   }
};
var showBody = function()
{
	document.body.style.visibility = 'visible';
};
window.onload=init;
