public function ajaxdeleteAction()
	{
		$this->_helper->layout()->disableLayout();
		$this->_helper->viewRenderer->setNoRender(true);
		$cpId = $this->_getParam('id',0);
		if($cpId > 0)
		{
			$cps = new Pment_Models_CpMapper();
			try{
				$cps->delete($cpId);
				echo "s";
			}
			catch(Exception $e)
			{
				echo "f";
			}
		}
		else
		{
		$this->_redirect('/pment/cp');
		}
	}
	public function populateSubcontractDd($form,$projectId)
	{
		$cps = new Pment_Models_CpMapper();
		$arrayContractors = $cps->fetchAllContractorIds($projectId);
			
		foreach($arrayContractors as $contr)
		{
			$form->getElement('contractorId')->addMultiOption($contr->getContractorId(),$contr->getContractorName());
			}
	}