function getElement(el) {
	return document.all ? document.all[el] : document.getElementById (el);
}
function triggerError(errorId, msg) {
	errorId += 'Error';
	if (msg != '') {
		getElement(errorId).innerHTML = msg;
	}
	getElement(errorId).style.display = 'block';
}
function hideError(errorId) {
	errorId += 'Error';
	getElement(errorId).style.display = 'none';
}
function validateEmail(mail){
	var re=/^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;
	return re.test(mail);
}


$(document).ready(
	function()
	{
		
	$(".realizacje li:nth-child(2n)").after("<li class='clear-line'></li>");
	$(".realizacje2 li:nth-child(3n)").after("<li class='clear-line'></li>");


	}
	);
	

