/*****************************************************************/
/*****************    Second Wind Sports    **********************/
/*****************************************************************/

function Show_Header() {
   document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color: #FFFFCC;"> ');
   document.write('<tr valign="middle"> ');
   document.write('  <td align="left" valign="top">' );
   document.write('     <img src="./images/sws_logo2_150y.jpg" alt="Second Wind Sports Hood River" border="0" >' );
   document.write('  </td>' );
   document.write('  <td align="left" valign="top">' );
   document.write('     <img src="./images/sws_logo1_150a.jpg" alt="Second Wind Sports Hood River" border="0" hspace="25">' );
   document.write('  </td>' );
   document.write('  <td align="center">' );
   document.write('      <div class="HeaderText">' );
   document.write('        New and Consigned Gorge Recreation Equipment and Apparel' );
   document.write('      </div>' );
   document.write('  </td>' );
   document.write('  <td nowrap align="center" width="120"  style="background-color: #FFFFCC;">' );
   Show_Top_Menu();
   document.write('  </td>' );
   document.write('</tr> '); 
   document.write('<tr valign="middle"> ');
   document.write('  <td colspan="4" style="background-color: #000000; height: 2px;">' );
   document.write('<img src="./images/spacer.gif" height="1" alt="" border="0"><td>' );
   document.write('</tr> '); 
   document.write('</table> ');
}

function Show_Top_Menu() {
   document.write('<table style="background-color: #FFFFCC;" cellpadding="0" cellspacing="0" border="0" width="100%"> ');
   document.write('<tr> ');
   document.write('  <td align="center" valign="middle" nowrap><img src="./images/spacer.gif"></td>' );
   document.write('  <td align="center" valign="middle" nowrap>' );
   document.write('      <a class="TopMenu" href="sws_cams.php">Web Cam</a>');
   document.write('      <a class="TopMenu" href="sws_weather.php">Weather</a>');
   document.write('      <a class="TopMenu" href="sws_gallery.php">Gallery</a>');
   document.write('  </td>' );
   document.write('</tr> '); 
   document.write('</table> ');
}

function Show_Body_Left() {
   document.write('<div align="center"> ');
   document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"> ');
   document.write('<tr> ');
   document.write('   <td align="left" valign="top" width="150" style="background-color: #CCCCCC;" nowrap><br>');
   document.write('      <a class="LeftMenu" href="index.php">Home</a>');
   document.write('      <a class="LeftMenu" href="sws_about.php">About Us</a>');
   document.write('      <a class="LeftMenu" href="sws_wind_boards.php">Wind</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_boards.php">Boards</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_sails.php">Sails</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_masts.php">Masts</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_booms.php">Booms</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_kites.php">Kites</a>');
   document.write('      <a class="LeftMenu2" href="sws_wind_kiteboards.php">Kiteboards</a>');
   document.write('      <a class="LeftMenu" href="sws_snow.php">Snow</a>');
   document.write('      <a class="LeftMenu" href="sws_camping.php">Camping</a>');
   document.write('      <a class="LeftMenu" href="sws_water.php">Water</a>');
   document.write('      <a class="LeftMenu" href="sws_calendar.php">Events</a>');
   document.write('      <a class="LeftMenu" href="sws_links.php">Links</a>');
   document.write('      <a class="LeftMenu" href="sws_contact.php">Contact</a> ');
   document.write('      <a class="LeftMenu" href="sws_consignment.php">Consignment Policy</a> ');
   document.write('   </td>' );
   document.write('   <td align="left" valign="top" style="background-color: #FFFFFF;"> ');
}

function Show_Body_Right() {
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );
   document.write('</div>' );
}

function Show_Footer() {
   document.write('<div align="center">' );
   document.write('<table style="background-color: #CCCCCC;" cellpadding="0" cellspacing="0" border="1" width="100%">' );
   document.write('<tr>' );
   document.write('   <td>' );
   Show_Address();
   document.write('<center><font size=1 color=#aaaaaa face=arial>© Copyright 2006-2007. All rights reserved.</font></center>' );
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );   
   document.write('</div>' );
}

function Show_Address() {
   document.write( '<div align="center" style="width: 100%; background-color: #666666; color: #ffffff; height: 30px; vertical-align: middle;">' );
   document.write( '210 Oak Street * Hood River, OR 97031 * (541) 386-4464' );
   document.write( '</div>' );
}


function Show_Post_Footer() {}


function Show_Matrix( cWidth, aGrid ) {
    document.write( '<table width="' + cWidth + '" cellpadding="0" cellspacing="0" border="0">' );
    document.write( '<tr>' );
    document.write( '   <td class="spec-box-tl"><img src="./images/spacer.gif" height="22" width="40"></td>' );
    document.write( '   <td class="spec-box-top" width="100%">' + "Specifications" +'</td>' );
    document.write( '   <td class="spec-box-tr"><img src="./images/spacer.gif" height="22" width="40"></td>' );
    document.write( '</tr>' );
    document.write( '<tr><td valign="top" colspan="3" style="border: 2px solid #6699CC;">' );

    document.write( '<table width="100%" cellpadding="2" cellspacing="0" border="0" bgcolor="#e6e6e6"> ' );

   document.write( '<tr style="font-weight: 900; text-align:left; background-color: #EEEEEE; color: black;" >' );
   for (var j=0;j<aGrid[0].length;j++) { document.write( '<th>' + aGrid[0][j] +'</th>' ); }
   document.write( '</tr>' );
        
   for (var i=1;i<aGrid.length;i++) {
      document.write( '<tr style="background-color: #FFFFFF;  line-height: 1.0em; color:' + GridColor(i) +';  text-align:left;" >' );
      for (var j=0;j<aGrid[i].length;j++) { document.write( '<td>' +aGrid[i][j]+ '</td>' ); }
      document.write( '</tr>' );
   }
   document.write( '</table>' );

   document.write( '</td></tr></table>' );


   function GridColor(i) { if ((i==1)||(i==3)||(i==5)||(i==7)||(i==9)||(i==11)||(i==13)) {
         return("#000000") } else { return("#009933"); }
   }

}      

function Show_Spec_List( aCSS, aData ) {
   document.write( '<table cellpadding="0" cellspacing="0" border="0">' );       
   for (var i=0;i<aData.length-1;i++) {
      document.write( '<tr>' );
      document.write( '<td class="Spec_List_Left" nowrap>' + aData[i][0] + '</td>' );
      document.write( '<td  class="Spec_List_Right" nowrap>' + aData[i][1] + '</td>' );
      document.write( '</tr>' );
   }
   document.write( '</table>' );
}


/*****************************************************************/
/*******************    End Of Document     **********************/
/*****************************************************************/