<!--
function initializeFancyBoxImages()
{
	jQuery("a.fancyBoxImage").fancybox({
		'zoomSpeedIn':	500, 
		'zoomSpeedOut':	300, 
		'overlayShow':	true
	});
}


function popImage(url,windowTitle,windowName,closeOnClick,width,height,t){
	closeOnClick=true;
	if(!url)return
	function readSize(){if(t.complete)showPopup(t.width,t.height);else setTimeout(readSize,1e2)}
	function showPopup(w,h){with(window.open('',windowName||'','width='+(width||w)+',height='+(height||h)).document){open();write('<html><head><title>'+(windowTitle||'')+'</title></head><body onBlur="self.close()" style="margin:0;padding:0"><img src="'+url+'" style="display:block'+(closeOnClick?';cursor: pointer" onclick="self.close()" title="Zamknij okno"':'"')+'></body></html>');close()}}
	if(!width||!height)t=new Image(),t.src=url,readSize()
	else showPopup(width,height)
}

function popup(mylink) {
	if (!window.focus)return true;
	var href;
	if (typeof(mylink) == 'string')
	   href=mylink;
	else
	   href=mylink.href;
	window.open(href, 'Popup', 'width=636,height=400,scrollbars=yes');
	return false;
}

/*
Form2Pop Script- By Peter Bailey (http://www.peterbailey.net)
Featured on JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
*/

function createTarget(sTarget,sWhat,sOptions){
	window.open(sWhat, sTarget, sOptions);
	return false;
}
/*
var iActiveEvent = -1;
function toggleEvents(iEventId,bHide)
{
//	if (!bHide) {
		jQuery('#oneEventSmall_' + iEventId).hide();
		jQuery('#oneEventBig_' + iEventId).show();
//	} else {
//		jQuery('#oneEventSmall_' + iEventId).show();
//		jQuery('#oneEventBig_' + iEventId).hide();
//	}
	if (iActiveEvent != -1) {
		jQuery('#oneEventBig_' + iActiveEvent).hide();
		jQuery('#oneEventSmall_' + iActiveEvent).show();
	}
	
	iActiveEvent = iEventId;

	if (iToggleEventsTimer) {
		clearInterval(iToggleEventsTimer);	
	}
}
*/

function checkEmailInput(hInput)
{
	var sEmailInputDefault = "wpisz adres e - mail";
	//alert(hInput);
	var sInput
	if (hInput.value == sEmailInputDefault) {
		hInput.value = '';
		}	
	else if (hInput.value == '') {
		hInput.value = sEmailInputDefault;
		}
}



-->