function verify(url, text){		if (text=='')			text='Möchtest du diesen Kommentar wirklich löschen?';		if (confirm(text)){			document.location = url;		}		return void(0);	}// setup everything when document is readyjQuery(document).ready(function($) {  			if (WPWallSettings.expand_box != 'on')	   		$("#wall_user").css("display","none");			$("#wpwall_comment").bind("focus", function(){ $("#wall_user").show("fast");  });			          $('#wallform').ajaxForm({           // target identifies the element(s) to update with the server response         target: '#wallcomments',                // handler function for success event        success: function(responseText, statusText) {                                    $('#wallresponse').html('<span class="wall-success">'+'Danke f&uuml;rs Mitreden.'+'</span>');                           $('#submit_wall_post').attr('value', 'Submit');            $("#wall_post").hide("fast");                        $("#wall_post #author").attr('value', '');            $("#wall_post #comment").attr('value', '');            $("#wall_post #wpwall_comment").attr('value', '');                   } ,                // handler function for errors        error: function(request) {                                                // parse the response for WordPress error            if (request.responseText.search(/<title>WordPress &rsaquo; Error<\/title>/) != -1) {            								var data = request.responseText.match(/<p>(.*)<\/p>/);							$('#wallresponse').html('<span class="wall-error">'+ data[1] +'</span>');					} else {														$('#wallresponse').html('<span class="wall-error">Leider ist ein Fehler aufgetreten. Melde dich bei uns!</span>');					}       										  $('#submit_wall_post').attr('value', 'Submit');       					  					   $("#wall_post #author").attr('value', '');             $("#wall_post #comment").attr('value', '');                              } ,        beforeSubmit: function(formData, jqForm, options) {         	        	// clear response div        	$('#wallresponse').empty();                    for (var i=0; i < formData.length; i++) {               if (!formData[i].value) {                  $('#wallresponse').html('<span class="wall-error">'+'Bitte f&uuml;lle die Felder vollst&auml;ndig aus.'+'</span');                                                      return false;               }                         }                  $('#submit_wall_post').attr('value', 'Ratter...');                                      }                  });                $('.wallnav #img_left').click(function(){          		var page= $('#wallcomments #page_left');     		var wallform = $('#wallform');	  			  		if (wallform[0])		  				  				 		  				  				 	     		$('#wallcomments').load(wallform[0].action+'?refresh=' + page[0].value );      });               $('.wallnav #img_right').click(function(){          		var page= $('#wallcomments #page_right');     		var wallform = $('#wallform');	  			  		if (wallform[0])		  				  				 	     		$('#wallcomments').load(wallform[0].action+'?refresh=' + page[0].value );      });          refreshtime=parseInt( WPWallSettings.refreshtime);     if (refreshtime) 	     timeoutID = setInterval(refresh, (refreshtime  < 5000 ) ? 5000: refreshtime );	     	     	   function refresh() {	     		     			var wallform = $('#wallform');	     			var page= $('#wallcomments #wallpage');	     				  				if (wallform[0])		  				  				   				  				 	     	    	$('#wallcomments').load(wallform[0].action+'?refresh=' +  page[0].value);	          	   }     });