	function click() {
if (event.button==2) {
alert ( " 4C ® Gracias por su Visita " )
}
}
document.onmousedown=click
//-->
var txt="* 4C COMUNICACIÓN · Agencia de Publicidad General ";
var refresco=null;
function titulo() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0); 
refresco=setTimeout("titulo()",200);}
titulo();
//-->
var current = 0
var x = 0
var speed = 60
var speed2 = 2000
var cont = 0

function initArray(n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '
  }
}

typ = new initArray(7)
typ[0]="* - Bienvenido al sitio web del Grupo 4C Comunicación - "
typ[1]="*...4C · Agencia de Publicidad General..."
typ[2]="*...Toda la información acerca de nuestros productos y servicios..."
typ[3]="*...Asesoramiento Personalizado..."
typ[4]="*...Si desea más información, no dude en contactar con nosotros: "
typ[5]="* - creativos@4ccomunicación.com - "
typ[6]="* - barcelona@4ccomunicación.com - "

function typewrite() {
	var m = typ[current]

	window.status = m.substring(0, x++) + "*"

	if (x >= m.length + 1 && cont>(speed2/speed)) {
		cont = 0
		x = 0
		current++

		if (current > typ.length - 1) {
			current = 0
		}

		setTimeout("typewrite()", speed)
	} 
	else if(x >= m.length + 1 && cont<=(speed2/speed)) {
		cont++
		setTimeout("typewrite()", speed)
	}
	else {
		setTimeout("typewrite()", speed)
	}
}

typewrite()