  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24140617-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


//Pop-it menu- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<div class="mmenu"><a href="przewodnik.php" ><img src="ok.jpg" border="0"align="center"></a></div>'
linkset[0]+='<div class="mmenu"><a href="paw1.php" TITLE="PAWILON 1A">P&nbsp;1A&nbsp;&nbsp;&nbsp;- Główna hala sprzedaży</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw1v.php" TITLE="PAWILON 1A">P&nbsp;1A&nbsp;&nbsp;&nbsp;- Salon firmowy VINOTTI</a></div>'
linkset[0]+='<div class="mmenu"><a href="antres.php" TITLE="ANTRESOLA">P&nbsp;1A&nbsp;&nbsp;&nbsp;- Sztuka dekoracji okien</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw1b.php" TITLE="PAWILON 1B">P&nbsp;1B&nbsp;&nbsp;&nbsp;- Tanie wypoczynki</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw2.php" TITLE="PAWILON 2">P&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;- Salon firmowy VOX</a></div>'
//linkset[0]+='<div class="mmenu"><a href="paw3.php" TITLE="PAWILON 3">P&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;- Nowoczesne meble <BR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; systemowe</a></div>'
//linkset[0]+='<div class="mmenu"><a href="przewodnik.php" TITLE="PAWILON 3">P&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;- Zmiana ekspozycji, <BR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; otwarcie wkrótce</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw3.php" TITLE="PAWILON 3">P&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;- Meble łazienkowe, <BR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; szafy, przedpokoje</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw4.php" TITLE="PAWILON 4 PARTER">P&nbsp;4p&nbsp;&nbsp;&nbsp;- Upominki, dekoracje,  <BR> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;oświetlenie</a></div>'
linkset[0]+='<div class="mmenu"><a href="p1.php" TITLE="PAWILON 4 PIĘTRO I"> P&nbsp;4pI&nbsp;&nbsp;- Meble z drewna litego,<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; w okleinach naturalnych</a></div>'
linkset[0]+='<div class="mmenu"><a href="p2.php" TITLE="PAWILON 4 PIĘTRO II">P&nbsp;4pII - Meble wypoczynkowe<BR>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;ze skóry&nbsp;</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw5.php" TITLE="PAWILON 5">P&nbsp;&nbsp;&nbsp;5&nbsp;&nbsp;&nbsp;- Meble kuchenne + <BR>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Technika kuchenna</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw6.php" TITLE="PAWILON 6">P&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;&nbsp;- Meble stylowe</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw7.php" TITLE="PAWILON 7">P&nbsp;&nbsp;&nbsp;7&nbsp;&nbsp; <img src="images/galeriadek.jpg" border="0"></a></div>'
linkset[0]+='<div class="mmenu"><a href="paw8.php" TITLE="PAWILON 8">P&nbsp;&nbsp;&nbsp;8&nbsp;&nbsp;&nbsp;- Meble dla dzieci <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i młodzieży</a></div>'
linkset[0]+='<div class="mmenu"><a href="#" TITLE="WKRÓTCE OTWARCIE">P&nbsp;&nbsp;&nbsp;9&nbsp;&nbsp;&nbsp;- WKRÓTCE OTWARCIE</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw10.php" TITLE="PAWILON 10">P&nbsp;10&nbsp;&nbsp;&nbsp;- Salon MEBLE Wójcik</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw12.php" TITLE="PAWILON 12">P&nbsp;12&nbsp;&nbsp;&nbsp;- Meble wypoczynkowe</a></div>'
//linkset[0]+='<div class="mmenu"><a href="paw15a.php" TITLE="PAWILON 15">P&nbsp;15&nbsp;&nbsp; - SOFA <img src="dek2.gif" border="0"></a></div>'
//linkset[0]+='<div class="mmenu"><a href="magazyny.php" TITLE="PAWILON 17">P&nbsp;17&nbsp;&nbsp;&nbsp;- Magazyny, Montażownie</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw20.php" TITLE="PAWILON 20">P&nbsp;20&nbsp;&nbsp;&nbsp;- Sypialnie <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i wszystko do sypialni</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw21.php" TITLE="PAWILON 21">P&nbsp;21&nbsp;&nbsp;&nbsp;- Meblościanki</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw22.php" TITLE="PAWILON 22">P&nbsp;22&nbsp;&nbsp;&nbsp;- Wypoczynki</a></div>'
linkset[0]+='<div class="mmenu"><a href="paw23.php" TITLE="PAWILON 23">P&nbsp;23&nbsp;&nbsp;&nbsp;- Materace</a></div>'
linkset[0]+='<div class="mmenu"><a href="bar.php" TITLE="BISTRO SZUFLADA">BISTRO&nbsp;SZUFLADA&nbsp;&nbsp;&nbsp;</a></div>'

linkset[1]='<div class="mmenu"><a href="kfronty.php">Fronty</a></div>'
linkset[1]+='<div class="mmenu"><a href="akcesoria_kuchenne.php">Akcesoria</a></div>'

//linkset[1]+='<a class="mmenu" href="super_oferta.php" TITLE="">Dobra cena</a><br>'
//linkset[1]+='<div class="mmenu"><a href="gazetka_slojd.php" TITLE="">Promocja MARK SLOJD</a></div>'

linkset[2]='<div class="mmenu"><a href="wyprzedaz.php">Meble wypoczynkowe</a></div>'
linkset[2]+='<div class="mmenu"><a href="m_kuchenne.php">Sprzęt AGD</a></div>'
//linkset[2]+='<a class="mmenu" href="gazetka_brw.php">Promocja BLACK RED WHITE</a><br>'
//linkset[2]+='<a class="mmenu" href="sety.php">Promocja FORTE</a><br>'
//linkset[2]+='<a class="mmenu" href="prom1_25.php">OFERTA KRZESEŁ</a><br>'
//linkset[2]+='<a class="mmenu" href="prom1_29.php">OFERTA DO 100 PLN/SZT.!</a><br>'
//linkset[2]+='<a class="mmenu" href="prom1_26.php">GADŻETY</a><br>'

//linkset[3]='<div class="mmenu"><a href="awa.php"><img src="proawa.jpg" border="0"></a></div>'
//linkset[3]+='<div class="mmenu"><a href="wyprzedaz.php"><img src="prowyp.jpg" border="0"></a></div>'
//linkset[3]+='<div class="mmenu"><a href="promocje.php"><img src="promocje.jpg" border="0"></a></div>'



//linkset[4]='<div class="mmenu"><a href="1praca.php">- Praca stała</a></div>'
//linkset[4]+='<div class="mmenu"><a href="sezonowa.php">- Praca sezonowa</a></div>'


linkset[5]='<div class="mmenu"><a href="info.php">- Informacje o firmie </a></div>'
linkset[5]+='<div class="mmenu"><a href="informacjekrs.php">- Informacje o firmie <br>&nbsp;&nbsp;wg obowiązującej ustawy <br>&nbsp;&nbsp;o Krajowym Rejestrze Sądowym</a></div>'
linkset[5]+='<div class="mmenu"><a href="gazele.php">- Wyróżnienia</a></div>'
linkset[5]+='<div class="mmenu"><a href="rynek.php">- Piszą o nas</a></div>'
linkset[5]+='<div class="mmenu"><a href="targi.php">- Targi</a></div>'
linkset[5]+='<div class="mmenu"><a href="sponsoring.php">- Sponsoring</a></div>'

//linkset[5]+='<div class="mmenu"><a href="1praca.php">- Praca</a></div>'


linkset[6]='<div class="mmenu"><a href="m_kuchenne.php">Sprzęt AGD</a></div>'


linkset[7]='<div class="mmenu"><a href="agd.php">AGD</a></div>'
linkset[7]+='<div class="mmenu"><a href="kfronty.php">Fronty</a></div>'
linkset[7]+='<div class="mmenu"><a href="akcesoria_kuchenne.php">Akcesoria</a></div>'
//linkset[7]+='<a class="mmenu">< a href="kblaty.php">BLATÓW</a><br>'




linkset[8]='<div class="mmenu"><a href="meble_systemowe.php"TITLE="Meble Systemowe">- Meble Systemowe</a></div>'
linkset[8]+='<div class="mmenu"><a href="mebloscianki.php"TITLE="Meblo&#347;cianki">- Meblo&#347;cianki</a></div>'
linkset[8]+='<div class="mmenu"><a href="sypialnie.php"TITLE="Sypialnie">- Sypialnie</a></div>'
linkset[8]+='<div class="mmenu"><a href="kuchnie.php"TITLE="Kuchnie">- Kuchnie</a></div>'
linkset[8]+='<div class="mmenu"><a href="wypoczynki.php"TITLE="Wypoczynki">- Wypoczynki</a></div>'
linkset[8]+='<div class="mmenu"><a href="dekoracje_s.php"TITLE="Dekoracje">- Dekoracje</a></div>'
linkset[8]+='<div class="mmenu"><a href="salonvox.php"TITLE="VOX"><img src="images/vox.png" border="0"align="center"></a></div>'

linkset[9]='<div class="mmenu"><a href="menuO.php" ><img src="ok1.jpg" border="0"align="center"></a></div>'




////No need to edit beyond here

var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById
//var ns6=document.getElementById&&!document.all
var ns4=document.layers

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

function showmenu(e,which, leftpos, toppos, abspos){

if (!document.all&&!document.getElementById&&!document.layers)
return

clearhidemenu()

var targ;

if (!e) var e = window.event;
if (e.target)
	targ = e.target;
else if (e.srcElement)
	targ = e.srcElement;

if (targ.tagName != 'TD') return

menuobj=ie4? document.all.pmenu : ns6? document.getElementById("pmenu") : ns4? document.pmenu : ""
menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj

if (ie4||ns6)
menuobj.innerHTML=which
else{
menuobj.document.write('<layer name=gui  width="165" onmouseover="clearhidemenu()" onmouseout="hidemenu()">'+which+'</layer>')
menuobj.document.close()
} 

menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width
menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height

eventX=ie4? event.clientX-event.offsetX-2 : ns6? findPosX(targ)-1 : e.x;
eventY=ie4? event.clientY-event.offsetY+21 : ns6? findPosY(targ)+23 : e.y;

//Find out how close the mouse is to the corner of the window
var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX;
var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY;

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.thestyle.left=ie4? document.body.scrollLeft+eventX-menuobj.contentwidth : eventX-menuobj.contentwidth
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.thestyle.left=ie4? document.body.scrollLeft+eventX : eventX

//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.thestyle.top=ie4? document.body.scrollTop+eventY : eventY;
//menuobj.thestyle.top=ie4? document.body.scrollTop+eventY-menuobj.contentheight : eventY-menuobj.contentheight;
else
menuobj.thestyle.top=ie4? document.body.scrollTop+eventY : eventY;
menuobj.thestyle.visibility="visible";
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.thestyle.visibility=(ie4||ns6)? "hidden" : "hide"

}

function dynamichide(e){
if (ie4&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
if (ie4||ns6||ns4)
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

function highlightmenu(e,state){
if (document.all)
source_el=event.srcElement
else if (document.getElementById)
source_el=e.target
if (source_el.className=="mmenu"){
source_el.id=(state=="on")? "mouseoverstyle" : ""
}
else{
while(source_el.id!="pmenu"){
source_el=document.getElementById? source_el.parentNode : source_el.parentElement
if (source_el.className=="mmenu"){
source_el.id=(state=="on")? "mouseoverstyle" : ""
}
}
}
}

if (ie4||ns6)
document.onclick=hidemenu



  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24140617-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

