function leer() {
	if (document.login.user.value=='Benutzername') {
	document.login.user.value='';
	}
}
function leer2() {
	if (document.login.pass.value=='Passwort') {
		document.login.pass.value='';
	}
}
function wieder() {
	if (document.login.user.value=='') {
	document.login.user.value='Benutzername';
	}
}

function wieder2() {
	if (document.login.pass.value=='') {
		document.login.pass.value='Passwort';
	}
}
function lostpw() {
	window.location = 'index.php?id=2&tx_felogin_pi1[forgot]=1';
}

function leer3() { 
	document.getElementById("mail").value='';
}

function wieder3() {
	if (document.getElementById("mail").value=='') {
		document.getElementById("mail").value='Deine Email';
	}
}
function smiley(nummer) {
	if (nummer==1) {text=' :arrow:';}
	if (nummer==2) {text=' :D';}
	if (nummer==3) {text=' :?';}
	if (nummer==4) {text=' 8)';}
	if (nummer==5) {text=' :cry:';}
	if (nummer==6) {text=' :evil:';}
	if (nummer==7) {text=' :!:';}
	if (nummer==8) {text=' :idea:';}
	if (nummer==9) {text=' :lol:';}
	if (nummer==10) {text=' :x';}
	if (nummer==11) {text=' :|';}
	if (nummer==12) {text=' :?:';}
	if (nummer==13) {text=' :P';}
	if (nummer==14) {text=' :oops:';}
	if (nummer==15) {text=' :roll:';}
	if (nummer==16) {text=' :(';}
	if (nummer==17) {text=' :)';}
	if (nummer==18) {text=' :o';}
	if (nummer==19) {text=' :evil:';}
	if (nummer==20) {text=' ;)';}
	document.commentform.comment.focus(); 
	document.commentform.comment.value = 
	document.commentform.comment.value + text; 
	document.commentform.comment.focus(); 
}
