function LoadContent(file,stage) {
	var url = file;
	new Ajax.Request(url, {
		method: 'get',
		parameters: { },
		onSuccess: function(transport) {
			ShowContent(transport.responseText,stage);
		}
	});
}

function rand (min, max) {
	return Math.floor(Math.random() * (max - min + 1)) + min;
}

var bilderanzahl = 13;
function ShowContent(response,stage) { 
	document.getElementById(stage).innerHTML = response;
	zz = rand(1,bilderanzahl);
	imgSlider(zz);
}

function imgSlider(zz) {
	//Effect.Fade('contentpic',{ duration: 3.0, from: 1, to: 0 });
	var quelle = 'gfx/img_'+zz+'.jpg';
	document.getElementById('contentpic').src = quelle;
	Effect.Fade('contentpic',{ duration: 3.0, from: 0, to: 1 });
}
