/*
               File: WnWcp71
        Description: Ver una noticia (GXPortal)
             Author: GeneXus C# Generator version 9_0_7-922
       Generated on: 1/27/2011 23:11:1.61
       Program type: Main program
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
}
this._Validv_Webnewid=function()
{
   try {
      gxballoon = getGXBallon("_WEBNEWID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._Validv_Webidio=function()
{
   try {
      gxballoon = getGXBallon("_WEBIDIO");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._StandaloneModal=function()
{
   if ( AnyError == 0 && ( A1242CTCon != gxOldGridKey("A1242CTConA1278CTCon",3) ) )
   {
      gxajaxloadCrl('gxLoad_13',new Array("A1242CTCon"),new Array("A1278CTCon"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "CTConMain"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A1242CTConA1278CTCon",3);
      }
      else
      {
         gxSetGridKey("A1242CTConA1278CTCon",3,"A1242CTCon");
      }
   }
   if ( AnyError == 0 && ( A1242CTCon != gxOldGridKey("A1242CTConA3750CTCon",3) || A1244CTCon != gxOldKey("A1244CTConA3750CTCon") ) )
   {
      gxajaxloadCrl('gxLoad_14',new Array("A1242CTCon","A1244CTCon"),new Array("A3750CTCon","A3656CTCon"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "CTConLng"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A1242CTConA3750CTCon",3);
         gxUnsetSetKey("A1244CTConA3750CTCon");
      }
      else
      {
         gxSetGridKey("A1242CTConA3750CTCon",3,"A1242CTCon");
         gxSetKey("A1244CTConA3750CTCon","A1244CTCon");
      }
   }
}
this._Valid_Ctconidmain=function()
{
   try {
      if(  GXCurrentRow[3] ===0) return true;
      gxballoon = getGXGridBallon("CTCONIDMAIN", GXCurrentRow[3]);
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._Valid_Ctconidmain=function()
{
   try {
      if(  GXCurrentRow[3] ===0) return true;
      gxballoon = getGXGridBallon("CTCONIDMAIN", GXCurrentRow[3]);
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._Valid_Ctconidmain=function()
{
   try {
      if(  GXCurrentRow[3] ===0) return true;
      gxballoon = getGXGridBallon("CTCONIDMAIN", GXCurrentRow[3]);
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._wnwcp71=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =32;
_GXValidFnc [ 5 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "CTCONTITLE" ,gxvar: "A3750CTCon" ,op:[  ],ip:[  ],v2v:function(Value){ A3750CTCon=Value },v2c:function(){ GXsetGridControlValue("CTCONTITLE",GXCurrentRow[3],A3750CTCon,0) }, c2v:function(){ A3750CTCon=GXgetGridControlValue("CTCONTITLE",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 6 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "_WENNEWIMG" ,gxvar: "AV45WenNew" ,op:[  ],ip:[  ],v2v:function(Value){ AV45WenNew=Value },v2c:function(){ GXsetGridControlValue("_WENNEWIMG",GXCurrentRow[3],AV45WenNew,0) }, c2v:function(){ AV45WenNew=GXgetGridControlValue("_WENNEWIMG",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 7 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "CTCONIDMAIN" ,gxvar: "A1242CTCon" ,op:[  ],ip:[  ],v2v:function(Value){ A1242CTCon=gxint(Value) },v2c:function(){ GXsetGridControlValue("CTCONIDMAIN",GXCurrentRow[3],A1242CTCon,0) }, c2v:function(){ A1242CTCon=GXgetGridIntegerValue("CTCONIDMAIN",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 8 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "CTCONABST" ,gxvar: "A3656CTCon" ,op:[  ],ip:[  ],v2v:function(Value){ A3656CTCon=Value },v2c:function(){ GXsetGridControlValue("CTCONABST",GXCurrentRow[3],A3656CTCon,0) }, c2v:function(){ A3656CTCon=GXgetGridControlValue("CTCONABST",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 10 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "CTCONVERDOCSTATE" ,gxvar: "A1300CTCon" ,op:[  ],ip:[  ],v2v:function(Value){ A1300CTCon=Value },v2c:function(){ GXsetGridControlValue("CTCONVERDOCSTATE",GXCurrentRow[3],A1300CTCon,0) }, c2v:function(){ A1300CTCon=GXgetGridControlValue("CTCONVERDOCSTATE",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 11 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "_CTCONBASCOMPVALUE" ,gxvar: "AV96ctconb" ,op:[  ],ip:[  ],v2v:function(Value){ AV96ctconb=Value },v2c:function(){ GXsetGridControlValue("_CTCONBASCOMPVALUE",GXCurrentRow[3],AV96ctconb,1) }, c2v:function(){ AV96ctconb=GXgetGridControlValue("_CTCONBASCOMPVALUE",GXCurrentRow[3]) }, nac:function(){return  null }};
_GXValidFnc [ 18 ]={lvl: 7 ,grid: 15 ,pgrid: 0 ,fnc: null ,fld: "_WNEWREL" ,gxvar: "AV52WNewRe" ,op:[  ],ip:[  ],v2v:function(Value){ AV52WNewRe=Value },v2c:function(){ GXsetGridControlValue("_WNEWREL",GXCurrentRow[15],AV52WNewRe,0) }, c2v:function(){ AV52WNewRe=GXgetGridControlValue("_WNEWREL",GXCurrentRow[15]) }, nac:function(){return  null }};
_GXValidFnc[24]={lvl:0,grid:0,fnc:null,fld:"_WEBNEWID",gxvar:"AV50webNew",op:[],ip:[],nacdep:[],v2v:function(Value){AV50webNew=gxint(Value)},v2c:function(){GXsetControlValue("_WEBNEWID",AV50webNew,0)},c2v:function(){AV50webNew=GXgetIntegerValue("_WEBNEWID")}};
_GXValidFnc[26]={lvl:0,grid:0,fnc:null,fld:"_PAGEXTID",gxvar:"AV101PagEx",op:[],ip:[],nacdep:[],v2v:function(Value){AV101PagEx=gxint(Value)},v2c:function(){GXsetControlValue("_PAGEXTID",AV101PagEx,0)},c2v:function(){AV101PagEx=GXgetIntegerValue("_PAGEXTID")}};
_GXValidFnc[28]={lvl:0,grid:0,fnc:null,fld:"_WEBEDID",gxvar:"AV61WebEdI",op:[],ip:[],nacdep:[],v2v:function(Value){AV61WebEdI=gxint(Value)},v2c:function(){GXsetControlValue("_WEBEDID",AV61WebEdI,0)},c2v:function(){AV61WebEdI=GXgetIntegerValue("_WEBEDID")}};
_GXValidFnc[30]={lvl:0,grid:0,fnc:null,fld:"_WEBSECCOD",gxvar:"AV98websec",op:[],ip:[],nacdep:[],v2v:function(Value){AV98websec=gxint(Value)},v2c:function(){GXsetControlValue("_WEBSECCOD",AV98websec,0)},c2v:function(){AV98websec=GXgetIntegerValue("_WEBSECCOD")}};
_GXValidFnc[32]={lvl:0,grid:0,fnc:null,fld:"_WEBIDIO",gxvar:"AV62WebIdi",op:[],ip:[],nacdep:[],v2v:function(Value){AV62WebIdi=Value},v2c:function(){GXsetComboBoxValue("_WEBIDIO",AV62WebIdi)},c2v:function(){AV62WebIdi=GXgetControlValue("_WEBIDIO")}};
this.AV50webNew=0;
this.AV101PagEx=0;
this.AV61WebEdI=0;
this.AV98websec=0;
this.AV62WebIdi=0;
_SetStandaloneVars( ) ;

