<!--

function noemailspam(adrs,dmain,nme,extra) {      	
    // 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? PART 1
    if(extra != ''){
        ausgabe = ausgabe+' style="color: '+extra+'"';    
        ausgabe = ausgabe+'>';
    }
    
    else {
    	
    	ausgabe = ausgabe+'>';
    	
    }
    
    // ### Check: Show E-Mail or Name? ###
    if(nme != ''){
        ausgabe = ausgabe+nme;
    } else {
        ausgabe = ausgabe+adrs+'&#64'+dmain;
    }    
    
    
    // ### FINISH IT ###    
    ausgabe = ausgabe+'<\/a>';
    document.write(ausgabe);
}  


function calendar(field_day,day,field_month,month,field_year,year)
{
	parameter  = 'field_day='+field_day;
	parameter += '&day='+day;
	parameter += '&field_month='+field_month;
	parameter += '&month='+month;
	parameter += '&field_year='+field_year;
	parameter += '&year='+year;

  	cal = window.open("/calendar.php?language=<?php echo $language; ?>&"+parameter,"calendar","width=193,height=260,left=100,top=100,menubar=no,locationbar=no,scrollbars=no");
	cal.resizeTo(193,260);
	cal.focus();
}

function send(day,field_day,month,field_month,year,field_year)
{
	if(day<10) { day = '0'+day; }
	if(month<10) { month = '0'+month; }

	for (i=0; i<document.suche[field_day].options.length; i++) {
		if (document.suche[field_day].options[i].value==day) { document.suche[field_day].selectedIndex=i; }
	} 

	for (j=0; j<document.suche[field_year].options.length; j++) {
		if (document.suche[field_year].options[j].value==year) { document.suche[field_year].selectedIndex=j; }
	} 
	
	for (k=0; k<document.suche[field_month].options.length; k++) {
		if (document.suche[field_month].options[k].value==month) { document.suche[field_month].selectedIndex=k; }
	} 
}

//-->
