


//script de fecha

<!--
var now = new Date()
var dia = now.getDay()
var mes = now.getMonth()
var fecha

//El d�a de la semana
if(dia==0){
fecha="Domingo, ";
}else if(dia==1){
fecha="Lunes, ";
}else if(dia==2){
fecha="Martes, ";
}else if(dia==3){
fecha="Miercoles, ";
}else if(dia==4){
fecha="Jueves, ";
}else if(dia==5){
fecha="Viernes, ";
}else{
fecha="S�bado, ";
}

fecha = fecha + now.getDate() + " de "
//El nombre del mes
if(mes==0){
fecha=fecha + "Enero"
}else if(mes==1){
fecha=fecha + "Febrero"
}else if(mes==2){
fecha=fecha + "Marzo"
}else if(mes==3){
fecha=fecha + "Abril"
}else if(mes==4){
fecha=fecha + "Mayo"
}else if(mes==5){
fecha=fecha + "Junio"
}else if(mes==6){
fecha=fecha + "Julio"
}else if(mes==7){
fecha=fecha + "Agosto"
}else if(mes==8){
fecha=fecha + "Septiembre"
}else if(mes==9){
fecha=fecha + "Octubre"
}else if(mes==10){
fecha=fecha + "Noviembre"
}else{
fecha=fecha + "Diciembre"
}

fecha = fecha + " del " + now.getYear()


//-->








// mensaje en statusbar
<!--
var speed = 50 // decrease value to increase speed (must be positive)
var pause = 2000 // increase value to increase pause
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "--Desea que la imagen corporativa de su empresa sea impatactante e innovadora ?"
ar[1] = "--Aun no tiene pagina web que le promocione en internet ?"
ar[2] = "--Quisiera sorprender a sus clientes con una presentacion multimedia de su producto ?"
ar[3] = ":: VISUACOM :: Soluciones Publicitarias -----> AQUI TIENE LA SOLUCION!!!!"

var currentMessage = 0
var offset = 0
function stopBanner() {
        if (bannerRunning)
                clearTimeout(timerID)
        bannerRunning = false
}
function startBanner() {
        stopBanner()
        showBanner()
}
function showBanner() {
        var text = ar[currentMessage]
        if (offset < text.length) {
                if (text.charAt(offset) == " ")
                        offset++                        
                var partialMessage = text.substring(0, offset + 1) 
                window.status = partialMessage
                offset++ 
                timerID = setTimeout("showBanner()", speed)
                bannerRunning = true
        } else {
                offset = 0
                currentMessage++
                if (currentMessage == ar.length)
                        currentMessage = 0
                timerID = setTimeout("showBanner()", pause)
                bannerRunning = true
        }
}

//scipts del formulario



function datos(form)
{

 
  
	if (form.nombre.value == "")    //comprueba si el campo nombre esta vac�o
	{
		alert ("Es obligatorio rellenar tu nombre")
		form.nombre.focus()   //posicionarse en el campo vac�o
		return false}

if (form.tel.value == ""){alert ("Debe proporcionarnos su numero de telefono")
		form.tel.focus()   
		return false}		
		
		
	if (form.correo.value == ""){alert ("Es obligatorio rellenar tu correo electronico")
		form.correo.focus()   
		return false}


			//chequeo del correo

if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(form.correo.value)){

  } else {
    alert("La direcci�n de email " + form.correo.value + " es incorrecta.\n Teclee una correcta por favor");
    form.correo.focus()   
    return (false);
  }	
		

	if (form.motivo.value == "")  {alert ("Es obligatorio rellenar un motivo de consulta")
		form.motivo.focus()   //posicionarse en el campo vac�o
		return false}


if (form.consulta.value == ""){alert ("Debe insertar alguna consulta")
		form.consulta.focus()   
		return false}		
		
		
		
		

			
		
	
// a partir de aqui expone lo escrito para confirmar
var mensaje="SE ENVIARAN ESTOS DATOS:\n"+"_____________\n\n"
mensaje+="NOMBRE:                  "+contacto.nombre.value+"\n"
mensaje+="TELEFONO:               "+contacto.tel.value+"\n"
mensaje+="E-MAIL:                  "+contacto.correo.value+"\n"
mensaje+="MOTIVO:                  "+contacto.motivo.value+"\n\n"
mensaje+="CONSULTA:  \n"+contacto.consulta.value+"\n\n"
mensaje+="\n       ��Desea enviar esto??"
var acepto=confirm(mensaje)
if(acepto)
{
contacto.submit() //envia el formulario
}
}


















// -->