if(window.navigator.userAgent.match('Mobile')){ var LC_API = LC_API || {}; LC_API.on_after_load = function(){ LC_API.hide_chat_window(); }; LC_API.on_chat_window_minimized = function(){ LC_API.hide_chat_window(); }; }