').position({my:'bottom left',at:'top right',of:'h1'}).parent().effect('bounce');$('.ns').css('background-color',eo);$(b).focus();};$(tp).dialog({autoOpen:false,modal:true,resizable:true,minWidth:256,width:380,height:256,maxHeight:384,title:'Welcome to z.DVOI.COM',buttons:{'OK':function(){$(this).dialog('close')}},hide:321,open:function(){$(this).scrollTop(0);},dragStop:function(y,z){$('.ui-dialog').effect('bounce')}});$zd.tooltip({content:function(cb){cb($(this).prop('title').replace('|',''));}});$('#tu').on('click',function(j){$('#tos').load('/files/tos/').dialog('open');});$('body').append(tm);$('#ga').button();$('#lusr').focus();$('#lusr,#lpwd').on('click keypress',function(){if($('#oe').length>0){$('#oe').remove('#oe');$('#msg').append(oz);}});$('#lusr').keyup(function(j){if(j.keyCode==13&&($(this).val()&&$(this).val().indexOf(' ')===-1)){$('#lpwd').focus();}});$('#lpwd').keyup(function(e){if(e.keyCode==13){$('#ga').click();}});$('#ga').on('click',function(){var lu=$('input[type="text"]#lusr').val(),la=$('input[type="password"]#lpwd').val();if($('#oe').length)$('#oe').remove();if(lu.length<1||lu.indexOf(' ')!==-1){$('#msg').append(oz);$('#oe').oe('Please fill out the login field','#lusr');return false;}if(la.length<1){$('#msg').append(oz);$('#oe').oe('Your password?','#lpwd');return false;}$.ajax({url:'b/a/',type:'post',data:{a:zt,b:lu,c:la},error:function(o,p){olog('Invalid request - reload the page and try again',o,p,zt);},success:function(r){var ss=$('#sta',r).text();if(ss>0){$('#qx').slideUp(function(){$(location).attr('href','https://z.dvoi.com/bin/rm/');});return false;}$('#oe').remove();$('#msg').append(oz);$('#oe').oe('Invalid login and/or password','#lusr');$('#lusr').select();}});});});