How to get common URLS in Magento?

By calling the magento function with proper argument we can get our required Urls(Mage::getBaseUrl(argument)).

Example :
To get Baseurl

echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
// http://siteaddress/

To get Skinurl

echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);
// http://siteaddress/skin/

To get Mediaurl

echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
// http://siteaddress/media/

To get baseurl with index.php

echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
// http://siteaddress/index.php/

To get Jsurl

echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
// http://siteaddress/js/