function popup(url, width, height) {
	if ((parseInt (navigator.appVersion) >= 4 )) {
		x = (screen.width  - width ) / 2;
		y = (screen.height - height) / 2;
	}

	mypopup = window.open(url, 'winOpened', 'top='+y+', left='+x+', width='+width+', height='+height+', scrollbars=no');
}


statit=new Image(3,2);
statit.src="http://www.gridw.pl/_statystyki/statit.php?st_id=10&st_w="+screen.width+"&st_h="+screen.height+"&st_c="+screen.colorDepth+"&st_ref="+encodeURIComponent(document.referrer)+"&st_dat="+encodeURIComponent(window.location.pathname+window.location.search);



var pkBaseURL = (("https:" == document.location.protocol) ? "https://gridw.pl/_statystyki2/" : "http://gridw.pl/_statystyki2/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));

try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 20);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
