public function actionIndexDelete($id=NULL)
	{
		$cards = $this->loadDashboardCards();
		$value = $cards->value;
		
		if (array_key_exists($id, $value))
			unset($value[$id]);

		$cards->value = CJSON::encode($value);
		
		if ($cards->save())
		{
			$newCard = $this->loadCardDetailsModel($id);
			if ($newCard->delete())
				return true;
		}
		throw new CHttpException(500, Yii::t('Api.card', 'Card could not be saved.'));
	}