function edLinkP() {
  var R,i;
  i=Math.floor(Math.random()*(25));

  // ------------------ Puzzles -------------------------------
  // crossword puzzles
  if (i==0) {
  R="<a href=\"http://www.edhelper.com/French/crossword.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/puzzlecw.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/crossword.htm\"><FONT SIZE=\"2\">Cr&eacute;ez des Mots Crois&eacute;s</A><BR></FONT><BR>";
  }

  // logic
  else if (i==1) {
  R="<a href=\"http://www.edhelper.com/French/logic_puzzles.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/prev0214b.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/logic_puzzles.htm\"><FONT SIZE=\"2\">Puzzles de Logique</A><BR></FONT><BR>";
  }

  // word walls
  else if (i<6) {
  R="<a href=\"http://www.edhelper.com/word_walls.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/wwallpreva.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/word_walls.htm\"><FONT SIZE=\"2\">Des planches de mots</A><BR></FONT><BR>";
  }

  // sudoku
  else if (i==6) {
    var S2,i2;
    i2=Math.floor(Math.random()*(2));
    S2="";
    if (i2==1) {
      S2="2";
    }
    R="<a href=\"http://www.edhelper.com/French/sudoku.htm\"><img src=\"http://www.edhelperclipart.com/clipart/sudokuthemeprev"+S2+"\.gif\" border=0></a><BR>"+
      "<a href=\"http://www.edhelper.com/French/sudoku.htm\"><FONT SIZE=\"2\">Sudokus</A><BR></FONT><BR>";
  }

  // kakuro
  else if (i==7) {
    R="<a href=\"http://www.edhelper.com/French/kakuro.htm\"><img src=\"http://www.edhelperclipart.com/clipart/kakurothemeprev.gif\" border=0></a><BR>"+
      "<a href=\"http://www.edhelper.com/French/kakuro.htm\"><FONT SIZE=\"2\">Kakuros</A><BR></FONT><BR>";
  }

  // logic
  else if (i<10) {
    R="<a href=\"http://www.edhelper.com/French/Math_Logic_Puzzles.htm\"><img border=0 src=\"http://www.edhelperclipart.com/clipart/mathlogicpuzprev.gif\"></a><BR>"+
      "<a href=\"http://www.edhelper.com/French/Math_Logic_Puzzles.htm\">Puzzles de Logique (avec des graphiques et grilles)</a><BR><BR>";
  }

  // runaway math
  else if (i<14) {
    R="<a href=\"http://www.edhelper.com/French/runaway_math_puzzle.htm\"><img src=\"http://www.edhelperclipart.com/clipart/runawaymathsmalllogo.gif\" border=0></a><BR>"+
      "<FONT color=#000099 face=\"Arial, Helvetica, sans-serif\" size=3><b><BR><a href=\"http://www.edhelper.com/runaway_math_puzzle.htm\">Nombres Crois&eacute;s</a></b></font><BR><BR>";
  }

  // Hidato
  else if (i<18) {
    R="<a href=\"http://www.edhelper.com/French/hidato_puzzle.htm\"><img border=0 src=\"http://www.edhelperclipart.com/clipart/hidatothemesmall.jpg\"></a><BR>"+
      "<a href=\"http://www.edhelper.com/French/hidato_puzzle.htm\">Hidato Puzzles</a><BR><BR>";
  }

  // word searches
  else {
  R="<a href=\"http://www.edhelper.com/French/wordfind.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/wordsearchthemesmall.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/wordfind.htm\"><FONT SIZE=\"2\">Cr&eacute;ez des Mots M&ecirc;l&eacute;s</A><BR></FONT><BR>";
  }

  return R;
}

function edLinkSS() {
  var R,i;
  i=Math.floor(Math.random()*(11));

  // ------------------ Social Studies -------------------------------
  if (i==0) {
  R="<a href=\"http://www.edhelper.com/French/American_Government.htm\"><IMG src=\"http://www.edhelper.com/clipart/americangovprev.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/American_Government.htm\"><FONT SIZE=\"2\">Le Gouvernement Am&eacute;ricain</A><BR></FONT><BR>";
  } else if (i==1) {
  R="<a href=\"http://www.edhelper.com/French/geography/geography.htm\"><IMG src=\"http://www.edhelper.com/clipart/geography/geography.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/geography/geography.htm\"><FONT SIZE=\"2\">La G&eacute;ographie</A><BR></FONT><BR>";
  } else if (i==2) {
  R="<a href=\"http://www.edhelper.com/French/math_history.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/historyofmathsmalla.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/math_history.htm\"><FONT SIZE=\"2\">L'Histoire de Math&eacute;matiques</A><BR></FONT><BR>";
  } else if (i==3) {
  R="<a href=\"http://www.edhelper.com/French/explorers.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/explorers.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/explorers.htm\"><FONT SIZE=\"2\">Des Explorateurs</A><BR></FONT><BR>";
  } else if (i==4) {
  R="<a href=\"http://www.edhelper.com/French/ancient_china.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/ancientchinathemesmall.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/ancient_china.htm\"><FONT SIZE=\"2\">La Chine Ancienne</A><BR></FONT><BR>";
  } else if (i==5) {
  R="<a href=\"http://www.edhelper.com/French/world_religion.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/religionthemesmall.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/world_religion.htm\"><FONT SIZE=\"2\">La Religion</A><BR></FONT><BR>";
  } else if (i==6) {
  R="<a href=\"http://www.edhelper.com/French/inventors_and_inventions.htm\"><IMG src=\"http://www.edhelper.com/clipart/inventors.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/inventors_and_inventions.htm\"><FONT SIZE=\"2\">Des Inventeurs</A><BR></FONT><BR>";
  } else if (i==7) {
  R="<a href=\"http://www.edhelper.com/French/ancient_egypt.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/stories/egypt-ancientegypttheme.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/ancient_egypt.htm\"><FONT SIZE=\"2\">L'Egypte Ancienne</A><BR></FONT><BR>";
  } else if (i==8) {
  R="<a href=\"http://www.edhelper.com/French/ancient_india.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/stories/india-ancientindiatheme.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/ancient_india.htm\"><FONT SIZE=\"2\">L'Inde Ancienne</A><BR></FONT><BR>";
  } else if (i==9) {
  R="<a href=\"http://www.edhelper.com/French/ancient_rome.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/rome-ancientrometheme.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/ancient_rome.htm\"><FONT SIZE=\"2\">La Rome Ancienne</A><BR></FONT><BR>";
  }
  else {
  R="<a href=\"http://www.edhelper.com/French/a_history_of_books.htm\"><IMG src=\"http://www.edhelperclipart.com/clipart/stories/books-ahistoryofbookstheme.jpg\" alt=\"\" border=\"0\"></a><BR>"+
    "<a href=\"http://www.edhelper.com/French/a_history_of_books.htm\"><FONT SIZE=\"2\">L'Histoire des Livres</A><BR></FONT><BR>";
  }
  return R;
}

