/*
               File: WnVer04
        Description: Visualizar una new para imprim
             Author: GeneXus C# Generator version 9_0_3-780
       Generated on: 9/10/2007 15:25:16.0
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   Gx_date=GXgetDateValue("_TODAY") ;
   AV82WNPubI=GXgetIntegerValue("_WNPUBID") ;
   A141WNPubI=GXgetIntegerValue("WNPUBID") ;
   A143WNPubI=GXgetControlValue("WNPUBIMG") ;
   AV50webNew=GXgetIntegerValue("_WEBNEWID") ;
   A67WebEdId=GXgetIntegerValue("WEBEDID") ;
   A95WebNewU=GXgetControlValue("WEBNEWURLIMG") ;
   A33WebIdio=GXgetControlValue("WEBIDIO") ;
   A25WebUsr=GXgetControlValue("WEBUSR") ;
   A34WebMsgW=GXgetControlValue("WEBMSGWELC") ;
   A35WebLvl=GXgetIntegerValue("WEBLVL") ;
   AV62WebIdi=GXgetControlValue("_WEBIDIO") ;
   A40WebIdio=GXgetControlValue("WEBIDIOID") ;
   A87WebedFc=GXgetDateValue("WEBEDFCH") ;
   AV74WNewSe=GXgetIntegerValue("_WNEWSECID") ;
   A65WNewSec=GXgetIntegerValue("WNEWSECID") ;
   A86WNewSec=GXgetControlValue("WNEWSECNOM") ;
   A77WebNewH=GXgetControlValue("WEBNEWHAB") ;
   A64WebNewL=GXgetIntegerValue("WEBNEWLVL") ;
   A71WebNewI=GXgetControlValue("WEBNEWIMG") ;
}
this._StandaloneModal=function()
{
   if ( AnyError == 0 && ( A14WebNewI != gxOldGridKey("A14WebNewIA65WNewSec",9) ) )
   {
      gxajaxloadCrl('gxLoad_12',new Array("A14WebNewI"),new Array("A65WNewSec","A64WebNewL","A71WebNewI"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Noticias del Web"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A14WebNewIA65WNewSec",9);
      }
      else
      {
         gxSetGridKey("A14WebNewIA65WNewSec",9,"A14WebNewI");
      }
   }
}
this._wnver04=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =18;
_GXValidFnc[4]={lvl:0,grid:0,fnc:null,fld:"_LOGO",gxvar:"AV81Logo",op:[],ip:[],nacdep:[],v2v:function(Value){AV81Logo=Value},v2c:function(){},c2v:function(){}};
_GXValidFnc[5]={lvl:0,grid:0,fnc:null,fld:"_MENSWELC",gxvar:"AV71MensWe",op:[],ip:[],nacdep:[],v2v:function(Value){AV71MensWe=Value},v2c:function(){GXsetControlValue("_MENSWELC",AV71MensWe,0)},c2v:function(){AV71MensWe=GXgetControlValue("_MENSWELC")}};
_GXValidFnc[6]={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 [ 11 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "_NEWEDDSC" ,gxvar: "AV54NewEdD" ,op:[  ],ip:[  ],v2v:function(Value){ AV54NewEdD=Value },v2c:function(){ GXsetGridControlValue("_NEWEDDSC",GXCurrentRow[9],AV54NewEdD,0) }, c2v:function(){ AV54NewEdD = GXgetGridControlValue("_NEWEDDSC",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 12 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWTIT" ,gxvar: "A76WebNewT" ,op:[  ],ip:[  ],v2v:function(Value){ A76WebNewT=Value },v2c:function(){ GXsetGridControlValue("WEBNEWTIT",GXCurrentRow[9],A76WebNewT,0) }, c2v:function(){ A76WebNewT = GXgetGridControlValue("WEBNEWTIT",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 13 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "_WENNEWIMG" ,gxvar: "AV45WenNew" ,op:[  ],ip:[  ],v2v:function(Value){ AV45WenNew=Value },v2c:function(){ GXsetGridControlValue("_WENNEWIMG",GXCurrentRow[9],AV45WenNew,0) }, c2v:function(){ AV45WenNew = GXgetGridControlValue("_WENNEWIMG",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 14 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWDSC" ,gxvar: "A79WebNewD" ,op:[  ],ip:[  ],v2v:function(Value){ A79WebNewD=Value },v2c:function(){ GXsetGridControlValue("WEBNEWDSC",GXCurrentRow[9],A79WebNewD,0) }, c2v:function(){ A79WebNewD = GXgetGridControlValue("WEBNEWDSC",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 15 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWID" ,gxvar: "A14WebNewI" ,op:[  ],ip:[  ],v2v:function(Value){ A14WebNewI=Value },v2c:function(){ GXsetGridControlValue("WEBNEWID",GXCurrentRow[9],A14WebNewI,0) }, c2v:function(){ A14WebNewI = GXgetGridIntegerValue("WEBNEWID",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 17 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "_WEBNEWIMG1" ,gxvar: "AV46WebNew" ,op:[  ],ip:[  ],v2v:function(Value){ AV46WebNew=Value },v2c:function(){ GXsetGridControlValue("_WEBNEWIMG1",GXCurrentRow[9],AV46WebNew,0) }, c2v:function(){ AV46WebNew = GXgetGridControlValue("_WEBNEWIMG1",GXCurrentRow[9]) }, nac:function(){return  null }};
_GXValidFnc [ 18 ]={lvl: 2 ,grid: 9 ,pgrid: 0 ,fnc: null ,fld: "WEBNEWTXT" ,gxvar: "A80WebNewT" ,op:[  ],ip:[  ],v2v:function(Value){ A80WebNewT=Value },v2c:function(){ GXsetGridControlValue("WEBNEWTXT",GXCurrentRow[9],A80WebNewT,1) }, c2v:function(){ A80WebNewT = GXgetGridControlValue("WEBNEWTXT",GXCurrentRow[9]) }, nac:function(){return  null }};
this.AV71MensWe=0;
this.AV41Hoy=0;
_SetStandaloneVars( ) ;

