/**
 * @author BitArtis.pl
 */
 
 
$(document).ready(function() {
	$('.obrazki a').lightBox();
	
	
	
		var flashvars = {};
	var params = {};
	params.wmode = "transparent";
	var attributes = {};
	attributes.id = "flashek";
	swfobject.embedSWF("/swf/glowna.swf", "flashek", "734", "302", "9.0.0", "/swf/expressInstall.swf", flashvars, params, attributes);
	
	
	
	
})

function load() {
   var zoom=11; 
	var point = new GLatLng(50.445481,21.431215);  
	var marker = new GMarker(point);

	if (GBrowserIsCompatible()) { 
		var mapa = new GMap2(document.getElementById("mapka")); 
		GEvent.addListener(marker, "click", function() { alert("DREW-BIK"); });

		mapa.addControl(new GSmallZoomControl());
		mapa.setCenter(new GLatLng(50.445481,21.431215), zoom); 
		mapa.addOverlay(marker);
	}
}



function menu($id) {

	document.getElementById("menu_blok_produkty").style.display = "none";
	document.getElementById("menu_blok_galeria").style.display = "none";
	
		
	if($id == "menu_blok_produkty") 
		document.getElementById("menu_blok_produkty").style.display = "block";
	
	if($id == "menu_blok_galeria") 
		document.getElementById("menu_blok_galeria").style.display = "block";
	
}

function menu_off() {
	document.getElementById("menu_blok_produkty").style.display = "none";
	document.getElementById("menu_blok_galeria").style.display = "none";
}
