function setPercentageVotes(choiceID,per)
{	
//	var choice=document.getElementById(choiceID);
//	choice.style.width="0%";
	
/*	progreso_recursivo(choiceID,0,per);
	for (i=1;i<=per;i++)
	{
		choice.style.width=i+"%";		
	}	*/
}


/*
function progreso_recursivo(choiceID,act,fin)
{
	var choice=document.getElementById(choiceID);
	choice.style.width=act+"%" ;
	
	if (act<fin)
	{
		act=act+1;
		if (act<10)
		{
			alert('progreso_recursivo("' + choiceID + '","' + act + '","'+ fin+'")');
		}		
		setTimeout('progreso_recursivo("' + choiceID + '","' + act + '","'+ fin+'")',1);		
	}
}
*/










/*
function slideVotes(pollId,currentPercent)
{
	currentPercent = currentPercent/1 + 1;
	
	for(var prop in pollVotes[pollId]){
		if(pollVotes[pollId][prop]>=currentPercent){
		
			var obj = document.getElementById('result_voteTxt' + prop);
			
			var obj1 = document.getElementById('result_voteTxtP' + prop);
			var obj2 = document.getElementById('result_votePercentTxtB' + prop);
			obj1.innerHTML = array_choices[prop];	
			obj2.innerHTML = currentPercent + '%';	
			obj.style.width = Math.max(graphMinWidth,Math.round(currentPercent/100*graphMaxWidth)) + 'px';
			//obj.innerHTML = '<strong>'+currentPercent + '%</strong>';
		}			
	}
	
	if(currentPercent<100)setTimeout('slideVotes("' + pollId + '","' + currentPercent + '")',pollScrollSpeed);
}
*/
/*
   function ZZzzzZZzzzzzzZZZz(naptime){
      naptime = naptime * 1;
      var sleeping = true;
      var now = new Date();
      var alarm;
      var startingMSeconds = now.getTime();
      //alert("starting nap at timestamp: " + startingMSeconds + "\nWill sleep for: " + naptime + " ms");
      while(sleeping){
         alarm = new Date();
         alarmMSeconds = alarm.getTime();
         if(alarmMSeconds - startingMSeconds > naptime){ sleeping = false; }
      }      
      //alert("Wakeup!");
   }
*/
