/*
               File: WnVer03
        Description: ver una noticia
             Author: GeneXus C# Generator version 9_0_3-780
       Generated on: 9/10/2007 15:24:36.30
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   Gx_date=GXgetDateValue("_TODAY") ;
   A95WebNewU=GXgetControlValue("WEBNEWURLIMG") ;
   A98WebURLN=GXgetControlValue("WEBURLNEWS") ;
   AV90WNPubI=GXgetIntegerValue("_WNPUBID") ;
   A141WNPubI=GXgetIntegerValue("WNPUBID") ;
   A143WNPubI=GXgetControlValue("WNPUBIMG") ;
   A14WebNewI=GXgetIntegerValue("WEBNEWID") ;
   A40WebIdio=GXgetControlValue("WEBIDIOID") ;
   AV50webNew=GXgetIntegerValue("_WEBNEWID") ;
   A67WebEdId=GXgetIntegerValue("WEBEDID") ;
   A87WebedFc=GXgetDateValue("WEBEDFCH") ;
   A20WNewMsg=GXgetControlValue("WNEWMSGAUT") ;
   A81WNewTem=GXgetIntegerValue("WNEWTEMAID") ;
   AV60NewAux=GXgetIntegerValue("_NEWAUXID") ;
   A64WebNewL=GXgetIntegerValue("WEBNEWLVL") ;
   A65WNewSec=GXgetIntegerValue("WNEWSECID") ;
   AV62WebIdi=GXgetControlValue("_WEBIDIO") ;
   A86WNewSec=GXgetControlValue("WNEWSECNOM") ;
   A71WebNewI=GXgetControlValue("WEBNEWIMG") ;
   A75WNewTit=GXgetControlValue("WNEWTITFRMDSC") ;
   A18WNewMsg=GXgetIntegerValue("WNEWMSGREPID") ;
   A19WNewMsg=GXgetControlValue("WNEWMSGTIT") ;
   A16WNewMsg=GXgetIntegerValue("WNEWMSGID") ;
   A25WebUsr=GXgetControlValue("WEBUSR") ;
   A34WebMsgW=GXgetControlValue("WEBMSGWELC") ;
   A35WebLvl=GXgetIntegerValue("WEBLVL") ;
   A77WebNewH=GXgetControlValue("WEBNEWHAB") ;
   A136WebNew=GXgetControlValue("WEBNEWAUTMAIL") ;
}
this._StandaloneModal=function()
{
   if ( AnyError == 0 && ( A14WebNewI != gxOldKey("A14WebNewIA64WebNewL") ) )
   {
      gxajaxloadCrl('gxLoad_21',new Array("A14WebNewI"),new Array("A64WebNewL","A71WebNewI","A136WebNew","A135WebNew"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Noticias del Web"));
         AnyError = 1 ;
         gxUnsetSetKey("A14WebNewIA64WebNewL");
      }
      else
      {
         gxSetKey("A14WebNewIA64WebNewL","A14WebNewI");
      }
   }
}
this._wnver03=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =25;
_GXValidFnc[3]={lvl:0,grid:0,fnc:null,fld:"_LOGO",gxvar:"AV91Logo",op:[],ip:[],nacdep:[],v2v:function(Value){AV91Logo=Value},v2c:function(){},c2v:function(){}};
_GXValidFnc[4]={lvl:0,grid:0,fnc:null,fld:"_MENSWELC",gxvar:"AV83MensWe",op:[],ip:[],nacdep:[],v2v:function(Value){AV83MensWe=Value},v2c:function(){GXsetControlValue("_MENSWELC",AV83MensWe,0)},c2v:function(){AV83MensWe=GXgetControlValue("_MENSWELC")}};
_GXValidFnc[5]={lvl:0,grid:0,fnc:null,fld:"_HOY",gxvar:"AV41Hoy",op:[],ip:[],nacdep:[],v2v:function(Value){AV41Hoy=Value},v2c:function(){GXsetControlValue("_HOY",AV41Hoy,0)},c2v:function(){AV41Hoy=GXgetControlValue("_HOY")}};
_GXValidFnc[6]={lvl:0,grid:0,fnc:null,fld:"_NEWEDDSC",gxvar:"AV54NewEdD",op:[],ip:[],nacdep:[],v2v:function(Value){AV54NewEdD=Value},v2c:function(){GXsetControlValue("_NEWEDDSC",AV54NewEdD,0)},c2v:function(){AV54NewEdD=GXgetControlValue("_NEWEDDSC")}};
_GXValidFnc [ 7 ]={lvl: 2 ,grid: 12 ,pgrid: 0 ,fnc: null ,fld: "_WENNEWIMG" ,gxvar: "AV45WenNew" ,op:[  ],ip:[  ],v2v:function(Value){ AV45WenNew=Value },v2c:function(){ GXsetGridControlValue("_WENNEWIMG",GXCurrentRow[12],AV45WenNew,0) }, c2v:function(){ AV45WenNew = GXgetGridControlValue("_WENNEWIMG",GXCurrentRow[12]) }, nac:function(){return  null }};
_GXValidFnc [ 8 ]={lvl: 2 ,grid: 12 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWTIT" ,gxvar: "A76WebNewT" ,op:[  ],ip:[  ],v2v:function(Value){ A76WebNewT=Value },v2c:function(){ GXsetGridControlValue("WEBNEWTIT",GXCurrentRow[12],A76WebNewT,0) }, c2v:function(){ A76WebNewT = GXgetGridControlValue("WEBNEWTIT",GXCurrentRow[12]) }, nac:function(){return  null }};
_GXValidFnc [ 9 ]={lvl: 2 ,grid: 12 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWAUT" ,gxvar: "A135WebNew" ,op:[  ],ip:[  ],v2v:function(Value){ A135WebNew=Value },v2c:function(){ GXsetGridControlValue("WEBNEWAUT",GXCurrentRow[12],A135WebNew,0) }, c2v:function(){ A135WebNew = GXgetGridControlValue("WEBNEWAUT",GXCurrentRow[12]) }, nac:function(){return  null }};
_GXValidFnc [ 10 ]={lvl: 2 ,grid: 12 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWDSC" ,gxvar: "A79WebNewD" ,op:[  ],ip:[  ],v2v:function(Value){ A79WebNewD=Value },v2c:function(){ GXsetGridControlValue("WEBNEWDSC",GXCurrentRow[12],A79WebNewD,1) }, c2v:function(){ A79WebNewD = GXgetGridControlValue("WEBNEWDSC",GXCurrentRow[12]) }, nac:function(){return  null }};
_GXValidFnc [ 11 ]={lvl: 2 ,grid: 12 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWTXT" ,gxvar: "A80WebNewT" ,op:[  ],ip:[  ],v2v:function(Value){ A80WebNewT=Value },v2c:function(){ GXsetGridControlValue("WEBNEWTXT",GXCurrentRow[12],A80WebNewT,1) }, c2v:function(){ A80WebNewT = GXgetGridControlValue("WEBNEWTXT",GXCurrentRow[12]) }, nac:function(){return  null }};
_GXValidFnc [ 17 ]={lvl: 11 ,grid: 18 ,pgrid: 0 ,fnc: null ,fld: "_WNTITULO" ,gxvar: "AV92WnTitu" ,op:[  ],ip:[  ],v2v:function(Value){ AV92WnTitu=Value },v2c:function(){ GXsetGridControlValue("_WNTITULO",GXCurrentRow[18],AV92WnTitu,0) }, c2v:function(){ AV92WnTitu = GXgetGridControlValue("_WNTITULO",GXCurrentRow[18]) }, nac:function(){return  null }};
_GXValidFnc [ 21 ]={lvl: 9 ,grid: 22 ,pgrid: 0 ,fnc: null ,fld: "_WNEWREL" ,gxvar: "AV52WNewRe" ,op:[  ],ip:[  ],v2v:function(Value){ AV52WNewRe=Value },v2c:function(){ GXsetGridControlValue("_WNEWREL",GXCurrentRow[22],AV52WNewRe,0) }, c2v:function(){ AV52WNewRe = GXgetGridControlValue("_WNEWREL",GXCurrentRow[22]) }, nac:function(){return  null }};
_GXValidFnc [ 25 ]={lvl: 14 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_COMMSG" ,gxvar: "AV80ComMsg" ,op:[  ],ip:[  ],v2v:function(Value){ AV80ComMsg=Value },v2c:function(){ GXsetGridControlValue("_COMMSG",GXCurrentRow[26],AV80ComMsg,0) }, c2v:function(){ AV80ComMsg = GXgetGridControlValue("_COMMSG",GXCurrentRow[26]) }, nac:function(){return  null }};
this.AV83MensWe=0;
this.AV41Hoy=0;
this.AV54NewEdD=0;
_SetStandaloneVars( ) ;
