 function show_thumbnail($id)
 {
 	if (document.getElementById('thumb-'+$id).style.display == 'block')
	{
		document.getElementById('thumb-'+$id).style.display = 'none';
	} else
	{
		document.getElementById('thumb-'+$id).style.display = 'block';
		document.getElementById('image-'+$id).src = "thumbnails/index.php?id="+$id;
	};
 }

