/*Code Compressed with JS Code Compressor v.1.0.3 - http://www.sarmal.com/*/var FORMATONUMERACION_SEPARADOR_DECIMAL = COMA;var FORMATONUMERACION_SEPARADOR_GRUPOS = PUNTO;var FORMATONUMERACION_NUMERO_DIGITOS_DECIMAL = 3;var VALIDACIONGENERICA_COLOR_ERROR = "#CCCCCC";Configuracion = new Configuracion();function Configuracion(){this.Globalizacion = new Globalizacion();this.Depuracion = new Depuracion();}if (typeof APPWEB_CONFIG_URL == "undefined") alert("APPWEB_CONFIG_URL no definida");Configuracion.URL = APPWEB_CONFIG_URL;Configuracion.URL_PAGINA_RAIZ = Configuracion.URL + "index.htm";if (typeof APPWEB_DEPURACION == "undefined") alert("APPWEB_DEPURACION no definida");Configuracion.Depuracion.Debug = APPWEB_DEPURACION;if (typeof APPWEB_DEPURACION_VALIDACIONGENERICA_COLOR_ERROR == "undefined")alert("APPWEB_DEPURACION_VALIDACIONGENERICA_COLOR_ERROR no definida");else Configuracion.Globalizacion.ValidacionGenerica.COLOR_ERROR = APPWEB_DEPURACION_VALIDACIONGENERICA_COLOR_ERROR;Configuracion.ObtenerURL = function(url){var strURL = url;var numStart = 0;numSlash = strURL.indexOf("/",numStart);if ( numSlash == 0 ){strURL = strURL.substring(0+1,strURL.length);}return Configuracion.URL + strURL;};function Depuracion(){this.Debug = false;}function Globalizacion(){this.FormatoNumeracion = new FormatoNumeracion();this.ValidacionGenerica = new ValidacionGenerica();}function FormatoNumeracion(){this.SEPARADOR_DECIMAL = FORMATONUMERACION_SEPARADOR_DECIMAL;this.SEPARADOR_GRUPOS = FORMATONUMERACION_SEPARADOR_GRUPOS;this.NUMERO_DIGITOS_DECIMAL = FORMATONUMERACION_NUMERO_DIGITOS_DECIMAL;}function ValidacionGenerica(){this.COLOR_ERROR = VALIDACIONGENERICA_COLOR_ERROR;} 
 /*Code Compressed with JS Code Compressor v.1.0.3 - http://www.sarmal.com/*/var DEBUG_ACTIVO = false;if (typeof Configuracion == "undefined")document.write ("<!-- solusoft.error.core: Configuracion no definida -->");else{if (typeof Configuracion.Depuracion == "undefined")document.write ("<!-- solusoft.error.core: Configuracion.Depuracion no definida -->");else if (typeof Configuracion.Depuracion != "undefined")DEBUG_ACTIVO = Configuracion.Depuracion.Debug;}function a (mensaje){if (!DEBUG_ACTIVO) return;alert(mensaje);}function d (mensaje){if (!DEBUG_ACTIVO) return;alert(mensaje);}function t (){if (!DEBUG_ACTIVO) return;alert("#TRAZA#");}function dw (mensaje){if (!DEBUG_ACTIVO) return;document.write("<b>"+mensaje+"</b>");}function dbg (mensaje){if (!DEBUG_ACTIVO) return;debug(mensaje);}function dbw (mensaje){if (!DEBUG_ACTIVO) return;document.write("<br><br><b>"+mensaje+"</b>");}document._error_messages = new Array();var w; /*Code Compressed with JS Code Compressor v.1.0.3 - http://www.sarmal.com/*/var gvis_OBJVENTANA		  = null;gvis_OBJVENTANA = new Ventana();function Ventana(){this.openWindow					   = ov_openWindow;this.abrirVentana			   	   = ov_abrirVentana;this.abrirVentanaScroll		   	   = ov_abrirVentanaScroll;this.abrirVentanaCentrada          = ov_abrirVentanaCentrada;this.abrirVentanaCentradaNombre	   = ov_abrirVentanaCentradaNombre;this.openWindowCenter		   	   = ov_openWindowCenter;this.redimensionarVentana		   = ov_redimensionarVentana;this.maximizarVentana			   = ov_maximizarVentana;this.centrarVentana				   = ov_centrarVentana;}function ov_openWindow(urlVentana,nombreVentana,opcionesVentana,ancho,alto,esCentrada,posX,posY){if (esCentrada){posX = (screen.availWidth - ancho)/2;posY = (screen.availHeight - alto)/2;}if (opcionesVentana == '')opcionesVentana = 'width=' + ancho;else opcionesVentana += ',width=' + ancho;opcionesVentana += ',height=' + alto + ',left=' + posX + ',top=' + posY;var ventana = window.open(urlVentana,nombreVentana,opcionesVentana);return ventana;}function ov_abrirVentana(urlVentana,opcionesVentana,ancho,alto,esCentrada,posX,posY){return this.openWindow(urlVentana,"",opcionesVentana,ancho,alto,esCentrada,posX,posY);}function ov_abrirVentanaScroll(urlVentana,ancho,alto,esCentrada,posX,posY){return this.abrirVentana(urlVentana,"scrollbars=1",ancho,alto,esCentrada,posX,posY);}function ov_abrirVentanaCentrada(urlVentana,opcionesVentana,ancho,alto){return this.abrirVentana(urlVentana,opcionesVentana,ancho,alto,true);}function ov_abrirVentanaCentradaNombre(urlVentana,nombreVentana,opcionesVentana,ancho,alto){return this.openWindow(urlVentana,nombreVentana,opcionesVentana,ancho,alto,true);}function ov_openWindowCenter(urlVentana,nombreVentana,opcionesVentana,ancho,alto){this.openWindow(urlVentana,nombreVentana,opcionesVentana,ancho,alto,true);}function ov_redimensionarVentana(ancho,alto,centrarVentana){if (self.innerWidth){frameWidth = self.innerWidth;frameHeight = self.innerHeight;}else if (document.documentElement && document.documentElement.clientWidth){frameWidth = document.documentElement.clientWidth;frameHeight = document.documentElement.clientHeight;}else if (document.body){frameWidth = document.body.clientWidth;frameHeight = document.body.clientHeight;}else return;newWidth = ancho;newHeight = alto;if (document.layers){tmp1 = parent.outerWidth - parent.innerWidth;tmp2 = parent.outerHeight - parent.innerHeight;newWidth -= tmp1;newHeight -= tmp2;}parent.window.resizeTo(newWidth,newHeight);parent.window.moveTo(0,0);if (centrarVentana){this.centrarVentana();}}function ov_maximizarVentana(){this.redimensionarVentana(self.screen.width,self.screen.height);}function ov_centrarVentana(){if (self.innerWidth){frameWidth = self.innerWidth;frameHeight = self.innerHeight;}else if (document.documentElement && document.documentElement.clientWidth){frameWidth = document.documentElement.clientWidth;frameHeight = document.documentElement.clientHeight;}else if (document.body){frameWidth = document.body.clientWidth;frameHeight = document.body.clientHeight;}else return;x= (screen.width) ? (screen.width-frameWidth)/2 : 0;y= (screen.height) ? (screen.height-frameHeight)/2 : 0;parent.window.moveTo(x,y);} 
 /*Code Compressed with JS Code Compressor v.1.0.3 - http://www.sarmal.com/*/function visgen_onMouseOver(src,color,cursor){if (!document.all) return;if (!src.contains(event.fromElement)){src.bgColor = color;src.style.backgroundColor = color;src.style.cursor=cursor;}}function visgen_onMouseOut(src,color,cursor){if (!document.all) return;if (!src.contains(event.toElement)){src.bgColor = color;src.style.backgroundColor = color;src.style.cursor=cursor;}}function visgen_cambiarColor(objeto,color,bgColor){visgen_cambiarForeColor(objeto,color);visgen_cambiarBackColor(objeto,bgColor);}function visgen_cambiarForeColor(objeto,color){objeto.style.color=color;}function visgen_cambiarBackColor(objeto,color){objeto.style.backgroundColor=color;}function visgen_obtenerClass(src){if (!document.all) return;return src.className;return null;}function visgen_onMouseOverClass(src,clase,cursor){if (!document.all) return;if (!src.contains(event.fromElement)){src.className = clase;src.style.cursor=cursor;}}function visgen_onMouseOutClass(src,clase,cursor){if (!document.all) return;if (!src.contains(event.toElement)){src.className = clase;src.style.cursor=cursor;}}var visgen_OBJVISUALIZACION	= null;VisualizacionGenerica = new VisualizacionGenerica();function VisualizacionGenerica(){this.classFilaActiva = null;}VisualizacionGenerica.onMouseOver = function(objSrc,claseOver,cursor){if (typeof(visgen_onMouseOverClass) !="undefined"){var claseObjeto = visgen_obtenerClass(objSrc);if (claseOver != claseObjeto){this.classFilaActiva = claseObjeto;visgen_onMouseOverClass(objSrc,claseOver,cursor);}}else alert("VisualizacionGenerica. Objeto VisualizacionGen no se encuentra definido.");};VisualizacionGenerica.onMouseOut = function(objSrc,cursor){if (typeof(visgen_onMouseOverClass) !="undefined"){visgen_onMouseOutClass(objSrc,this.classFilaActiva,cursor);}else alert("VisualizacionGenerica. Objeto VisualizacionGen no se encuentra definido.");} 
 /*Code Compressed with JS Code Compressor v.1.0.3 - http://www.sarmal.com/*/function MM_findObj(n,d){var p,i,x;if(!d) d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n];for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n);return x;}function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)if (a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc) x.oSrc=x.src;x.src=a[i+2];}}function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features);}