function clearSelect(id){
	$(id).options.length = 0;
}

function addOption(id, texto, valor){
	var count = $(id).options.length;
	$(id).options[count] = new Option(texto, valor);
}

function getX(element){
  if(element=="") return null;

  var x = $(element).x ? $(element).x : $(element).offsetLeft;

  return x;
}

function myResize(e){
  if (!e) e = window.event;
//     $('bannerZone').getStyle()
  var posLeft = 0;
  posLeft = getX('container') + Element.getDimensions('container').width - 10;
  Element.setStyle('bannerZone',{left: posLeft + 'px'})
//     alert( posLeft );
}