function initTopNav()
{
sw = new Image;
img = new Array;
img[0] = new Image;

img[0].src = "../../images/fi/main/go_onm.gif";
}


function swap(num)
{
  eval('sw.src = document.images["img' + num + '"].src');
  eval('document.images["img' + num + '"].src = img[' + num + '].src');
  eval('img[' + num + '].src = sw.src');
}

 function DrawSearch() {
document.write("                  <table width='180' border='0' cellspacing='0' cellpadding='0'>");
document.write("                    <tr> ");
document.write("                      <td><span class='main1'><b>Haku</b></span></td>");
document.write("                    </tr>");
document.write("                    <tr> ");
document.write("                      <td>");
document.write("                        <table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("                          <tr>");
document.write("                            <td>");
document.write("                              <input type='text' name='textfield'>");
document.write("                            </td>");
document.write("                            <td align='right' valign='middle' width='35'><a href='#' onMouseOut=swap('0'); onMouseOver=swap('0')><img name='img0' img src='../../images/fi/main/go.gif' width='25' height='20' border='0'></a></td>");
document.write("                          </tr>");
document.write("                        </table>");
document.write("                      </td>");
document.write("                    </tr>");
document.write("                    <tr>");
document.write("                      <td align='left'><span class='main1'><b>Sivustokartta<img src='../../images/fi/main/spacer.gif' width='1' height='15'></b></span></td>");
document.write("                    </tr>");
document.write("                    <tr>");
document.write("                      <td>");
document.write("					      <select name='select' size='1' class='main'>");
document.write("                          <option selected>Eurux Corporate Site</option>");
document.write("                          <option>B2B Marketplace for Eur. SMEs</option>");
document.write("                          <option>Co-operation Marketplace</option>");
document.write("                          <option>Eurux Partners Site</option>");
document.write("                        </select>");
document.write("                        </td>");
document.write("                    </tr>");
document.write("                  </table>");
}

 function DrawMarhetplaceMore() {
document.write(" 					<tr> ");
document.write("                       <td colspan='5'>");
document.write("                         <table width='331' border='0' cellspacing='0' cellpadding='0'>");
document.write("                           <tr> ");
document.write("                             <td bgcolor='#FFA209' height='12' width='1'><img src='../../images/fi/main/spacer.gif' width='1' height='12'></td>");
document.write("                             <td height='9' width='219'><font color='#FFFFFF' size='1'><img src='../../images/fi/main/spacer.gif' width='219' height='9'></font></td>");
document.write("                             <td bgcolor='#FFA209' height='9' valign='middle' align='right' width='11'><a href='#'><font color='#FFFFFF' size='1'><font size='2'><img src='../../images/fi/main/more4.gif' width='111' height='9' border='0'></font></font></a></td>");
document.write("                           </tr>");
document.write("                         </table>");
document.write("                       </td>");
document.write("                     </tr>");
}

 function DrawCorporate_siteTop() {
document.write(" 					<tr>");
document.write("                       <td align='right' valign='top' width='387' height='15' bgcolor='#152890'><a href='../../fi/corporate_site/index.html'><img src='../../images/fi/main/toc2.gif' width='377' height='15' border='0' alt='Eurux Corporate Site'></a></td>");
document.write("                     </tr>");
}

 function DrawCorporate_siteMore() {
document.write("									<tr> ");
document.write("                                        <td height='7' bgcolor='#152890' width='1'><img src='../../images/fi/main/spacer.gif' width='1' height='7'></td>");
document.write("                                        <td height='7' width='60'><img src='../../images/fi/main/spacer.gif' width='60' height='7'></td>");
document.write("                                        <td height='7' bgcolor='#152890' width='69'><a href='../../fi/corporate_site/index.html'><img src='../../images/fi/main/more1.gif' width='69' height='7' border='0' alt='Eurux Corporate Site'></a></td>");
document.write("                                      </tr>");
}

 function DrawCooperationMore() {
document.write("<tr> ");
document.write("                                        <td height='7' bgcolor='#089D14' width='1'><img src='../../images/fi/main/spacer.gif' width='1' height='7'></td>");
document.write("                                        <td height='7' width='60'><img src='../../images/fi/main/spacer.gif' width='60' height='7'></td>");
document.write("                                        <td height='7' bgcolor='#089D14' width='69'><a href='#'><img src='../../images/fi/main/more2.gif' width='69' height='7' border='0'></a></td>");
document.write("                                      </tr>");
}

 function DrawPartners_siteMore() {
document.write("									<tr> ");
document.write("                                        <td height='7' bgcolor='#881C1C' width='1'><img src='../../images/fi/main/spacer.gif' width='1' height='7'></td>");
document.write("                                        <td height='7' width='60'><img src='../../images/fi/main/spacer.gif' width='60' height='7'></td>");
document.write("                                        <td height='7' bgcolor='#881C1C' width='69'><a href='../partners_site/index.html'><img src='../../images/fi/main/more3.gif' width='69' height='7' border='0'></a></td>");
document.write("                                      </tr>");
}

function DrawCopyright() {
document.write("			<tr align='center' valign='middle'> ");
document.write("                <td colspan='5'> <span class='main'><font color='#152890'>© Copyright 2001-2002 Eurux Oy. Kaikki oikeudet pidätetään. Päivitetty viimeksi 29.01.2003</font> ");
document.write("                  </span></td>");
document.write("              </tr>");
}
function Link (href) {
  window.location.href = href;
}        

function linkToMode (value)
{
  
  var href = value;
  //  
  //	only for IS 4     
  //  document.all("selMode").value;
  //

  alert (href);
  Link (href);
}
