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