
function jumpBox(list) {
   location.href = list.options[list.selectedIndex].value
   }

function Create(form)  {
  title = "The Magic of Computers, by " + form.name.value;
  
  title = "<center><h3>" + title + "</h3></center>";

   madlibvalue = "<font size=large><p>Today, every student has a computer small enough to fit into his " + form.noun1.value + ". He can solve any math problem by " + form.adv1.value + " pushing the computer's little " + form.pluralnoun1.value + ". Computers can add, multiply, divide, and " + form.verb1.value + ". They can also " + form.verb2.value + " better than a human.</p><p>Some computers are " + form.pluralnoun2.value + ". Others have a " + form.adj1.value + " screen that shows all kinds of " + form.pluralnoun3.value + " and " + form.adj2.value + " " + form.pluralnoun4.value + ".</p><p>Each one contains over " + form.number1.value + " tiny pieces of information called '" + form.pluralnoun5.value + "'. These are actually electronic circuits printed on " + form.metal.value + " chips, all of which are operated by little three-volt " + form.pluralnoun6.value + ".</p><p>Computers can play such games as " + form.game1.value + " and " + form.game2.value + ".</p><p> They can further test your " + form.verbing1.value +  " ability and remember when you have to go to the " + form.place.value + ".</p><p>It is just like owning your very own personal " + form.noun2.value + "!</p><br /><br /><center>The End.</center></font>";

   var win = window.open(', ', '','width=600,height=450,location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes');
   win.document.write(title + madlibvalue);

   } 


function ClearData(form) {
   form.name.value = "";
   form.noun1.value = "";
   form.adv1.value = "";
   form.pluralnoun1.value = "";
   form.verb1.value = "";
   form.verb2.value = "";
   form.pluralnoun2.value = "";
   form.adj1.value = "";
   form.pluralnoun3.value = "";
   form.adj2.value = "";
   form.pluralnoun4.value = "";
   form.number1.value = "";
   form.pluralnoun5.value = "";
   form.pluralnoun6.value = "";
   form.metal.value = "";
   form.game1.value = "";
   form.game2.value = "";
   form.verbing1.value = "";
   form.noun2.value = "";
   form.place.value = "";
   }
   
   