$pm = $this->getQuote()->getPayment()
$pm_code = $this->getQuote()->getPayment()->getMethodInstance()->getCode();
$pm_title = $this->getQuote()->getPayment()->getMethodInstance()->getTitle();
$pm_name = $this->getQuote()->getPayment()->getMethodInstance()->getName();
or
$pm_code = Mage::getSingleton('checkout/session')->getQuote()->getPayment()->getMethodInstance()->getCode();