// JavaScript Document
function replace() {
  document.getElementById('number').innerHTML = "<b>2. </b>";
  document.getElementById('question').innerHTML = "<b>What broadcasting network does The Young and the Restless show on?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> NBC";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> CBS";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> FOX";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> ABC";
  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 city does The Young and the Restless take place in?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Hope City";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Haverly City";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Genova City";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Grendon City";
  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>What industry do the two feuding families do business in?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Athletics";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Manufacturing";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Restaurant";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> Cosmetics";
  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>What are the names of the two feuding families?</b>";
  document.getElementById('choiceone').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> The Abbots & the Newmans";
  document.getElementById('choicetwo').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> The Moores & the Winters";
  document.getElementById('choicethree').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> The Canes & the Winthrops";
  document.getElementById('choicefour').innerHTML = "<input type=\"radio\" name=\"radio\" id=\"radio\" value=\"radio\" /> The Abbots & the Winters  ";		
  document.getElementById('nextbutton').innerHTML = "<a href=\""+ url + "\"><img src=\"../img/winbg.jpg\" border=\"0\"></a>";
}