if (xoops_smallworld("#birthplace").length > 0) {
                if (typeof xoops_smallworld('#birthplace').val() != "undefined") {
                    // Additional check to not react on all input focus, check page url contains string
                    if ((window.location.href.indexOf("editprofile.php") > -1) || (window.location.href.indexOf("register.php") > -1)){
                      xoops_smallworld('#birthplace').OsmLiveSearchBirth();