		// FONT
		Cufon.replace('h1, h2, h3, h4, h5, h6');
		Cufon('.header a', { hover: { color:'#000;'}});
		// POPUP GALLERY
		$(document).ready(function() {

			$("a#example4").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});

			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Foto ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
		});
		// SWF
		var flashvars = {};
		flashvars.xml = "http://www.firmamoby.nazwa.pl/pl/config.xml";
		//flashvars.font = "sansation.swf";
		var attributes = {};
		attributes.wmode = "transparent";
		attributes.id = "slider";
		swfobject.embedSWF("http://www.firmamoby.nazwa.pl/pl/img/header.swf", "slider-container", "980", "180", "9", "expressInstall.swf", flashvars, attributes);
		// FORM CHECK
		function Check() {
			return CheckConsumerID();
		}
		function CheckConsumerID() {
			if(window.document.frmForm.name.value == ""  )
			{
			alert("Proszę podać imię.");
			return false;
			}
			if(window.document.frmForm.telefon.value == ""  )
			{
			alert("Proszę podać telefon kontaktowy.");
			return false;
			}
			if(window.document.frmForm.email.value == ""  )
			{
			alert("Proszę podać adres e-mail.");
			return false;
			}
			if(window.document.frmForm.text.value == ""  )
			{
			alert("Proszę wpisać treść zapytania.");
			return false;
			}
			return true;
		}
