<script type="text/javascript">
var usersproduct="";
var userslocation="";
var userstype="";
var userlastspr="";
</script>
<script type="text/javascript">
function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
vars[key] = value;
});
return vars;
}
</script>
<script type="text/javascript">
function getusersdata()
{
//get user search data from "client to business" searches
if (getUrlVars()["jubutictbsp"]) { usersproduct=decodeURIComponent(getUrlVars()["jubutictbsp"]); } //product searched by user in native spelling
if (getUrlVars()["jubutictbsl"]) { userslocation=decodeURIComponent(getUrlVars()["jubutictbsl"]); } //location inputted for search by user in native spelling
//get user search data from "business to business" searches
if (getUrlVars()["jubutibtbsp"]) { usersproduct=decodeURIComponent(getUrlVars()["jubutibtbsp"]); } //product searched by user in english or native language
if (getUrlVars()["jubutibtbsl"]) { userslocation=decodeURIComponent(getUrlVars()["jubutibtbsl"]); } //location inputted for search by user in international spelling or native language(this is optional in business to business seraches)
if (getUrlVars()["jubutibtbst"]) { userstype=decodeURIComponent(getUrlVars()["jubutibtbst"]); } //the type of provider selected for the search
//get user last search on your business website
if (getUrlVars()["jubutinatsp"]) { userlastspr=decodeURIComponent(getUrlVars()["jubutinatsp"]); } //last product searched by the user on your business website
if (getUrlVars()["jubutiintsp"]) { userlastspr=decodeURIComponent(getUrlVars()["jubutiintsp"]); } //last product searched by the user on your business website
}
</script>