﻿function randomBackgroundImage(objName, template, count) {
	$get(objName).style.backgroundImage = "url('" + template.replace("{0}", Math.floor(Math.random() * count)) + "')";
}