magento Getting Magento URLs Get Js Url


Example

Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);