function funqa1201() {
  var nq = 9;
  var ok=1;
  var si="";
  var jj=0;
  var bb=new Array(10);
  jj=document.qa1201.qa01.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[0]=true;}
  if (jj==2) {bb[0]=false;}
  jj=document.qa1201.qa02.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[1]=true;}
  if (jj==2) {bb[1]=false;}
  jj=document.qa1201.qa03.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[2]=true;}
  if (jj==2) {bb[2]=false;}
  jj=document.qa1201.qa04.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[3]=true;}
  if (jj==2) {bb[3]=false;}
  jj=document.qa1201.qa05.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[4]=true;}
  if (jj==2) {bb[4]=false;}
  jj=document.qa1201.qa06.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[5]=true;}
  if (jj==2) {bb[5]=false;}
  jj=document.qa1201.qa07.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[6]=true;}
  if (jj==2) {bb[6]=false;}
    jj=document.qa1201.qa08.selectedIndex;
  if (jj==0) {ok=0;}
  if (jj==1) {bb[7]=true;}
  if (jj==2) {bb[7]=false;}
  if (ok==0) {alert("Some responses are missing.\nPlease select TRUE or FALSE\nfor all statements.")}
  else {
    var ok=0;
    var aa=new Array(false,false,true,false,false,false,true,false,true,false);
    var sx="width=450,height=200,resizable=yes,scrollbars=yes";
    var w = window.open("","qa1201w",sx,replace=true);
    if (aa[0]!=bb[0]) {
      w.document.write('<font size=+2 color="#aa0000">#1 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#1 Correct!<br>');ok++;
    }
    w.document.write("The Sun appears to move in the sky from East to West.  This implies that the Earth rotates counterclockwise when viewed from above the North Pole.");
    w.document.write("<p>");
    if (aa[1]!=bb[1]) {
      w.document.write('<font size=+2 color="#aa0000">#2 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#2 Correct!<br>');ok++;
    }
    w.document.write("The Earth's circumference (distance around the Earth) at the equator is 24902 mi/40076 km.  Due to rotation motion, a person at the equator moves this distance during 1 day (24 hours).  So a person at the equator has a speed of 24902/24 = 1037 mph (or 40076/24 = 1670 km/hr).");
    w.document.write("<p>");
    if (aa[2]!=bb[2]) {
      w.document.write('<font size=+2 color="#aa0000">#3 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#3 Correct!<br>');ok++;
    }
    w.document.write("The Earth's shape is close to that of a oblate spheroid - not exactly a perfect sphere.  It's diameter is slightly larger at the equator (42 km) than at the poles.  A mass on the surface of the Earth experiences the force of gravity directed towards the Earth's center and a centripetal acceleration directed perpendicular to the Earth's rotation axis.  The vertical component of this acceleration causes you to weigh less (similar to being on an elevator accelerating downwards).  The horizontal component of this acceleration causes mass to shift towards the equator.  To see a similar effect, fill a bucket with water and spin the bucket on a rotating table (or suspend the bucket with a twisted rope).");
    w.document.write("<p>");
    if (aa[3]!=bb[3]) {
      w.document.write('<font size=+2 color="#aa0000">#4 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#4 Correct!<br>');ok++;
    }
    w.document.write("Climate events like El Nino-Southern Oscillation and the Pacific Decadal Oscillation affect the weather and the way water is distributed on continents and in the oceans and atmosphere around the world.  Using NASA satellite laser ranging measurements, scientists connected El Nino-Southern Oscillation occurrances to bulges at the equator.  This bulging also caused a slight change in the length of the day.  Increasing the size of the bulge at the equator will slow the Earth's rotation.  This effect is similar to spinning ice skaters who spin faster when their arms move close to the rotation axis and slow up when their arms are extended.");
    w.document.write("<p>");
    if (aa[4]!=bb[4]) {
      w.document.write('<font size=+2 color="#aa0000">#6 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#6 Correct!<br>');ok++;
    }
    w.document.write("Since much of the water, air, land forms and human-built structures are rotating at a fairly high speed, a quick stop in the Earth's rotation would have disasterous consequences.  Even a gradual slowing to no rotation would have wide ranging consequences that would make much of the Earth uninhabitable.  The duration of a day would become the same as that of our year.  Everyone would experience one period of darkness (night) and one period of sunlight (day) during the year (instead of 365 days and 365 nights). In addition, the Earth's magnetic field which is due to iron rotating in the Earth's core would greatly weaken.  This weakened field would no longer deflect dangerous particle radiation from the Sun as effectively as now.");
    w.document.write("<p>");
    if (aa[5]!=bb[5]) {
      w.document.write('<font size=+2 color="#aa0000">#7 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#7 Correct!<br>');ok++;
    }
    w.document.write("A mass on the surface of the Earth experiences the force of gravity directed towards the Earth's center and a centripetal acceleration directed perpendicular to the Earth's rotation axis.  The downward vertical component of this acceleration causes you to weigh less.  Try weighing yourself on an elevator accelerating downwards.");
    w.document.write("<p>");
    if (aa[6]!=bb[6]) {
      w.document.write('<font size=+2 color="#aa0000">#8 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#8 Correct!<br>');ok++;
    }
    w.document.write("Due to the rotation motion, the top of the tower is traveling faster than the base of the tower.  The Earth rotates from West to East.  The speedier eastward moving object will fall slightly farther east than the tower base.");
    w.document.write("<p>");
    if (aa[7]!=bb[7]) {
      w.document.write('<font size=+2 color="#aa0000">#9 Wrong!<br>');
    } else {
      w.document.write('<font size=+2 color="#000000">#9 Correct!<br>');ok++;
    }
    w.document.write("The direction (clockwise or counterclockwise) swirling motion that you observe in your bathtub, wash basin or toilet is largely determined the random motion of water in the pool of water and not the Earth's rotation.  In a carefully controlled experiment (where random and other undesirable environmental effects are minimized by carefully constructing the pool shape and letting the water become still over several weeks time), water on the south side of a drain will be moving eastward faster than water on the north side (in the Northern Hemisphere).  This will result in a counterclockwise swirling motion.");
    w.document.write("<p>");
    document.qa1201.qscore.value=Math.floor(100.0*ok/nq);
  }
}
