/*This function will reload an image with the given id*/
function reloadImage(id)
{
	var image = document.getElementById(id);
	if(image)
	{
		if(image.src.indexOf('?') == -1)
			image.src = image.src + '?' + Math.random();
		else
			image.src = image.src.substring(0,image.src.indexOf('?')) + '?' + Math.random();
	}
}
