function displayPic(id)
{
	totalimgcount = $('#imagecount').val();
	totalimgcount = parseInt(totalimgcount);
	for(i=1;i<=totalimgcount;i++)
	{ $('#bigpic_'+i).hide(); }
	
	$('#bigpic_'+id).show();
}

$(document).ready(function()
{ 
	if($('#bigpic_1').length != 0)
	{
		$('#bigpic_1').show();
	}

});

