// R&V Multinegocios y Servicios .
//Lic. Adm. Marco Risco Vera.
//No permite seleccionar texto
document.write('<html oncontextmenu="return false" onselectstart="return false" ondragstart="return false"><body background="D:">')
//-->

//Click derecho
//-->

	var message=  "Copyright © R&V Multinegocios y Servicios.";
	function click(e) { 
	if (document.all) { 
	if (event.button == 2) { 
	alert(message); 
	return false; 
	} 
	} 
	if (document.layers) 
	{ 
		if (e.which == 3) 
		{ 
			alert(message); 
			return false; 
		} 
	} 
	} 

	if (document.layers) 
	{ 
	document.captureEvents(Event.MOUSEDOWN); 
	} 
	document.onmousedown=click; 

//Texto desplazante
//-->
function scrollit_r2l(seed)
{
	var msg=".:: R&V Multinegocios y Servicios. ::."
	var out = " ";
	var c   = 1;
	if (seed > 100) {
		seed--;
		var cmd="scrollit_r2l(" + seed + ")";
		timerTwo=window.setTimeout(cmd,100);
	}
	else if (seed <= 100 && seed > 0) {
		for (c=0 ; c < seed ; c++) {
			out+=" ";
		}
		out+=msg;
		seed--;
		var cmd="scrollit_r2l(" + seed + ")";
		    window.status=out;
		timerTwo=window.setTimeout(cmd,100);
	}
	else if (seed <= 0) {
		if (-seed < msg.length) {
			out+=msg.substring(-seed,msg.length);
			seed--;
			var cmd="scrollit_r2l(" + seed + ")";
			window.status=out;
			timerTwo=window.setTimeout(cmd,100);
		}
		else {
			window.status=" ";
			timerTwo=window.setTimeout("scrollit_r2l(100)",75);
		}
	}
}

//Contador de caracteres//-->
var nCantidadCaracteres = 1000;

function CortarCaracteres(frmFm) 
{
	with (frmFm) 
	{
	if (frmFm.comentarios.value.length > nCantidadCaracteres)
	{
		frmFm.comentarios.value = frmFm.comentarios.value.substring(0, nCantidadCaracteres);
	}
	ContarCaracteres(frmFm);
	}
}

function ContarCaracteres(frmFm) 
{
	with (frmFm) 
	{
	frmFm.txtContadorCar.value=frmFm.comentarios.value.length;
	}
}

//Texto desplazante 1
//(message    = "R&V Multinegocios y Servicios^" +
//                "Soluciones integrales para un futuro de éxito.^" +
//                "E mail: informacion@consultoria-negocios.com^"                
//  scrollSpeed = 35
//  lineDelay   = 1500

  // Do not change the text below //

//  txt         = ""

//  function scrollText(pos) {
//    if (message.charAt(pos) != '^') {
//      txt    = txt + message.charAt(pos)
//      status = txt
//      pauze  = scrollSpeed
//    }
//    else {
//      pauze = lineDelay
//      txt   = ""
//      if (pos == message.length-1) pos = -1
//    }
//    pos++
//    setTimeout("scrollText('"+pos+"')",pauze)
//  }

  // Unhide -->
//scrollText(0)
  //-->
