var locateLink = config.webRoot + 'tip4japanese.html'; if(location.href.indexOf(locateLink) < 0) location.href = locateLink;