//Copyright 2001-2003 www.genv.com - www.officinapixel.com
//All right reserved
//*****************************************
// funzione ricerca
function MiaRicerca() {
var wSel
var wTesto

	wSel = document.FormRicerca.selMotore.value;
	wTesto = document.FormRicerca.textfieldName.value;

	if (wTesto=="")
		alert("Type the text to search for and select the search engine.");
	else {
		if (wSel == 1) {
			wIndir = "http://search.atomz.com/search/?sp-q=" + wTesto + "&sp-a=sp10014613";
			open(wIndir);
		}
		if (wSel == 2) {
			wIndir = "http://search.it.altavista.com/cgi-bin/query?pg=q&sc=on&q=" + wTesto + "&kl=it&what=it&search.x=46&search.y=15";
			open(wIndir);
		}
		if (wSel == 3) {
			wIndir = "http://www.google.com/search?restrict=italiano&q=" + wTesto + "&btnG=Cerca";
			open(wIndir);
		}
		if (wSel == 4) {
			wIndir = "http://it.google.yahoo.com/bin/query_it?p=" + wTesto + "&hc=0&hs=0";
			open(wIndir);
		}
	}

	return;
}

 // mouse over
  function mOvr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
	  src.style.cursor = 'hand';
	  src.bgColor = clrOver;
	}
  }
  // mouse out
  function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.style.cursor = 'default';
	  src.bgColor = clrIn;
	}
  }
  // mouse click
  function mClk(src) {
    if(event.srcElement.tagName=='TD'){
	  src.children.tags('A')[0].click();
    }
  }
 
//Clock
function hispafecha()
{
	fecha = new Date();
	mes = fecha.getMonth() + 1;
	anual = fecha.getFullYear();
	document.write(MesDemo() + " de " + anual);
}
function hispasemana()
	{
fecha = new Date();
dia = fecha.getDate();
document.write(dia);
}
function DateDemo()
{
  var d, day, x, s = "";
  var x = new Array("Domingo", "Lunes", "Martes");
  var x = x.concat("MiÈrcoles","Jueves", "Viernes");
  var x = x.concat("S·bado");
  d = new Date();
  day = d.getDay();
  return(s += x[day]);
}
function MesDemo()
{
  var d, day, x, s = "";
  var x = new Array("Enero", "Febrero", "Marzo");
  var x = x.concat("Abril","Mayo", "Junio");
  var x = x.concat("Julio","Agosto", "Septiembre");
  var x = x.concat("Octubre","Noviembre", "Diciembre");
  d = new Date();
  mimes = d.getMonth();
  return(s += x[mimes]);
}
function TimeDemo()
{
  var d, s = "";
  var c = ":";
  d = new Date();
  s += d.getHours() + c;
  s += d.getMinutes();
  return(s);
}