function get_Domaine() { return 'table-tv.com'; } function get_Url(action, controller){ return '/Index/faq' .replace('faq', action) .replace('Index', controller); } function get_Url_Full(action, controller){ return 'https://www.table-tv.com' + get_Url(action, controller); }