function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
        store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
           switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end


function DuzeOkno(Grafika)
{

  var Okienko;

  Okienko=window.open("","subwindow","WIDTH=450, HEIGHT=390");
  Okienko.document.writeln("<html>");
  Okienko.document.writeln("<head>");
  Okienko.document.writeln("<title>SORTIMA</title>");
  Okienko.document.writeln("<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=Windows-1250'>");
  Okienko.document.writeln("<LINK REL='stylesheet' TYPE='text/css' HREF='style.css' TITLE='style'>");
  Okienko.document.writeln("</head>");
  Okienko.document.writeln("<body bgcolor='#E4E7E8'>");
  Okienko.document.writeln("<table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' style='border:1px solid #B3B3B3;'>");
  Okienko.document.writeln("<tr>"); 
  Okienko.document.writeln("<td class='tekst' valign='top' align='center'>");
  Okienko.document.writeln("<img src='images/puste.gif' width='1' height='10' border='0'/><br/>");
  Okienko.document.writeln("<a href='javascript:window.close()' class='szary'>zamknij</a><br/>");
  Okienko.document.writeln("<hr size='1' color='#B3B3B3' align='center' width='400'>");
  Okienko.document.writeln("</td>");
  Okienko.document.writeln("</tr>");
  Okienko.document.writeln("<tr>"); 
  Okienko.document.writeln("<td align='center' valign='top'><img src=" + Grafika + " border='0'><br/></td>");
  Okienko.document.writeln("</tr>");
  Okienko.document.writeln("</table>");
  Okienko.document.writeln("</body>");
  Okienko.document.writeln("</html>");
  Okienko.document.close();
  Okienko.focus();
}



/*
Otwieranie nowego okna
*/

  var Okienko;

function okno(plik){

if (Okienko!=null)
{
Okienko.close();
}
Okienko=window.open(plik,"okno1","width=650,height=500,scrollbars=yes,toolbar=no,menubar=no,location=no,resizable=no,screenX=10,screenY=10");
Okienko.focus();
}




function napisz() {
var zawartosc="\
    <table cellspacing=0 cellpadding=0 id=menu1 class=ddmx border=0 width=160>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=firma.html>O firmie<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            OFERTA<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
         <td align=left width=160>\
<div align=right><a class=item1 href=\"javascript:void(0)\">Papiery i kartony<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0><br>do krojowni ręcznych<img src=images/puste.gif width=26 height=1 border=0></a></div>\
            <div class=section>\
                <a class=item2 href=krojownie_reczne_karton.html>» Karton na szablony ręczne i do plotera</a>\
                <a class=item2 href=krojownie_reczne_plastik.html>» Plastik na szablony w rolkach i arkuszach</a>\
                <a class=item2 href=krojownie_reczne_przekladkowy.html>» Papier przekładkowy i do plisowania</a>\
                <a class=item2 href=krojownie_reczne_podkladowy.html>» Papier podkładowy</a>\
                <a class=item2 href=krojownie_reczne_termoprzylepny.html>» Papier termoprzylepny z siatką do rysunku ręcznego</a>\
                <a class=item2 href=krojownie_reczne_inne.html>» Inne do rysunku ręcznego</a>\
            </div>\
        </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
         <td align=left width=160>\
<div align=right><a class=item1 href=\"javascript:void(0)\">Papiery do ploterów<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0><br>pełnoformatowych<img src=images/puste.gif width=26 height=1 border=0></a></div>\
            <div class=section>\
                <a class=item2 href=pelnoformatowe_papier_klej.html>» Papier termoprzylepny (z klejem)</a>\
                <a class=item2 href=pelnoformatowe_papier.html>» Papier bez kleju</a>\
            </div>\
        </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
         <td align=left width=160>\
<div align=right><a class=item1 href=\"javascript:void(0)\">Papiery do ploterów<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0><br>graficznych<img src=images/puste.gif width=26 height=1 border=0></a></div>\
            <div class=section>\
                <a class=item2 href=graficzne_oce_hp.html>» Papier do ploterów OCE i HP</a>\
            </div>\
        </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
         <td align=left width=160>\
<div align=right><a class=item1 href=\"javascript:void(0)\">Papiery i folia do cuttera<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a></div>\
            <div class=section>\
                <a class=item2 href=cutter_papier_perforowany.html>» Papier perforowany</a>\
                <a class=item2 href=cutter_folia.html>» Folia 100% HDPE, antystatyczna</a>\
            </div>\
        </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=wspolpraca.html>Współpraca<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=doradztwo.html>Doradztwo techniczne<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=akcesoria.html>Akcesoria<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=warto.html>Warto wiedzieć<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160 class=szary>\
            <a class=szary href=kontakt.html>Kontakt<img src=images/puste.gif width=15 height=1 border=0><img src=arrow.gif border=0></a>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/kropki.gif border=0><br>\
         </td>\
    </tr>\
    <tr>\
        <td align=right width=160>\
            <img src=images/puste.gif width=1 height=3 border=0><br>\
            <img src=images/kwadraty.gif border=0><br>\
         </td>\
    </tr>\
</table>\
"
document.write(zawartosc)
}




//ikonki

var ikonki = "\
<table width=\"225\" height=\"34\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"right\" valign=\"top\" bgcolor=\"#3D637D\">\
<tr>\
<td width=\"75\" height=\"34\" align=\"center\" valign=\"bottom\">\
<a href=\"index.html\" class=\"ikonki\"><img src=\"images/domek.gif\" title=\"\" border=\"0\"/><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"2\" border=\"0\"/><br/>\
home</a><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"6\" border=\"0\"/><br/>\
</td>\
<td width=\"75\" height=\"34\" align=\"center\" valign=\"bottom\">\
<a href=\"mailto:sortima@sortima.com.pl\" class=\"ikonki\"><img src=\"images/koperta.gif\" title=\"\" border=\"0\"/><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"2\" border=\"0\"/><br/>\
kontakt</a><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"6\" border=\"0\"/><br/>\
</td>\
<td width=\"75\" height=\"34\" align=\"center\" valign=\"bottom\">\
<a href=\"mapa.html\" class=\"ikonki\"><img src=\"images/ksiazka.gif\" title=\"\" border=\"0\"/><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"2\" border=\"0\"/><br/>\
mapa</a><br/>\
<img src=\"images/puste.gif\" width=\"1\" height=\"6\" border=\"0\"/><br/>\
</td>\
</tr>\
</table>\
"



//stopka

var stopka = "\
<table width=\"980\" height=\"86\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" valign=\"top\" background=\"images/tlo_stopka.jpg\">\
<tr>\
<td width=\"220\" height=\"86\" align=\"center\" valign=\"top\">\
<img src=\"images/puste.gif\" width=\"1\" height=\"1\" border=\"0\"/><br/>\
</td>\
<td width=\"540\" height=\"86\" align=\"center\" valign=\"top\" class=\"ibe\">\
<div align=\"center\" style=\"margin-top:20px;\">\
<a href=\"firma.html\" class=\"ibe\">O firmie</a> | <a href=\"krojownie_reczne_karton.html\" class=\"ibe\">Oferta</a> | <a href=\"wspolpraca.html\" class=\"ibe\">Współpraca</a> | <a href=\"doradztwo.html\" class=\"ibe\">Doradztwo</a> | <a href=\"akcesoria.html\" class=\"ibe\">Akcesoria</a> | <a href=\"warto.html\" class=\"ibe\">Warto wiedzieć</a> | <a href=\"kontakt.html\" class=\"ibe\">Kontakt</a></div>\
</td>\
<td width=\"220\" height=\"86\" valign=\"top\">\
<div class=\"ibe\" style=\"text-align:right; margin-right:10px; margin-top:55px;\">\
Wykonanie: IBE<br/>\
<a href=\"http://www.ibe.pl\" class=\"ibe\" target=\"_blank\">Tworzenie stron internetowych</a></div>\
</td>\
</tr>\
</table>\
"


