
function tabbgcolor(tabid,col){
	
	tabid.style.backgroundColor=col;
}


function wopen(link,wi,he) {
      
      wincom = window.open(link ,"fenster","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width="+wi+",height="+he);
      wincom.focus() ;
}


function showDate() {
	
	var RightNow = new Date() ;
	var mon   = RightNow.getMonth() + 1 ;
	var year  = RightNow.getYear() ;
	var day   = RightNow.getDate() ;

	if(mon<=9) {  mon='0'+mon ; }
	if(day<=9) {  day='0'+day ; }	
	
 	document.write(day+"."+mon+"."+year) ;
}


function fielddel(f) {

	if (f.value == f.defaultValue) {
	
		f.value = "" ;
	}
}


function fieldset(f) {

	if (f.value == "") {
		
		f.value = f.defaultValue ;
	}
}


function fieldemp(f) {

	if (f.searchwords.value == f.searchwords.defaultValue) {
		
		f.searchwords.value = "" ;
	}
}

