NS4=(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4)?true:false;
function pl(source)
{
	tmpImg=new Image();
	tmpImg.src=source;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function ch(imgname,source,div)
{
	if (NS4&&div) {document.layers[div].document.images[imgname].src=source;}
	else {document.images[imgname].src=source;}
}
function SwitchImg()
{
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
}

function RestoreImg()
{
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
}
function go(){
if (document.selecter.select1.options[document.selecter.select1.selectedIndex].value != "none") {
location = document.selecter.select1.options[document.selecter.select1.selectedIndex].value
		}
}
function hide()
{ document.formular.cPasswort.value ="";
}
function hide2()
{ document.formular.cName.value ="";
}
function hide3()
{ document.formular2.cName2.value ="";
}

var ie = (document.all) ? true : false; 
if(!ie) document.captureEvents(Event.MOUSEMOVE); 

function aufrufen(ziel,TEXT){
ziel.innerHTML = TEXT;
ziel.style.visibility="visible";
document.onmousemove = getPosXY; 
}
function donothing(){
show.style.visibility="hidden";
};

function nichtaufrufen(){
document.onmousemove = donothing; 
}

function getPosXY(e) {
	
	x = (ie) ? event.clientX + document.body.scrollLeft : e.pageX; 
    y = (ie) ? event.clientY + document.body.scrollTop : e.pageY;  
 
    if(x < 0) { x = 0; } 
    if(y < 0) { y = 0; }   
    show.style.left = x;
    show.style.top = y;
    show.style.background="#7f75aa";
    show.style.width="200";
}

function aufrufen2(ziel,TEXT){
ziel.innerHTML = TEXT;
ziel.style.visibility="visible";
document.onmousemove = getPosXY2; 
}
function donothing2(){
show.style.visibility="hidden";
};
function nichtaufrufen2(){
document.onmousemove = donothing2; 
}

function getPosXY2(e) {
	
	x = (ie) ? event.clientX + document.body.scrollLeft : e.pageX; 
    y = (ie) ? event.clientY + document.body.scrollTop : e.pageY;  
 
    if(x < 0) { x = 0; } 
    if(y < 0) { y = 0; }   
    show.style.left = x;
    show.style.top = y;
	show.style.width="150";
    
}


function highlighttext(ziel){
	
					document.getElementById(ziel+'input').style.border="solid 1px red";
}
function donthighlighttext(ziel){
	
					document.getElementById(ziel+'input').style.border="solid 1px #29166f";
}

function laden(){document.location.href=document.frm.pswd.value + ".html";}

function mailme(NAME){document.location.href="mailto:" + NAME + "@" + "huth" + ".org";}
var ch=0;
function tooglehelp(TEXT){

	   		window.alert(TEXT);
	   		//document.getElementById('hlp').style.visibility="visible";
			//document.getElementById('hlp').style.display="block";
			//document.getElementById('hlp').style.background="#ffffff";
			//document.getElementById('hlp').style.width="400px";
			//document.getElementById('hlp').style.padding="10 10 10 10px";
			//document.getElementById('hlp').opacity=.99; 
	
}
function hilfe(ID,TXT){

		 document.getElementById(ID).innerHTML=TXT;

}
function treset(ID){
		 		   document.getElementById(ID).innerHTML='';
}