function ontd(tds,tda)
	{	
	tds.style.backgroundColor="#9FA0BE";
	//tda.style.color="#000000";	
	}
function outtd(tds,tda)
	{	
	tds.style.backgroundColor="#B6364B";
	//tda.style.color="#ffffff";
	}	
function ontdse(tds,tda)
	{		
	tds.style.background="url('http://vkurse.biz/Images/grad_1.jpg')  repeat-y";	
	tds.style.backgroundColor="#9FA0BE";	
	}
function outtdse(tds,tda)
	{	
	tds.style.background="url('http://vkurse.biz/Images/grad.jpg')  repeat-y";	
	tds.style.backgroundColor="#8b9184";
	}	
function tdseclick(tds)	
	{
	self.location=tds.href;
	}
function tdclick(tds)	
	{
	self.location=tds.href;
	}

var graphMaxWidth = 130;	// It will actually be a little wider than this because of the rounded image at the left and right
var graphMinWidth = 15;	// Minimum size of graph	
var pollScrollSpeed = 1;	// Lower = faster.

function slideVotes(totalans,currentPercent)
{
	currentPercent = currentPercent/1 + 1;	
	for(prop=0;prop<=totalans;prop++){
		if(results[prop]>=currentPercent){
			
			var obj = document.getElementById('ans' + prop);
			var obj2 = document.getElementById('dans' + prop);
			obj2.innerHTML = currentPercent + '%';
			obj.style.width = currentPercent+'%';
		}			
	}
	
	if(currentPercent<100)setTimeout('slideVotes("'+totalans+'","' + currentPercent + '")',pollScrollSpeed);
}
	
