$(document).ready(function() {
//Napoveda
$('input[@rel],select[@rel]').each(function() {
	$(this).bind("focus", function() {
	$('.help span').html($(this).attr('rel'));
	$('.help').css('top', getElementPosition(this).top + 'px');
	});
	$('form').find('input[@rel]')[0].focus();
});

});
function getElementPosition(el){
  var posLeft = 0;
  var posTop = 0;
              
  while(el != null)
	{
    posLeft += el.offsetLeft;
    posTop += el.offsetTop;
		
    el = el.offsetParent;
  }


	return {left:posLeft,top:posTop};
}