function popup_window(sUrl, sTitle, sOptions) { window.open(sUrl, sTitle, sOptions); } function popup_chat() { window.open('modules/Chat/client.php', 'Support', 'width=520, height=320, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=no'); }