	// preloadujemy obrazki do zielonego menu
		for (i=1;i<10;i++) {
			var PierwszyObrazek = new Image();
			PierwszyObrazek.src = "http://www.betplatform.com/www/images/new_menu/en/m"+i+"_1.jpg";
			var DrugiObrazek = new Image();
			DrugiObrazek.src = "http://www.betplatform.com/www/images/new_menu/en/m"+i+"_2.jpg";
		}
		// funkcja do podmiany obrazkow w menu
		function SwapImage(IdObrazka,Stan) {
			var NazwaObrazka = "i"+IdObrazka;
			var Obrazek = document.getElementById(NazwaObrazka);
			if (IdObrazka!='4')
				(Stan==1 ? Obrazek.src = "http://www.betplatform.com/www/images/new_menu/en/m"+IdObrazka+"_2.jpg" : Obrazek.src = "http://www.betplatform.com/www/images/new_menu/en/m"+IdObrazka+"_1.jpg");
		}
		// pokazuje/ukrywa warswtę dla menu gornego
		function visible_lm(id)
		{
		document.getElementById(id).style.display = (document.getElementById(id).style.display == "none") ? "block" : "none";
		}
		//otwiera flash z wynikami na zywo dla formuly 1
		function F1() {
		window.open('http://www.msfree.gr/livemachine/pol.htm', 'f1live', 'width=950,height=675');
		}
		// funckja ustawia marginesy do rozwijanego menu górnego "LIVE" oraz wrzuca potrzebny text
		function onloadstyle() {
			// detekcja przegladarki
			var uB = new Array(); // informacje o przegladarce uzytkownika
			uB['name'] = false; // nazwa przegladarki
			var uA = navigator.userAgent.toLowerCase();
			if ( uA.indexOf("opera")!=-1 )
			{
				uB['name'] = "OPERA";
			}
			else if ( uA.indexOf("msie")!=-1 )
			{
				uB['name'] = "IE";
			}
			else if ( uA.indexOf("khtml")!=-1 )
			{
				uB['name'] = "KHTML";

			}
			else if ( uA.indexOf("gecko")!=-1 )
			{
				uB['name'] = "GECKO";
			}
			var stat = document.getElementById('stat');
			var narzedzia = document.getElementById('narzedzia');
			if (uB['name'] == "IE")
			{
				document.getElementById('stat').style.margin = '40px 0px 0px -97px';
				document.getElementById('stat').style.width = '122px';
				document.getElementById('narzedzia').style.margin = '41px 0px 0px -76px';
				document.getElementById('narzedzia').style.width = '101px';


			} else {
				document.getElementById('stat').style.margin = '-20px 0px 0px -24px';
				document.getElementById('stat').style.width = '122px';
				document.getElementById('narzedzia').style.margin = '-20px 0px 0px -24px';
				document.getElementById('narzedzia').style.width = '101px';
			}
			stat.innerHTML = '<div style="background: #7d9f03; padding: 5px; text-align:left;border: 1px solid #8cbc1f;border-top: none;"><span style="color: #FFF; font-family: arial; font-weight: bold;"><p style="margin: 0px;border-top: 1px solid #9ACF26;"><img src="http://www.betplatform.com/www/images/trojkat_menu.gif" alt="strzalka" hspace="3" vspace="2"> <a href="/www/en/statystyki/" title="Statistics" style="color: #FFF;font-size: 13px;text-decoration:none;" onMouseOver="this.style.color=\'#ffea00\'" onMouseOut="this.style.color=\'#FFF\'">Statistics</a></p><p style="margin: 0px;border-top: 1px solid #9ACF26;"><img src="http://www.betplatform.com/www/images/trojkat_menu.gif" alt="strzalka" hspace="3" vspace="2"> <a href="/www/en/wyniki-zakonczonych-spotkan/" title="Results" style="color: #FFF;font-size: 13px;text-decoration:none;" onMouseOver="this.style.color=\'#ffea00\'" onMouseOut="this.style.color=\'#FFF\'">Results</a></p></span></div>';
			narzedzia.innerHTML = '<div style="background: #7d9f03; padding: 5px; text-align:left;border: 1px solid #8cbc1f;border-top: none;"><span style="color: #FFF; font-family: arial; font-weight: bold;"><p style="margin: 0px;border-top: 1px solid #9ACF26;"><img src="http://www.betplatform.com/www/images/trojkat_menu.gif" alt="strzalka" hspace="3" vspace="2"> <a href="/www/en/surebets/" title="Surebets" style="color: #FFF;font-size: 13px;text-decoration:none;" onMouseOver="this.style.color=\'#ffea00\'" onMouseOut="this.style.color=\'#FFF\'">Surebets</a></p><p style="margin: 0px;border-top: 1px solid #9ACF26;"><img src="http://www.betplatform.com/www/images/trojkat_menu.gif" alt="strzalka" hspace="3" vspace="2"> <a href="/www/en/progresja/" title="Progression" style="color: #FFF;font-size: 13px;text-decoration:none;" onMouseOver="this.style.color=\'#ffea00\'" onMouseOut="this.style.color=\'#FFF\'">Progression</a></p></span></div>';
			}
