// JavaScript Document

pos = 2;

function chgFont() {
	if (pos > 9) pos = 1;
	var fontImg = document.getElementById('yourwriting');
	fontImg.src = 'images/features/yourwriting' + pos + '.gif';
	pos++;
}

var timer = window.setInterval('chgFont()', 5000);