using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class ProgrammedHome : System.Web.UI.Page
{
   protected void Page_Load(object sender, EventArgs e)
   {
      /*
      HyperLink ad = (HyperLink)Master.FindControl("imgbtnAd");
      if (ad != null)
      {
        ad.ImageUrl = "~/Images/ads/ad3.gif";
        ad.NavigateUrl = "http://www.etipsforagrades.com";
      }
       * */
      /*
      ProgrammedContentMaster pcm = (ProgrammedContentMaster)Master;
      pcm.AdImageUrl = "~/Images/ads/ad3.gif";
      pcm.AdNavigateUrl = "http://www.somewhereelse.com";
       * */
      Master.AdImageUrl = "~/Images/ads/ad3.gif";
      Master.AdNavigateUrl = "http://www.somewhereelse.com";
   }
}
