// Program: page_dressing.js
// Author:  Mat Noonan
// Date:    27th July 2009

var announcements = false;

function openevening() {
 if(!announcements) return;
 document.write('<center>');
 document.write(' <table cellspacing="10" class="shout" border="6" width="476">');
 document.write('  <tr>');
 document.write('   <td>');
 document.write('    <table cellspacing="10" width="100%">');
 document.write('     <tr>');
 document.write('      <td colspan="2" align="center">');
 document.write('       <span class="paraheader">');
 document.write('        Open Evening - Sunday 6th September<br />');
 document.write('       </span>');
 document.write('      </td>');
 document.write('     </tr>');
 document.write('     <tr>');
 document.write('      <td width="180">6.30pm - 8.15pm<br /></td>');
 document.write('      <td>Ballroom / Latin, Party Mix, Solo Salsa<br /></td>');
 document.write('     </tr>');
 document.write('     <tr>');
 document.write('      <td>8.30pm - 9.15pm<br /></td>');
 document.write('      <td>Salsa Latin Mix, Solo Salsa, Boogie Box<br /></td>');
 document.write('     </tr>');
 document.write('     <tr>');
 document.write('      <td colspan="2">');
 document.write('       This is a chance to try out all dance styles, but please note that ');
 document.write('       many courses <i>will sell out <u>before</u></i> the September Open Evening ');
 document.write('       so it is strongly recommended to BOOK NOW!<br />');
 document.write('      </td>');
 document.write('     </tr>');
 document.write('    </table>');
 document.write('   </td>');
 document.write('  </tr>');
 document.write(' </table>');
 document.write('</center>');
 document.write('<br />');
 document.write('<br />');
}

function hc(x) {
 document.write('<p align="center">');
 document.write(' <table cellspacing="0" cellpadding="0" border="0">');
 document.write('  <tr>');
 document.write('   <td class="tl" nowrap><br /></td>');
 document.write('   <td class="tm" nowrap><br /></td>');
 document.write('   <td class="tr" nowrap><br /></td>');
 document.write('  </tr>');
 document.write('  <tr>');
 document.write('   <td class="ml" nowrap><br /></td>');
 document.write('   <td width="720" nowrap>');
 document.write('    <table cellspacing="0" cellpadding="0" border="0" class="bodytable" width="100%">');
 document.write('     <tr>');
 document.write('      <td align="left">');
 document.write('       <table cellspacing="0" cellpadding="0" border="0" width="100%">');
 document.write('        <tr height="103">');
 document.write('         <td><a href="index.html"><img src="png/logo.png" border="0" title="Homepage"></a><br /></td>');
 document.write('         <td align="right">');
 document.write('          <table cellspacing="0" cellpadding="0" border="0" width="100%">');
 document.write('           <tr height="83">');
 document.write('            <td align="right">');
 document.write('             <img src="png/companyname.png" border="0"><br />');
 document.write('            </td>');
 document.write('           </tr>');
 document.write('           <tr height="20">');
 document.write('            <td align="right">');


 document.write('             <script type="text/javascript"> var vbImgPath="gif/"</script>');
 document.write('             <script type="text/javascript" src="js/scsco1c.js"></script>');
 document.write('             <table id="vista-buttons.com:idsco1c" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Homepage">');


 if (x == 1) {
  document.write('             <img src="gif/btsco1c_1.gif" width="71" height="25" border="0" alt="Homepage"/></td><td style="padding-right:0px" title ="Boogiebox">');
 } else { 
  document.write('             <a href="index.html" target="_self" onmouseover=\'xpe("sco1co");\' onmouseout=\'xpe("sco1cn");\'><img id="xpi_sco1c" src="gif/btsco1c_0.gif" name="vbsco1c" width="71" height="25" border="0" alt="Homepage"/></a></td><td style="padding-right:0px" title ="Boogiebox">');
 }

 if (x == 2) {
  document.write('             <img src="gif/bt3co1c_1.gif" width="70" height="25" border="0" alt="Boogiebox"/></td><td style="padding-right:0px" title ="Wedding Dances">');
 } else { 
  document.write('             <a href="boogiebox.html" target="_self" onmouseover=\'xpe("3co1co");\' onmouseout=\'xpe("3co1cn");\'><img id="xpi_3co1c" src="gif/bt3co1c_0.gif" name="vb3co1c" width="70" height="25" border="0" alt="Boogiebox"/></a></td><td style="padding-right:0px" title ="Wedding Dances">');
 }

 if (x == 3) {
  document.write('             <img src="gif/btrco1c_1.gif" width="100" height="25" border="0" alt="Wedding Dances"/></td><td style="padding-right:0px" title ="Adult Timetable">');
 } else { 
  document.write('             <a href="wedding_dances.html" target="_self" onmouseover=\'xpe("rco1co");\' onmouseout=\'xpe("rco1cn");\'><img id="xpi_rco1c" src="gif/btrco1c_0.gif" name="vbrco1c" width="100" height="25" border="0" alt="Wedding Dances"/></a></td><td style="padding-right:0px" title ="Adult Timetable">');
 }

 if (x == 4) {
  document.write('             <img src="gif/bt6co1c_1.gif" width="94" height="25" border="0" alt="Adult Timetable"/></td><td style="padding-right:0px" title ="Child Timetable">');
 } else { 
  document.write('             <a href="adult_timetable.html" target="_self" onmouseover=\'xpe("6co1co");\' onmouseout=\'xpe("6co1cn");\'><img id="xpi_6co1c" src="gif/bt6co1c_0.gif" name="vb6co1c" width="94" height="25" border="0" alt="Adult Timetable"/></a></td><td style="padding-right:0px" title ="Child Timetable">');
 }

 if (x == 5) {
  document.write('             <img src="gif/bt2co1c_1.gif" width="92" height="25" border="0" alt="Child Timetable"/></td><td style="padding-right:0px" title ="About Us">');
 } else { 
  document.write('             <a href="child_timetable.html" target="_self" onmouseover=\'xpe("2co1co");\' onmouseout=\'xpe("2co1cn");\'><img id="xpi_2co1c" src="gif/bt2co1c_0.gif" name="vb2co1c" width="92" height="25" border="0" alt="Child Timetable"/></a></td><td style="padding-right:0px" title ="About Us">');
 }

 if (x == 6) {
  document.write('             <img src="gif/bttco1c_1.gif" width="64" height="25" border="0" alt="About Us"/></td><td style="padding-right:0px" title ="Contact Us">');
 } else { 
  document.write('             <a href="about_us.html" target="_self" onmouseover=\'xpe("tco1co");\' onmouseout=\'xpe("tco1cn");\'><img id="xpi_tco1c" src="gif/bttco1c_0.gif" name="vbtco1c" width="64" height="25" border="0" alt="About Us"/></a></td><td style="padding-right:0px" title ="Contact Us">');
 }

 if (x == 7) {
  document.write('             <img src="gif/btpco1c_1.gif" width="73" height="25" border="0" alt="Contact Us"/></td><td style="padding-right:0px" title ="Links">');
 } else { 
  document.write('             <a href="contact_us.html" target="_self" onmouseover=\'xpe("pco1co");\' onmouseout=\'xpe("pco1cn");\'><img id="xpi_pco1c" src="gif/btpco1c_0.gif" name="vbpco1c" width="73" height="25" border="0" alt="Contact Us"/></a></td><td style="padding-right:0px" title ="Links">');
 }

 if (x == 8) {
  document.write('             <img src="gif/btoco1c_1.gif" width="43" height="25" border="0" alt="Links"/></td></tr></table>');
 } else { 
  document.write('             <a href="affiliated_websites.html" target="_self" onmouseover=\'xpe("oco1co");\' onmouseout=\'xpe("oco1cn");\'><img id="xpi_oco1c" src="gif/btoco1c_0.gif" name="vboco1c" width="43" height="25" border="0" alt="Links"/></a></td></tr></table>');
 }


 document.write('            </td>');
 document.write('           </tr>');
 document.write('          </table>');
 document.write('         </td>');
 document.write('        </tr>');
 document.write('       </table>');
 document.write('       <hr>');
 document.write('      </td>');
 document.write('     </tr>');
 document.write('     <tr>');
 document.write('      <td>');
 document.write('       <table width="100%" cellspacing="0" cellpadding="0" border="0" class="bodytable">');
 document.write('        <tr>');
 document.write('         <td>');
 document.write('          <br />');
 document.write('          <!-- START: BODY CONTENT //-->');
}


function fc() {
 document.write('          <!-- END: BODY CONTENT //-->');
 document.write('          <br />');
 document.write('         </td>');
 document.write('        </tr>');
 document.write('       </table>');
 document.write('      </td>');
 document.write('     </tr>');
 document.write('     <tr>');
 document.write('      <td>');
 document.write('       <table width="100%" cellspacing="0" cellpadding="0" border="0">');
 document.write('        <tr>');
 document.write('         <td>');
 document.write('          <hr>');
 document.write('          <table width="100%" cellspacing="0" cellpadding="0" border="0">');
 document.write('           <tr>');
 document.write('            <td>');
 document.write('             Medway School of Dancing<br />');
 document.write('             145 High Street<br />');
 document.write('             Tonbridge<br />');
 document.write('             Kent<br />');
 document.write('             TN9 1DH<br />');
 document.write('             <br />');
 document.write('             Page last updated: ');

 // Page last-updated code.
 var m = document.lastModified; 
 document.write(m.substring(3, 5) + ' / ' + m.substring(0, 2) + ' / ' + m.substring(6, 10));

 document.write('             <br />');
 document.write('            </td>');
 document.write('            <td valign="top" align="right">');
 document.write('             <a href="javascript:window.external.AddFavorite(\'http://www.medwayschoolofdance.co.uk/index.html\',\'Medway School of Dancing - Homepage\');">Add this site to your favourites</a> <span class="vruler">|</span> ');
 document.write('             <a href="mailto:medwaydance@btinternet.com">e-Mail</a>');
 document.write('             </td>');
 document.write('           </tr>');
 document.write('          </table>');
 document.write('         </td>');
 document.write('        </tr>');
 document.write('       </table>');
 document.write('      </td>');
 document.write('     </tr>');
 document.write('    </table>');
 document.write('   </td>');
 document.write('   <td class="mr" nowrap><br /></td>');
 document.write('  </tr>');
 document.write('  <tr>');
 document.write('   <td class="bl" nowrap><br /></td>');
 document.write('   <td class="bm" nowrap><br /></td>');
 document.write('   <td class="br" nowrap><br /></td>');
 document.write('  </tr>');
 document.write(' </table>');
 document.write('</p> ');
}

// EOF: page_dessing.js