/*Codigo extraido de web amigo, enladisco.com, Gruster Americo...*/
function rd(valor){
	for(i=0;i<valor.length;i++)
		if(valor[i].checked)
			return valor[i].value;		
return "NO";//-->asi era return 3;
	}
	
function fioliset(el){return document.getElementById(el);}



function j(Elemento){fioliset(Elemento).focus(); fioliset('f-'+fioliset(Elemento).alt).innerHTML = '<span  class="fr-1" style="position:absolute"></span><span  class="fr-2">'+fioliset(Elemento).title+'</span>';  }

function e(Elemento){fioliset('f-'+fioliset(Elemento).alt).innerHTML = ''}
function r(c1, c2, orig)
{
	str 	= new String(orig);
	rExp	= "/"+c1+"/g";
	rExp	= eval(rExp);
	newS	= String(c2);
	str = new String(str.replace(rExp, newS));
	return str;
}


function ax(){
	var xmlhttp=false;
	try {
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		try {
		   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (E) {
			xmlhttp = false;
  		}
	}

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
		xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;}

///////////////
function autoborrar(div){
	fioliset(div).innerHTML = '';
}
///////////////