<!--

function noemailspam(adrs,dmain,nme,clss) {      	
    // Function made by TheHPage DOT com
    
    // ### MAKE VARS ###
    var first = 'ma';
    var second = 'il';
    var third = 'to:';
    
    // ### MAILTO-PART ###
    ausgabe = '<a href="';
    ausgabe = ausgabe+first+second+third;
    ausgabe = ausgabe+adrs+'&#64'+dmain;
    ausgabe = ausgabe+'">';
    
    // Check: Insert Style-Class? PART 1
    if(clss != ''){
        ausgabe = ausgabe+'<span class="'+clss+'">';    
    }
    
    // ### Check: Show E-Mail or Name? ###
    if(nme != ''){
        ausgabe = ausgabe+nme;
    } else {
        ausgabe = ausgabe+adrs+'&#64'+dmain;
    }    
    
    // Check: Insert Style-Class? PART 2
    if(clss != ''){
        ausgabe = ausgabe+'</span>';
    }
    
    // ### FINISH IT ###    
    ausgabe = ausgabe+'<\/a>';
    document.write(ausgabe);
}  

function bildanzeigen(fenster,name,weite,hoehe) {
	
// Version 1.2 vom 07.02.2006

		var g_fIsSP2 = false; //Für IE mit SP2.
		var xpos = screen.availWidth/2 - (weite/2);
		var ypos = screen.availHeight/2 - (hoehe/2);
		weite += 6;	
		
		if (navigator.appName.indexOf("Explorer") != -1) { 
			
	 		hoehe += 29; 	
	 		status = "no";
	 
	 		g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1); //SP2?
   				if (g_fIsSP2)
   					{
   						hoehe += 27; //Für IE mit SP2. Kann Statusbar nicht ausblenden
   						status = "yes";
   					}
		}
		else { hoehe += 45; status = "yes"; } // alle anderen
			
	
  		
		
        img = window.open('/zoom.php?image='+name,fenster,'width='+weite+',height='+hoehe+',menubar=no,locationbar=no,statusbar='+status+',screenX='+xpos+',screenY='+ypos+',scrollbars=no');
		
		img.resizeTo(weite,hoehe);
		img.focus()
		
	  	if (img) return false;
  		else return true;
} 


// Selectfeld Kontrast

 function jump(form)
 {
  var order = form.kontrast.selectedIndex;
  if (form.kontrast.options[order].value != 0)
  {
   location = form.kontrast.options[order].value;
  } 
 }
 
 
 // Script Menü

function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}


// Form-Weiterleitung (für Kontrast)

function myformsubby(link){
	document.forms.form_kontrast.action=link;
	document.forms.form_kontrast.submit();
}



// Aus-/Einblenden von Layern

function findObj(n, d) { //v4.01
  var p,i,x;  
  if(!d) d=document; 
  if((p=n.indexOf("?"))>0&&parent.frames.length) 
  {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
  }
  if(!(x=d[n])&&d.all) 
  	x=d.all[n]; 
	
  for (i=0;!x&&i<d.forms.length;i++) 
  	x=d.forms[i][n];
	
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
  	x=findObj(n,d.layers[i].document);
	
  if(!x && d.getElementById) 
  	x=d.getElementById(n); 
	
	return x;
}

function showHideLayers() { //v6.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  	if ((obj=findObj(args[i]))!=null) 
	{ 
		v=args[i+2];
    	if (obj.style) { 
						obj=obj.style; 
						v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
						}
    obj.visibility=v; 
	}
}


//-->
