    var clicked = 0;
	nn=(document.layers)?true:false;
	var ie=(document.all)?true:false;
	if (navigator.product)
	{
		if (navigator.product == "Gecko") var mo = true;
	}

    function chmurka(Komentarz)
    {
		document.getElementById("podpowiedz").style.visibility = "visible";
        document.getElementById("podpowiedz").innerHTML = Komentarz;
		chmurka_move(event);
    }
    
    function chmurka_move(e)
    {
           	if (nn){
				
			}
			if (ie){
				var scroll_x = (document.documentElement.scrollLeft||document.body.scrollLeft);
				var scroll_y = (document.documentElement.scrollTop||document.body.scrollTop);
			}
			if (mo)
			{
				var scroll_x = window.scrollX;
				var scroll_y = window.scrollY;
			}

			document.getElementById("podpowiedz").style.left = e.clientX + scroll_x + "px";
            document.getElementById("podpowiedz").style.top = e.clientY + scroll_y + "px";
    }
    
    function chmurka_off()
    {
        if (clicked == 0)
        {
            document.getElementById("podpowiedz").style.visibility = "hidden";
            document.getElementById("podpowiedz").innerHTML = "";
        }
    }
