var sendvisitinfo; $(document).ready(function(){ sendvisitinfo = function(){}; });