// JavaScript Document

function heading(x)
{
    
    // start arrow
    
       if( x == 10 )
      document.write(' ');
   else
   {
      for(i=0;i<22;i++)
      {
         document.write('&nbsp;');
      }
      document.write('      <span style="position:absolute; top: 0px; left: 770px;"><a href="page' + (x+1) + '.html"><img src="images2/arrow2.gif" alt="NEXT" border="0"></a></span>');
  }
  
  //end 
  
 
       
   document.write('<center>');
   document.write('<table cellspacing="0" cellpadding="0" border="0"  bordercolor=red width="800">');
   document.write('   <tr>');
   document.write('      <td colspan="3" width="800" align="right"><a href="http://www.uwplatt.edu/disted/" target="_blank"><span style="font-size: 10px; color: #fff;">return to UWP Distance Learning homepage<br></span></a></td>');
   document.write('   </tr>');
   document.write('   <tr>');
   document.write('      <td width="153" rowspan="3"><img src="images2/side' + x + '.jpg" border="0"></td>');
   document.write('	     <td width="647" colspan="3"><img src="images2/top.jpg" border="0"></td>');
   document.write('   </tr>');
   document.write('   <tr>');
   document.write('      <td width="637" height="42" colspan="2" style="background: #fff url(\'images2/window' + x + '.jpg\') bottom left no-repeat;" align="left" valign="top">');
   document.write('	     <img src="images2/title' + x + '.jpg" border="0" width="334">');
 // Start  
for(i=0;i<30;i++)
   {
      document.write(' ');
   }
   
   if( x == 9 || x == 10 || x == 4)
   {
	   document.write('<span style="position:relative;left:0px;top:0px;"><img src="images2/place.gif" border="0" width="100" height="20"></span>');
   }
   else
   {
      document.write('<span style="position:relative;left:0px;top:0px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="220" height="28">');
      document.write('  <param name="movie" value="flash/page' + x + '.swf">');
      document.write('  <param name="quality" value="high">');

if (x==1) {
      document.write('  <param name="PLAY" value="false">');
}
else {
      document.write('  <param name="PLAY" value="true">');
}
      document.write('  <embed src="flash/page' + x + '.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"  type="application/x-shockwave-flash" width="220" height="28"></embed>');
      document.write('</object></span>');
   }



   if( x == 10 )
      document.write('      &nbsp;');
   else
   {
      for(i=0;i<22;i++)
      {
         document.write('&nbsp;');
      }
      document.write('      <br><!-- a href="page' + (x+1) + '.html"><img src="images2/arrow2.gif" alt="NEXT" border="0"></a -->');
  } 
   
   
   
   
  // END 
   
   document.write('	     <center><div class="content">');
}

function footing(x)
{
   document.write('		 </div></center>');
   document.write('	  </td>');
   document.write('	  <td width="10"><img src="images2/side-bar.jpg" border="0"></td>');
   document.write('   </tr>');
   document.write('   <tr>');
   document.write('      <td width="101"><img src="images2/side-bot' + x + '.jpg" border="0"></td>');
   document.write('	     <td width="546" colspan="2" style="background-image: url(\'images2/bottom.jpg\');" align="left" valign="middle">');
   
/*   for(i=0;i<30;i++)
   {
      document.write('&nbsp;');
   }
   
   if( x == 9 || x == 10 )
   {
	   document.write('<img src="images2/place.gif" border="0">');
   }
   else
   {
      document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="320" height="40">');
      document.write('  <param name="movie" value="flash/page' + x + '.swf">');
      document.write('  <param name="quality" value="high">');

if (x==1) {
      document.write('  <param name="PLAY" value="false">');
}
else {
      document.write('  <param name="PLAY" value="true">');
}
      document.write('  <embed src="flash/page' + x + '.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"  type="application/x-shockwave-flash" width="320" height="40"></embed>');
      document.write('</object>');
   }



   if( x == 10 )
      document.write('      &nbsp;');
   else
   {
      for(i=0;i<22;i++)
      {
         document.write('&nbsp;');
      }
      document.write('      <a href="page' + (x+1) + '.html"><img src="images2/arrow2.gif" border="0"></a>');
  } */
	  
   document.write('      </td>');
   document.write('   </tr>');
   document.write('   <tr>');
   document.write('      <td width="153">&nbsp;</td>');
   document.write('      <td width="101">&nbsp;</td>');
   document.write('      <td width="536">&nbsp;</td>');
   document.write('      <td width="10">&nbsp;</td>');
   document.write('   </tr>');

   document.write('</table>');
   document.write('</center>');

}
