var theimages=new Array();
for (p=0;p<preloadimages.length;p++)
{
	theimages[p] = new Image();
	theimages[p].src = preloadimages[p];
}
function roll(img_name, img_src)
{
	document.getElementById(img_name).src = img_src;
}
