
var current_open_winner = false;

function repositionFirefoxBubbles () {
	var div = document.getElementsByTagName('div');
	
	if (_moz) {
		for (i = 0; i < div.length; i ++) {
			if (div[i].id.match(/pos_\d+\_div/)) {
				top = div[i].offsetTop;
				
				top -= -155;
				
				div[i].style.top = top + "px";
			}
		}
	}
}

function toggleWinner(div) {	
	if (div.style.visibility != "visible") {
		if (current_open_winner) {
			toggleWinner(current_open_winner);
		}
	
		div.style.visibility = "visible";
		
		current_open_winner = div;
	} else {
		div.style.visibility = "hidden";
		
		current_open_winner = false;
	}
}