function getPhoto(id, equipmentId)
{
	$.ajax({
	   type: 'POST',
	   beforeSend: function(){showPhotoPreloader();},
	   complete: function(){hidePhotoPreloader();},
	   error: function(){alert("Ошибка. Попробуйте позже.")},
	   url: '/frontend/equipment/getphoto/id/' + id + '/equipmentid/' + equipmentId,
	   success: function (data){
			$('.product-image').html(data);
	   }
	});
}

function showPhotoPreloader()
{
}

function hidePhotoPreloader()
{
}