var form_datos = new Array(); var form_especial = new Array(); var dirLibImages = "/axys/beta.71.local/img/"; var dirInstall = "/site"; var dirForms = "http://www.porteco.com.co/site/forms"; var dirModules = "http://www.porteco.com.co/site/modules"; var dirImg = "http://www.porteco.com.co/site/img/"; var dirReal = "/var/www/vhosts/porteco.com.co/httpdocs"; var dirLibsPHP = "/axys/beta.71.local/libs/"; var dirSelector = (dirSelector) ? dirSelector : "/axys/beta.71.local/libs/"; var fmt_date = "Y-m-d"; var fmt_time = "hh:mi:ss"; var sid = "sidname=PortecoAxysDBX"; // var dirMenuTheme = (dirMenuTheme) ? dirMenuTheme : "/site/menus/themes/Porteco/"; // var temaMenu = (temaMenu) ? temaMenu : "Porteco"; var axHTMLCharSet = (axHTMLCharSet) ? axHTMLCharSet : "ISO-8859-1"; //=================================== // Variables para componente Listar //=================================== var num_registros_x_pagina = (num_registros_x_pagina) ? num_registros_x_pagina: 50; var num_paginas_x_linea = (num_paginas_x_linea) ? num_paginas_x_linea: 20; var vg_idioma = (vg_idioma) ? vg_idioma : "es"; var vg_db = (vg_db) ? vg_db : "POSTGRES"; //=================================== var msg_estado_form_timer = (msg_estado_form_timer) ? msg_estado_form_timer:5; var Mensaje_Loading = "Cargando Datos ..."; var separador_col = (separador_col) ? separador_col : "@@@"; var separador_reg = (separador_reg) ? separador_reg : "~~~"; if(typeof(Ext) != "undefined") { Ext.BLANK_IMAGE_URL = "/axys/beta.71.local/libs/js/ext-2.2/resources/images/default/s.gif"; } function _cambiaInput(obj, evt) { if(typeof(cambiaInput) == "function") { cambiaInput(obj, evt); } } function _onKeyPressInput(obj) { if(typeof(onKeyPressInput) == "function") { onKeyPressInput(obj); } } function _onSelectCB(obj, pos, evt) { if(typeof( onScb ) == "function") { onScb(obj, pos, evt); } } function _usuario() { return ""; } function grupos_usuario() { return ""; } function nivel_usuario() { return 2; } function Anula() { msg_alerta("Función Inactiva."); } function max_win() { window.moveTo(0,0); window.resizeTo(screen.availWidth, screen.availHeight); } /* Si no jode se podria remover function resizeContenido() { var sizeDivMenu = 0; var sizeDivFooter = 0; var sizeDivHeader = 0; if ($("divHeader") != null) { sizeDivHeader = $("divHeader").offsetHeight; } if ($("divMenu") != null) { sizeDivMenu = $("divMenu").offsetHeight; } if ($("divFooter") != null) { sizeDivFooter = $("divFooter").offsetHeight; } //$("divContenido").style.height = document.body.clientHeight - sizeDivMenu - sizeDivFooter - sizeDivHeader; } */ if(typeof(show_time) == "function") { show_time(); } if(typeof(consulta) == "function") { consulta(); }