window.addEvent('domready', function(){
	var kursy = function(){ 
		var rand = new Request({
			encoding : 'utf-8',
			url : 'kursy.php',
			noCache : true,
			onRequest : function(){
				//$('KURSY').set('html', 'loading...');
			},
			onComplete : function(response){
				$('KURSY').set('html', response);
			},
			onFailure : function(){
				
			}
		}).cancel().send();
	};
	//kursy.periodical(30000);
});

