//var  btFondo;
var  controls;
var  buttons = Array();
var anchoBtFondo;

function resizeButton() {

		for ( n =0 ; n < controls.childNodes.length ; n++){
		
			if (controls.childNodes[n].tagName =="LI"){
			
						buttons.push(controls.childNodes[n]);
			}
			
		}
			
			anchoBtFondo = buttons.length * 21;
						
		
		$(controls).css({ "width": anchoBtFondo , "left": ((950 - anchoBtFondo )/2)});
		
}



$(document).ready(function() {

	//btFondo =  document.getElementById("btRadioFondo");
	controls =  document.getElementById("controls");
	resizeButton();
});



