trackGoal create a visit


#1

Here is the part of code to track java and cookie for visitors.


//// JAVA    
   if (navigator.javaEnabled())
{
	_paq.push(['trackGoal', 12]);
}
////////   

  
///// COOKIE
if (document.cookie.length > 0)
{
	_paq.push(['trackGoal', 13]);
}

//// 

The problem is: when visitor come to site he create 3 visits instead of 1. I think each _paq.push([‘trackGoal’, ]); create visit. How can i turn this off?
Here some screenshot. One visitor create 5 visits at the same time.