if (location.protocol == 'http:' && location.href != "http://multiup.org/en/login") location.href = location.href.replace(/^http:/, 'https:');