/* Name: Уведомление после регистрации Date: 28.12.2011 Author: www.uJs.su */ function inforeg(action) { if(action == 'open') { $.get('/php/new/greeting.php?a=open&id='+user_id+'', function(g){ if(g != '') { new _uWnd('reginfo',''+wnd_title+'',200,200,{align:0,shadow:0,close:0,modal:0,header:1,autosize:1,minh:50,minw:500, oncontent: function () {$('#info_reg').html(g)}}, '
') setTimeout(function () { _uWnd.getbyname('reginfo').checksize(); },2000) } }); } if(action == 'hide') { $('#close_wnd').attr('disabled', 'disabled'); $.post('/php/new/greeting.php', { a: 'hide', id: user_id }, function (r) { _uWnd.close('reginfo'); _uWnd.alert(''+r+'', 'Уведомление', {w:300, h:70, tm:5000}); }) } }