640

ID640
Data2011-08-04
Symbol2011/08/04/640
InstytucjaMinisterstwo Gospodarki
NazwaCEIDG-1 Wniosek o wpis do centralnej ewidencji i informacji o dzialalności gospodarczej
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2005/64/565
  • Ustawa z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne (Dz. U. z 2005 r. Nr 64, poz. 565, z późn. zm.)

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:wnio="http://crd.gov.pl/wzor/2011/08/04/640/">
    	<xsl:output version="4.0" method="html" indent="yes" encoding="UTF-8"/>
    	<xsl:template match="/">
    		<html>
    			<head>
    				<title>
    					<xsl:text>Formularz CEIDG-1</xsl:text>
    				</title>
    				<style type="text/css">
    					<xsl:text>            
                   body { font-family:Arial, Helvetica, sans-serif; font-size: 9pt;}
                   table { border-collapse:collapse; width: 100%; }
                   table TR TD { padding:1px; vertical-align:top; border: 1px solid black; font-size: 9pt; }
                   ol { margin-top: 0px; margin-bottom: 0px; }
                   .field { font-weight: bold; font-size: 11pt; }
                   .maintable TR TD { border: 2px solid black; border-top: none; }
                   .innertable { page-break-inside: avoid; }
                   .innertable TR TD { border: none; }
                    .empty { height: 30px; }
                   .header { font-size: 9pt; font-weight: bold; padding-left: 2px; }
                   .description { font-size: 7pt;font-weight:normal; }
                   .info tr td { text-align:center; vertical-align:middle; font-size: 8pt; }
                   .nopadding {padding: 0px;}
                   .innertable .brdright { border-right: 1px solid black; } 
                   .innertable .brdbottom { border-bottom: 1px solid black; }
                   .innertable .brdtop { border-top: 1px solid black; }
                   .check { width: 10px; height: 10px; font-size: 7pt; text-align: center; font-weight: bold; border: 1px solid black; display: inline-block; margin-right: 2px; margin-left: 2px; }
                   <!--[if IE]>
                   .check { display:inline; }
                   <![endif]-->               
                   </xsl:text>
    				</style>
    				<xsl:comment><![CDATA[[if IE]>
    				<style type="text/css">
    					.check { display:inline; }
    				</style>
    				<![endif]]]></xsl:comment>
    			</head>
    			<body>
    				<xsl:apply-templates select="wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc"/>
    			</body>
    		</html>
    	</xsl:template>
    	<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
    		<xsl:comment>
    			***** WARTOŚĆ *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding" style="border-top: 2px solid black;">
    					<table class="innertable info">
    						<tr>
    							<td colspan="2" class="brdbottom" style="font-size: 11pt;font-weight: bold;">
    								<xsl:text>CEIDG-1 WNIOSEK O WPIS DO CENTRALNEJ EWIDENCJI I INFORMACJI</xsl:text>
    								<br/>
    								<xsl:text>O DZIAŁALNOŚCI GOSPODARCZEJ</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" class="brdbottom">
    								<xsl:text>Wniosek ten stanowi jednocześnie zgłoszenie do ZUS/KRUS, GUS oraz naczelnika urzędu skarbowego</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" class="brdbottom">
    								<xsl:text>Wniosek dotyczy osoby fizycznej podlegającej wpisowi do Centralnej Ewidencji i Informacji o Działalności Gospodarczej (CEIDG)</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdbottom brdright">
    								<xsl:text>Wniosek dotyczy również aktualizacji danych nieobjętych wpisem do CEIDG</xsl:text>
    							</td>
    							<td rowspan="2" style="width:170px;height:40px;">
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright">
    								<xsl:text>Przed wypełnieniem należy zapoznać się z instrukcją</xsl:text>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    		<table class="maintable">
    			<tr>
    				<td width="50%">
    					<table class="innertable">
    						<tr>
    							<td class="header brdbottom">01. Rodzaj Wniosku:</td>
    						</tr>
    						<tr>
    							<td style="font-size:8pt;">
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajWniosku[string(.)='1']) &gt; 0">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>1 - wniosek o wpis do CEIDG</xsl:text>
    								<br/>
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajWniosku[string(.)='2']) &gt; 0">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>2 - wniosek o zmianę wpisu w CEIDG. Data powstania zmiany (RRRR-MM-DD): </xsl:text>
    								<span field="DataPowstaniaZmiany">
    									<xsl:value-of select="wnio:DataPowstaniaZmiany/meta:Czas"/>
    								</span>
    								<br/>
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajWniosku[string(.)='3']) &gt; 0">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>3 - wniosek o wpis informacji o zawieszeniu działalności gospodarczej</xsl:text>
    								<br/>
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajWniosku[string(.)='4']) &gt; 0">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>4 - wniosek o wpis informacji o wznowieniu działalności gospodarczej</xsl:text>
    								<br/>
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajWniosku[string(.)='5']) &gt; 0">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>5 - wniosek o wykreślenie wpisu w CEIDG</xsl:text>
    							</td>
    						</tr>
    					</table>
    				</td>
    				<td width="50%">
    					<table class="innertable">
    						<tr>
    							<td class="header brdbottom">
    								<span>02. Miejsce i data złożenia wniosku</span>
    								<span style="font-weight:normal;"> (wypełnia urząd):</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdbottom" style="font-size:8pt;">
    								<b>02.1.</b>
    								<xsl:text> Nazwa urzędu, w którym składany jest wniosek:</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdbottom" style="padding-top:5px; padding-bottom: 5px;">
    								<xsl:apply-templates select="wnio:MiejsceZlozeniaWniosku"/>
    							</td>
    						</tr>
    						<tr>
    							<td style="font-size:8pt; height: 16px;">
    								<div>
    									<b>02.2.</b>
    									<xsl:text> Data złożenia wniosku:</xsl:text>
    								</div>
    								<span class="field" field="DataZlozeniaWniosku">
    									<xsl:value-of select="substring(wnio:DataZlozeniaWniosku/meta:Czas,1,10)"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    		<xsl:apply-templates select="wnio:Wnioskodawca"/>
    		<xsl:choose>
    			<xsl:when test="count(wnio:WpisDoEwidencji) &gt; 0">
    				<xsl:apply-templates select="wnio:WpisDoEwidencji"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustyWpisDoEwidencji"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:Pelnomocnictwa/wnio:Pelnomocnictwo) &gt; 0">
    				<xsl:apply-templates select="wnio:Pelnomocnictwa"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustePelnomocnictwa"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<table class="maintable" style="font-size:0.9em;">
    			<tr>
    				<td width="50%" style="vertical-align:bottom;height:60px;text-align:center;">Miejscowość i data złożenia wniosku</td>
    				<td width="50%" style="vertical-align:bottom;height:60px;text-align:center;">Własnoręczny podpis wnioskodawcy/pełnomocnika</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:MiejsceZlozeniaWniosku">
    		<xsl:comment>
    			***** MIEJSCE ZŁOŻENIA WNIOSKU *****
    		</xsl:comment>
    		<span class="field" field="MiejsceZlozeniaWnioskuNazwaInstytucji">
    			<xsl:value-of select="inst:NazwaInstytucji"/>
    		</span>
    		<br/>
    		<span class="field" field="MiejsceZlozeniaWnioskuAdres">
    			<xsl:value-of select="adr:Adres/adr:KodPocztowy"/>
    			<xsl:text> </xsl:text>
    			<xsl:value-of select="adr:Adres/adr:Miejscowosc"/>
    			<xsl:for-each select="adr:Adres/adr:Ulica">
    				<xsl:text>, </xsl:text>
    				<xsl:value-of select="."/>
    			</xsl:for-each>
    			<xsl:text> </xsl:text>
    			<xsl:value-of select="adr:Adres/adr:Budynek"/>
    		</span>
    	</xsl:template>
    	<xsl:template match="wnio:Wnioskodawca">
    		<xsl:comment>
    			***** WNIOSKODAWCA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="3" class="brdbottom header">
    								<xsl:choose>
    									<xsl:when test="count(wnio:DaneWnioskodawcy/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:DaneWnioskodawcy/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>03. Dane wnioskodawcy:</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td rowspan="2" class="brdbottom" style="vertical-align: middle; width: 60px;">
    								<span class="description">1. Płeć:</span>
    							</td>
    							<td rowspan="2" class="brdright brdbottom" style="vertical-align: middle; width: 80px;">
    								<span class="description">Kobieta</span>
    								<span field="DaneWnioskodawcyPlec">
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Plec = 'K'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    								</span>
    								<br/>
    								<span class="description">Mężczyzna</span>
    								<span field="DaneWnioskodawcyPlec">
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Plec = 'M'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    								</span>
    							</td>
    							<td class="brdbottom">
    								<span class="description">2a. Rodzaj dokumentu tożsamości:</span>
    								<br/>
    								<span class="description" style="font-size: 8pt;"> Dowód osobisty</span>
    								<span field="DaneWnioskodawcyRodzajDokumentuTozsamosci">
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:DokumentTozsamosci/wnio:Rodzaj = 'dowód osobisty'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    								</span>
    								<span class="description" style="margin-left: 15px; font-size: 8pt;">Paszport</span>
    								<span field="DaneWnioskodawcyRodzajDokumentuTozsamosci">
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:DokumentTozsamosci/wnio:Rodzaj = 'paszport'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    								</span>
    								<span class="description" style="margin-left: 15px; font-size: 8pt;">Inny</span>
    								<span field="DaneWnioskodawcyRodzajDokumentuTozsamosci">
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:DokumentTozsamosci/wnio:Rodzaj = 'inny'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<span class="description" style="font-size: 8pt;">, podać jaki:</span>
    									<span class="field" field="DaneWnioskodawcyNumerDokumentuTozsamosci">
    										<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:DokumentTozsamosci/wnio:Nazwa"/>
    									</span>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdbottom">
    								<span class="description">2b. Seria i nr dokumentu tożsamości:</span>
    								<span class="field" field="DaneWnioskodawcyNumerDokumentuTozsamosci">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:DokumentTozsamosci/wnio:Numer"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td class="brdright brdbottom">
    								<span class="description">3. PESEL:</span>
    								<span class="field" field="DaneWnioskodawcyPESEL">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:PESEL"/>
    								</span>
    								<br/>
    								<span class="description">Nie posiadam numeru PESEL</span>
    								<xsl:choose>
    									<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/@brakPESEL = '1'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="brdright brdbottom">
    								<span class="description">4. NIP:</span>
    								<span class="field" field="DaneWnioskodawcyNIP">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:NIP"/>
    								</span>
    								<br/>
    								<span class="description">Nie posiadam numeru NIP</span>
    								<xsl:choose>
    									<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/@brakNIP='1'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="brdbottom">
    								<span class="description">5. REGON:</span>
    								<span class="field" field="DaneWnioskodawcyREGON">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Identyfikatory/wnio:REGON"/>
    								</span>
    								<br/>
    								<span class="description">Nie posiadam numeru REGON</span>
    								<xsl:choose>
    									<xsl:when test="wnio:DaneWnioskodawcy/wnio:Identyfikatory/@brakREGON='1'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td width="50%" class="brdright brdbottom">
    								<span class="description">6. Nazwisko:</span>
    								<span class="field" field="DaneWnioskodawcyNazwisko">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Nazwisko"/>
    								</span>
    							</td>
    							<td width="50%" class="brdbottom">
    								<span class="description">7. Imię pierwsze:</span>
    								<span class="field" field="DaneWnioskodawcyImie">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Imie"/>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright brdbottom">
    								<span class="description">8. Nazwisko rodowe:</span>
    								<span class="field" field="DaneWnioskodawcyNazwiskoRodowe">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:NazwiskoRodowe"/>
    								</span>
    							</td>
    							<td width="50%" class="brdbottom">
    								<span class="description">9. Imię drugie: </span>
    								<span class="field" field="DaneWnioskodawcyImieDrugie">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:ImieDrugie"/>
    								</span>
    								<br/>
    								<span class="description" style="font-size: 5pt;margin-left:8px;">(o ile posiada)</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright brdbottom">
    								<span class="description">10. Imię ojca:</span>
    								<span class="field" field="DaneWnioskodawcyImieOjca">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:ImieOjca"/>
    								</span>
    							</td>
    							<td width="50%" class="brdbottom">
    								<span class="description">11. Imię matki:</span>
    								<span class="field" field="DaneWnioskodawcyImieMatki">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:ImieMatki"/>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright brdbottom">
    								<span class="description">12. Miejsce urodzenia:</span>
    								<span class="field" field="DaneWnioskodawcyMiejsceUrodzenia">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:MiejsceUrodzenia"/>
    								</span>
    							</td>
    							<td width="50%" rowspan="2" class="brdbottom">
    								<span class="description">13. Data urodzenia (RRRR-MM-DD):</span>
    								<span class="field" field="DaneWnioskodawcyDataUrodzenia">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:DataUrodzenia/meta:Czas"/>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright brdbottom">
    								<div>
    									<span class="description">14. Posiadane obywatelstwa:</span>
    									<span>    </span>
    									<xsl:choose>
    										<xsl:when test="count(wnio:DaneWnioskodawcy/wnio:PosiadaneObywatelstwa/wnio:Obywatelstwo[text() = 'PL']) &gt; 0">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<span class="description"> polskie</span>
    								</div>
    								<div>
    									<span class="description"> Inne:</span>
    									<span class="field" field="DaneWnioskodawcyObywatelstwa">
    										<xsl:for-each select="wnio:DaneWnioskodawcy/wnio:PosiadaneObywatelstwa/wnio:Obywatelstwo">
    											<xsl:if test=". != 'PL'">
    												<xsl:apply-templates select="."/>
    												<xsl:if test="not(position()=last())">
    													<xsl:text>, </xsl:text>
    												</xsl:if>
    											</xsl:if>
    										</xsl:for-each>
    									</span>
    								</div>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" style="padding: 2px; font-size: 0.7em;"> 15. Zgodnie z art. 233 §6 ustawy z dnia 6 czerwca 1997 r. - Kodeks karny (Dz.U. Nr 88, poz. 533 z późn.zm.) osoba, która składa fałszywe oświadczenie i została
    								uprzedzona o odpowiedzialności karnej za złożenie fałszywego oświadczenia, podlega karze pozbawienia wolności do lat 3. Uprzedzony o odpowiedzialności karnej z art. 233 §6 Kodeksu karnego,
    								oświadczam, iż wobec osoby, której dotyczy niniejszy wniosek, nie orzeczono prawomocnie zakazów, o których mowa w art. 25 ust. 1 pkt 16-18 ustawy z dnia 2 lipca 2004 r. o swobodzie
    								działalności gospodarczej w zakresie działalności gospodarczej objętej wpisem w Centralnej Ewidencji i Informacji o Działalności Gospodarczej.</td>
    						</tr>
    						<tr>
    							<td class="brdbottom" style="padding: 2px; font-size: 0.7em; text-align:center;">
    								<xsl:choose>
    									<xsl:when test="wnio:Oswiadczenia/wnio:BrakZakazuDzialalnosciGospodarczej = '1'">
    										<span class="field" style="font-weight: normal;font-size: 1em;">
    											<xsl:call-template name="checkon"/>
    											<span> - tak, składam oświadczenie</span>
    										</span>
    									</xsl:when>
    									<xsl:otherwise>
    										<span class="field" style="font-weight: normal;font-size: 1em;">
    											<xsl:call-template name="checkoff"/>
    											<span> - tak, składam oświadczenie</span>
    										</span>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="brdbottom" style="padding: 2px; font-size: 0.7em;text-align:center;">
    								<xsl:choose>
    									<xsl:when test="(wnio:Oswiadczenia/wnio:BrakZakazuDzialalnosciGospodarczej = '1') or (count(wnio:Oswiadczenia) = 0)">
    										<span class="field" style="font-weight: normal;font-size: 1em;">
    											<xsl:call-template name="checkoff"/>
    											<span> - nie składam oświadczenia</span>
    										</span>
    									</xsl:when>
    									<xsl:otherwise>
    										<span class="field" style="font-weight: normal;font-size: 1em;">
    											<xsl:call-template name="checkon"/>
    											<span> - nie składam oświadczenia</span>
    										</span>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td colspan="3" class="brdbottom">
    								<div>
    									<b>03.1.</b>
    									<xsl:text> Jestem cudzoziemcem, o którym mowa w art. 13 ust. 2 </xsl:text>
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Status = '2'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<xsl:text>, ust. 4 </xsl:text>
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Status = '4'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<xsl:text>, ust. 5 </xsl:text>
    									<xsl:choose>
    										<xsl:when test="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Status = '5'">
    											<xsl:call-template name="checkon"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<xsl:text> ustawy o swobodzie działalności gospodarczej. </xsl:text>
    								</div>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="3" class="brdbottom">
    								<div>
    									<b>03.2.</b>
    									<xsl:text> Dane dokumentu potwierdzającego status cudzoziemca: </xsl:text>
    								</div>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright" style="width:25%;">
    								<span class="description">1. Data wydania dokumentu (RRRR-MM-DD):</span>
    								<br/>
    								<span class="field" field="IdentyfikatorCudzoziemcaDataWydania">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Identyfikator/wnio:DataWydania/meta:Czas"/>
    								</span>
    							</td>
    							<td class="brdright" style="width:25%;">
    								<span class="description">2. Sygnatura dokumentu:</span>
    								<br/>
    								<span class="field" field="IdentyfikatorCudzoziemcaSygnatura">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Identyfikator/wnio:Sygnatura"/>
    								</span>
    							</td>
    							<td style="width:50%;">
    								<span class="description">3. Organ wydający dokument:</span>
    								<br/>
    								<span class="field" field="IdentyfikatorCudzoziemcaOrgan">
    									<xsl:value-of select="wnio:DaneWnioskodawcy/wnio:Cudzoziemiec/wnio:Identyfikator/wnio:OrganWydajacy"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:choose>
    						<xsl:when test="count(wnio:AdresZamieszkania) &gt; 0">
    							<xsl:apply-templates select="wnio:AdresZamieszkania"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PustyAdresZamieszkania"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:choose>
    						<xsl:when test="count(wnio:AdresZameldowania) &gt; 0">
    							<xsl:apply-templates select="wnio:AdresZameldowania"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PustyAdresZameldowania"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:AdresZamieszkania">
    		<xsl:comment>
    			***** ADRES ZAMIESZKANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header">04. Adres miejsca zamieszkania wnioskodawcy:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">1. Kraj:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaKraj">
    						<xsl:value-of select="adr:Kraj"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">2. Województwo:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">3. Powiat:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td style="width:34%;" class="brdbottom">
    					<span class="description">4. Gmina:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Miejscowość:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">6. Ulica:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">8. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">9. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="3">
    					<span class="description">10. Poczta:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="">
    					<span class="description">11. Opis nietypowego miejsca:</span>
    					<br/>
    					<span class="field" field="AdresZamieszkaniaUwagi">
    						<xsl:value-of select="adr:Uwagi"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyAdresZamieszkania">
    		<xsl:comment>
    			***** PUSTY ADRES ZAMIESZKANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:call-template name="checkoff"/>
    					<span class="header">
    						<xsl:text>04. Adres miejsca zamieszkania wnioskodawcy:</xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">1. Kraj:</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">2. Województwo:</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">3. Powiat:</span>
    				</td>
    				<td style="width:34%;" class="brdbottom empty">
    					<span class="description">4. Gmina:</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">6. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">8. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">9. Kod pocztowy:</span>
    				</td>
    				<td class="brdbottom empty" colspan="3">
    					<span class="description">10. Poczta:</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="empty">
    					<span class="description">11. Opis nietypowego miejsca:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:AdresZameldowania">
    		<xsl:comment>
    			***** ADRES ZAMELDOWANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header">
    						<xsl:text>05. Adres miejsca zameldowania wnioskodawcy </xsl:text>
    					</span>
    					<span class="description">(jeśli inny niż w rubryce 04):</span>
    					<span style="margin-left:50px;">brak miejsca zameldowania</span>
    					<xsl:choose>
    						<xsl:when test="count(@brakAdresuZameldowania) &gt; 0">
    							<xsl:apply-templates select="@brakAdresuZameldowania" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">1. Województwo:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">2. Powiat:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="2">
    					<span class="description">3. Gmina:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">4. Miejscowość:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Ulica:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">7. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright ">
    					<span class="description">8. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td class="" colspan="3">
    					<span class="description">9. Poczta:</span>
    					<br/>
    					<span class="field" field="AdresZameldowaniaPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyAdresZameldowania">
    		<xsl:comment>
    			***** PUSTY ADRES ZAMELDOWANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:call-template name="checkoff"/>
    					<span class="header">
    						<xsl:text>05. Adres miejsca zameldowania wnioskodawcy </xsl:text>
    					</span>
    					<span class="description">(jeśli inny niż w rubryce 04):</span>
    					<span style="margin-left:50px;">brak miejsca zameldowania</span>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">1. Województwo:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">2. Powiat:</span>
    				</td>
    				<td class="brdbottom empty" colspan="2">
    					<span class="description">3. Gmina:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">4. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">7. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright  empty">
    					<span class="description">8. Kod pocztowy:</span>
    				</td>
    				<td class=" empty" colspan="3">
    					<span class="description">9. Poczta:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:WpisDoEwidencji">
    		<xsl:comment>
    			***** WPIS DO EWIDENCJI *****
    		</xsl:comment>
    		<xsl:choose>
    			<xsl:when test="count(wnio:EwidencjaGospodarcza) &gt; 0">
    				<xsl:apply-templates select="wnio:EwidencjaGospodarcza"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustaEwidencjaGospodarcza"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:RejestrUbezpieczeniowy) &gt; 0">
    				<xsl:apply-templates select="wnio:RejestrUbezpieczeniowy"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustyRejestrUbezpieczeniowy"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:ZawieszenieDzialalnosci) &gt; 0">
    				<xsl:apply-templates select="wnio:ZawieszenieDzialalnosci"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PusteZawieszenie"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:WznowienieDzialalnosci) &gt; 0">
    				<xsl:apply-templates select="wnio:WznowienieDzialalnosci"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PusteWznowienie"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:ZaprzestanieDzialalnosci) &gt; 0">
    				<xsl:apply-templates select="wnio:ZaprzestanieDzialalnosci"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PusteZaprzestanie"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:DokumentacjaRachunkowa) &gt; 0">
    				<xsl:apply-templates select="wnio:DokumentacjaRachunkowa"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustaDokumentacjaRachunkowa"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
    	<xsl:template name="PustyWpisDoEwidencji">
    		<xsl:comment>
    			***** PUSTY WPIS DO EWIDENCJI *****
    		</xsl:comment>
    		<xsl:call-template name="PustaEwidencjaGospodarcza"/>
    		<xsl:call-template name="PustyRejestrUbezpieczeniowy"/>
    		<xsl:call-template name="PusteZawieszenie"/>
    		<xsl:call-template name="PusteWznowienie"/>
    		<xsl:call-template name="PusteZaprzestanie"/>
    		<xsl:call-template name="PustaDokumentacjaRachunkowa"/>
    	</xsl:template>
    	<xsl:template match="wnio:EwidencjaGospodarcza">
    		<xsl:comment>
    			***** EWIDENCJA GOSPODARCZA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="2" class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(wnio:FirmaPrzedsiebiorcy/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:FirmaPrzedsiebiorcy/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">
    									<xsl:text>06. Firma przedsiębiorcy, którego wniosek dotyczy: </xsl:text>
    								</span>
    								<div style="padding-left:20px; margin-top:3px;">
    									<span class="field" field="FirmaPrzedsiebiorcy">
    										<xsl:value-of select="wnio:FirmaPrzedsiebiorcy"/>
    									</span>
    								</div>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:50%;" class="brdright brdbottom">
    								<div style="font-size:0.9em;">
    									<xsl:choose>
    										<xsl:when test="count(wnio:LiczbaPracujacych/@modyfikacja) &gt; 0">
    											<xsl:apply-templates select="wnio:LiczbaPracujacych/@modyfikacja" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<b>06.1.</b>
    									<xsl:text> Przewidywana liczba pracujących: </xsl:text>
    									<span class="field" field="LiczbaPracujacych">
    										<xsl:value-of select="wnio:LiczbaPracujacych"/>
    									</span>
    								</div>
    							</td>
    							<td style="width:50%;" class="brdbottom">
    								<div style="font-size:0.9em;">
    									<xsl:choose>
    										<xsl:when test="count(wnio:LiczbaZatrudnionych/@modyfikacja) &gt; 0">
    											<xsl:apply-templates select="wnio:LiczbaZatrudnionych/@modyfikacja" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<b>06.2.</b>
    									<xsl:text> Przewidywana liczba zatrudnionych: </xsl:text>
    									<span class="field" field="LiczbaZatrudnionych">
    										<xsl:value-of select="wnio:LiczbaZatrudnionych"/>
    									</span>
    								</div>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td colspan="4" class="brdright brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header" style="font-size:0.9em;">
    									<xsl:text>06.3. Rodzaje działalności gospodarczej  </xsl:text>
    									<span class="description">symbol (5-znakowy) wg PKD 2007</span>
    								</span>
    							</td>
    							<td colspan="2" style="width:33%;" class="brdbottom">
    								<span class="header" style="font-weight: normal; font-size:0.9em;">Przeważający:</span>
    								<div>
    									<xsl:choose>
    										<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej) &gt; 0">
    											<xsl:choose>
    												<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy/@modyfikacja) &gt; 0">
    													<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy/@modyfikacja" mode="check"/>
    												</xsl:when>
    												<xsl:otherwise>
    													<xsl:call-template name="checkoff"/>
    												</xsl:otherwise>
    											</xsl:choose>
    											<xsl:text> 1. </xsl:text>
    											<span class="field" field="PKD2007">
    												<xsl:value-of select="wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy"/>
    											</span>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    											<xsl:text> 1.</xsl:text>
    										</xsl:otherwise>
    									</xsl:choose>
    								</div>
    							</td>
    						</tr>
    						<xsl:choose>
    							<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej) &gt; 0">
    								<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="PusteRodzajeDzialalnosciGospodarczej"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdright empty" style="border-right: 2px solid black;width: 66%;">
    								<xsl:choose>
    									<xsl:when test="count(wnio:NazwaSkrocona/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:NazwaSkrocona/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">
    									<xsl:text>07. Nazwa skrócona: </xsl:text>
    								</span>
    								<div style="padding-left:20px; margin-top:3px;">
    									<span class="field" field="NazwaSkrocona">
    										<xsl:value-of select="wnio:NazwaSkrocona"/>
    									</span>
    								</div>
    							</td>
    							<td style="width:30%;" nowrap="nowrap empty">
    								<span class="header">
    									<xsl:choose>
    										<xsl:when test="count(wnio:DataRozpoczeciaDzialalnosci/@modyfikacja) &gt; 0">
    											<xsl:apply-templates select="wnio:DataRozpoczeciaDzialalnosci/@modyfikacja" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<xsl:text>08. Data rozpoczęcia działalności</xsl:text>
    									<span style="font-weight: normal;"> (RRRR-MM-DD)</span>
    									<xsl:text>:</xsl:text>
    								</span>
    								<div>
    									<span class="field" field="DataRozpoczeciaDzialalnosci">
    										<xsl:value-of select="wnio:DataRozpoczeciaDzialalnosci"/>
    									</span>
    								</div>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nospan">
    					<xsl:choose>
    						<xsl:when test="count(wnio:DaneDoKontaktu) &gt; 0">
    							<xsl:apply-templates select="wnio:DaneDoKontaktu"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PusteDaneDoKontaktu"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:choose>
    						<xsl:when test="count(wnio:MiejscaWykonywaniaDzialalnosci/wnio:GlowneMiejsceDzialalnosci) &gt; 0">
    							<xsl:apply-templates select="wnio:MiejscaWykonywaniaDzialalnosci/wnio:GlowneMiejsceDzialalnosci"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PusteGlowneMiejsceDzialalnosci"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:choose>
    						<xsl:when test="count(wnio:AdresDoDoreczen) &gt; 0">
    							<xsl:apply-templates select="wnio:AdresDoDoreczen"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PustyAdresDoDoreczen"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    		</table>
    		<xsl:variable name="dodatkowe_count" select="count(wnio:MiejscaWykonywaniaDzialalnosci/wnio:DodatkoweMiejsceDzialalnosci)"/>
    		<xsl:choose>
    			<xsl:when test="$dodatkowe_count &gt; 0">
    				<xsl:for-each select="wnio:MiejscaWykonywaniaDzialalnosci/wnio:DodatkoweMiejsceDzialalnosci">
    					<xsl:variable name="dodatkowe_index" select="position()"/>
    					<table class="maintable">
    						<tr>
    							<td class="nopadding">
    								<table class="innertable">
    									<tr>
    										<td class="brdbottom">
    											<span class="header">
    												<xsl:text>11</xsl:text>
    												<xsl:if test="$dodatkowe_count &gt; 1">
    													<xsl:number format="a" value="$dodatkowe_index"/>
    												</xsl:if>
    												<xsl:text>. Dodatkowe miejsce wykonywania działalności gospodarczej</xsl:text>
    											</span>
    										</td>
    									</tr>
    								</table>
    								<xsl:apply-templates select=".">
    									<xsl:with-param name="rows_count" select="$dodatkowe_count"/>
    									<xsl:with-param name="row_index" select="$dodatkowe_index"/>
    								</xsl:apply-templates>
    							</td>
    						</tr>
    					</table>
    				</xsl:for-each>
    			</xsl:when>
    			<xsl:otherwise>
    				<table class="maintable">
    					<tr>
    						<td class="nopadding">
    							<table class="innertable">
    								<tr>
    									<td class="brdbottom">
    										<span class="header">
    											<xsl:text>11. Dodatkowe miejsce wykonywania działalności gospodarczej </xsl:text>
    										</span>
    									</td>
    								</tr>
    							</table>
    							<xsl:call-template name="PusteDodatkoweMiejsceDzialalnosci"/>
    						</td>
    					</tr>
    				</table>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
    	<xsl:template name="PustaEwidencjaGospodarcza">
    		<xsl:comment>
    			***** PUSTA EWIDENCJA GOSPODARCZA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="2" class="brdbottom empty">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">
    									<xsl:text>06. Firma przedsiębiorcy, którego wniosek dotyczy: </xsl:text>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:50%;" class="brdright brdbottom">
    								<div style="font-size:0.9em;">
    									<xsl:call-template name="checkoff"/>
    									<b>06.1.</b>
    									<xsl:text> Przewidywana liczba pracujących: </xsl:text>
    								</div>
    							</td>
    							<td style="width:50%;" class="brdbottom">
    								<div style="font-size:0.9em;">
    									<xsl:call-template name="checkoff"/>
    									<b>06.2.</b>
    									<xsl:text> Przewidywana liczba zatrudnionych: </xsl:text>
    								</div>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td colspan="4" class="brdright brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header" style="font-size:0.9em;">
    									<xsl:text>06.3. Rodzaje działalności gospodarczej  </xsl:text>
    									<span class="description">symbol (5-znakowy) wg PKD 2007</span>
    								</span>
    							</td>
    							<td colspan="2" style="width:33%;" class="brdbottom">
    								<span class="header" style="font-weight: normal; font-size:0.9em;">Przeważający:</span>
    								<div>
    									<xsl:call-template name="checkoff"/>
    									<xsl:text> 1.</xsl:text>
    								</div>
    							</td>
    						</tr>
    						<xsl:call-template name="PusteRodzajeDzialalnosciGospodarczej"/>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdright empty" style="border-right: 2px solid black;width: 66%;">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">
    									<xsl:text>07. Nazwa skrócona: </xsl:text>
    								</span>
    							</td>
    							<td style="width:30%;" nowrap="nowrap empty">
    								<span class="header">
    									<xsl:call-template name="checkoff"/>
    									<xsl:text>08. Data rozpoczęcia działalności</xsl:text>
    									<span style="font-weight: normal;"> (RRRR-MM-DD)</span>
    									<xsl:text>:</xsl:text>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nospan">
    					<xsl:call-template name="PusteDaneDoKontaktu"/>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:call-template name="PusteGlowneMiejsceDzialalnosci"/>
    					<xsl:call-template name="PustyAdresDoDoreczen"/>
    				</td>
    			</tr>
    		</table>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<span class="header">
    									<xsl:text>11. Dodatkowe miejsce wykonywania działalności gospodarczej </xsl:text>
    								</span>
    							</td>
    						</tr>
    					</table>
    					<xsl:call-template name="PusteDodatkoweMiejsceDzialalnosci"/>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:DaneDoKontaktu">
    		<xsl:comment>
    			***** DANE DO KONTAKTU *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="2">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header">09. Dane do kontaktu</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%" class="brdright brdbottom">
    					<span class="description">1. Numer telefonu:</span>
    					<br/>
    					<span class="field" field="KontaktNrTelefonu">
    						<xsl:value-of select="wnio:NrTelefonu"/>
    					</span>
    				</td>
    				<td style="width:50%" class="brdbottom">
    					<span class="description">2. Adres poczty elektronicznej:</span>
    					<br/>
    					<span class="field" field="KontaktEmail">
    						<xsl:value-of select="wnio:Email"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%" class="brdright ">
    					<span class="description">3. Numer faksu:</span>
    					<br/>
    					<span class="field" field="KontaktNrFaksu">
    						<xsl:value-of select="wnio:NrFaksu"/>
    					</span>
    				</td>
    				<td style="width:50%" class="">
    					<span class="description">4. Strona WWW:</span>
    					<br/>
    					<span class="field" field="KontaktStronaWWW">
    						<xsl:value-of select="wnio:StronaWWW"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteDaneDoKontaktu">
    		<xsl:comment>
    			***** PUSTE DANE DO KONTAKTU *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="2">
    					<xsl:call-template name="checkoff"/>
    					<span class="header">09. Dane do kontaktu</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%" class="brdright brdbottom empty">
    					<span class="description">1. Numer telefonu:</span>
    				</td>
    				<td style="width:50%" class="brdbottom empty">
    					<span class="description">2. Adres poczty elektronicznej:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%" class="brdright  empty">
    					<span class="description">3. Numer faksu:</span>
    				</td>
    				<td style="width:50%" class=" empty">
    					<span class="description">4. Strona WWW:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:GlowneMiejsceDzialalnosci">
    		<xsl:comment>
    			GŁÓWNE MIEJSCE DZIAŁALNOŚCI *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="header brdbottom" colspan="4">10. Główne miejsce wykonywania działalności gospodarczej</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>10.1. Adres głównego miejsca wykonywania działalności gospodarczej </xsl:text>
    						<span class="description">(jeśli inny niż podany w rubryce 04)</span>
    						<xsl:text> : </xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">1. Województwo:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">2. Powiat:</span>
    					<br/>
    					<span class="field" field="GlowneMiejscePowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="2">
    					<span class="description">3. Gmina:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">4. Miejscowość:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Ulica:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">7. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">8. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="3">
    					<span class="description">9. Poczta:</span>
    					<br/>
    					<span class="field" field="GlowneMiejscePoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span class="description">10. Opis nietypowego miejsca:</span>
    					<br/>
    					<span class="field" field="GlowneMiejsceUwagi">
    						<xsl:value-of select="adr:Uwagi"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteGlowneMiejsceDzialalnosci">
    		<xsl:comment>
    			PUSTE GŁÓWNE MIEJSCE DZIAŁALNOŚCI *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="header brdbottom" colspan="4">10. Główne miejsce wykonywania działalności gospodarczej</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:call-template name="checkoff"/>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>10.1. Adres głównego miejsca wykonywania działalności gospodarczej </xsl:text>
    						<span class="description">(jeśli inny niż podany w rubryce 04)</span>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">1. Województwo:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">2. Powiat:</span>
    				</td>
    				<td class="brdbottom empty" colspan="2">
    					<span class="description">3. Gmina:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">4. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">7. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">8. Kod pocztowy:</span>
    				</td>
    				<td class="brdbottom empty" colspan="3">
    					<span class="description">9. Poczta:</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom empty">
    					<span class="description">10. Opis nietypowego miejsca:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:DodatkoweMiejsceDzialalnosci">
    		<xsl:param name="rows_count" select="1"/>
    		<xsl:param name="row_index" select="position()"/>
    		<xsl:comment>
    			***** DODATKOWE MIEJSCE DZIAŁALNOŚCI *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td colspan="3" class="brdright brdbottom">
    					<span style="font-size:0.9em;">
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.1.</xsl:text>
    						</b>
    						<xsl:text> Numer identyfikacyjny REGON: </xsl:text>
    						<span class="field" field="DodatkoweMiejsceREGON">
    							<xsl:value-of select="wnio:REGON"/>
    						</span>
    					</span>
    				</td>
    				<td class="brdbottom" style="text-align: center;">
    					<span class="description">Wykreślenie</span>
    					<xsl:choose>
    						<xsl:when test="count(@wykreslenie) &gt; 0">
    							<xsl:apply-templates select="@wykreslenie" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span style="font-size:0.9em;">
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.2.</xsl:text>
    						</b>
    						<xsl:text> Nazwa jednostki lokalnej: </xsl:text>
    						<span class="field" field="DodatkoweMiejsceNazwa">
    							<xsl:value-of select="wnio:Nazwa"/>
    						</span>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span style="font-size:0.9em;">
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.3.</xsl:text>
    						</b>
    						<xsl:text> Adres dodatkowego miejsca wykonywania działalności gospodarczej </xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td class="brdbottom brdright" style="width: 22%;">
    					<span class="description">1. Kraj:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceKraj">
    						<xsl:value-of select="adr:Kraj"/>
    					</span>
    				</td>
    				<td class="brdbottom brdright" style="width: 22%;">
    					<span class="description">2. Województwo:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td class="brdbottom brdright" style="width: 22%;">
    					<span class="description">3. Powiat:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejscePowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td class="brdbottom" style="width: 34%;">
    					<span class="description">4. Gmina:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Miejscowość:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">6. Ulica:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">8. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">9. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="3">
    					<span class="description">10. Poczta:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejscePoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span class="description">11. Opis nietypowego miejsca:</span>
    					<br/>
    					<span class="field" field="DodatkoweMiejsceUwagi">
    						<xsl:value-of select="adr:Uwagi"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td class="description brdbottom">12. Wskazany adres dotyczy miejsca wykonywania działalności przez:</td>
    				<td class="description brdbottom">
    					<div field="DodatkoweMiejsceDotyczySpolkiCywilnej">
    						<div>
    							<xsl:choose>
    								<xsl:when test="@dotyczySpolkiCywilnej = '0'">
    									<xsl:call-template name="checkon"/>
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:call-template name="checkoff"/>
    								</xsl:otherwise>
    							</xsl:choose>
    							<xsl:text>przedsiębiorcę</xsl:text>
    						</div>
    						<div>
    							<xsl:choose>
    								<xsl:when test="@dotyczySpolkiCywilnej = '1'">
    									<xsl:call-template name="checkon"/>
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:call-template name="checkoff"/>
    								</xsl:otherwise>
    							</xsl:choose>
    							<xsl:text>spółkę cywilną, w której przedsiębiorca uczestniczy</xsl:text>
    						</div>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:50%;" class="brdright brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:choose>
    							<xsl:when test="count(wnio:LiczbaPracujacych/@modyfikacja) &gt; 0">
    								<xsl:apply-templates select="wnio:LiczbaPracujacych/@modyfikacja" mode="check"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    							</xsl:otherwise>
    						</xsl:choose>
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.4.</xsl:text>
    						</b>
    						<xsl:text> Przewidywana liczba pracujących: </xsl:text>
    						<span class="field" field="DodatkoweMiejsceLiczbaPracujacych">
    							<xsl:value-of select="wnio:LiczbaPracujacych"/>
    						</span>
    					</div>
    				</td>
    				<td style="width:50%;" class="brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:choose>
    							<xsl:when test="count(wnio:LiczbaZatrudnionych/@modyfikacja) &gt; 0">
    								<xsl:apply-templates select="wnio:LiczbaZatrudnionych/@modyfikacja" mode="check"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    							</xsl:otherwise>
    						</xsl:choose>
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.5.</xsl:text>
    						</b>
    						<xsl:text> Przewidywana liczba zatrudnionych: </xsl:text>
    						<span class="field" field="DodatkoweMiejsceLiczbaZatrudnionych">
    							<xsl:value-of select="wnio:LiczbaZatrudnionych"/>
    						</span>
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%;" class="brdright brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:choose>
    							<xsl:when test="count(wnio:DataRozpoczeciaDzialalnosci/@modyfikacja) &gt; 0">
    								<xsl:apply-templates select="wnio:DataRozpoczeciaDzialalnosci/@modyfikacja" mode="check"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    							</xsl:otherwise>
    						</xsl:choose>
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.6.</xsl:text>
    						</b>
    						<xsl:text> Data rozpoczęcia działalności jednostki (RRRR-MM-DD): </xsl:text>
    						<span class="field" field="DodatkoweMiejsceDataRozpoczecia">
    							<xsl:value-of select="wnio:DataRozpoczeciaDzialalnosci/meta:Czas"/>
    						</span>
    					</div>
    				</td>
    				<td style="width:50%;" class="brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:choose>
    							<xsl:when test="count(wnio:SamodzielnieBilansujace/@modyfikacja) &gt; 0">
    								<xsl:apply-templates select="wnio:SamodzielnieBilansujace/@modyfikacja" mode="check"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    							</xsl:otherwise>
    						</xsl:choose>
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.7.</xsl:text>
    						</b>
    						<xsl:text> Jednostka samodzielnie bilansująca: </xsl:text>
    						<xsl:choose>
    							<xsl:when test="count(wnio:SamodzielnieBilansujace) = 0">
    								<xsl:call-template name="pustytaknie"/>
    							</xsl:when>
    							<xsl:when test="wnio:SamodzielnieBilansujace = '1'">
    								<xsl:call-template name="tak"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="nie"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdright brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header" style="font-size:0.9em;">
    						<b>
    							<xsl:text>11</xsl:text>
    							<xsl:if test="$rows_count &gt; 1">
    								<xsl:number format="a" value="$row_index"/>
    							</xsl:if>
    							<xsl:text>.8.</xsl:text>
    						</b>
    						<xsl:text> Rodzaje działalności gospodarczej wykonywanej w tej lokalizacji </xsl:text>
    						<span class="description">symbol (5-znakowy) wg PKD 2007</span>
    					</span>
    				</td>
    				<td colspan="2" style="width:33%;" class="brdbottom">
    					<span class="header" style="font-weight: normal; font-size:0.9em;">Przeważający:</span>
    					<div>
    						<xsl:choose>
    							<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej) &gt; 0">
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="description"> 1. </span>
    								<span class="field" field="PKD2007">
    									<xsl:value-of select="wnio:RodzajeDzialalnosciGospodarczej/wnio:Przewazajacy"/>
    								</span>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    								<span class="description"> 1. </span>
    							</xsl:otherwise>
    						</xsl:choose>
    					</div>
    				</td>
    			</tr>
    			<xsl:choose>
    				<xsl:when test="count(wnio:RodzajeDzialalnosciGospodarczej) &gt; 0">
    					<xsl:apply-templates select="wnio:RodzajeDzialalnosciGospodarczej"/>
    				</xsl:when>
    				<xsl:otherwise>
    					<xsl:call-template name="PusteRodzajeDzialalnosciGospodarczej"/>
    				</xsl:otherwise>
    			</xsl:choose>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteDodatkoweMiejsceDzialalnosci">
    		<xsl:comment>
    			***** PUSTE DODATKOWE MIEJSCE DZIAŁALNOŚCI *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td colspan="3" class="brdright brdbottom">
    					<span style="font-size:0.9em;">
    						<b>11.1.</b>
    						<xsl:text> Numer identyfikacyjny REGON: </xsl:text>
    					</span>
    				</td>
    				<td class="brdbottom" style="text-align: center;">
    					<span class="description">Wykreślenie</span>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span style="font-size:0.9em;">
    						<b>11.2.</b>
    						<xsl:text> Nazwa jednostki lokalnej: </xsl:text>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:call-template name="checkoff"/>
    					<span style="font-size:0.9em;">
    						<b>11.3.</b>
    						<xsl:text> Adres dodatkowego miejsca wykonywania działalności gospodarczej </xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td class="brdbottom brdright empty" style="width: 22%;">
    					<span class="description">1. Kraj:</span>
    				</td>
    				<td class="brdbottom brdright empty" style="width: 22%;">
    					<span class="description">2. Województwo:</span>
    				</td>
    				<td class="brdbottom brdright empty" style="width: 22%;">
    					<span class="description">3. Powiat:</span>
    				</td>
    				<td class="brdbottom empty" style="width: 34%;">
    					<span class="description">4. Gmina:</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">6. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">8. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">9. Kod pocztowy:</span>
    				</td>
    				<td class="brdbottom empty" colspan="3">
    					<span class="description">10. Poczta:</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom empty">
    					<span class="description">11. Opis nietypowego miejsca:</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td class="description brdbottom">12. Wskazany adres dotyczy miejsca wykonywania działalności przez:</td>
    				<td class="description brdbottom">
    					<div>
    						<xsl:call-template name="checkoff"/>
    						<xsl:text>przedsiębiorcę</xsl:text>
    					</div>
    					<div>
    						<xsl:call-template name="checkoff"/>
    						<xsl:text>spółkę cywilną, w której przedsiębiorca uczestniczy</xsl:text>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:50%;" class="brdright brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:call-template name="checkoff"/>
    						<b>11.4.</b>
    						<xsl:text> Przewidywana liczba pracujących: </xsl:text>
    					</div>
    				</td>
    				<td style="width:50%;" class="brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:call-template name="checkoff"/>
    						<b>11.5.</b>
    						<xsl:text> Przewidywana liczba zatrudnionych: </xsl:text>
    					</div>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:50%;" class="brdright brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:call-template name="checkoff"/>
    						<b>11.6.</b>
    						<xsl:text> Data rozpoczęcia działalności jednostki (RRRR-MM-DD): </xsl:text>
    					</div>
    				</td>
    				<td style="width:50%;" class="brdbottom">
    					<div style="font-size:0.9em;">
    						<xsl:call-template name="checkoff"/>
    						<b>11.7.</b>
    						<xsl:text> Jednostka samodzielnie bilansująca: </xsl:text>
    						<xsl:call-template name="nocheck"/>
    					</div>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td class="brdright">
    					<xsl:call-template name="checkoff"/>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>11.8. Rodzaje działalności gospodarczej  </xsl:text>
    						<span class="description">symbol (5-znakowy) wg PKD 2007</span>
    					</span>
    				</td>
    				<td style="width:33%;">
    					<span class="header" style="font-weight: normal; font-size:0.9em;">Przeważający:</span>
    					<div>
    						<xsl:call-template name="checkoff"/>
    						<span class="description"> 1. </span>
    					</div>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:RodzajeDzialalnosciGospodarczej">
    		<xsl:comment>
    			***** KODY PKD2007 *****
    		</xsl:comment>
    		<xsl:variable name="pkd_count" select="count(wnio:PKD2007)"/>
    		<xsl:variable name="pkd_mod3" select="$pkd_count mod 3"/>
    		<xsl:for-each select="wnio:PKD2007">
    			<xsl:if test="position() mod 3 = 1">
    				<xsl:text disable-output-escaping="yes"><![CDATA[<tr>]]></xsl:text>
    			</xsl:if>
    			<xsl:variable name="lastrow" select="not((($pkd_mod3 = 0) and (($pkd_count - position()) &gt; 2)) or (($pkd_mod3 &gt; 0) and  (($pkd_count - position()) &gt; ($pkd_mod3 - 1))))"/>
    			<xsl:variable name="lastcol" select="position() mod 3 = 0"/>
    			<td style="width:20%;">
    				<xsl:choose>
    					<xsl:when test="not($lastrow)">
    						<xsl:attribute name="class">description brdbottom</xsl:attribute>
    					</xsl:when>
    					<xsl:otherwise>
    						<xsl:attribute name="class">description</xsl:attribute>
    					</xsl:otherwise>
    				</xsl:choose>
    				<xsl:value-of select="position() + 1"/>
    				<xsl:text>. </xsl:text>
    				<span class="field" field="PKD2007">
    					<xsl:value-of select="."/>
    				</span>
    			</td>
    			<td style="width:13%;">
    				<xsl:choose>
    					<xsl:when test="not($lastrow)">
    						<xsl:choose>
    							<xsl:when test="$lastcol">
    								<xsl:attribute name="class">description brdbottom</xsl:attribute>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:attribute name="class">description brdright brdbottom</xsl:attribute>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:when>
    					<xsl:otherwise>
    						<xsl:choose>
    							<xsl:when test="not($lastcol)">
    								<xsl:attribute name="class">description brdright</xsl:attribute>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:attribute name="class">description</xsl:attribute>
    							</xsl:otherwise>
    						</xsl:choose>
    					</xsl:otherwise>
    				</xsl:choose>
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:choose>
    					<xsl:when test="count(./@wykreslenie) &gt; 0">
    						<xsl:apply-templates select="./@wykreslenie" mode="check"/>
    					</xsl:when>
    					<xsl:otherwise>
    						<xsl:call-template name="checkoff"/>
    					</xsl:otherwise>
    				</xsl:choose>
    			</td>
    			<xsl:if test="(position() = $pkd_count) and ($pkd_mod3 &gt; 0)">
    				<td>
    					<xsl:if test="3 - $pkd_mod3 &gt; 1">
    						<xsl:attribute name="colspan">
                  <xsl:value-of select="2 * (3 - $pkd_mod3)"/>
                </xsl:attribute>
    					</xsl:if>
    				</td>
    			</xsl:if>
    			<xsl:if test="(position() mod 3 = 0) or (position() = $pkd_count)">
    				<xsl:text disable-output-escaping="yes"><![CDATA[</tr>]]></xsl:text>
    			</xsl:if>
    		</xsl:for-each>
    	</xsl:template>
    	<xsl:template name="PusteRodzajeDzialalnosciGospodarczej">
    		<xsl:comment>
    			***** PUSTE KODY PKD2007 *****
    		</xsl:comment>
    		<tr>
    			<td style="width:20%;" class="description brdbottom">
    				<xsl:text>2.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description brdbottom brdright">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    			<td style="width:20%;" class="description brdbottom">
    				<xsl:text>3.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description brdbottom brdright">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    			<td style="width:20%;" class="description brdbottom">
    				<xsl:text>4.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description brdbottom">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    		</tr>
    		<tr>
    			<td style="width:20%;" class="description">
    				<xsl:text>5.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description brdright">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    			<td style="width:20%;" class="description">
    				<xsl:text>6.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description brdright">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    			<td style="width:20%;" class="description">
    				<xsl:text>7.</xsl:text>
    			</td>
    			<td style="width:13%;" class="description">
    				<xsl:text>Wykreślenie </xsl:text>
    				<xsl:call-template name="checkoff"/>
    			</td>
    		</tr>
    	</xsl:template>
    	<xsl:template match="wnio:AdresDoDoreczen">
    		<xsl:comment>
    			***** MIEJSCA DO DORĘCZEŃ *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header" style="font-size:0.9em;">10.2. Adres do doręczeń</span>
    					<span class="description">(jeśli inny niż w podany w rubryce 10.1)</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span class="description">1. Adresat:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenAdresat">
    						<xsl:value-of select="wnio:Adresat"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">2. Województwo:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">3. Powiat:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="2">
    					<span class="description">4. Gmina:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Miejscowość:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">6. Ulica:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">8. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright">
    					<span class="description">9. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright">
    					<span class="description">10. Poczta:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    				<td colspan="2">
    					<span class="description">11. Skrytka pocztowa:</span>
    					<br/>
    					<span class="field" field="AdresDoreczenSkrytkaPocztowa">
    						<xsl:value-of select="adr:SkrytkaPocztowa"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyAdresDoDoreczen">
    		<xsl:comment>
    			***** PUSTY ADRES DO DORĘCZEŃ *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:call-template name="checkoff"/>
    					<span class="header" style="font-size:0.9em;">10.2. Adres do doręczeń</span>
    					<span class="description">(jeśli inny niż w podany w rubryce 10.1)</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom empty">
    					<span class="description">1. Nazwa podmiotu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">2. Województwo:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">3. Powiat:</span>
    				</td>
    				<td class="brdbottom empty" colspan="2">
    					<span class="description">4. Gmina:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">6. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">8. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright empty">
    					<span class="description">9. Kod pocztowy:</span>
    				</td>
    				<td style="width:33%;" class="brdright empty">
    					<span class="description">10. Poczta:</span>
    				</td>
    				<td class="empty" colspan="2">
    					<span class="description">11. Skrytka pocztowa:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:RejestrUbezpieczeniowy">
    		<xsl:comment>
    			***** REJESTR UBEZPIECZENIOWY *****
    		</xsl:comment>
    		<xsl:choose>
    			<xsl:when test="count(wnio:ObowiazekSkladkowy) &gt; 0">
    				<xsl:apply-templates select="wnio:ObowiazekSkladkowy"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustyObowiazekSkladkowy"/>
    			</xsl:otherwise>
    		</xsl:choose>
    		<xsl:choose>
    			<xsl:when test="count(wnio:Krus) &gt; 0">
    				<xsl:apply-templates select="wnio:Krus"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="PustyKrus"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
    	<xsl:template name="PustyRejestrUbezpieczeniowy">
    		<xsl:comment>
    			***** PUSTY REJESTR UBEZPIECZENIOWY *****
    		</xsl:comment>
    		<xsl:call-template name="PustyObowiazekSkladkowy"/>
    		<xsl:call-template name="PustyKrus"/>
    	</xsl:template>
    	<xsl:template match="wnio:ObowiazekSkladkowy">
    		<table class="maintable">
    			<tr>
    				<td>
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<b>12. Data powstania obowiązku opłacania składki ZUS</b>
    					<xsl:text> (RRRR-MM-DD): </xsl:text>
    					<span class="field" field="ObowiazekSkladkowy">
    						<xsl:value-of select="meta:Data/meta:Czas"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyObowiazekSkladkowy">
    		<table class="maintable">
    			<tr>
    				<td>
    					<xsl:call-template name="checkoff"/>
    					<b>12. Data powstania obowiązku opłacania składki ZUS</b>
    					<xsl:text> (RRRR-MM-DD): </xsl:text>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:Krus">
    		<table class="maintable">
    			<tr>
    				<td>
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header">13. Dane na potrzeby KRUS:</span>
    					<br/>
    					<div style="font-size:0.8em; padding-left:20px; margin-top:5px;">
    						<b>13.1.</b>
    						<xsl:text> Oświadczam, że:</xsl:text>
    						<ol>
    							<li>
    								<xsl:text>moje sprawy prowadzi jednostka terenowa KRUS: </xsl:text>
    								<span class="field" field="KrusNazwa">
    									<xsl:value-of select="wnio:JednostkaTerenowaKrus/inst:Instytucja/inst:NazwaInstytucji"/>
    								</span>
    							</li>
    							<li>
    								<xsl:text>chcę kontynuować ubezpieczenie społeczne rolników: </xsl:text>
    								<span class="field">
    									<xsl:apply-templates select="wnio:KontynuacjaUbezpieczenia" mode="check"/>
    									<b> Tak</b>
    								</span>
    							</li>
    							<li>
    								<xsl:text>w poprzednim roku podatkowym: </xsl:text>
    								<ol type="a">
    									<li>
    										<xsl:text>prowadziłem(am) pozarolniczą działalność gospodarczą: </xsl:text>
    										<xsl:choose>
    											<xsl:when test="wnio:PozarolniczaDzialalnoscGospodarcza/wnio:Prowadzilem = '1'">
    												<xsl:call-template name="tak"/>
    											</xsl:when>
    											<xsl:otherwise>
    												<xsl:call-template name="nie"/>
    											</xsl:otherwise>
    										</xsl:choose>
    									</li>
    									<li>
    										<xsl:text>współpracowałem(am) przy prowadzeniu pozarolniczej działalności gospodarczej: </xsl:text>
    										<xsl:choose>
    											<xsl:when test="wnio:PozarolniczaDzialalnoscGospodarcza/wnio:Wspolpracowalem = '1'">
    												<xsl:call-template name="tak"/>
    											</xsl:when>
    											<xsl:otherwise>
    												<xsl:call-template name="nie"/>
    											</xsl:otherwise>
    										</xsl:choose>
    									</li>
    								</ol>
    							</li>
    							<li>
    								<xsl:text>zaświadczenie właściwego naczelnika urzędu skarbowego o nie przekroczeniu kwoty należnego podatku dochodowego od przychodów z pozarolniczej działalności gospodarczej za poprzedni rok podatkowy: </xsl:text>
    								<ol type="a">
    									<li>
    										<xsl:text>złożyłem(am) we właściwej jednostce terenowej KRUS: </xsl:text>
    										<xsl:choose>
    											<xsl:when test="count(wnio:PoswiadczenieKwotyPodatku) = 0">
    												<xsl:call-template name="pustytaknie"/>
    											</xsl:when>
    											<xsl:when test="wnio:PoswiadczenieKwotyPodatku/wnio:Zlozylem = '1'">
    												<xsl:call-template name="tak"/>
    											</xsl:when>
    											<xsl:otherwise>
    												<xsl:call-template name="nie"/>
    											</xsl:otherwise>
    										</xsl:choose>
    									</li>
    									<li>
    										<xsl:text>składam wraz z niniejszym wnioskiem: </xsl:text>
    										<xsl:choose>
    											<xsl:when test="count(wnio:PoswiadczenieKwotyPodatku) = 0">
    												<xsl:call-template name="pustytaknie"/>
    											</xsl:when>
    											<xsl:when test="wnio:PoswiadczenieKwotyPodatku/wnio:Skladam = '1'">
    												<xsl:call-template name="tak"/>
    											</xsl:when>
    											<xsl:otherwise>
    												<xsl:call-template name="nie"/>
    											</xsl:otherwise>
    										</xsl:choose>
    									</li>
    									<li>
    										<xsl:text>złożę we właściwej jednostce terenowej KRUS w terminie 14 dni od dnia rozpoczęcia prowadzenia pozarolniczej działalności gospodarczej w rozumieniu ustawy o ubezpieczeniu społecznym rolników: </xsl:text>
    										<xsl:choose>
    											<xsl:when test="count(wnio:PoswiadczenieKwotyPodatku) = 0">
    												<xsl:call-template name="pustytaknie"/>
    											</xsl:when>
    											<xsl:when test="wnio:PoswiadczenieKwotyPodatku/wnio:Zloze = '1'">
    												<xsl:call-template name="tak"/>
    											</xsl:when>
    											<xsl:otherwise>
    												<xsl:call-template name="nie"/>
    											</xsl:otherwise>
    										</xsl:choose>
    									</li>
    								</ol>
    							</li>
    							<li>
    								<xsl:text>organem podatkowym właściwym do rozliczenia podatku dochodowego od przychodów z pozarolniczej działalności gospodarczej za poprzedni rok podatkowy jest  </xsl:text>
    								<span class="field" field="KrusUS">
    									<xsl:value-of select="wnio:UrzadSkarbowy/inst:NazwaInstytucji"/>
    								</span>
    							</li>
    						</ol>
    						<b>13.2.</b>
    						<xsl:text> Oświadczam, że przekroczyłem(am) kwotę należnego podatku dochodowego od przychodów z pozarolniczej działalności gospodarczej za
                      poprzedni rok podatkowy: </xsl:text>
    						<xsl:choose>
    							<xsl:when test="count(wnio:PrzekroczenieKwotyPodatku) = 0">
    								<xsl:call-template name="pustytaknie"/>
    							</xsl:when>
    							<xsl:when test="wnio:PrzekroczenieKwotyPodatku = '1'">
    								<xsl:call-template name="tak"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="nie"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</div>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyKrus">
    		<table class="maintable">
    			<tr>
    				<td>
    					<xsl:call-template name="checkoff"/>
    					<span class="header">13. Dane na potrzeby KRUS:</span>
    					<br/>
    					<div style="font-size:0.8em; padding-left:20px; margin-top:5px;">
    						<b>13.1</b>
    						<xsl:text> Oświadczam, że:</xsl:text>
    						<ol>
    							<li>
    								<xsl:text>moje sprawy prowadzi jednostka terenowa KRUS: </xsl:text>
    							</li>
    							<li>
    								<xsl:text>chcę kontynuować ubezpieczenie społeczne rolników: </xsl:text>
    								<span class="field">
    									<xsl:call-template name="checkoff"/>
    									<b> Tak</b>
    								</span>
    							</li>
    							<li>
    								<xsl:text>w poprzednim roku podatkowym: </xsl:text>
    								<ol type="a">
    									<li>
    										<xsl:text>prowadziłem(am) pozarolniczą działalność gospodarczą: </xsl:text>
    										<xsl:call-template name="nocheck"/>
    									</li>
    									<li>
    										<xsl:text>współpracowałem(am) przy prowadzeniu pozarolniczej działalności gospodarczej: </xsl:text>
    										<xsl:call-template name="nocheck"/>
    									</li>
    								</ol>
    							</li>
    							<li>
    								<xsl:text>zaświadczenie właściwego naczelnika urzędu skarbowego o nie przekroczeniu kwoty należnego podatku dochodowego od przychodów z
                            pozarolniczej działalności gospodarczej za poprzedni rok podatkowy: </xsl:text>
    								<ol type="a">
    									<li>
    										<xsl:text>złożyłem(am) we właściwej jednostce terenowej KRUS: </xsl:text>
    										<xsl:call-template name="nocheck"/>
    									</li>
    									<li>
    										<xsl:text>składam wraz z niniejszym wnioskiem: </xsl:text>
    										<xsl:call-template name="nocheck"/>
    									</li>
    									<li>
    										<xsl:text>złożę we właściwej jednostce terenowej KRUS w terminie 14 dni od dnia rozpoczęcia prowadzenia pozarolniczej działalności
                                  gospodarczej w rozumieniu ustawy o ubezpieczeniu społecznym rolników: </xsl:text>
    										<xsl:call-template name="nocheck"/>
    									</li>
    								</ol>
    							</li>
    							<li>
    								<xsl:text>organem podatkowym właściwym do rozliczenia podatku dochodowego od przychodów z pozarolniczej działalności gospodarczej za poprzedni rok podatkowy jest  </xsl:text>
    							</li>
    						</ol>
    						<b>13.2</b>
    						<xsl:text> Oświadczam, że przekroczyłem(am) kwotę należnego podatku dochodowego od przychodów z pozarolniczej działalności gospodarczej za
                      poprzedni rok podatkowy: </xsl:text>
    						<xsl:call-template name="nocheck"/>
    					</div>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:ZawieszenieDzialalnosci">
    		<xsl:comment>
    			***** ZAWIESZENIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:choose>
    									<xsl:when test="count(@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">14. Informacja o zawieszeniu wykonywania działalności gospodarczej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:50%" class="brdright brdbottom">
    								<span style="font-size:0.9em;">
    									<xsl:text>1. Data rozpoczęcia zawieszenia (RRRR-MM-DD): </xsl:text>
    									<br/>
    									<span class="field" field="DataRozpoczeciaZawieszenia">
    										<xsl:value-of select="wnio:Okres/meta:Od"/>
    									</span>
    								</span>
    							</td>
    							<td style="width:50%" class="brdbottom">
    								<span style="font-size:0.9em;">
    									<xsl:text>2. Przewidywany okres zawieszenia do dnia (RRRR-MM-DD): </xsl:text>
    									<br/>
    									<span class="field" field="DataZakonczeniaZawieszenia">
    										<xsl:value-of select="wnio:Okres/meta:Do"/>
    									</span>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2">
    								<span style="font-size:0.9em;">
    									<xsl:text>3. Oświadczam, że w okresie zawieszenia nie będę zatrudniał(a) pracowników w ramach zawieszanej działalności: </xsl:text>
    									<xsl:apply-templates select="wnio:ZatrudnieniePracownikow" mode="check"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteZawieszenie">
    		<xsl:comment>
    			***** Puste ZAWIESZENIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">14. Informacja o zawieszeniu wykonywania działalności gospodarczej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:50%" class="brdright brdbottom">
    								<span style="font-size:0.9em;">
    									<xsl:text>1. Data rozpoczęcia zawieszenia (RRRR-MM-DD): </xsl:text>
    								</span>
    							</td>
    							<td style="width:50%" class="brdbottom">
    								<span style="font-size:0.9em;">
    									<xsl:text>2. Przewidywany okres zawieszenia do dnia (RRRR-MM-DD): </xsl:text>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2">
    								<span style="font-size:0.9em;">
    									<xsl:text>3. Oświadczam, że nie zatrudniam pracowników w ramach wykonywanej działalności gospodarczej: </xsl:text>
    									<xsl:call-template name="checkoff"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:WznowienieDzialalnosci">
    		<xsl:comment>
    			***** WZNOWIENIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">15. Informacja o wznowieniu wykonywania działalności gospodarczej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td>
    								<span class="description">1. Data wznowienia działalności gospodarczej (RRRR-MM-DD):</span>
    								<span class="field" field="DataWznowienia">
    									<xsl:value-of select="wnio:Od/meta:Czas"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteWznowienie">
    		<xsl:comment>
    			***** PUSTE WZNOWIENIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">15. Informacja o wznowieniu wykonywania działalności gospodarczej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td>
    								<span class="description">1. Data wznowienia działalności gospodarczej (RRRR-MM-DD):</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:ZaprzestanieDzialalnosci">
    		<xsl:comment>
    			***** ZAPRZESTANIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">16. Informacja o zaprzestaniu wykonywania działalności gospodarczej</span>
    							</td>
    						</tr>
    						<tr>
    							<td>
    								<span class="description">1. Data zaprzestania działalności gospodarczej (RRRR-MM-DD):</span>
    								<span class="field" field="DataZaprzestania">
    									<xsl:value-of select="wnio:Od/meta:Czas"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PusteZaprzestanie">
    		<xsl:comment>
    			***** PUSTE ZAPRZESTANIE *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">16. Informacja o zaprzestaniu wykonywania działalności gospodarczej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td>
    								<span class="description">1. Data zaprzestania działalności gospodarczej (RRRR-MM-DD):</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:DokumentacjaRachunkowa">
    		<xsl:comment>
    			***** DOKUMENTACJA RACHNUKOWA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:choose>
    									<xsl:when test="count(wnio:NaczelnikUrzeduSkarbowego/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:NaczelnikUrzeduSkarbowego/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">17. Informacja dotycząca naczelników urzędów skarbowych:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright" width="50%">
    								<span style="font-size:0.9em;">
    									<b>17.1.</b>
    									<xsl:text> Naczelnik urzędu skarbowego właściwy do spraw ewidencji podatników</xsl:text>
    								</span>
    								<br/>
    								<span style="font-size:0.9em;">
    									<xsl:text>1) aktualny: </xsl:text>
    									<span class="field" field="NaczelnikUSAktualnyDoSprawEwidencji">
    										<xsl:value-of select="wnio:NaczelnikUrzeduSkarbowego/wnio:AktualnyDoSprawEwidencji"/>
    									</span>
    								</span>
    								<br/>
    								<span style="font-size:0.9em;">
    									<xsl:text>2) poprzedni: </xsl:text>
    									<span class="field" field="NaczelnikUSPoprzedniDoSprawEwidencji">
    										<xsl:value-of select="wnio:NaczelnikUrzeduSkarbowego/wnio:PoprzedniDoSprawEwidencji"/>
    									</span>
    								</span>
    							</td>
    							<td width="50%">
    								<span style="font-size:0.9em;">
    									<b>17.2.</b>
    									<xsl:text> Aktualny naczelnik urzędu skarbowego właściwy w zakresie podatku dochodowego od osób fizycznych </xsl:text>
    									<span class="description">(jeżeli inny niż w rubryce 17.1)</span>
    								</span>
    								<br/>
    								<span class="field" field="NaczelnikUSPoprzedniDoSprawPodatkuDochodowego">
    									<xsl:value-of select="wnio:NaczelnikUrzeduSkarbowego/wnio:DoSprawPodatkuDochodowego"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="4">
    								<xsl:choose>
    									<xsl:when test="count(wnio:FormaOpodatkowania/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:FormaOpodatkowania/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">18. Oświadczam, że podatek dochodowy od osób fizycznych będę opłacać w formie:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright">
    								<xsl:text>1. na zasadach ogólnych</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:FormaOpodatkowania/text() = 'podatek na zasadach ogólnych'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="description brdright">
    								<xsl:text>2. liniowy</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:FormaOpodatkowania/text() = 'podatek liniowy'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="description brdright">
    								<xsl:text>3. ryczałtu od przychodów ewidencjonowanych</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:FormaOpodatkowania/text() = 'ryczałt od przychodów ewidencjonowanych'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="description">
    								<xsl:text>4. karty podatkowej</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:FormaOpodatkowania/text() = 'karta podatkowa'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<br/>
    								<xsl:text>dołączam wniosek PIT-16 </xsl:text>
    								<xsl:choose>
    									<xsl:when test="count(wnio:FormaOpodatkowania/@PIT16) &gt; 0">
    										<xsl:apply-templates select="wnio:FormaOpodatkowania/@PIT16" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<table class="innertable">
    						<tr>
    							<td colspan="2">
    								<xsl:choose>
    									<xsl:when test="count(wnio:FormaZaliczki/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:FormaZaliczki/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">19. Forma wpłaty zaliczki:</span>
    							</td>
    							<td class="description">
    								<xsl:choose>
    									<xsl:when test="wnio:FormaZaliczki/text() = 'miesieczna'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>Miesięczna</xsl:text>
    							</td>
    							<td class="description">
    								<xsl:choose>
    									<xsl:when test="wnio:FormaZaliczki/text() = 'kwartalna'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>Kwartalna</xsl:text>
    							</td>
    							<td class="description">
    								<xsl:choose>
    									<xsl:when test="wnio:FormaZaliczki/text() = 'uproszczona'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:text>Uproszczona</xsl:text>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:choose>
    									<xsl:when test="count(wnio:RodzajDokumentacji/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:RodzajDokumentacji/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">20. Rodzaj prowadzonej dokumentacji rachunkowej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright brdbottom" style="width:50%">
    								<xsl:text>1. księgi rachunkowe</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:RodzajDokumentacji/text() = 'księgi rachunkowe'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="description  brdbottom" style="width:50%">
    								<xsl:text>2. podatkowa księga przychodów i rozchodów</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:RodzajDokumentacji/text() = 'podatkowa księga przychodów i rozchodów'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright" style="width:50%">
    								<xsl:text>3. inne ewidencje</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:RodzajDokumentacji/text() = 'inne ewidencje'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td class="description" style="width:50%">
    								<xsl:text>4. nie jest prowadzona</xsl:text>
    								<xsl:choose>
    									<xsl:when test="wnio:RodzajDokumentacji/text() = 'nie jest prowadzona'">
    										<xsl:call-template name="checkon"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:choose>
    									<xsl:when test="count(wnio:PodmiotProwadzacy/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:PodmiotProwadzacy/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">21. Dane podmiotu prowadzącego dokumentację rachunkową wnioskodawcy:</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright">
    								<span class="description">1. Firma:</span>
    								<span class="field" field="PodmiotProwadzacyNazwa">
    									<xsl:value-of select="wnio:PodmiotProwadzacy/wnio:Firma"/>
    								</span>
    							</td>
    							<td width="50%">
    								<span class="description">2. NIP:</span>
    								<span class="field" field="PodmiotProwadzacyNIP">
    									<xsl:value-of select="wnio:PodmiotProwadzacy/wnio:NIP"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:choose>
    						<xsl:when test="count(wnio:AdresPrzechowywania) &gt; 0">
    							<xsl:apply-templates select="wnio:AdresPrzechowywania"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="PustyAdresPrzechowywania"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:choose>
    						<xsl:when test="count(wnio:ZakladPracyChronionej/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:ZakladPracyChronionej/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<b>23.</b>
    					<xsl:text> Prowadzę zakład pracy chronionej </xsl:text>
    					<xsl:choose>
    						<xsl:when test="count(wnio:ZakladPracyChronionej) &gt; 0">
    							<xsl:apply-templates select="wnio:ZakladPracyChronionej" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:choose>
    						<xsl:when test="count(wnio:ZagranicznePrzedsiebiorstwoDrobnejWytworczosci/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:ZagranicznePrzedsiebiorstwoDrobnejWytworczosci/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<b>24.</b>
    					<xsl:text> Prowadzę zagraniczne przedsiębiorstwo drobnej wytwórczości </xsl:text>
    					<xsl:choose>
    						<xsl:when test="count(wnio:ZagranicznePrzedsiebiorstwoDrobnejWytworczosci) &gt; 0">
    							<xsl:apply-templates select="wnio:ZagranicznePrzedsiebiorstwoDrobnejWytworczosci" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:choose>
    						<xsl:when test="count(wnio:WylacznieSpolkiCywilne/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:WylacznieSpolkiCywilne/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<b>25.</b>
    					<xsl:text> Prowadzę działalność gospodarczą wyłącznie w formie spółki/spółek cywilnych  </xsl:text>
    					<xsl:choose>
    						<xsl:when test="count(wnio:WylacznieSpolkiCywilne) &gt; 0">
    							<xsl:apply-templates select="wnio:WylacznieSpolkiCywilne" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(wnio:SpolkiCywilne/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:SpolkiCywilne/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">26. Jestem wspólnikiem spółki/spółek cywilnych:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="nopadding">
    								<xsl:variable name="spolki_count" select="count(wnio:SpolkiCywilne/wnio:SpolkaCywilna)"/>
    								<xsl:choose>
    									<xsl:when test="$spolki_count &gt; 0">
    										<xsl:for-each select="wnio:SpolkiCywilne/wnio:SpolkaCywilna">
    											<xsl:variable name="spolki_index" select="position()"/>
    											<xsl:apply-templates select=".">
    												<xsl:with-param name="rows_count" select="$spolki_count"/>
    												<xsl:with-param name="row_index" select="$spolki_index"/>
    											</xsl:apply-templates>
    										</xsl:for-each>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="PustaSpolkaCywilna"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="2" class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(wnio:MalzenskaWspolnoscMajatkowa/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:MalzenskaWspolnoscMajatkowa/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">27. Informacja o małżeńskiej wspólności majątkowej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright">
    								<span class="description">1. Łączy mnie z małżonkiem wspólność majątkowa:</span>
    								<xsl:choose>
    									<xsl:when test="count(wnio:MalzenskaWspolnoscMajatkowa) = 0">
    										<span class="field">
    											<xsl:call-template name="checkoff"/>
    											<b>Tak</b>
    											<xsl:call-template name="checkoff"/>
    											<b>Nie</b>
    										</span>
    									</xsl:when>
    									<xsl:when test="wnio:MalzenskaWspolnoscMajatkowa/wnio:Stan = '1'">
    										<xsl:call-template name="tak"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="nie"/>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    							<td>
    								<xsl:choose>
    									<xsl:when test="count(wnio:MalzenskaWspolnoscMajatkowa/wnio:DataUstania/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:MalzenskaWspolnoscMajatkowa/wnio:DataUstania/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="description">2. Małżeńska wspólność majątkowa ustała dnia (RRRR-MM-DD): </span>
    								<span class="field" field="WspolnoscMajatkowaDataUstania">
    									<xsl:value-of select="wnio:MalzenskaWspolnoscMajatkowa/wnio:DataUstania/meta:Czas"/>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td>
    								<span class="header">28. Dane identyfikacyjne rachunków bankowych wnioskodawcy:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="nopadding">
    								<xsl:variable name="rachunek_firmowy_count" select="count(wnio:RachunkiBankowe/wnio:RachunekBankowy[wnio:CharakterRachunku = 'firmowy'])"/>
    								<xsl:variable name="rachunek_osobisty_count" select="count(wnio:RachunkiBankowe/wnio:RachunekBankowy[wnio:CharakterRachunku = 'osobisty'])"/>
    								<xsl:choose>
    									<xsl:when test="$rachunek_firmowy_count &gt; 0">
    										<xsl:for-each select="wnio:RachunkiBankowe/wnio:RachunekBankowy[wnio:CharakterRachunku = 'firmowy']">
    											<xsl:variable name="rachunek_firmowy_index" select="position()"/>
    											<table class="innertable">
    												<tr>
    													<td class="brdbottom brdtop">
    														<xsl:choose>
    															<xsl:when test="count(@modyfikacja) &gt; 0">
    																<xsl:apply-templates select="@modyfikacja" mode="check"/>
    															</xsl:when>
    															<xsl:otherwise>
    																<xsl:call-template name="checkoff"/>
    															</xsl:otherwise>
    														</xsl:choose>
    														<span class="header" style="font-size:0.9em;">
    															<xsl:text>28.1</xsl:text>
    															<xsl:if test="$rachunek_firmowy_count &gt; 1">
    																<xsl:number format="a" value="$rachunek_firmowy_index"/>
    															</xsl:if>
    															<xsl:text>. Rachunek bankowy związany z prowadzeniem działalności gospodarczej:</xsl:text>
    														</span>
    													</td>
    												</tr>
    											</table>
    											<xsl:apply-templates select=".">
    												<xsl:with-param name="typ" select="wnio:CharakterRachunku"/>
    											</xsl:apply-templates>
    										</xsl:for-each>
    									</xsl:when>
    									<xsl:otherwise>
    										<table class="innertable">
    											<tr>
    												<td class="brdbottom brdtop">
    													<xsl:call-template name="checkoff"/>
    													<span class="header" style="font-size:0.9em;">
    														<xsl:text>28.1. Rachunek bankowy związany z prowadzeniem działalności gospodarczej</xsl:text>
    													</span>
    												</td>
    											</tr>
    										</table>
    										<xsl:call-template name="PustyRachunekBankowy">
    											<xsl:with-param name="typ" select="'firmowy'"/>
    										</xsl:call-template>
    									</xsl:otherwise>
    								</xsl:choose>
    								<xsl:choose>
    									<xsl:when test="$rachunek_osobisty_count &gt; 0">
    										<xsl:for-each select="wnio:RachunkiBankowe/wnio:RachunekBankowy[wnio:CharakterRachunku = 'osobisty']">
    											<xsl:variable name="rachunek_osobisty_index" select="position()"/>
    											<table class="innertable">
    												<tr>
    													<td class="brdbottom brdtop">
    														<xsl:choose>
    															<xsl:when test="count(@modyfikacja) &gt; 0">
    																<xsl:apply-templates select="@modyfikacja" mode="check"/>
    															</xsl:when>
    															<xsl:otherwise>
    																<xsl:call-template name="checkoff"/>
    															</xsl:otherwise>
    														</xsl:choose>
    														<span class="header" style="font-size:0.9em;">
    															<xsl:text>28.2</xsl:text>
    															<xsl:if test="$rachunek_osobisty_count &gt; 1">
    																<xsl:number format="a" value="$rachunek_osobisty_index"/>
    															</xsl:if>
    															<xsl:text>. Osobisty rachunek bankowy</xsl:text>
    														</span>
    														<span class="description"> (niezwiązany z prowadzeniem działalności gospodarczej)</span>
    													</td>
    												</tr>
    											</table>
    											<xsl:apply-templates select=".">
    												<xsl:with-param name="typ" select="wnio:CharakterRachunku"/>
    											</xsl:apply-templates>
    										</xsl:for-each>
    									</xsl:when>
    									<xsl:otherwise>
    										<table class="innertable">
    											<tr>
    												<td class="brdbottom brdtop">
    													<xsl:call-template name="checkoff"/>
    													<span class="header" style="font-size:0.9em;">
    														<xsl:text>28.2. Osobisty rachunek bankowy</xsl:text>
    													</span>
    													<span class="description"> (niezwiązany z prowadzeniem działalności gospodarczej)</span>
    												</td>
    											</tr>
    										</table>
    										<xsl:call-template name="PustyRachunekBankowy">
    											<xsl:with-param name="typ" select="'osobisty'"/>
    										</xsl:call-template>
    									</xsl:otherwise>
    								</xsl:choose>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="3" class="brdbottom">
    								<xsl:choose>
    									<xsl:when test="count(wnio:ZagraniczneNumeryIdentyfikacyjne/@modyfikacja) &gt; 0">
    										<xsl:apply-templates select="wnio:ZagraniczneNumeryIdentyfikacyjne/@modyfikacja" mode="check"/>
    									</xsl:when>
    									<xsl:otherwise>
    										<xsl:call-template name="checkoff"/>
    									</xsl:otherwise>
    								</xsl:choose>
    								<span class="header">29. Informacja o numerach identyfikacyjnych uzyskanych w innych krajach dla celów podatkowych lub ubezpieczeń społecznych:</span>
    							</td>
    						</tr>
    						<xsl:choose>
    							<xsl:when test="count(wnio:ZagraniczneNumeryIdentyfikacyjne/wnio:Identyfikator) &gt; 0">
    								<xsl:variable name="cntidentyfikator" select="count(wnio:ZagraniczneNumeryIdentyfikacyjne/wnio:Identyfikator)"/>
    								<xsl:for-each select="wnio:ZagraniczneNumeryIdentyfikacyjne/wnio:Identyfikator">
    									<tr>
    										<td width="25%">
    											<xsl:choose>
    												<xsl:when test="position() = $cntidentyfikator">
    													<xsl:attribute name="class">description brdright</xsl:attribute>
    												</xsl:when>
    												<xsl:otherwise>
    													<xsl:attribute name="class">description brdbottom brdright</xsl:attribute>
    												</xsl:otherwise>
    											</xsl:choose>
    											<xsl:text>1</xsl:text>
    											<xsl:if test="$cntidentyfikator &gt; 1">
    												<xsl:number format="a" value="position()"/>
    											</xsl:if>
    											<xsl:text>. Kraj: </xsl:text>
    											<span class="field" field="ZagraniczneIdentyfikatoryKraj">
    												<xsl:value-of select="adr:Kraj"/>
    											</span>
    										</td>
    										<td width="25%">
    											<xsl:choose>
    												<xsl:when test="position() = $cntidentyfikator">
    													<xsl:attribute name="class">description brdright</xsl:attribute>
    												</xsl:when>
    												<xsl:otherwise>
    													<xsl:attribute name="class">description brdbottom brdright</xsl:attribute>
    												</xsl:otherwise>
    											</xsl:choose>
    											<xsl:text>2</xsl:text>
    											<xsl:if test="$cntidentyfikator &gt; 1">
    												<xsl:number format="a" value="position()"/>
    											</xsl:if>
    											<xsl:text>. Nr: </xsl:text>
    											<span class="field" field="ZagraniczneIdentyfikatoryNumer">
    												<xsl:value-of select="wnio:Numer"/>
    											</span>
    										</td>
    										<td width="50%">
    											<xsl:choose>
    												<xsl:when test="position() = $cntidentyfikator">
    													<xsl:attribute name="class">description</xsl:attribute>
    												</xsl:when>
    												<xsl:otherwise>
    													<xsl:attribute name="class">description brdbottom</xsl:attribute>
    												</xsl:otherwise>
    											</xsl:choose>
    											<xsl:text>3</xsl:text>
    											<xsl:if test="$cntidentyfikator &gt; 1">
    												<xsl:number format="a" value="position()"/>
    											</xsl:if>
    											<xsl:text>. Typ: </xsl:text>
    											<span class="description" field="ZagraniczneIdentyfikatoryTyp">
    												<xsl:text>   Podatkowy </xsl:text>
    												<xsl:choose>
    													<xsl:when test="@typ = 'podatkowy'">
    														<xsl:call-template name="checkon"/>
    													</xsl:when>
    													<xsl:otherwise>
    														<xsl:call-template name="checkoff"/>
    													</xsl:otherwise>
    												</xsl:choose>
    												<xsl:text>   Ubezpieczeniowy </xsl:text>
    												<xsl:choose>
    													<xsl:when test="@typ = 'ubezpieczeniowy'">
    														<xsl:call-template name="checkon"/>
    													</xsl:when>
    													<xsl:otherwise>
    														<xsl:call-template name="checkoff"/>
    													</xsl:otherwise>
    												</xsl:choose>
    											</span>
    										</td>
    									</tr>
    								</xsl:for-each>
    							</xsl:when>
    							<xsl:otherwise>
    								<tr>
    									<td width="25%" class="description brdright">
    										<xsl:text>1. Kraj: </xsl:text>
    									</td>
    									<td width="25%" class="description brdright">
    										<xsl:text>2: Nr: </xsl:text>
    									</td>
    									<td width="50%" class="description">
    										<xsl:text>3: Typ: </xsl:text>
    										<xsl:text>   Podatkowy </xsl:text>
    										<xsl:call-template name="checkoff"/>
    										<xsl:text>   Ubezpieczeniowy </xsl:text>
    										<xsl:call-template name="checkoff"/>
    									</td>
    								</tr>
    							</xsl:otherwise>
    						</xsl:choose>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustaDokumentacjaRachunkowa">
    		<xsl:comment>
    			***** PUSTA DOKUMENTACJA RACHUNKOWA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">17. Informacja dotycząca naczelników urzędów skarbowych:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright" width="50%">
    								<span style="font-size:0.9em;">
    									<b>17.1.</b>
    									<xsl:text> Naczelnik urzędu skarbowego właściwy do spraw ewidencji podatników</xsl:text>
    								</span>
    								<br/>
    								<span style="font-size:0.9em;">
    									<xsl:text>1) aktualny: </xsl:text>
    								</span>
    								<br/>
    								<span style="font-size:0.9em;">
    									<xsl:text>2) poprzedni: </xsl:text>
    								</span>
    							</td>
    							<td width="50%">
    								<span style="font-size:0.9em;">
    									<b>17.2.</b>
    									<xsl:text> Aktualny naczelnik urzędu skarbowego właściwy w zakresie podatku dochodowego od osób fizycznych </xsl:text>
    									<span class="description">(jeżeli inny niż w rubryce 17.1)</span>
    								</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="4">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">18. Oświadczam, że podatek dochodowy od osób fizycznych będę opłacać w formie:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright">
    								<xsl:text>1. na zasadach ogólnych</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td class="description brdright">
    								<xsl:text>2. liniowy</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td class="description brdright">
    								<xsl:text>3. ryczałtu od przychodów ewidencjonowanych</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td class="description">
    								<xsl:text>4. karty podatkowej</xsl:text>
    								<xsl:call-template name="checkoff"/>
    								<br/>
    								<xsl:text>dołączam wniosek PIT-16 </xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<table class="innertable">
    						<tr>
    							<td colspan="2">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">19. Forma wpłaty zaliczki:</span>
    							</td>
    							<td class="description">
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>Miesięczna</xsl:text>
    							</td>
    							<td class="description">
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>Kwartalna</xsl:text>
    							</td>
    							<td class="description">
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>Uproszczona</xsl:text>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">20. Rodzaj prowadzonej dokumentacji rachunkowej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright brdbottom" style="width:50%">
    								<xsl:text>1. księgi rachunkowe</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td class="description  brdbottom" style="width:50%">
    								<xsl:text>2. podatkowa księga przychodów i rozchodów</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    						</tr>
    						<tr>
    							<td class="description brdright" style="width:50%">
    								<xsl:text>3. inne ewidencje</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td class="description" style="width:50%">
    								<xsl:text>4. nie jest prowadzona</xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom" colspan="2">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">21. Dane podmiotu prowadzącego dokumentację rachunkową wnioskodawcy:</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="50%" class="brdright">
    								<span class="description">1. Firma:</span>
    							</td>
    							<td width="50%">
    								<span class="description">2. NIP:</span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<xsl:call-template name="PustyAdresPrzechowywania"/>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:call-template name="checkoff"/>
    					<b>23.</b>
    					<xsl:text> Prowadzę zakład pracy chronionej </xsl:text>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:call-template name="checkoff"/>
    					<b>24.</b>
    					<xsl:text> Prowadzę zagraniczne przedsiębiorstwo drobnej wytwórczości </xsl:text>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td>
    					<xsl:call-template name="checkoff"/>
    					<b>25.</b>
    					<xsl:text> Prowadzę działalność gospodarczą wyłącznie w formie spółki/spółek cywilnych  </xsl:text>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">26. Jestem wspólnikiem spółki/spółek cywilnych:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="nopadding">
    								<xsl:call-template name="PustaSpolkaCywilna"/>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="2" class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">27. Informacja o małżeńskiej wspólności majątkowej:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdright">
    								<span class="description">1. Łączy mnie z małżonkiem wspólność majątkowa:</span>
    								<xsl:call-template name="checkoff"/>
    								<b>Tak</b>
    								<xsl:call-template name="checkoff"/>
    								<b>Nie</b>
    							</td>
    							<td>
    								<xsl:call-template name="checkoff"/>
    								<span class="description">2. Małżeńska wspólność majątkowa ustała dnia (RRRR-MM-DD): </span>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td>
    								<span class="header">28. Dane identyfikacyjne rachunków bankowych wnioskodawcy:</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="nopadding">
    								<table class="innertable">
    									<tr>
    										<td class="brdbottom brdtop">
    											<xsl:call-template name="checkoff"/>
    											<span class="header" style="font-size:0.9em;">
    												<xsl:text>28.1. Rachunek bankowy związany z prowadzeniem działalności gospodarczej</xsl:text>
    											</span>
    										</td>
    									</tr>
    								</table>
    								<xsl:call-template name="PustyRachunekBankowy">
    									<xsl:with-param name="typ" select="'firmowy'"/>
    								</xsl:call-template>
    								<table class="innertable">
    									<tr>
    										<td class="brdbottom brdtop">
    											<xsl:call-template name="checkoff"/>
    											<span class="header" style="font-size:0.9em;">
    												<xsl:text>28.2. Osobisty rachunek bankowy</xsl:text>
    											</span>
    											<span class="description"> (niezwiązany z prowadzeniem działalności gospodarczej)</span>
    										</td>
    									</tr>
    								</table>
    								<xsl:call-template name="PustyRachunekBankowy">
    									<xsl:with-param name="typ" select="'osobisty'"/>
    								</xsl:call-template>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td colspan="3" class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header">29. Informacja o numerach identyfikacyjnych uzyskanych w innych krajach dla celów podatkowych lub ubezpieczeń społecznych:</span>
    							</td>
    						</tr>
    						<tr>
    							<td width="25%" class="description brdright">
    								<xsl:text>1. Kraj: </xsl:text>
    							</td>
    							<td width="25%" class="description brdright">
    								<xsl:text>2: Nr: </xsl:text>
    							</td>
    							<td width="50%" class="description">
    								<xsl:text>3: Typ: </xsl:text>
    								<xsl:text>   Podatkowy </xsl:text>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>   Ubezpieczeniowy </xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:AdresPrzechowywania">
    		<xsl:comment>
    			***** ADRES PRZECHOWYWANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header">22. Adres miejsca przechowywania dokumentacji rachunkowej wnioskodawcy:</span>
    				</td>
    			</tr>
    			<tr>
    				<td class="brdbottom description" colspan="4">
    					<span>jest taki sam jak w rubryce:</span>
    					<span style="margin-left:20px;">04. </span>
    					<xsl:choose>
    						<xsl:when test="@miejscePrzechowywania = 'adres zamieszkania'">
    							<xsl:call-template name="checkon"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span style="margin-left:20px;">05. </span>
    					<xsl:choose>
    						<xsl:when test="@miejscePrzechowywania = 'adres zameldowania'">
    							<xsl:call-template name="checkon"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span style="margin-left:20px;">10. </span>
    					<xsl:choose>
    						<xsl:when test="@miejscePrzechowywania = 'adres głównego miejsca wykonywania działalności'">
    							<xsl:call-template name="checkon"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span style="margin-left:20px;">11. </span>
    					<xsl:choose>
    						<xsl:when test="@miejscePrzechowywania = 'adres dodatkowego miejsca wykonywania działalności'">
    							<xsl:call-template name="checkon"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">1. Kraj:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaKraj">
    						<xsl:value-of select="adr:Kraj"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">2. Województwo:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">3. Powiat:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td style="width:34%;" class="brdbottom">
    					<span class="description">4. Gmina:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Miejscowość:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">6. Ulica:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">8. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright ">
    					<span class="description">9. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td colspan="3">
    					<span class="description">10. Poczta:</span>
    					<br/>
    					<span class="field" field="AdresPrzechowywaniaPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyAdresPrzechowywania">
    		<xsl:comment>
    			***** PUSTY ADRES PRZECHOWYWANIA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom" colspan="4">
    					<xsl:call-template name="checkoff"/>
    					<span class="header">22. Adres miejsca przechowywania dokumentacji rachunkowej wnioskodawcy:</span>
    				</td>
    			</tr>
    			<tr>
    				<td class="brdbottom description" colspan="4">
    					<span>jest taki sam jak w rubryce:</span>
    					<span style="margin-left:20px;">04. </span>
    					<xsl:call-template name="checkoff"/>
    					<span style="margin-left:20px;">05. </span>
    					<xsl:call-template name="checkoff"/>
    					<span style="margin-left:20px;">10. </span>
    					<xsl:call-template name="checkoff"/>
    					<span style="margin-left:20px;">11. </span>
    					<xsl:call-template name="checkoff"/>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">1. Kraj:</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">2. Województwo:</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom empty">
    					<span class="description">3. Powiat:</span>
    				</td>
    				<td style="width:34%;" class="brdbottom empty">
    					<span class="description">4. Gmina:</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">5. Miejscowość:</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom empty">
    					<span class="description">6. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:14%;" class="brdbottom empty">
    					<span class="description">8. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright empty">
    					<span class="description">9. Kod pocztowy:</span>
    				</td>
    				<td colspan="3" class="empty">
    					<span class="description">10. Poczta:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:SpolkaCywilna">
    		<xsl:param name="rows_count" select="1"/>
    		<xsl:param name="row_index" select="position()"/>
    		<xsl:comment>
    			***** SPÓŁKA CYWILNA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td width="25%" class="description brdbottom brdright">
    					<xsl:text>1</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. NIP spółki: </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaNIP">
    						<xsl:value-of select="wnio:NIP"/>
    					</span>
    				</td>
    				<td width="25%" class="description brdbottom brdright">
    					<xsl:text>2</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. REGON spółki: </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaREGON">
    						<xsl:value-of select="wnio:REGON"/>
    					</span>
    				</td>
    				<td width="50%" class="description brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(wnio:OkresZawieszenia/@modyfikacjaOd) &gt; 0">
    							<xsl:apply-templates select="wnio:OkresZawieszenia/@modyfikacjaOd" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:text>3</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. Zawieszam działalność w spółce od dnia (RRRR-MM-DD): </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaZawieszenieOd">
    						<xsl:value-of select="wnio:OkresZawieszenia/meta:Od"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td width="33%">
    					<xsl:choose>
    						<xsl:when test="$row_index &lt; $rows_count">
    							<xsl:attribute name="class">description brdright brdbottom</xsl:attribute>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:attribute name="class">description brdright</xsl:attribute>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:choose>
    						<xsl:when test="count(wnio:OkresZawieszenia/@modyfikacjaDo) &gt; 0">
    							<xsl:apply-templates select="wnio:OkresZawieszenia/@modyfikacjaDo" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:text>4</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. Przewidywany okres zawieszenia działalności w spółce do dnia (RRRR-MM-DD): </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaZawieszenieDo">
    						<xsl:value-of select="wnio:OkresZawieszenia/meta:Do"/>
    					</span>
    				</td>
    				<td width="33%">
    					<xsl:choose>
    						<xsl:when test="$row_index &lt; $rows_count">
    							<xsl:attribute name="class">description brdright brdbottom</xsl:attribute>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:attribute name="class">description brdright</xsl:attribute>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:choose>
    						<xsl:when test="count(wnio:DataUstania/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:DataUstania/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:text>5</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. Nie jestem wspólnikiem w spółce od dnia (RRRR-MM-DD): </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaDataUstania">
    						<xsl:value-of select="wnio:DataUstania/meta:Czas"/>
    					</span>
    				</td>
    				<td width="33%">
    					<xsl:choose>
    						<xsl:when test="$row_index &lt; $rows_count">
    							<xsl:attribute name="class">description brdbottom</xsl:attribute>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:attribute name="class">description</xsl:attribute>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:choose>
    						<xsl:when test="count(wnio:DataWznowienia/@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="wnio:DataWznowienia/@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<xsl:text>6</xsl:text>
    					<xsl:if test="$rows_count &gt; 1">
    						<xsl:number format="a" value="$row_index"/>
    					</xsl:if>
    					<xsl:text>. Wznawiam działalność w spółce od dnia (RRRR-MM-DD): </xsl:text>
    					<br/>
    					<span class="field" field="SpolkaCywilnaDataWznowienia">
    						<xsl:value-of select="wnio:DataWznowienia/meta:Czas"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustaSpolkaCywilna">
    		<xsl:comment>
    			***** PUSTA SPÓŁKA CYWILNA *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td width="25%" class="description brdbottom brdright empty">
    					<xsl:text>1. NIP spółki: </xsl:text>
    				</td>
    				<td width="25%" class="description brdbottom brdright empty">
    					<xsl:text>2: REGON spółki: </xsl:text>
    				</td>
    				<td width="50%" class="description brdbottom empty">
    					<xsl:call-template name="checkoff"/>
    					<xsl:text>3. Zawieszam działalność w spółce od dnia (RRRR-MM-DD): </xsl:text>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td width="33%" class="description brdright empty">
    					<xsl:call-template name="checkoff"/>
    					<xsl:text>4: Przewidywany okres zawieszenia działalności w spółce do dnia (RRRR-MM-DD): </xsl:text>
    				</td>
    				<td width="33%" class="description brdright empty">
    					<xsl:call-template name="checkoff"/>
    					<xsl:text>5. Nie jestem wspólnikiem w spółce od dnia (RRRR-MM-DD):</xsl:text>
    				</td>
    				<td width="50%" class="description empty">
    					<xsl:call-template name="checkoff"/>
    					<xsl:text> 6. Wznawiam działalność w spółce od dnia (RRRR-MM-DD): </xsl:text>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:RachunekBankowy">
    		<xsl:param name="typ">
    			<xsl:value-of select="firmowy"/>
    		</xsl:param>
    		<xsl:comment>
    			***** RACHUNEK BANKOWY *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom brdright " width="20%">
    					<span class="description">1. Kraj siedziby banku (oddziału):</span>
    					<br/>
    					<span class="field" field="RachunekBankowyKraj">
    						<xsl:value-of select="adr:Kraj"/>
    					</span>
    				</td>
    				<td colspan="2" class="brdbottom">
    					<span class="description">2. Pełna nazwa banku (oddziału):</span>
    					<br/>
    					<span class="field" field="RachunekBankowyNazwa">
    						<xsl:value-of select="inst:NazwaInstytucji"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="3" class="brdbottom">
    					<span class="description">3. Posiadacz rachunku:</span>
    					<br/>
    					<span class="field" field="RachunekBankowyPosiadacz">
    						<xsl:value-of select="wnio:PosiadaczRachunku"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="brdright">
    					<span class="description">4. Nr rachunku (26 znaków):</span>
    					<br/>
    					<span style="font-weight:bold;" field="RachunekBankowyNumer">
    						<xsl:value-of select="wnio:NumerRachunku"/>
    					</span>
    				</td>
    				<td width="15%" style="text-align:center;">
    					<xsl:choose>
    						<xsl:when test="$typ='firmowy'">
    							<span class="description">5. Likwidacja:</span>
    							<xsl:choose>
    								<xsl:when test="count(@likwidacja) &gt; 0">
    									<xsl:apply-templates select="@likwidacja" mode="check"/>
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:call-template name="checkoff"/>
    								</xsl:otherwise>
    							</xsl:choose>
    						</xsl:when>
    						<xsl:when test="$typ='osobisty'">
    							<span class="description">5. Rezygnacja:</span>
    							<xsl:choose>
    								<xsl:when test="count(@rezygnacja) &gt; 0">
    									<xsl:apply-templates select="@rezygnacja" mode="check"/>
    								</xsl:when>
    								<xsl:otherwise>
    									<xsl:call-template name="checkoff"/>
    								</xsl:otherwise>
    							</xsl:choose>
    						</xsl:when>
    					</xsl:choose>
    				</td>
    			</tr>
    			<xsl:if test="$typ='firmowy'">
    				<tr>
    					<td colspan="3" style="border-top:1px solid black;">
    						<span class="description">6. Rachunek, na który dokonywany będzie zwrot podatku:</span>
    						<xsl:choose>
    							<xsl:when test="count(@zwrotPodatku) &gt; 0">
    								<xsl:apply-templates select="@zwrotPodatku" mode="check"/>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="checkoff"/>
    							</xsl:otherwise>
    						</xsl:choose>
    					</td>
    				</tr>
    			</xsl:if>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyRachunekBankowy">
    		<xsl:param name="typ">
    			<xsl:value-of select="firmowy"/>
    		</xsl:param>
    		<xsl:comment>
    			***** PUSTY RACHUNEK BANKOWY *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td class="brdbottom brdright empty" width="20%">
    					<span class="description">1. Kraj siedziby banku (oddziału):</span>
    				</td>
    				<td colspan="2" class="brdbottom empty">
    					<span class="description">2. Pełna nazwa banku (oddziału):</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="3" class="brdbottom empty">
    					<span class="description">3. Posiadacz rachunku:</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="brdright empty">
    					<span class="description">4. Nr rachunku (26 znaków):</span>
    				</td>
    				<td width="15%" style="text-align:center;" class="empty">
    					<xsl:choose>
    						<xsl:when test="$typ='firmowy'">
    							<span class="description">5. Likwidacja:</span>
    							<xsl:call-template name="checkoff"/>
    						</xsl:when>
    						<xsl:when test="$typ='osobisty'">
    							<span class="description">5. Rezygnacja:</span>
    							<xsl:call-template name="checkoff"/>
    						</xsl:when>
    					</xsl:choose>
    				</td>
    			</tr>
    			<xsl:if test="$typ='firmowy'">
    				<tr>
    					<td colspan="3" style="border-top:1px solid black;">
    						<span class="description">6. Rachunek, na który dokonywany będzie zwrot podatku:</span>
    						<xsl:call-template name="checkoff"/>
    					</td>
    				</tr>
    			</xsl:if>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:Pelnomocnictwa">
    		<xsl:comment>
    			***** PEŁNOMOCNICTWA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<span class="header">30. Udzieliłem pełnomocnictwa do prowadzenia moich spraw:</span>
    								<span class="description"> (można wypełniać od 01.01.2012)</span>
    							</td>
    						</tr>
    					</table>
    					<xsl:variable name="pelnomocnik_count" select="count(wnio:Pelnomocnictwo)"/>
    					<xsl:for-each select="wnio:Pelnomocnictwo">
    						<xsl:variable name="pelnomocnik_index" select="position()"/>
    						<table class="innertable">
    							<tr>
    								<td class="brdbottom brdright">
    									<xsl:choose>
    										<xsl:when test="count(wnio:Pelnomocnik/@modyfikacja) &gt; 0">
    											<xsl:apply-templates select="wnio:Pelnomocnik/@modyfikacja" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<span class="header" style="font-size:0.9em;">
    										<xsl:text>30.1</xsl:text>
    										<xsl:if test="$pelnomocnik_count &gt; 1">
    											<xsl:number format="a" value="$pelnomocnik_index"/>
    										</xsl:if>
    										<xsl:text>. Dane pełnomocnika</xsl:text>
    									</span>
    								</td>
    								<td class="description brdbottom" width="40%">
    									<xsl:text> Wykreślenie wpisu o pełnomocnictwie z CEIDG </xsl:text>
    									<xsl:choose>
    										<xsl:when test="count(wnio:Pelnomocnik/@wykreslenie) &gt; 0">
    											<xsl:apply-templates select="wnio:Pelnomocnik/@wykreslenie" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    								</td>
    							</tr>
    						</table>
    						<xsl:apply-templates select="wnio:Pelnomocnik"/>
    						<xsl:apply-templates select="wnio:Adres">
    							<xsl:with-param name="rows_count" select="$pelnomocnik_count"/>
    							<xsl:with-param name="row_index" select="$pelnomocnik_index"/>
    						</xsl:apply-templates>
    						<xsl:choose>
    							<xsl:when test="count(wnio:AdresDoDoreczen) &gt; 0">
    								<xsl:apply-templates select="wnio:AdresDoDoreczen">
    									<xsl:with-param name="rows_count" select="$pelnomocnik_count"/>
    									<xsl:with-param name="row_index" select="$pelnomocnik_index"/>
    								</xsl:apply-templates>
    							</xsl:when>
    							<xsl:otherwise>
    								<xsl:call-template name="PustyAdresDoreczenPelnomocnika">
    									<xsl:with-param name="rows_count" select="$pelnomocnik_count"/>
    									<xsl:with-param name="row_index" select="$pelnomocnik_index"/>
    								</xsl:call-template>
    							</xsl:otherwise>
    						</xsl:choose>
    						<table class="innertable">
    							<tr>
    								<td>
    									<xsl:choose>
    										<xsl:when test="count(wnio:Zakres/@modyfikacja) &gt; 0">
    											<xsl:apply-templates select="wnio:Zakres/@modyfikacja" mode="check"/>
    										</xsl:when>
    										<xsl:otherwise>
    											<xsl:call-template name="checkoff"/>
    										</xsl:otherwise>
    									</xsl:choose>
    									<span class="header" style="font-size:0.9em;">
    										<xsl:text>30.4</xsl:text>
    										<xsl:if test="$pelnomocnik_count &gt; 1">
    											<xsl:number format="a" value="$pelnomocnik_index"/>
    										</xsl:if>
    										<xsl:text>. Zakres pełnomocnictwa</xsl:text>
    									</span>
    								</td>
    							</tr>
    							<tr>
    								<td style="font-size:8pt;padding-left:30px;">
    									<xsl:value-of select="wnio:Zakres/wnio:Opis"/>
    								</td>
    							</tr>
    							<tr>
    								<td style="font-size:8pt;padding-left:30px;">
    									<xsl:if test="$pelnomocnik_index &lt; $pelnomocnik_count">
    										<xsl:attribute name="class">brdbottom</xsl:attribute>
    									</xsl:if>
    									<b>W zakresie rejestru CEIDG pełnomocnictwo obejmuje następujące czynności:</b>
    									<br/>
    									<xsl:apply-templates select="wnio:Zakres/wnio:ZmianaWpisu" mode="check"/>
    									<xsl:text>zmiana wpisu w CEIDG</xsl:text>
    									<br/>
    									<xsl:apply-templates select="wnio:Zakres/wnio:Zawieszenie" mode="check"/>
    									<xsl:text>wpis informacji w CEIDG o zawieszeniu wykonywania działalności gospodarczej</xsl:text>
    									<br/>
    									<xsl:apply-templates select="wnio:Zakres/wnio:Wznowienie" mode="check"/>
    									<xsl:text>wpis informacji w CEIDG o wznowieniu wykonywania działalności gospodarczej</xsl:text>
    									<br/>
    									<xsl:apply-templates select="wnio:Zakres/wnio:Wykreslenie" mode="check"/>
    									<xsl:text>wniosek o wykreślenie w CEIDG</xsl:text>
    									<br/>
    									<xsl:apply-templates select="wnio:Zakres/wnio:ProwadzenieSpraw" mode="check"/>
    									<xsl:text>prowadzenie spraw za pośrednictwem punktu kontaktowego</xsl:text>
    								</td>
    							</tr>
    						</table>
    					</xsl:for-each>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:Pelnomocnik">
    		<xsl:comment>
    			***** PEŁNOMOCNIK *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%; vertical-align:middle;" class=" description brdbottom brdright">
    					<span style="font-size:1.2em;">Pełnomocnik jest osobą prawną</span>
    					<xsl:apply-templates select="@osobaPrawna" mode="check"/>
    				</td>
    				<td colspan="2" class="description brdbottom">
    					<xsl:text>1. Nazwa firmy pełnomocnika</xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikNazwaFirmy">
    						<xsl:value-of select="wnio:NazwaFirmy"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="description brdbottom brdright">
    					<xsl:text>2. Imię:</xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikImie">
    						<xsl:value-of select="wnio:Imie"/>
    					</span>
    				</td>
    				<td style="width:40%" class="description brdbottom">
    					<xsl:text>3. Nazwisko:</xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikNazwisko">
    						<xsl:value-of select="wnio:Nazwisko"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="description brdbottom brdright">
    					<xsl:text>4. PESEL/KRS:</xsl:text>
    					<br/>
    					<xsl:choose>
    						<xsl:when test="string-length(wnio:PESEL) &gt; 0">
    							<span class="field" field="PelnomocnikPESEL">
    								<xsl:value-of select="wnio:PESEL"/>
    							</span>
    						</xsl:when>
    						<xsl:otherwise>
    							<span class="field" field="PelnomocnikKRS">
    								<xsl:value-of select="wnio:KRS"/>
    							</span>
    						</xsl:otherwise>
    					</xsl:choose>
    				</td>
    				<td style="width:40%" class="description brdbottom">
    					<xsl:text>5. Data urodzenia (RRRR-MM-DD):</xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikDataUrodzenia">
    						<xsl:value-of select="wnio:DataUrodzenia/meta:Czas"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="2" class="description brdbottom brdright">
    					<xsl:text>6. NIP: </xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikNIP">
    						<xsl:value-of select="wnio:NIP"/>
    					</span>
    				</td>
    				<td style="width:40%" class="description brdbottom">
    					<xsl:text>7. Obywatelstwa: </xsl:text>
    					<br/>
    					<span class="field" field="PelnomocnikObywatelstwa">
    						<xsl:for-each select="wnio:PosiadaneObywatelstwa/wnio:Obywatelstwo">
    							<xsl:apply-templates select="."/>
    							<xsl:if test="not(position()=last())">
    								<xsl:text>, </xsl:text>
    							</xsl:if>
    						</xsl:for-each>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:Pelnomocnictwo/wnio:Adres">
    		<xsl:param name="rows_count" select="1"/>
    		<xsl:param name="row_index" select="position()"/>
    		<xsl:comment>
    			***** PEŁNOMOCNIK ADRES *****
    		</xsl:comment>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>30.2</xsl:text>
    						<xsl:if test="$rows_count &gt; 1">
    							<xsl:number format="a" value="$row_index"/>
    						</xsl:if>
    						<xsl:text>. Adres miejsca zamieszkania lub wykonywania działalności gospodarczej lub siedziba pełnomocnika</xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">1. Kraj:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaKraj">
    						<xsl:value-of select="adr:Kraj"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">2. Województwo:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:22%;" class="brdright brdbottom">
    					<span class="description">3. Powiat:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td style="width:34%;" class="brdbottom">
    					<span class="description">4. Gmina:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Miejscowość:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">6. Ulica:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">7. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">8. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">9. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="3">
    					<span class="description">10. Poczta:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<span class="description">11. Opis nietypowego miejsca:</span>
    					<br/>
    					<span class="field" field="AdresPelnomocnikaUwagi">
    						<xsl:value-of select="adr:Uwagi"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="wnio:Pelnomocnictwo/wnio:AdresDoDoreczen">
    		<xsl:param name="rows_count" select="1"/>
    		<xsl:param name="row_index" select="position()"/>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:choose>
    						<xsl:when test="count(@modyfikacja) &gt; 0">
    							<xsl:apply-templates select="@modyfikacja" mode="check"/>
    						</xsl:when>
    						<xsl:otherwise>
    							<xsl:call-template name="checkoff"/>
    						</xsl:otherwise>
    					</xsl:choose>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>30.3</xsl:text>
    						<xsl:if test="$rows_count &gt; 1">
    							<xsl:number format="a" value="$row_index"/>
    						</xsl:if>
    						<xsl:text>. Adres pełnomiocnika do doręczeń </xsl:text>
    					</span>
    					<span class="description">
    						<xsl:text> (jeśli inny niż w rubryce 30.2</xsl:text>
    						<xsl:if test="$rows_count &gt; 1">
    							<xsl:number format="a" value="$row_index"/>
    						</xsl:if>
    						<xsl:text>)</xsl:text>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">1. Województwo:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenWojewodztwo">
    						<xsl:value-of select="adr:Wojewodztwo"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">2. Powiat:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenPowiat">
    						<xsl:value-of select="adr:Powiat"/>
    					</span>
    				</td>
    				<td style="width:34%;" class="brdbottom" colspan="2">
    					<span class="description">3. Gmina:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenGmina">
    						<xsl:value-of select="adr:Gmina"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">4. Miejscowość:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenMiejscowosc">
    						<xsl:value-of select="adr:Miejscowosc"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">5. Ulica:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenUlica">
    						<xsl:value-of select="adr:Ulica"/>
    					</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenBudynek">
    						<xsl:value-of select="adr:Budynek"/>
    					</span>
    				</td>
    				<td style="width:14%;" class="brdbottom">
    					<span class="description">7. Nr lokalu:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenLokal">
    						<xsl:value-of select="adr:Lokal"/>
    					</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">8. Kod pocztowy:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenKodPocztowy">
    						<xsl:value-of select="adr:KodPocztowy"/>
    					</span>
    				</td>
    				<td style="width:33%;" class="brdright brdbottom">
    					<span class="description">9. Poczta:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenPoczta">
    						<xsl:value-of select="adr:Poczta"/>
    					</span>
    				</td>
    				<td class="brdbottom" colspan="2">
    					<span class="description">10. Skrytka pocztowa:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenSkrytkaPocztowa">
    						<xsl:value-of select="adr:SkrytkaPocztowa"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td width="50%" class="brdright brdbottom">
    					<span class="description">11. Adres poczty elektronicznej:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenEmail">
    						<xsl:value-of select="../wnio:DaneDoKontaktu/wnio:Email"/>
    					</span>
    				</td>
    				<td width="50%" class="brdbottom">
    					<span class="description">12. Strona WWW:</span>
    					<br/>
    					<span class="field" field="PelnomocnikAdresDoreczenWWW">
    						<xsl:value-of select="../wnio:DaneDoKontaktu/wnio:StronaWWW"/>
    					</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustePelnomocnictwa">
    		<xsl:comment>
    			***** PUSTE PEŁNOMOCNICTWA *****
    		</xsl:comment>
    		<table class="maintable">
    			<tr>
    				<td class="nopadding">
    					<table class="innertable">
    						<tr>
    							<td class="brdbottom">
    								<span class="header">30. Udzieliłem pełnomocnictwa do prowadzenia moich spraw:</span>
    								<span class="description"> (można wypełniać od 01.01.2012)</span>
    							</td>
    						</tr>
    						<tr>
    							<td class="brdbottom brdright">
    								<xsl:call-template name="checkoff"/>
    								<span class="header" style="font-size:0.9em;">
    									<xsl:text>30.1. Dane pełnomocnika</xsl:text>
    								</span>
    							</td>
    							<td class="description brdbottom" width="40%">
    								<xsl:text>Wykreślenie wpisu o pełnomocnictwie z CEIDG </xsl:text>
    								<xsl:call-template name="checkoff"/>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td style="width:33%; vertical-align:middle;" class=" description brdbottom brdright empty">
    								<span style="font-size:1.2em;">Pełnomocnik jest osobą prawną</span>
    								<xsl:call-template name="checkoff"/>
    							</td>
    							<td colspan="2" class="description brdbottom empty">
    								<xsl:text>1. Nazwa firmy pełnomocnika</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" class="description brdbottom brdright empty">
    								<xsl:text>2. Imię:</xsl:text>
    							</td>
    							<td style="width:40%" class="description brdbottom empty">
    								<xsl:text>3. Nazwisko</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" class="description brdbottom brdright empty">
    								<xsl:text>4. PESEL/KRS</xsl:text>
    							</td>
    							<td style="width:40%" class="description brdbottom empty">
    								<xsl:text>5. Data urodzenia (RRRR-MM-DD):</xsl:text>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="2" class="description brdbottom brdright empty">
    								<xsl:text>6. NIP: </xsl:text>
    							</td>
    							<td style="width:40%" class="description brdbottom empty">
    								<xsl:text>7. Obywatelstwa: </xsl:text>
    							</td>
    						</tr>
    					</table>
    					<table class="innertable">
    						<tr>
    							<td colspan="4" class="brdbottom">
    								<xsl:call-template name="checkoff"/>
    								<span class="header" style="font-size:0.9em;">
    									<xsl:text>30.2. Adres miejsca zamieszkania lub wykonywania działalności gospodarczej pełnomocnika </xsl:text>
    								</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:30%;" class="brdright brdbottom empty">
    								<span class="description">1. Kraj:</span>
    							</td>
    							<td style="width:30%;" class="brdright brdbottom empty">
    								<span class="description">2. Województwo:</span>
    							</td>
    							<td style="width:20%;" class="brdright brdbottom empty">
    								<span class="description">3. Powiat:</span>
    							</td>
    							<td style="width:20%;" class="brdbottom empty">
    								<span class="description">4. Gmina:</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:30%;" class="brdright brdbottom empty">
    								<span class="description">5. Miejscowość:</span>
    							</td>
    							<td style="width:30%;" class="brdright brdbottom empty">
    								<span class="description">6. Ulica:</span>
    							</td>
    							<td style="width:20%;" class="brdright brdbottom empty">
    								<span class="description">7. Nr nieruchomości/domu:</span>
    							</td>
    							<td style="width:20%;" class="brdbottom empty">
    								<span class="description">8. Nr lokalu:</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="width:30%;" class="brdright brdbottom empty">
    								<span class="description">9. Kod pocztowy:</span>
    							</td>
    							<td class="brdbottom empty" colspan="3">
    								<span class="description">10. Poczta:</span>
    							</td>
    						</tr>
    						<tr>
    							<td colspan="4" class="brdbottom empty">
    								<span class="description">11. Opis nietypowego miejsca:</span>
    							</td>
    						</tr>
    					</table>
    					<xsl:call-template name="PustyAdresDoreczenPelnomocnika"/>
    					<table class="innertable">
    						<tr>
    							<td>
    								<xsl:call-template name="checkoff"/>
    								<span class="header" style="font-size:0.9em;">30.4. Zakres pełnomocnictwa</span>
    							</td>
    						</tr>
    						<tr>
    							<td style="font-size:8pt;padding-left:30px;"> .............................</td>
    						</tr>
    						<tr>
    							<td style="font-size:8pt;padding-left:30px;">
    								<b>W zakresie rejestru CEIDG pełnomocnictwo obejmuje następujące czynności:</b>
    								<br/>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>zmiana wpisu w CEIDG</xsl:text>
    								<br/>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>wpis informacji w CEIDG o zawieszeniu wykonywania działalności gospodarczej</xsl:text>
    								<br/>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>wpis informacji w CEIDG o wznowieniu wykonywania działalności gospodarczej</xsl:text>
    								<br/>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>wniosek o wykreślenie wpisu w CEIDG</xsl:text>
    								<br/>
    								<xsl:call-template name="checkoff"/>
    								<xsl:text>prowadzenie spraw za pośrednictwem punktu kontaktowego</xsl:text>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template name="PustyAdresDoreczenPelnomocnika">
    		<xsl:param name="rows_count" select="1"/>
    		<xsl:param name="row_index" select="position()"/>
    		<table class="innertable">
    			<tr>
    				<td colspan="4" class="brdbottom">
    					<xsl:call-template name="checkoff"/>
    					<span class="header" style="font-size:0.9em;">
    						<xsl:text>30.3</xsl:text>
    						<xsl:if test="$rows_count &gt; 1">
    							<xsl:number format="a" value="$row_index"/>
    						</xsl:if>
    						<xsl:text>. Adres pełnomiocnika do doręczeń</xsl:text>
    					</span>
    					<span class="description"> (jeśli inny niż w rubryce 30.2)</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:30%;" class="brdright brdbottom empty">
    					<span class="description">1. Województwo:</span>
    				</td>
    				<td style="width:30%;" class="brdright brdbottom empty">
    					<span class="description">2. Powiat:</span>
    				</td>
    				<td class="brdbottom empty" colspan="2">
    					<span class="description">3. Gmina:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:30%;" class="brdright brdbottom empty">
    					<span class="description">4. Miejscowość:</span>
    				</td>
    				<td style="width:30%;" class="brdright brdbottom empty">
    					<span class="description">5. Ulica:</span>
    				</td>
    				<td style="width:20%;" class="brdright brdbottom empty">
    					<span class="description">6. Nr nieruchomości/domu:</span>
    				</td>
    				<td style="width:20%;" class="brdbottom empty">
    					<span class="description">7. Nr lokalu:</span>
    				</td>
    			</tr>
    			<tr>
    				<td style="width:30%;" class="brdright brdbottom empty">
    					<span class="description">8. Kod pocztowy:</span>
    				</td>
    				<td class="brdright brdbottom empty">
    					<span class="description">9. Poczta:</span>
    				</td>
    				<td class="brdbottom empty" colspan="2">
    					<span class="description">10. Skrytka pocztowa:</span>
    				</td>
    			</tr>
    		</table>
    		<table class="innertable">
    			<tr>
    				<td width="50%" class="brdright brdbottom empty">
    					<span class="description">11. Adres poczty elektronicznej:</span>
    				</td>
    				<td width="50%" class="brdbottom empty">
    					<span class="description">12. Strona WWW:</span>
    				</td>
    			</tr>
    		</table>
    	</xsl:template>
    	<xsl:template match="text()|@*" mode="check">
    		<xsl:choose>
    			<xsl:when test=". = '1'">
    				<xsl:call-template name="checkon"/>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:call-template name="checkoff"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
    	<xsl:template name="nocheck">
    		<span class="field">
    			<xsl:call-template name="checkoff"/>
    			<b>Tak</b>
    			<xsl:call-template name="checkoff"/>
    			<b>Nie</b>
    		</span>
    	</xsl:template>
    	<xsl:template name="tak">
    		<span class="field">
    			<xsl:call-template name="checkon"/>
    			<b>Tak</b>
    			<xsl:call-template name="checkoff"/>
    			<b>Nie</b>
    		</span>
    	</xsl:template>
    	<xsl:template name="nie">
    		<span class="field">
    			<xsl:call-template name="checkoff"/>
    			<b>Tak</b>
    			<xsl:call-template name="checkon"/>
    			<b>Nie</b>
    		</span>
    	</xsl:template>
    	<xsl:template name="pustytaknie">
    		<span class="field">
    			<xsl:call-template name="checkoff"/>
    			<b>Tak</b>
    			<xsl:call-template name="checkoff"/>
    			<b>Nie</b>
    		</span>
    	</xsl:template>
    	<xsl:template name="checkon">
    		<div class="check">X</div>
    	</xsl:template>
    	<xsl:template name="checkoff">
    		<div class="check"> </div>
    	</xsl:template>
    </xsl:stylesheet>