$(window).load(function () {
	/*$('#gallery').gallery({
		interval: 5500,
		height: '539px',
		width: '718px',
		toggleBar: false,
		ratio: 0.15,
		slideshow: true
	});*/
	$('#s3slider').s3Slider({
		timeOut: 4000
	});
	$('#mdatas a').click(function() {
		window.open(this.href,'','width=718,height=539,scrollbars=yes');
		return false;
	})
});
var emailstr = document.getElementById('email');
emailstr.href = emailstr.href.replace(/\[kukac\]/gi, "@");
emailstr.innerHTML = emailstr.innerHTML.replace(/\[kukac\]/gi, "@");
emailstr.href = emailstr.href.replace(/\[pont\]/gi, ".");
emailstr.innerHTML= emailstr.innerHTML.replace(/\[pont\]/gi, ".");
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2582816-3']);
_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);
})();
