function swapImage(url)
{
	var img = new Element('img', {'src': url, 'id': 'mainimage'});
	
	$('slideshow').empty();
	img.injectInside($('slideshow'));

}

