<!--
if (document.images)
 {
  var nrot=13;
  var qname= new Array(nrot);
  var qusedarray= new Array(nrot);
  qusedarray[0]=45;
  qusedarray[1]=8;
  qusedarray[2]=14;
  qusedarray[3]=38;
  qusedarray[4]=11;
  qusedarray[5]=108;
  qusedarray[6]=59;    
  qusedarray[7]=624;    
  qusedarray[8]=628;    
  qusedarray[9]=236;    
  qusedarray[10]=377;    
  qusedarray[11]=206;    
  qusedarray[12]=114;    
  qused=0;

  var base="http://curious.astro.cornell.edu/"

  qname[0]="qrot1";
  qrot1= new Image(132,90)
  qrot1.src="images/qrot1.gif";

  qname[1]="qrot2";
  qrot2= new Image(132,90)
  qrot2.src="images/qrot2.gif";

  qname[2]="qrot3";
  qrot3= new Image(132,90)
  qrot3.src="images/qrot3.gif";

  qname[3]="qrot4";
  qrot4= new Image(132,90)
  qrot4.src="images/qrot4.jpg";

  qname[4]="qrot5";
  qrot5= new Image(132,90)
  qrot5.src="images/qrot5.jpg";

  qname[5]="qrot6";
  qrot6= new Image(132,90)
  qrot6.src="images/qrot6.jpg";

  qname[6]="qrot7";
  qrot7= new Image(132,90)
  qrot7.src="images/qrot7.jpg";

  qname[7]="qrot8";
  qrot8= new Image(132,90)
  qrot8.src="images/qrot8.jpg";

  qname[8]="qrot9";
  qrot9= new Image(132,90)
  qrot9.src="images/qrot9.jpg";

  qname[9]="qrot10";
  qrot10= new Image(132,90)
  qrot10.src="images/qrot10.jpg";

  qname[10]="qrot11";
  qrot11= new Image(132,90)
  qrot11.src="images/qrot11.jpg";

  qname[11]="qrot12";
  qrot12= new Image(132,90)
  qrot12.src="images/qrot12.jpg";

  qname[12]="qrot13";
  qrot13= new Image(132,90)
  qrot13.src="images/qrot13.jpg";
 }

function rotate(startnum)
 {
  if (document.images)
   {
    numused=eval(startnum);
    if (numused>=nrot) numused=numused-nrot;
    imgnum=eval(qname[numused] + ".src");
    document["qrot1"].src=imgnum;
    qused=numused;
    setTimeout('rotate(numused+1)',2000);
   }
 }

function gotoquestion()
 {
  if (window.location)
   {
    window.location=base+"question.php?number="+qusedarray[qused];
   }
 }

//-->
