/* DIV */
/* mdiv = document.createElement("div");
mdiv.className = "menu";
mdiv.id = "menu";
divmenu = document.getElementById("divmain");
divmenu.appendChild(mdiv); */

/* TABLE */
/* tabelaWmenu = document.createElement("table");
tabelaWmenu.className = "menu";
tabelaWmenu.id = "menutable";
tabelamenu = document.getElementById("menu");
tabelamenu.appendChild(tabelaWmenu); */

/* COLGROUP */
/* mcolgroup = document.createElement("colgroup");
mcolgroup.className = "menu";
mcolgroup.id = "menucolgroup";
mcolgroup.span = "span";
grupakolumnmenu = document.getElementById("menutable");
grupakolumnmenu.appendChild(mcolgroup); */

/* COL */
/* mcol = document.createElement("col");
mkolumna1 = document.getElementById("menucolgroup");
mkolumna1.appendChild(mcol);
mkolumna2 = document.getElementById("menucolgroup");
mkolumna2.appendChild(mcol);
mkolumna3 = document.getElementById("menucolgroup");
mkolumna3.appendChild(mcol);
mkolumna4 = document.getElementById("menucolgroup");
mkolumna4.appendChild(mcol); */

/* TBODY */
mtbody = document.createElement("tbody");
mtbody.id = "menutbody";
mtabelabody = document.getElementById("menutable");
mtabelabody.appendChild(mtbody); 

/* TR */
mtr = document.createElement("tr");
mtr.id = "menutr";
wierszmenu = document.getElementById("menutbody");
wierszmenu.appendChild(mtr);

/* Pierwsze TD */
mtd = document.createElement("td");
mtd.className = "menu";
mtd.title = "O firmie...";
mtd.id ="menutd1";
mkomorka1 = document.getElementById("menutr");
mkomorka1.appendChild(mtd);

/* Pierwsze A */
ma1 = document.createElement("a");
ma1.className = "menu";
ma1.id = "menua1";
ma1.href = "ofirmie.html";
ma1.onmouseover = przyciskAktywny1;
ma1.onmouseout = przyciskNieaktywny1; 
mkotwica1 = document.getElementById("menutd1");
mkotwica1.appendChild(ma1);

/* Pierwszy przycisk */
przycisk1 = document.createElement("img");
przycisk1.className = "noborder";
przycisk1.src = "grafika/przycisk-ofirmie-inactive.jpg";
przycisk1.id = "przycisk1";
przycisk1.title = "Informacje o firmie...";
przycisk1.alt =  "O firmie";
miejscePrzycisku1 = document.getElementById("menua1");
miejscePrzycisku1.appendChild(przycisk1);

/* Drugie TD */
mtd2 = document.createElement("td");
mtd2.className = "menu";
mtd2.title = "Bramy i ogrodzenia";
mtd2.id ="menutd2";
mkomorka2 = document.getElementById("menutr");
mkomorka2.appendChild(mtd2);

/* Drugie A */
ma2 = document.createElement("a");
ma2.href = "bramy.html";
ma2.className = "menu";
ma2.id = "menua2";
ma2.onmouseover = przyciskAktywny2;
ma2.onmouseout = przyciskNieaktywny2; 
mkotwica2 = document.getElementById("menutd2");
mkotwica2.appendChild(ma2);

/* Drugi przycisk */
przycisk2 = document.createElement("img");
przycisk2.className = "noborder";
przycisk2.src = "grafika/przycisk-ogrodzenia-inactive.jpg";
przycisk2.id = "przycisk2";
przycisk2.title = "Bramy i ogrodzenia...";
przycisk2.alt =  "Ogrodzenia";
miejscePrzycisku2 = document.getElementById("menua2");
miejscePrzycisku2.appendChild(przycisk2);

/* Trzecie TD */
mtd3 = document.createElement("td");
mtd3.className = "menu";
mtd3.title = "Lampy";
mtd3.id ="menutd3";
mkomorka3 = document.getElementById("menutr");
mkomorka3.appendChild(mtd3);

/* Trzecie A */
ma3 = document.createElement("a");
ma3.href = "lampy.html";
ma3.className = "menu";
ma3.id = "menua3";
ma3.onmouseover = przyciskAktywny3;
ma3.onmouseout = przyciskNieaktywny3; 
mkotwica3 = document.getElementById("menutd3");
mkotwica3.appendChild(ma3);

/* Trzeci przycisk */
przycisk3 = document.createElement("img");
przycisk3.className = "noborder";
przycisk3.src = "grafika/przycisk-lampy-inactive.jpg";
przycisk3.id = "przycisk3";
przycisk3.title = "Lampy...";
przycisk3.alt =  "Lampy";
miejscePrzycisku3 = document.getElementById("menua3");
miejscePrzycisku3.appendChild(przycisk3);

/* Czwarte TD */
mtd4 = document.createElement("td");
mtd4.className = "menu";
mtd4.title = "Ślusarstwo, konstrukcje spawane";
mtd4.id ="menutd4";
mkomorka4 = document.getElementById("menutr");
mkomorka4.appendChild(mtd4);

/* Czwarte A */
ma4 = document.createElement("a");
ma4.href = "slusarstwo.html";
ma4.className = "menu";
ma4.id = "menua4";
ma4.onmouseover = przyciskAktywny4;
ma4.onmouseout = przyciskNieaktywny4; 
mkotwica4 = document.getElementById("menutd4");
mkotwica4.appendChild(ma4);

/* Czwarty przycisk */
przycisk4 = document.createElement("img");
przycisk4.className = "noborder";
przycisk4.src = "grafika/przycisk-slusarstwo-inactive.jpg";
przycisk4.id = "przycisk4";
przycisk4.title = "Ślusarstwo, konstrukcje spawane...";
przycisk4.alt =  "Ślusarstwo";
miejscePrzycisku4 = document.getElementById("menua4");
miejscePrzycisku4.appendChild(przycisk4);

/* Piąte TD */
mtd5 = document.createElement("td");
mtd5.className = "menu";
mtd5.title = "Kontakt...";
mtd5.id ="menutd5";
mkomorka5 = document.getElementById("menutr");
mkomorka5.appendChild(mtd5);

/* Piąte A */
ma5 = document.createElement("a");
ma5.href = "kontakt.html";
ma5.className = "menu";
ma5.id = "menua5";
ma5.onmouseover = przyciskAktywny5;
ma5.onmouseout = przyciskNieaktywny5; 
mkotwica5 = document.getElementById("menutd5");
mkotwica5.appendChild(ma5);

/* Piąty przycisk */
przycisk5 = document.createElement("img");
przycisk5.className = "noborder";
przycisk5.src = "grafika/przycisk-kontakt-inactive.jpg";
przycisk5.id = "przycisk5";
przycisk5.title = "Kontakt, mapka dojazdu...";
przycisk5.alt =  "Kontakt";
miejscePrzycisku5 = document.getElementById("menua5");
miejscePrzycisku5.appendChild(przycisk5);

/* ZMIANA PRZYCISKÓW */
function przyciskNieaktywny1() 
{przycisk1.src = "grafika/przycisk-ofirmie-inactive.jpg";}
function przyciskAktywny1() 
{przycisk1.src = "grafika/przycisk-ofirmie-active.jpg";}

function przyciskNieaktywny2() 
{przycisk2.src = "grafika/przycisk-ogrodzenia-inactive.jpg";}
function przyciskAktywny2() 
{przycisk2.src = "grafika/przycisk-ogrodzenia-active.jpg";}

function przyciskNieaktywny3() 
{przycisk3.src = "grafika/przycisk-lampy-inactive.jpg";}
function przyciskAktywny3() 
{przycisk3.src = "grafika/przycisk-lampy-active.jpg";}

function przyciskNieaktywny4() 
{przycisk4.src = "grafika/przycisk-slusarstwo-inactive.jpg";}
function przyciskAktywny4() 
{przycisk4.src = "grafika/przycisk-slusarstwo-active.jpg";}

function przyciskNieaktywny5() 
{przycisk5.src = "grafika/przycisk-kontakt-inactive.jpg";}
function przyciskAktywny5() 
{przycisk5.src = "grafika/przycisk-kontakt-active.jpg";}



/* ====================================================
(c) Copyright by Robert Surma 2005.
All Rights Reserved. No part of this publication may be reproduced,
stored in a retrieval system, or transmitted, in any form or by any means,
electronic, mechanical, photocopying, recording or otherwise,
without the permission of Robert Surma, 3bird Projects Co.
Contact: 3bird.net
===================================================== */