	


	/*
	 * Clears the label e.g. 'Vorname' - which is written in the input itself - when the user clicks into the input
	 */
	function clear_inputs_from_label( elem, value ) {
	
		var tmp = document.getElementById( elem.name );

		if ( tmp.value == value ) {
			tmp.value = '';
		} 
		return;
	}


	/*
	 * Writes back the label e.g. 'Vorname', when the user doesn't write e.g. this prename and leaeves the input field
	 */
	function reset_label_of_input( elem, value ) {

		var tmp = document.getElementById( elem.name );

		if ( tmp.value == '' ) {
				tmp.value = value;
//				tmp.style.color = "#666";
		} 
		
//		else {
//			tmp.style.color = "#000";
//		}
	}

