/**
* @author Martin Anderle
*/

function swfAddressHelperToTitleCase(str)
{
    return str.substr(0,1).toUpperCase() + str.substr(1).toLowerCase();
}      

function swfAddressHelperFormatTitle(title)
{
    return 'DUMMY' + (title != '-' ? ' - ' + swfAddressHelperToTitleCase(title.substr(1, title.length - 1).replace(/\//g, ' / ')) : '');
}

function swfAddressGetSite()
{
	var ar = SWFAddress.getBaseURL().split("/");
	
	return ar[ar.length-1].split("_")[0];
}
