BLANK_IMAGE = 'images/b.gif';
var menu1_height = 20;
var menu2_height = 80;
var menu3_width = 350;

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:4,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#666666",	// color of the item shadow, if any
		bgON:"#E4C413",		// background color for the items
		bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	textClass:'nibylink',
	css:{
		ON:"tekst1",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var STYLE1 = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:4,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#666666",	// color of the item shadow, if any
		bgON:"#000000",		// background color for the items
		bgOVER:"#000000"	// background color for the item which is under mouse right now
	},
	textClass:'tekst1_bialy',
	css:{
		ON:"tekst1_bialy",	// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var STYLE2 = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:4,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#CCCCCC",	// color of the item shadow, if any
		bgON:"#FDF09B",		// background color for the items
		bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	textClass:'nibylink',
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

//INTERNET dziala w Internecie
var INTERNET = [
	{pos:[0,0], itemoff:[menu1_height-1,0], leveloff:[2,236], style:STYLE, size:[menu1_height,236]},
	{code:"<DIV align=\"center\">MENU</DIV>", url:'', "format":{style:STYLE1}},
	{code:"<DIV align=\"center\"><B>Strona główna</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">&nbsp;Informacje o firmie GRZELA, zakres działalności, oferta.</DIV>", url:'http://www.grzela.pl/index.shtml', target:'_top', "format":{"itemoff":[menu1_height-1,0], "size":[menu2_height,236]}},
	{code:"<DIV align=\"center\"><B>Programy</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">&nbsp;Lista dostępnych programów do pobrania. Część z nich jest darmowa, część posiada bezpłatną wersję testową.</DIV>", url:'http://www.grzela.pl/soft/index.shtml', target:'_top', "format":{"itemoff":[menu2_height-1,0], "size":[menu2_height,236]},
		sub:[

			{style:STYLE2 , size:[menu2_height,menu3_width], leveloff:[-90,236]},
			{code:"<IMG SRC=\"http://www.grzela.pl/soft/haftix/favicon.gif\" BORDER=\"0\" ALIGN=\"left\"><DIV align=\"center\"> <B>HaftiX</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\"> HaftiX konwertuje obrazy cyfrowe na wzór haftu krzyżykowego oraz umożliwia edycję wzorów liczonych.</DIV>", url:'http://www.grzela.pl/soft/haftix/index_pl.shtml', target:'_top'},
			{code:"<IMG SRC=\"http://www.grzela.pl/soft/favicon.gif\" BORDER=\"0\" ALIGN=\"left\"><DIV align=\"center\"> <B>Ojej</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">Ojej jest swego rodzaju książką teleadresową. Zapisać w nim możemy swoich znajomych wraz z wieloma danymi. Przypomina o zbliżających się urodzinach i imieninach przyjaciół.</DIV>", url:'http://www.grzela.pl/soft/ojej/index.html', target:'_top'},
			{code:"<IMG SRC=\"http://www.grzela.pl/soft/ekstraktor/favicon.gif\" BORDER=\"0\" ALIGN=\"left\"><DIV align=\"center\"> <B>Ekstraktor</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\"> Ekstraktor pozwala na wydobycie adresów email z tekstu.</DIV>", url:'http://www.grzela.pl/soft/ekstraktor/index.html', target:'_top'}
			]
			},
	{code:"<DIV align=\"center\"><B>Elektronika</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">&nbsp;Oferta i realizacje projektów elektronicznych.</DIV>", url:'http://www.grzela.pl/elektronika_PL.shtml', target:'_top', "format":{itemoff:[menu2_height-1,0], "size":[menu2_height,236]}},
	{code:"<DIV align=\"center\"><B>Pozostałe&nbsp;usługi</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">&nbsp;Przetwarzanie obrazów na wzór haftu krzyżykowego.</DIV>", url:'http://www.grzela.pl/uslugi_PL.shtml', target:'_top', "format":{itemoff:[menu2_height-1,0], "size":[menu2_height,236]}},
	{code:"<DIV align=\"center\"><B>Kontakt</B></DIV></DIV><DIV align=center><IMG SRC=\"obrazki/seprat.gif\"></DIV><DIV class=\"male\" align=\"left\">&nbsp;Dane teleadresowe.</DIV>", url:'http://www.grzela.pl/kontakt_PL.shtml', target:'_top', "format":{itemoff:[menu2_height-1,0], "size":[menu2_height,236]}}
];

//okreslenie, ktory rodzaj menu ma byc aktualnie uzywany
var MENU_ITEMS = INTERNET;

