$(document).ready(function(){
	InitBullets();
});

function InitBullets() {
	$(".aNav").mouseover(function(){
		var intid = GetID($(this), 4);
		$("#bullet"+intid).animate({ 
			left: 15
		}, 100 );
	});
	$(".aNav").mouseout(function(){
		var intid = GetID($(this), 4);
		$("#bullet"+intid).animate({ 
			left: 0
		}, 300 );
	});
}

function GetID(obj, intPos) {
	if(intPos==undefined) intPos = obj[0].className.length;//need to force the position when using multiple classes or using .addClass()
	var strID = obj[0].id;
	return strID.substring(intPos);
}

