

//configure the two variables below to match yoursite's own info
var bookmarkurl="http://www.inter-ware.it"
var bookmarktitle="Inter-Ware - OUTSTANDING TECH"

function addbookmark(){
  if (document.all)
    window.external.AddFavorite(bookmarkurl,bookmarktitle);
}

function lancia(Parametro) {
  //window.open(Parametro,'FlashNews','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=380,height=420')
  parent.location.href=Parametro
}

function netiquette(){
  window.open('/regolewf.htm','Netiquette','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=320,height=350');
}

function virusinfo(){
  window.open('/virusinfo.htm','VirusInfo','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width=191,height=168');
}


function aprifoto(Parametro) {
  window.open(Parametro,'Foto','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=520,height=550')
}

function LanciaFlash() {
    window.open('/intro.htm','Intro','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width=500,height=350') 	
}

function commenti(Parametro) {
  	window.open(Parametro,'Commenti','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width=280,height=200')
}

function rememberpassword() {
  	window.open('/cgi-bin/maillist.exe/forgot?lang=-1','Remember','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width=280,height=200')
}


function zoomimg(picture, title, description)
{
	immagine = new Image;
	immagine.src = picture;
	if (description != ""){
	html = '<HTML>\n<HEAD>\n<TITLE>'+title+'</TITLE>\n</HEAD>\n<BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER><IMG SRC="'+picture+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+10,document.imageTest.height+72)"><br><br><FONT size="1"><B>'+description+'</B></FONT><br></CENTER>\n</BODY>\n</HTML>';
	}
	else
	{
	html = '<HTML>\n<HEAD>\n<TITLE>'+title+'</TITLE>\n</HEAD>\n<BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER><IMG SRC="'+picture+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+10,document.imageTest.height+28)"></CENTER>\n</BODY>\n</HTML>';
	}
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
}

function checksearch(modulo) {
    if ((modulo.query.value != "") && (modulo.query.value != "Inserisci il testo")){
      return true
    }
    else
    {
      alert("Inserisci il testo da ricercare")
      modulo.query.value = ""
      return false
    }
}

function deletequeryfield(testoricerca) {
 if (testoricerca.value == "Inserisci il testo") {
   testoricerca.value = ""
 }
}

function activescan(){
  window.open('http://www.pandasoftware.com/activescan/it/default.asp?IdVendor=742&IdLang=11&IdPais=99','Activescan','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width=539,height=335');
}


