<!--

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) {
    window.open('/zoom.php?image='+name,fenster,'width='+weite+',height='+hoehe+',menubar=no,locationbar=no,screenX=0,screenY=0,scrollbars=no');
}   

var aPopUps = new Array();

function closePopUps() {             
    for (var i = 0; i < aPopUps.length; ++i) {
        var oPopUp = aPopUps[i];
        if (!oPopUp.closed) {
            oPopUp.close();
        }
    }
}  

function changePopUp(sName, sURL) {
    for (var i = 0; i < aPopUps.length; ++i) {
        var oPopUp = aPopUps[i];
        if (!oPopUp.name == sName) {
            oPopUp.location = sURL;
            oPopUp.focus();
            return true;
        }
    }
    return false;
}  

function newWindow(newContent)
{
    if (!changePopUp('nextWin', newContent)) {
        winContent = window.open(newContent, 'nextWin', 'right=0, top=20,width=800,height=500,toolbar=no,scrollbars=yes,resizable=yes');   
        winContent.focus();
        aPopUps.push(winContent);
    }
}



//-->