
new PeriodicalExecuter(function(pa2) {
	amateur_online_status();
}, 25);


// Amateur online offline status
function amateur_online_status() {
	new Ajax.Updater("amateur_online_status", "includes/ajax/get_amateur_online_status.php", {parameters: {amateur_online_status: 'true'}, method: "post", evalScripts: true});
}

function tag_cloud() {
	new Ajax.Request("includes/ajax/get_tag_cloud.php", {parameters : {tagcloud: true}, method: "post", evalScripts: true,
		onSuccess: function(tagcloud) {
			jQuery("#tag_cloud").html(tagcloud.responseText);
		},				
		onFailure: function(category) {}			
	});
}

jQuery(document).ready(function() {
	jQuery.ajax({type: "POST", url: "includes/ajax/bilder_rotation.php", success: function(data) {jQuery("#slider").html(data);}});
})

