Trusteg,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<script>
function num_to_pic(a, e) {
var c = document.createDocumentFragment();
if (a = ("" + a).match(/\d/g))
for (var b = 0; b < a.length; b++) {
var d = new Image;
a[b]++;
d.src = "http://priroda.inc.ru/animation/zifri/" + (200 + a[b]) + ".gif";
c.appendChild(d)
}
e.appendChild(c)
};
num_to_pic(2013, document.body)
</script>
</body>
</html>