function navbar(jezyk)
{
       
       document.write("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td background=\"grafika/dot_poziome.gif\"><img src=\"grafika/dot_poziome.gif\"></td></tr></table>");
       
       if (jezyk == "pl")
       {
       
              document.writeln("<div align=\"right\" class=\"navbar\">");
              document.writeln("<a href=\"javascript:history.back();\"><img src=\"grafika/btnBack.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Idź wstecz\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"#\"><img src=\"grafika/btnUp.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Góra dokumentu\" onMouseover=\"high(this)\" class=\"hi\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"http://www.kongres.osteoporoza.pl/\"><img src=\"grafika/btnHome.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Strona główna\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"javascript:history.forward();\"><img src=\"grafika/btnFor.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Idź do przodu\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("</div>");
       
       }
       else if(jezyk == "eng")
       {
       
              document.writeln("<div align=\"right\" class=\"navbar\">");
              document.writeln("<a href=\"javascript:history.back();\"><img src=\"grafika/btnBack.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Go back\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"#\"><img src=\"grafika/btnUp.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Top of document\" onMouseover=\"high(this)\" class=\"hi\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"http://www.kongres.osteoporoza.pl/\"><img src=\"grafika/btnHome.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Main page\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("<a href=\"javascript:history.forward();\"><img src=\"grafika/btnFor.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"Go forward\" class=\"hi\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a>");
              document.writeln("</div>");
       
       }
       else
       {
       
              document.write("Brak języka \"" + jezyk + "\" dla tego modułu.");
       
       }
       
}

function stopka(jezyk)
{
       
       /*
       ** Dodaje stopke z linkiem do futureweb.pl
*/       
       
       document.write("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td background=\"grafika/dot_poziome.gif\"><img src=\"grafika/dot_poziome.gif\"></td></tr></table>");
       document.write("<div class=\"stopka\">Created by <a href=\"http://www.osteoporoza.pl\">osteoporoza.pl</a></div>");

}

function tytul()
{
       
       /*
       ** Wyciaga text z <title> strony i wycina z niego "osteoporoza.pl - "
       */
       
       var tytul = document.title;
       var re = new RegExp ('osteoporoza.pl - ', 'gi');
       var newstr = tytul.replace(re, '');
       
       document.write("<div class=\"tytul\">" + newstr + "&nbsp;&nbsp;</div>");
       document.write("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td background=\"grafika/dot_poziome.gif\"><img src=\"grafika/dot_poziome.gif\"></td></tr></table>");
       

}

function langBtn(przycisk, jezyk)
{

       if (jezyk == "pl")
       {
       
              if (przycisk == 1)
              {
                     
                     document.write("<a href=\"" + document.URL + "\"><img src=\"grafika/pl_off.gif\" name=\"btnPL\" border=\"0\" alt=\"Polska wersja tej strony\" width=\"127\" height=\"35\" onmouseover=\"btnPL.src='grafika/pl_on.gif';\" onmouseout=\"btnPL.src='grafika/pl_off.gif';\"><a><br>");
                     
              }
              else if (przycisk == 2)
              {
                     
                     var url = document.URL;
                     var re = new RegExp ('pl_', 'gi');
                     var newstr = url.replace(re, 'eng_');
                     
                     document.write("<a href=\"" + newstr + "\"><img src=\"grafika/eng_off.gif\" name=\"btnENG\" border=\"0\" alt=\"English version of this site\" width=\"126\" height=\"35\" onmouseover=\"btnENG.src='grafika/eng_on.gif';\" onmouseout=\"btnENG.src='grafika/eng_off.gif';\"></a><br>");
                     
              }
       
       }
       else if (jezyk == "eng")
       {
       
              if (przycisk == 1)
              {
                     
                     var url = document.URL;
                     var re = new RegExp ('eng_', 'gi');
                     var newstr = url.replace(re, 'pl_');
                     
                     document.write("<a href=\"" + newstr + "\"><img src=\"grafika/pl_off.gif\" name=\"btnPL\" border=\"0\" alt=\"Polska wersja tej strony\" width=\"127\" height=\"35\" onmouseover=\"btnPL.src='grafika/pl_on.gif';\" onmouseout=\"btnPL.src='grafika/pl_off.gif';\"><a><br>");
                     
              }
              else if (przycisk == 2)
              {
                     
                     document.write("<a href=\"" + document.URL + "\"><img src=\"grafika/eng_off.gif\" name=\"btnENG\" border=\"0\" alt=\"English version of this site\" width=\"126\" height=\"35\" onmouseover=\"btnENG.src='grafika/eng_on.gif';\" onmouseout=\"btnENG.src='grafika/eng_off.gif';\"></a><br>");
                     
              }
       
       }

}

function menu(jezyk)
{

       if (jezyk == "pl")
       {
       
              document.write("<div class=\"poziom1\">Informacja</div>");
//**              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zaproszenie.html\">&middot; Zaproszenie</a></div>");              
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_tematy_zjazdu.html\">&middot; Tematy Kongresu</a></div>");
	      document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komitet_naukowy.html\">&middot; Komitet Naukowy</a></div>");
	      document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komitet_organizacyjny.html\">&middot; Komitet Organizacyjny</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_miejsce_konferencji.html\">&middot; Miejsce Kongresu</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_wystawa_firm.html\">&middot; Wystawa firm</a></div>");              
//**              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sekretariat.html\">&middot; Sekretariat kongresu</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_terminy.html\">&middot; Terminy</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program_ramowy.html\">&middot; Program ramowy</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_prezentacje_naukowe.html\">&middot; Prezentacje naukowe</a></div>");
//**              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program_naukowy.html\">&middot; Program Naukowy</a></div>");              
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program.html\">&middot; Program Naukowy</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_plakaty.html\">&middot; Spis Plakatów</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program_socjalny.html\">&middot; Program Socjalny</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sposoby_platnosci.html\">&middot; Sposoby Płatności</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_rezygnacja.html\">&middot; Rezygnacja</a></div>");
//	      document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_bezpieczenstwo.html\">&middot; Bezpieczeństwo</a></div>");

//**              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_hotele.html\">&middot; Hotele</a></div>");

              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_kontakt.html\">&middot; Kontakt</a></div>");
              //document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_tableau.html\">&middot; Tableau</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komunikacja.html\">&middot; Komunikacja</a></div>");
              
/*              
              document.write("<div class=\"poziom1\">Poprzednie zjazdy</div>");
              document.write("<div class=\"poziom3\"><a href=\"http://www.efort.pl\">&middot; IX ICL EFORT</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zjazd_xi.html\">&middot; XI Zjazd PTOA PFO</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zjazd_xxxiii.html\">&middot; XXXIII Zjazd PTOiTr</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sympozjum_x.html\">&middot; X Sympozjum PTOA PFO</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sympozjum_ix.html\">&middot; IX Sympozjum PTOA PFO</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sympozjum_ii.html\">&middot; II Sympozjum Osteoporozy</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sympozjum_i.html\">&middot; I Sympozjum Osteoporozy</a></div>");
*/              
              document.write("<div class=\"poziom1\">Zgłoszenia</div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_uczestnictwa.php\">&middot; Rejestracja on-line</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_uczestnictwa.html\">&middot; Rejestracja off-line</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_referatu.html\">&middot; Zgłoszenie referatu/plakatu</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_rezerwacji.html\">&middot; Rezerwacja Hotelu off-line</a></div>");
/*              
              document.write("<div class=\"poziom1\">Kalendarz zjazdów</div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_kalendarz_2003.html\">&middot; 2003</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_kalendarz_2004.html\">&middot; 2004</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_kalendarz_2005.html\">&middot; 2005</a></div>");
              document.write("<div class=\"poziom1\"><a href=\"" + jezyk + "_osteoporoza_w_internecie.html\">Osteoporoza w Internecie</a></div>");
              document.write("<div class=\"poziom1\"><a href=\"" + jezyk + "_dla_pacjentow.html\">Strona pacjentów</a></div>");
              document.write("<div class=\"poziom1\">Biblioteka</div>");
              document.write("<div class=\"poziom1\"><a href=\"" + jezyk + "_wspolpraca.html\">Współpraca</a></div>");
*/       
       }
       else if(jezyk == "eng")
       {
       
              document.write("<div class=\"poziom1\">Information</div>");

              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_tematy_zjazdu.html\">&middot; Congress Topics</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komitet_organizacyjny.html\">&middot; Organising Committee</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komitet_naukowy.html\">&middot; Scientific Committee</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_miejsce_konferencji.html\">&middot; Congress Venue</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sekretariat.html\">&middot; Congress secretariat</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_hotele.html\">&middot; Hotels</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_terminy.html\">&middot; Deadlines</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program_ramowy.html\">&middot; Timetable</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_prezentacje_naukowe.html\">&middot; Scientific Presentations</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program.html\">&middot; Scientific Sessions</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_plakaty.html\">&middot; Posters</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_sposoby_platnosci.html\">&middot; Methods of Payment</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_rezygnacja.html\">&middot; Withdrawal from Participation</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_bezpieczenstwo.html\">&middot; Insurance</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_program_socjalny.html\">&middot; Social Programme</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_wystawa_firm.html\">&middot; Sponsors</a></div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_kontakt.html\">&middot; Contact</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_tableau.html\">&middot; Tableau</a></div>");
///             document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_komunikacja.html\">&middot; Communication</a></div>");
              
              
              
              document.write("<div class=\"poziom1\">Submissions</div>");
              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_uczestnictwa.php\">&middot; Registration on-line</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_uczestnictwa.html\">&middot; Registration off-line</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_referatu.html\">&middot; Lecture/Poster Submission</a></div>");
//              document.write("<div class=\"poziom3\"><a href=\"" + jezyk + "_zgloszenie_rezerwacji.html\">&middot; Hotel Reservation off-line</a></div>");
       
       }
       else
       {
       
              document.write("Brak języka \"" + jezyk + "\" dla tego modułu.");
       
       }
       
       /*
       ** Logo netobiekt i link
       */
       
//       document.write("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td background=\"grafika/dot_poziome.gif\"><img src=\"grafika/dot_poziome.gif\"></td></tr></table>");
//       document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.hspot.pl/\"><img src=\"grafika/loga/hspot.gif\" class=\"hi\" border=\"0\" alt=\"Created by hspot.pl\" onMouseover=\"high(this)\" onMouseout=\"low(this)\"></a></div>");
}

function prawa(jezyk)
{

       
       /*
       ** Buttony po prawej
       */
       
       if (jezyk == "pl")
       {

//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/pfo.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Polska Fundacja Osteoporozy - Oddział w Krakowie\"><br>Polska Fundacja Osteoporozy - Oddział w Krakowie<br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/pto.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Polskie Towarzystwo Osteoartrologii\"><br>Polskie Towarzystwo Osteoartrologii<br></div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wpe2E.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"International Osteoporosis Foundation\"><br>International Osteoporosis Foundation</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wpe2F.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Bone and Joint Decade\"><br>Bone and Joint Decade</a><br></div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wfo.gif\" width=\"80\" height=\"97\" border=\"0\"><br>Wielodyscyplinarne Forum Osteoporotyczne</div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/cm_uj.gif\" width=\"67\" height=\"102\" border=\"0\"><br>Zakład Chorób Kości i Stawów CM UJ</div>");

//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.osteofound.org/\"><img src=\"grafika/loga/wpe2E.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"International Osteoporosis Foundation\"><br>International Osteoporosis Foundation</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.boneandjointdecade.org/\"><img src=\"grafika/loga/wpe2F.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Bone and Joint Decade\"><br>Bone and Joint Decade</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.warman.com.pl/~osteo/mofpl.html\"><img src=\"grafika/loga/wfo.gif\" width=\"80\" height=\"97\" border=\"0\"><br>Wielodyscyplinarne Forum Osteoporotyczne</div>");
       
       }
       else if(jezyk == "eng")
       {

//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/pfo.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Polish Foundation of Ossteoporosis - Krakow Branch\"><br>Polish Foundation of Ossteoporosis - Krakow Branch<br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/pto.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Polish Osteoarthrology Society\"><br>Polish Osteoarthrology Society<br></div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wpe2E.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"International Osteoporosis Foundation\"><br>International Osteoporosis Foundation</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wpe2F.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Bone and Joint Decade\"><br>Bone and Joint Decade</a><br></div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/wfo.gif\" width=\"80\" height=\"97\" border=\"0\"><br>Multidisciplinary Osteoporotic Forum</div>");
              document.write("<div class=\"prawa\" align=\"center\"><img src=\"grafika/loga/cm_uj.gif\" width=\"67\" height=\"102\" border=\"0\"><br>Department of Bone and Joint Diseases CM UJ</div>");
       
//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.osteofound.org/\"><img src=\"grafika/loga/wpe2E.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"International Osteoporosis Foundation\"><br>International Osteoporosis Foundation</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.boneandjointdecade.org/\"><img src=\"grafika/loga/wpe2F.gif\" width=\"80\" height=\"80\" border=\"0\" alt=\"Bone and Joint Decade\"><br>Bone and Joint Decade</a><br></div>");
//              document.write("<div class=\"prawa\" align=\"center\"><a href=\"http://www.warman.com.pl/~osteo/mofpl.html\"><img src=\"grafika/loga/wfo.gif\" width=\"80\" height=\"97\" border=\"0\"><br>Multidisciplinary Osteoporotic Forum</div>");


       }
       else
       {
       
              document.write("Brak języka \"" + jezyk + "\" dla tego modułu.");
       
       }
       
       document.write("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td background=\"grafika/dot_poziome.gif\"><img src=\"grafika/dot_poziome.gif\"></td></tr></table>");

}

/* {{{ Template funkcji: poczatek

function template(jezyk)
{

       if (jezyk == "pl")
       {
       
       
       
       }
       else if(jezyk == "eng")
       {
       
       
       
       }
       else
       {
       
              document.write("Brak języka \"" + jezyk + "\" dla tego modułu.");
       
       }

}

Template funkcji: koniec }}} */



//--[Inne funkcje]-------------

function high(which2)
{
       
       theobject = which2;
       highlighting = setInterval("highlightit(theobject)", 50);
       
}
function low(which2)
{
       
       clearInterval(highlighting);
       
       if (which2.style.MozOpacity)
       {
              
              which2.style.MozOpacity = 0.3;
              
       }
       else if (which2.filters)
       {
              
              which2.filters.alpha.opacity = 30;
              
       }
       
}

function highlightit(cur2)
{
       if (cur2.style.MozOpacity < 1)
       {
              
              cur2.style.MozOpacity = parseFloat(cur2.style.MozOpacity) + 0.1
              
       }
       else if (cur2.filters&&cur2.filters.alpha.opacity < 100)
       {
              
              cur2.filters.alpha.opacity += 10
              
       }
       else if (window.highlighting)
       {
              clearInterval(highlighting)
       }
}


/*****
**  
**  Copyright (c) by hspot.pl
**  lukasz@hspot.pl
**  
*****/
