/*
 +-----------------------------------------------------------------------+
 | M@il.go.th Login library                                              |
 |                                                                       |
 | This file is part of the M@il.go.th                                   |
 | Copyright (C) 2005-2008, MICT, - Thailand                             |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Surapun Prasit - RDDI                                         |
 |         Government Information Technology Services(GITS)              |
 +-----------------------------------------------------------------------+
 
 varsion 0.2.5
 $Id: 081029
*/

var env = new Array();

env['preload_img'] = { 'tabover'        : 'tabover.gif'
                     };
env['login_box']   = { 'diff_signin'    : 'เข้าใช้โดยใช้ชื่อบัญชีอื่น',
                       'mem_me'         : 'จำชื่อบัญชีของฉันไว้',
                       'username_empty' : 'กรุณาใส่ชื่อบัญชีของท่านให้ถูกต้อง',
                       'password_empty' : 'กรุณาใส่รหัสผ่านของท่านก่อนเข้าใช้',
											 
                       /* Submit target and form method */
                       'login_form'     : { 'action'     : 'http://login.mailgothai.net',
                                            'method'     : 'post' },
										   
                       'username_div'   : { 'id'         : 'mailgoth-username' },

                       /* 
                         Username input attribute. You can change your variable name, name attribute, here
                         **CAUTION** : Changing input id may make page some error.
                       */
                       'username_field' : { 'name'       : 'username', 
                                            'id'         : 'mailgoth-username-input',
                                            'classname'  : 'text' },

                       // Password input attribute. You can change your variable name, name attribute, here									
                       'password_field' : { 'name'       : 'password', 
                                            'id'         : 'mailgoth-password-input',
                                            'classname'  : 'text' },

                       // You can add additional paramiters that required for your login system
                       'additional_params':{'_action'    : 'login' },
											 											 
                       'add_option'     : { 'id'         : 'mailgoth-option' },
											 
											 // remember me configure, you can disable here
                       'remember_me'    : { 'enable'     : true,
                                            'name'       : 'remember_me', 
                                            'id'         : 'mailgoth-remember_me',
                                            'checked'    : true,
																  					'username_expire'     : '1d',
																  					'domain_expire'       : '1w' }
                   };
