JQ ile yapmak için;
<script type="text/javascript">
$(function(){
	var textdizi = [
		"text 1",
		"text 2"
	];
	var randomtext = textdizi[Math.floor(Math.random() * textdizi.length)];
	$('body').prepend('\
		<div id="randomtext1" style="display:none;">\
			'+randomtext+'\
		</div>\
	');
	$('#randomtext1').delay(1000).slideDown(500);
});
</script>