function operadora(n, tipo){
/*
n = id do ring tone
tipo = polifonico/monofonico
*/

  var iframeWin = top.frames['_menu'];
  var iframeEl = top.document.getElementById? top.document.getElementById('_menu'): top.document.all? top.document.all['_menu']: null;

	if ( iframeEl && iframeWin ) {
		operadora = iframeWin.document.form_celular.operadora;
		operadora = operadora.options[operadora.selectedIndex].value;
	
		if (operadora == 0) {
			alert("Por favor, escolha sua operadora!");
			iframeWin.document.form_celular.operadora.focus();
		} else {
			alert(n);
			alert(tipo);
		}
	}
}

function $() {
	if (arguments.length == 1) return get$(arguments[0]);
	var elements = [];
	$c(arguments).each(function(el){
		elements.push(get$(el));
	});
	return elements;

	function get$(el){
		if (typeof el == 'string') el = document.getElementById(el);
		return el;
	}
}