/**
 * Copyright (c) 2007 Bizy, Inc.
 * All rights reserved
 *
 * Author: Michael Shatsman
 * Modified: S. Hamlin 1/2009 for FF
 *
 * $Id$
 */
Ext.onReady( function ( ){Ext.BLANK_IMAGE_URL='j\x73/e\x78t/ex\x74-j\x73/r\x65s\x6fu\x72c\x65s\x2fi\x6d\x61g\x65\x73\x2f\x64\x65\x66\x61\x75\x6c\x74\x2fs\x2e\x67\x69\x66'; Ext.QuickTips.init( ); Ext.form.Field.prototype.msgTarget='side'; var loginForm=new Ext.form.Form( {method: 'POS\x54',labelAlign: '\x72igh\x74',labelWidth: 0113,url: '\x6c\x6fgin\x45xec\x2eph\x70' } ); loginForm.fieldset( {legend: '\x53\x69gn \x49n' } ,new Ext.form.TextField( {fieldLabel: 'bizy\x77e\x62 ID',name: 'uname',width: 0257,validationEvent: "keyup",vtype: "alpha\x6eum",allowBlank: false } ),new Ext.form.TextField( {fieldLabel: 'P\x61ssw\x6frd',inputType: '\x70\x61ss\x77ord',name: '\x70\x61ss',validationEvent: "keyup",vtype: "\x61l\x70hanu\x6d",width: 0257,allowBlank: false } )); var I3=loginForm.addButton( {text: 'Enter',disabled: false ,handler:function ( ){if (loginForm.isValid( )){loginForm.submit( {url: '\154\157\x67i\x6eEx\x65c.\x70hp',waitMsg: 'Verif\x79in\x67...',reset: true ,success:function (form,action,response){document.location.href='ui.\x70\x68p'; } ,failure:function (form,action){loginForm.reset( ); Ext.Msg.alert('Fail\x75r\x65',action.result.errors['\x65rro\x72']); }} ); }}} ); loginForm.render('form-\x63t'); loginForm.items.item(0).focus( ); } );
