function swip (elementInput, swipFrom, swipTo)
{
if (elementInput.value == swipFrom) elementInput.value = swipTo;
}

$(document).ready(function() {
	// hover and focus
	$('input.text,textarea').hover(function(){
		$(this).addClass('hover');
	},
	function(){
		$(this).removeClass('hover');	
	});

	$('input.text,textarea').focus(function() {
		$(this).addClass('focus');
	});
	$('input.text,textarea,select').blur(function() {
		$(this).removeClass('focus');
	});

	$('input.button').hover(function(){
		$(this).addClass('b_hover');
	},
	function(){
	$(this).removeClass('b_hover');
	}); 
});   

