function januaryP() {
  var R;
  R="";
  try {
    R=januaryP2();
  }
  catch(e) {
    return "";
  }
  return R;
}

function januaryP2() {
  var R = "";
  var L,i,z;
  var N = new Array();
  var now = new Date();
  var d = now.getDate();
  var crtm = now.getMonth()+1;
     if (d<5) {
       N[N.length]=0;
     }
     else if ((crtm==12)&&(1==1)) {
       N[N.length]=0;
     }
     else if (crtm+1==1) {
       N[N.length]=0;
     }
     N[N.length]=1;
     if (d<21) {
       N[N.length]=2;
     }
     else if ((crtm==12)&&(1==1)) {
       N[N.length]=2;
     }
     else if (crtm+1==1) {
       N[N.length]=2;
     }
     N[N.length]=3;
     N[N.length]=4;
     N[N.length]=5;
     N[N.length]=6;
     N[N.length]=7;
     N[N.length]=8;
     N[N.length]=9;
     N[N.length]=10;
     N[N.length]=11;
  L=N.length;
  if (L>0) {
    i=Math.floor(Math.random()*(L));
    if ((i>=0)&&(i<L)) {
       z=N[i];
       if (z==0) {
          R="<a href=\"http://www.edhelper.com/New_Years.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/newyearsprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/New_Years.htm\"><FONT SIZE=\"2\">New Year's Day Theme Unit</A><BR></FONT><BR>";
       }
       else if (z==1) {
          R="<a href=\"http://www.edhelper.com/winter.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/janwin.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/winter.htm\"><FONT SIZE=\"2\">Winter Theme Unit</A><BR></FONT><BR>";
       }
       else if (z==2) {
          R="<a href=\"http://www.edhelper.com/DrMartinLutherKingJr.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/janmlk.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/DrMartinLutherKingJr.htm\"><FONT SIZE=\"2\">Dr. Martin Luther King, Jr. Theme Unit</A><BR></FONT><BR>";
       }
       else if (z==3) {
          R="<a href=\"http://www.edhelper.com/community_helpers.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/communityprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/community_helpers.htm\"><FONT SIZE=\"2\">Community Helpers</A><BR></FONT><BR>";
       }
       else if (z==4) {
          R="<a href=\"http://www.edhelper.com/Community_Maps.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/mapsprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/Community_Maps.htm\"><FONT SIZE=\"2\">Community Maps</A><BR></FONT><BR>";
       }
       else if (z==5) {
          R="<a href=\"http://www.edhelper.com/ChineseNewYear.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/cnyear.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/ChineseNewYear.htm\"><FONT SIZE=\"2\">Chinese New Year</A><BR></FONT><BR>";
       }
       else if (z==6) {
          R="<a href=\"http://www.edhelper.com/hat.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/hatsthemeprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/hat.htm\"><FONT SIZE=\"2\">Hats Theme</A><BR></FONT><BR>";
       }
       else if (z==7) {
          R="<a href=\"http://www.edhelper.com/penguins.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/janpen.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/penguins.htm\"><FONT SIZE=\"2\">Penguins Theme Unit</A><BR></FONT><BR>";
       }
       else if (z==8) {
          R="<a href=\"http://www.edhelper.com/polarregions.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/janpr.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/polarregions.htm\"><FONT SIZE=\"2\">Polar Regions Theme Unit</A><BR></FONT><BR>";
       }
       else if (z==9) {
          R="<a href=\"http://www.edhelper.com/wordplay.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/wordplaytheme.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/wordplay.htm\"><FONT SIZE=\"2\">Puzzles Day Theme</A><BR></FONT><BR>";
       }
       else if (z==10) {
          R="<a href=\"http://www.edhelper.com/100th_day_of_school.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/100daythemeprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/100th_day_of_school.htm\"><FONT SIZE=\"2\">100th Day of School</A><BR></FONT><BR>";
       }
       else if (z==11) {
          R="<a href=\"http://www.edhelper.com/book_reports.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/bookreportssmallprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
            "<a href=\"http://www.edhelper.com/book_reports.htm\"><FONT SIZE=\"2\">Book Reports</A><BR></FONT><BR>";
       }
    }
  }
  return R;
}

