﻿var menu = new Array();
var offset = 0;

//Tutaj znajduja sie wszystkie pozycje menu
//Opis skladowych obiektu Index:
//  name - nazwa, jaka bedzie wyswietlana - moze to byc obraz
//  hyperlink - link, do ktorego ma prowadzic pozycja, w przypadku jego braku, wpisac 0
//  typeOfMenu - typ menu, do ktorego nalezy pozycja; 0 - glowne, gorne menu; 1 - lista szkol; 2 - patronaty szkoly; 3 - certyfikaty; 4 - projekty; 5 - prawe menu 'szybka nawigacja'

//URLCorrection - patrz: url-correction.js; tutaj ta zmienna zostala uzyta recznie ze wzgledu na wieksza ilosc odnosnikow (onmouseover i onmouseout). Jezeli w linku zostal zastosowany tylko jeden link, nie nalezy uzywac tej zmiennej

//gorne menu
menu[offset++] = new Index("Główna", "index.html", 0);
menu[offset++] = new Index("O szkole", "sites/o_szkole.html", 0);
menu[offset++] = new Index("Rekrutacja" .fontcolor("red"), "sites/rekrutacja.html", 0);
menu[offset++] = new Index("Ogłoszenia", "sites/ogloszenia.html", 0);
menu[offset++] = new Index("Wydarzenia", "sites/wydarzenia.html", 0);
menu[offset++] = new Index("Nauczyciel", "nauczyciel/index.php", 0);
menu[offset++] = new Index("Biblioteka", "gimnazjum/biblio/biblio.html", 0);
menu[offset++] = new Index("Kontakt", "sites/kontakt.html", 0);


//lista szkol
menu[offset++] = new Index("<img src=\"images/school-gimnazjum.png\" width=\"257\" height=\"50\" align=\"middle\" onmouseover=\"this.src='" + URLCorrection + "images/school-gimnazjum-2.png'\" onmouseout=\"this.src='" + URLCorrection + "images/school-gimnazjum.png'\" />", "gimnazjum/index.php", 1);
menu[offset++] = new Index("<img src=\"images/school-technikum.png\" width=\"257\" height=\"23\" align=\"middle\" onmouseover=\"this.src='" + URLCorrection + "images/school-technikum-2.png'\" onmouseout=\"this.src='" + URLCorrection + "images/school-technikum.png'\" />", "sites/technikum.html", 1);
menu[offset++] = new Index("<img src=\"images/school-lp.png\" width=\"257\" height=\"24\" align=\"middle\" onmouseover=\"this.src='" + URLCorrection + "images/school-lp-2.png'\" onmouseout=\"this.src='" + URLCorrection + "images/school-lp.png'\" />", "sites/lp.html", 1);
menu[offset++] = new Index("<img src=\"images/school-lo.png\" width=\"257\" height=\"23\" align=\"middle\" onmouseover=\"this.src='" + URLCorrection + "images/school-lo-2.png'\" onmouseout=\"this.src='" + URLCorrection + "images/school-lo.png'\" />", "sites/lo.html", 1);

//patronaty
menu[offset++] = new Index("Szkoła pod patronatem Uniwersytetu Śląskiego w Katowicach", 0, 2);
menu[offset++] = new Index("<img src=\"images/logos/us.png\" width=\"88\" height=\"64\" />", "http://www.us.edu.pl", 2);
menu[offset++] = new Index("oraz Akademii Wychowania Fizycznego w Katowicach", 0, 2);
menu[offset++] = new Index("<img src=\"images/logos/awf.png\" width=\"81\" height=\"80\" />", "http://www.awf.katowice.pl", 2);


//inne
menu[offset++] = new Index("Znajdź nas na ", 0, 8);
menu[offset++] = new Index("<img src=\"images/f.png\" width=\"97\" height=\"25\" />", "http://www.us.edu.pl", 8);
menu[offset++] = new Index("<img src=\"images/p.png\" width=\"100\" height=\"33\" />", "http://www.awf.katowice.pl", 8);
menu[offset++] = new Index("<img src=\"images/y.png\" width=\"93\" height=\"25\" />", "http://www.youtube.com/user/ZS1Tychy?gl=PL", 8);


//certyfikaty
menu[offset++] = new Index("Certyfikaty jakości:", 0, 3);
menu[offset++] = new Index("<img src=\"images/logos/sus.png\" width=\"130\" height=\"126\" />", "http://www.ceo.org.pl/sus", 3);
menu[offset++] = new Index("<img src=\"images/logos/szkola-z-klasa.png\" width=\"132\" height=\"44\" />", "http://www.szkolazklasa.pl", 3);
menu[offset++] = new Index("<img src=\"images/logos/pcbc.png\" width=\"120\" height=\"134\" />", "http://www.pcbc.gov.pl", 3);
menu[offset++] = new Index("<img src=\"images/logos/IqNet.png\" width=\"125\" height=\"125\" />", "http://www.pcbc.gov.pl/index.php?option=com_content&view=article&id=430&Itemid=385", 3);
menu[offset++] = new Index("<img src=\"images/logos/talenty.png\" width=\"120\" height=\"170\" />", "http://www.roktalentow.men.gov.pl/projekt-strona-glowna", 3);

//projekty
menu[offset++] = new Index("Projekty UE:", 0, 4);
menu[offset++] = new Index("<img src=\"images/logos/comenius2.png\" width=\"130\" height=\"113\" />", "sites/comenius.html", 4);
menu[offset++] = new Index("<img src=\"images/logos/partnerzy-w-nauce.png\" width=\"58\" height=\"62\" />", "http://www.partnerzy-w-nauce.us.edu.pl", 4);
menu[offset++] = new Index("<img src=\"images/logos/pioro.png\" width=\"130\" height=\"70\" />", "http://www.obrastamwpiorka.pl ", 4);
menu[offset++] = new Index("<img src=\"images/logos/klasy.png\" width=\"125\" height=\"70\" />", "http://www.frankofonia.pl", 4);
menu[offset++] = new Index("<img src=\"images/logos/skrzydla.png\" width=\"130\" height=\"50\" />", "http://translatorica.pl/skrzydla", 4);
menu[offset++] = new Index("Zakończone projekty UE:", 0, 4);
menu[offset++] = new Index("<img src=\"images/logos/zawod-moim-atutem.png\" width=\"130\" height=\"70\" />", "http://www.zawodmoimatutem.pl", 4);
menu[offset++] = new Index("<img src=\"images/logos/Leonardo.png\" width=\"130\" height=\"82\" />", "http://leonardo.org.pl/index.php/ida/2/", 4);
menu[offset++] = new Index("<img src=\"images/logos/Comenius.png\" width=\"130\" height=\"84\" />", "http://comenius.org.pl", 4);

//prawe menu 'szybka nawigacja'
menu[offset++] = new Index("<img src=\"images/plan_lekcji.png\" width=\"160\" height=\"49\" />", "dod/plan/index.html", 5);
menu[offset++] = new Index("<img src=\"images/e-dziennik.png\" width=\"160\" height=\"49\" />", "http://www.dziennik.librus.pl/", 5);
menu[offset++] = new Index("<img src=\"images/kalendarium.png\" width=\"160\" height=\"49\" />", "sites/kalendarium.html", 5);
menu[offset++] = new Index("<img src=\"images/matura2011.png\" width=\"160\" height=\"49\" />", "sites/matura.html", 5);
menu[offset++] = new Index("<img src=\"images/egzamin2011.png\" width=\"160\" height=\"49\" />", "sites/egzamin.html", 5);
menu[offset++] = new Index("<img src=\"images/rada.png\" width=\"160\" height=\"49\" />", "sites/rada.html", 5);
menu[offset++] = new Index("<img src=\"images/dokumenty.png\" width=\"160\" height=\"49\" />", "sites/doc.html", 5);
menu[offset++] = new Index("<img src=\"images/crazy-trek.png\" width=\"160\" height=\"49\" />", "Crazy_trek/index.html", 5);
menu[offset++] = new Index("<img src=\"images/media.png\" width=\"160\" height=\"49\" />", "sites/media.html", 5);

//projekty edukacyjne
menu[offset++] = new Index("Projekty edukacyjne:", 0, 6);
menu[offset++] = new Index("<img src=\"images/logos/ceo.png\" width=\"130\" height=\"400\" />", "http://www.ceo.org.pl/portal/home", 6);



//sukcesy
menu[offset++] = new Index("<img src=\"images/logos/tyskieorly.png\" width=\"120\" height=\"120\" />", "http://www.mzo.tychy.pl/files/tyskie_orly_2010.pdf", 7);



