function otworz(a,w,h)
{
window.open(a,"","toolbar=0,scrollbars=1,status=0,width="+w+",height="+h);
}
 
function menu(a)
{
document.write('<TABLE ALIGN="center" CLASS="t1">');
document.write('<TR VALIGN="top">');
document.write('<TD WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="chor-3.php3" TARGET="_self">');
if (a==1)
  {document.write('<font color="red">');}
document.write('O&nbsp;kraju');
if (a==1)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="porady.php3" TARGET="_self">');
if (a==2)
  {document.write('<font color="red">');}
document.write('Praktyczne&nbsp;porady');
if (a==2)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="miejsca.php3" TARGET="_self">');
if (a==3)
  {document.write('<font color="red">');}
document.write('Ciekawe&nbsp;miejsca');
if (a==3)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="fotki.php3" TARGET="_self">');
if (a==4)
  {document.write('<font color="red">');}
document.write('Galeria&nbsp;foto');
if (a==4)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center"BACKGROUND="pas1.gif">');
document.write('<A HREF="wakacje.php3" TARGET="_self">');
if (a==5)
  {document.write('<font color="red">');}
document.write('Moje&nbsp;wakacje');
if (a==5)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="trasy.php3" TARGET="_self">');
if (a==6)
  {document.write('<font color="red">');}
document.write('Moje&nbsp;trasy');
if (a==6)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="ttrasy.php3" TARGET="_self">');
if (a==7)
  {document.write('<font color="red">');}
document.write('Twoje&nbsp;wakacje');
if (a==7)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD WIDTH="13%" ></TD>');
document.write('</TR>');
document.write('<TR VALIGN="top">');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="noclegi.php3" TARGET="_self">');
if (a==8)
  {document.write('<font color="red">');}
document.write('Noclegi');
if (a==8)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF='+
'javascript:otworz("http://gbook.ibt.com.pl/gbook.php?id=valdemar",750,550);'+'>');
if (a==9)
  {document.write('<font color="red">');}
document.write('Księga');
if (a==9)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="linki.php3" TARGET="_self">');
if (a==10)
  {document.write('<font color="red">');}
document.write('Ciekawe&nbsp;strony');
if (a==10)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="n-index.php3" TARGET="_self">');
if (a==11)
  {document.write('<FONT COLOR="red">');}
document.write('Forum');
if (a==11)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="info.php3" TARGET="_self">');
if (a==12)
  {document.write('<font color="red">');}
document.write('O stronie');
if (a==12)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD  WIDTH="13%" ALIGN="center" BACKGROUND="pas1.gif">');
document.write('<A HREF="pobierz.php3" TARGET="_self">');
if (a==13)
  {document.write('<FONT COLOR="red">');}
document.write('Bierz&nbsp;co&nbsp;chcesz');
if (a==13)
  {document.write('</font>');}
document.write('</a></TD>');
document.write('<TD WIDTH="13%" ></TD>');
document.write('<TD WIDTH="13%" ></TD>');
document.write('</TR>');
document.write('</TABLE>');
}

function adres()
{
document.write('<a href="mailto:?SUBJECT=ciekawy serwis o Chorwacji&BODY=www.wakacje.chorwacja.prv.pl">');
document.write('<IMG SRC="foto/pocz.gif" ALT="Wyślij adres znajomym " BORDER=0 HEIGHT=22 WIDTH=22>');
document.write('</a>');
}

function startuj()
{
document.write('<A HREF="#" onClick='+'this.style.behavior="url(#default#homepage)";this.setHomePage("http://www.wakacje.chorwacja.prv.pl");'+'>');
document.write('<IMG SRC="foto/start.gif" ALT="Startuj z nami" BORDER=0 HEIGHT=18 WIDTH=20>');
document.write('</a>');
}

function dodaj()
{
document.write('<A HREF='+'javascript:window.external.AddFavorite("http://www.wakacje.chorwacja.prv.pl");'+'>');
document.write('<IMG SRC="foto/ulub.gif"  ALT="Dodaj do ulubionych " BORDER=0 HEIGHT=18 WIDTH=20>');
document.write('</a>');
}

function smsuj()
{
document.write('<A HREF="sms.php3" TARGET="_self">');
document.write('<IMG SRC="foto/sms.gif"  ALT="Bramka SMS " BORDER=0 HEIGHT=20 WIDTH=28>');
document.write('</a>');
}


function banery()
{
document.write('<TABLE BORDER=0 WIDTH="700" CELLPADDING=0 CELLSPACING=0>');
document.write('<tr valign="middle">');
document.write('<td width="50%" ALIGN="left">');
document.write('</TD>');
document.write('<TD WIDTH="5%" ALIGN="center"><script language="javascript">smsuj();</script> </TD>');
document.write('<TD WIDTH="5%" ALIGN="center"><script language="javascript">adres();</script></TD>');
document.write('<TD WIDTH="5%" ALIGN="center"><script language="javascript">startuj();</script> </TD>');
document.write('<TD WIDTH="5%" ALIGN="center"><script language="javascript">dodaj();</script> </TD>');
document.write('<TD WIDTH="30%" ALIGN="center"><a href="http://www.e-kartki.vdm.pl" target="_blank"><img src="graf/ekartki-1.jpg" alt="Wyślij e-kartkę z życzeniami" border=1 height=47 width=138></a></TD>');
document.write('</tr>');

document.write('<tr valign="middle">');
document.write('<td colspan=6 width="100%" align="center"><A HREF=http://www.zamosconline.pl></A> <!-- text used in the movie-->');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
document.write('  WIDTH=600 HEIGHT=81>');
document.write('  <PARAM NAME=movie VALUE="graf/zaol1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED ');
document.write('src="graf/zaol1.swf" quality=high bgcolor=#FFFFFF  WIDTH=600 HEIGHT=81 TYPE="application/x-shockwave-flash" ');
document.write('PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
document.write('</OBJECT>');
document.write('<br><a href="http://www.zamosconline.pl" target="_blank" ');
document.write('style="font-family: Tahoma,Verdana; font-size: 8pt;color:#005CB9;">Zamość i Roztocze - serwis regionalny</a></TD>');
document.write('</tr>');

document.write('<tr valign="middle">');
document.write('<td colspan=6 width="100%" align="center">');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
document.write(' WIDTH=500 HEIGHT=60>');
document.write(' <PARAM NAME=movie VALUE="graf/fabryka-d.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="graf/fabryka-d.swf" ');document.write('quality=high bgcolor=#FFFFFF  WIDTH=500 HEIGHT=60 TYPE="application/x-shockwave-flash" ');document.write('PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
document.write('</OBJECT></td>');
document.write('</tr>');


document.write('</table>');
}


function banery1()
{
document.write('<TABLE BORDER=0 WIDTH="600" CELLPADDING=0 CELLSPACING=0>');
document.write('<tr valign="middle">');
document.write('<td width="100%" align="center">');
document.write('<a href="http://www.vdm.pl" target="_blank"><img src="graf/ban-1.gif" border=1 height=60 width=450></a>');
document.write('</td></tr>');
document.write('</table>');
}
