<!--
		var XMLHttpRequestObject;
		try {
			XMLHttpRequestObject=new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				XMLHttpRequestObject=new ActiveXObject("Microsoft.XMLHTTP");
			} catch (oc) {
				XMLHttpRequestObject=null;
			}
		}
		if(!XMLHttpRequestObject && typeof XMLHttpRequest != "undefined")
			XMLHttpRequestObject = new XMLHttpRequest();
		if (!XMLHttpRequestObject) {
			window.alert("Spiacente! Oggetto XMLHTTP non trovato. Connessione non disponibile");
		}
		//______________________________________________________________________________________
		function getData(dataSource, divId,issync){
			if (divId == "" | divId == null) {divId="page"}
			if (issync != "false") {issync="true"}
			dataSource = dataSource.replace( /[+]/g, '%2B');
			if(XMLHttpRequestObject) {
				var obj=document.getElementById(divId);
				XMLHttpRequestObject.open("GET", dataSource,issync);
				XMLHttpRequestObject.onreadystatechange=function() {
					if(XMLHttpRequestObject.readyState==4 && XMLHttpRequestObject.status=="200") {
						obj.innerHTML=XMLHttpRequestObject.responseText
					}
				}
				XMLHttpRequestObject.send(null)
			}
		}
		//______________________________________________________________________________________
		function showthis(mydiv,divheight) {
		// configurazione
			var myheight=0; 			// inizializzazione variabile altezza dei div
			var thisdivname=""; 		// inizializzazione variabile contenente il div scansionato nel ciclo di controllo chiusura
			var array_thisdivname=""; 	// inizializzazione array contenente tutti i div del DOM
			var counter=0; 				// inizializzazione contatore per ciclo scansione div presenti nel DOM
			var ismenu=""; 				// inizializzazione variabile contenente l'eventuale identificatore menu del div scansionato
			var idmenu="menu"; 			// identificatore mio menu
		// fine configurazione
		myheight=eval(mydiv+".style.height"); // altezza del div selezionato
		if (myheight == "1px") {
			eval(mydiv+".style.height='"+divheight+"px'");
			eval(mydiv+".style.visibility=''");
			// qui chiude gli altri div dopo l'apertura del mydiv
			var myarray=document.getElementsByTagName("div");
			for (counter=0;counter<=myarray.length-1;counter++) {
				thisdivname=myarray[counter].id;
				array_thisdivname=thisdivname.split(/_/);
				ismenu=array_thisdivname[0];
				if (ismenu == idmenu && mydiv != thisdivname) {
					eval(thisdivname+".style.height='1px'");
					eval(thisdivname+".style.visibility='hidden'")
				}
			}
		} else {
			eval(mydiv+".style.height='1px'");
			eval(mydiv+".style.visibility='hidden'")
		}
		}
		//______________________________________________________________________________________
		function searchengine() {
		if (document.modul.keys.value.length>0 && document.modul.keys.value.length<2) {
			window.alert("attenzione\rla chiave di ricerca deve essere lunga almeno due caratteri")
			} else if (document.modul.keys.value.length==0 && document.modul.categoria.value.length==0) {
			getData('http://www.dpm-elettronica.it/ver02/prodotti.php?referrer=prodotti2&keysearch=','page','false')
			} else if (document.modul.keys.value.length>0 && document.modul.categoria.value.length==0) {
			getData('http://www.dpm-elettronica.it/ver02/prodotti.php?referrer=prodotti2&keysearch='+document.modul.keys.value,'page','false')
			} else if (document.modul.keys.value.length>0 && document.modul.categoria.value.length>0) {
			getData('http://www.dpm-elettronica.it/ver02/prodotti.php?referrer=prodotti2&keysearch='+document.modul.keys.value+' '+document.modul.categoria.value,'page','false')
			} else if (document.modul.keys.value.length==0 && document.modul.categoria.value.length>0) {
			getData('http://www.dpm-elettronica.it/ver02/prodotti.php?referrer=prodotti&keysearch='+document.modul.categoria.value,'page','false')
			}
		}

		function openurl(url) {
			wid=790;
			hei=400;
			var w = screen.width;
			var h = screen.height;
			var largfin = (w - wid) / 2;
			var altfin = (h - hei) / 2;
			window.open(url,"new","scrollbars=yes,top="+altfin+",left="+largfin+",width="+wid+",height="+hei+",resizable=yes,menu=no,toolbar=no,status=yes");
		}

//-->			
