// JavaScript Document
function replace() {
  document.getElementById('number').innerHTML = "<b>2. </b>";
  document.getElementById('question').innerHTML = "<b>What year did Guiding Light transition from radio to TV?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 1937 ";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 1943";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 1952";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 1965";
  document.getElementById('nextbutton').innerHTML = "<a href=\"javascript:replace3()\"><img src=\"../img/nextbuttonbg.jpg\" border=\"0\"></a>";
}
function replace3() {
  document.getElementById('number').innerHTML = "<b>3. </b>";
  document.getElementById('question').innerHTML = "<b>What is the name of Mike & Julie’s daughter?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Hope";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Faith";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Truth";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Love";
  document.getElementById('nextbutton').innerHTML = "<a href=\"javascript:replace4()\"><img src=\"../img/nextbuttonbg.jpg\" border=\"0\"></a>";
}
function replace4() {
  document.getElementById('number').innerHTML = "<b>4. </b>";
  document.getElementById('question').innerHTML = "<b>How many children were in the original Bauer family?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 5";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 3";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 2";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> 1";
  document.getElementById('nextbutton').innerHTML = "<a href=\"javascript:replace5()\"><img src=\"../img/nextbuttonbg.jpg\" border=\"0\"></a>";
}
function replace5() {
  document.getElementById('number').innerHTML = "<b>5. </b>";
  document.getElementById('question').innerHTML = "<b>Who is the son of Reva Lewis and Prince Richard?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Jonathan";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Josh";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Ed";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Michael";		
  document.getElementById('nextbutton').innerHTML = "<a href=\""+ url + "\"><img src=\"../img/winbg.jpg\" border=\"0\"></a>";
}