﻿function HighlightItem(el) {
	
}
$(document).ready(function() {
	$(".bounce").each(function() {
		$(this).effect('bounce', {}, 250);
	});

	$(".tracking-panel").each(function() {
		$(this).children(".tracking-panel-header")
        .bind('drag', function(event) {
        	$(this).parent(".tracking-panel").css({
        		top: event.offsetY,
        		left: event.offsetX
        	});
        });
	});

	$(".unit-statistics-panel .show-details").click(function() {
		var parent = $(this).parents(".tracking-panel").eq(0);
		var body = parent.children(".tracking-panel-body").eq(0)
		body.slideToggle();
	});

	$(".push-message-container").click(function() {
		$(this).fadeOut();
	});
});


