   /*
      $(document).ready(function() {
   
        var bild_hochladen_ding = new AjaxUpload('#upload_button', {action: 'upload.php'});
  
      });
      */
  
  /*
  $(document).ready(function(){
		var button = $('#upload_button'), interval;
		var ding = new Ajax_upload(button,{
			//action: 'upload-test.php', // I disabled uploads in this example for security reasons
			action: 'modules/profile/sub_module/ajaxupload.php',
			name: 'myfile',
			onSubmit : function(file, ext){
				// change button text, when user selects file
				button.text('Uploading');
				// If you want to allow uploading only 1 file at time,
				// you can disable upload button
				this.disable();
				// Uploding -> Uploading. -> Uploading...
				interval = window.setInterval(function(){
				var text = button.text();
				if (text.length < 13){
				button.text(text + '.');
				} else {
				button.text('Uploading');
				 }
				}, 200);
			},
			onComplete: function(file, response){
				button.text('Upload');
				window.clearInterval(interval);
				// enable upload button
				this.enable();
				// add file to the list
				$('<li></li>').appendTo('#example1 .files').text(file);
			}
		});
	} );

	*/
function get_answer( frage_id , stb_id)
{
	$.ajax({
		type: "POST",
		url: "modules/choice/php/set_bearbeiter.php",
		data: 	"stb_id=" + stb_id + 
				"&frage_id=" + frage_id,
		success: function(html){
			$("#antwort_verlangen_"+frage_id+"_"+stb_id).html(html);
		}
	});

}
function input_field_onclick( id , value_ )
{
	if ( document.getElementById(id).value==value_	) document.getElementById(id).value='';	
}
function input_field_offclick( id , value_ )
{
	if ( document.getElementById(id).value=='') document.getElementById(id).value=value_;
}