function GenericKeyDownHandler(btn) { // process only the Enter key if (event.keyCode == 13) { // cancel the default submit event.returnValue=false; event.cancel = true; // submit the form by programmatically clicking the specified button btn.click(); } } function GenKeyDownHandler(e, btn) { if (e.keyCode==13) { // cancel the default submit e.returnValue=false; e.cancel = true; // submit the form by programmatically clicking the specified button btn.click(); } } function fnChatPopUp(url, windowName) { window.open(url, windowName, "height=403, width=503, toolbar=0, location=0, directories=0, menubar=0, copyhistory=0, status=1, scrollbars=0, top=25, left=25, resizable=yes, scrollbars=yes"); } function fnWinPopUp(url, windowName, height, width) { window.open(url, windowName, "height=" + height + ", width=" + width + ", toolbar=1, location=1, directories=0, menubar=1, copyhistory=0, status=1, scrollbars=0, top=25, left=25, resizable=yes, scrollbars=yes"); } jQuery.noConflict();