function get_page_ad_source()
{
	var source = '';
	var doc = document;

	if ( doc.location == null ) { return 's1cars-global' }

	source = 's1cars-';
	var testRE = new RegExp ( "(/[^/]*/?)", "i" );
	switch ( doc.location.pathname.match(testRE)[0] )
	{
		case "/" :  source += 'homepage'; return source;
		default: return 's1cars-global';
	}

	return source;
}
