﻿/**************************************************************************************************
 *
 *     Autor: Copyright (C) 2010  Marek Sienczak
 *     Email: support@hashcodes.com
 *  Homepage: http://hashcodes.com
 *
 */
//document.writeln('  <div id="fb-root"></div>');
//document.writeln('  <script type="text/javascript">');
//document.writeln('    (function (d, s, id) {');
//document.writeln('        var js, fjs = d.getElementsByTagName(s)[0];');
//document.writeln('        if (d.getElementById(id)) { return; }');
//document.writeln('        js = d.createElement(s); js.id = id;');
//document.writeln('        js.src = "//connect.facebook.net/' + langID + '/all.js#xfbml=1";');
//document.writeln('        fjs.parentNode.insertBefore(js, fjs);');
//document.writeln('    } (document, "script", "facebook-jssdk"));');
//document.writeln('  </script>');

document.writeln('  <table cellpadding="0" cellspacing="0" width="100%" border="0" style="background-image:url(http://hashcodes.com/images/top.jpg); background-repeat:repeat-x;">');
document.writeln('    <tr>');
document.writeln('      <td valign="top" align="center">');
document.writeln('        <!-- Here start the title -->');
document.writeln('        <table border="0" cellpadding="0" cellspacing="0" style="width: 900px">');
document.writeln('          <tr>');
document.writeln('            <td><img src="http://hashcodes.com/images/title.jpg" width="300px" height="120px" alt="Hash Codes" /></td>');
//document.writeln('            <td style="text-align:left; vertical-align:bottom; padding:0 0 25px 30px;"><div class="fb-like" data-href="http://hashcodes.com/downloads.html" layout="button_count" data-send="false" data-width="400" data-show-faces="false"></div></td>'); //<img src="http://hashcodes.com/images/spacer.gif" width="300px" height="1px" alt="" /></td>');
document.writeln('            <td><img src="http://hashcodes.com/images/spacer.gif" width="400px" height="1px" alt="" /></td>');
document.writeln('            <td style="text-align:right; vertical-align:bottom; width:200px; padding:0 25px 30px 0;">');
document.writeln('              <a class="image" href="' + strHRef + '" style="color:#aaaaaa; border-right: dotted 1px #cccccc; padding-right:15px;">' + strLang + '</a></td>');
document.writeln('          </tr>');
document.writeln('        </table>');
document.writeln('        <!-- Here end the title -->');
document.writeln('        <!-- Here start the menu -->');
document.writeln('        <table border="0" cellpadding="0" cellspacing="0" style="width: 900px; height:45px;">');
document.writeln('          <tr>');

preloadImages();

for (i = 0; i < asMenu.length; i += 3) {

document.writeln('            <td>');
document.writeln('              <a href="' + asMenu[i+1] + '" class="image"');
document.writeln('				onmouseover="changeImages(\'' + asMenu[i] + '\', \'images/' + asMenu[i] + '-over.jpg\'); return true;"');
document.writeln('				onmouseout="changeImages(\'' + asMenu[i] + '\', \'images/' + asMenu[i] + '.jpg\'); return true;">');
document.writeln('				<img name="' + asMenu[i] + '" src="images/' + asMenu[i] + '.jpg" width="150" height="45" border="0" alt="' + asMenu[i+2] + '" /></a>');
document.writeln('            </td>');
    
}

document.writeln('          </tr>');
document.writeln('        </table>');
document.writeln('        <!-- Here end the menu -->');
document.writeln('      </td>');
document.writeln('    </tr>');
document.writeln('  </table>');
  
document.writeln('  <table cellpadding="0" cellspacing="0" width="100%" border="0">');
document.writeln('    <tr>');
document.writeln('      <td valign="top" align="center">');
document.writeln('        <!-- Here start the banner -->');
document.writeln('        <table border="0" cellpadding="0" cellspacing="0" style="width: 900px">');
document.writeln('          <tr>');
document.writeln('            <td><img src="http://hashcodes.com/images/banner.jpg" width="900px" height="175px" alt="Banner" /></td>');
document.writeln('          </tr>');
document.writeln('        </table>');
document.writeln('        <!-- Here end the banner -->');
document.writeln('      </td>');
document.writeln('    </tr>');
document.writeln('  </table>');

