
var dictaColor = ''; //Text Color

function dowritedicta(num){
	var randid = Math.round(Math.random()*num);
	randid = randid >= num ? num-1 : randid;
	
	document.write('<font color="' + dictaColor + '">' + dictumin[randid] + '</font>');
}

var dictumin = new Array(
	'write some text here 1',
	'write some text here 2',
	'write some text here 3',
	'write some text here 4'
);

dowritedicta(dictumin.length);
