function imgSwap(oImg) {
	var strOver = "_n";
	var strOff = "_p";
	var strImg = oImg.src;
	if (strImg.indexOf(strOver) != -1) oImg.src = strImg.replace(strOver, strOff)
	else oImg.src = strImg.replace(strOff, strOver)
}
$(function () {
	$('.social').each(function () {
		$(this).hover(function () {
			$(this).stop().animate({
				opacity: 0.8
			},
			500)
		},
		function () {
			$(this).stop().animate({
				opacity: 0.3
			},
			500)
		})
	})
});
function prikazi(what) {
	var id = "#" + what.id;
	$(id).animate({
		"margin-left": "+=115px"
	},
	"slow")
}
function skloni(what) {
	var id = "#" + what.id;
	$(id).animate({
		"margin-left": "-=115px"
	},
	"slow")
};
function prikaziLevo(what) {
	var id = "#" + what.id;
	$(id).animate({
		"margin-left": "-=115px"
	},
	"slow")
}
function skloniLevo(what) {
	var id = "#" + what.id;
	$(id).animate({
		"margin-left": "+=115px"
	},
	"slow")
};
