// JavaScript Document

function $$(id){
	return document.getElementById(id);
}

function MouseOverButton(btn){
	$$('mBtn'+btn+'On').style.visibility = 'visible';
}

function MoseOutButton(btn){
	$$('mBtn'+btn+'On').style.visibility = 'hidden';
}

function RotarBotonerMain(btn){
	
}

function Difundir(prev,next){
	
}

function underlineThis(obj){
	$$(obj).style.textDecoration = 'underline';
}

function deslineThis(obj){
	$$(obj).style.textDecoration = '';
}

function resetCursor(txtElement) { 
    if ($$(txtElement).setSelectionRange) { 
        $$(txtElement).focus(); 
        $$(txtElement).setSelectionRange(0, 0); 
    } else if ($$(txtElement).createTextRange) { 
        var range = $$(txtElement).createTextRange();  
        range.moveStart('character', 0); 
        range.select(); 
    } 
}

function reservarClick(txtEvento){
	$$('mTblReserva').style.display='';
	$$('mLblEvento').innerHTML = txtEvento;
	$$('mInpFormulario').value = "Reserva de evento "+ txtEvento;
	$$('mInpMessage').value = $$('mLblMessage').innerHTML;
}



