		<!--					function get_base_url()			{				//return 'http://10.2.0.232';				return '/';							}			function do_search(n) {				var b = "/";				var a = new Array("","media/index_img.html","media/index_video.html","usenet/","media/index.html","hpprodotti.html","news/index.html");				window.location = b + a[n] + "?" + document.search.query.value; 			}						function urlStringEscape(myString)			{				myString = escape(myString);				while (myString.indexOf("+")>-1){myString = myString.replace("+","%2B")};				while (myString.indexOf("@")>-1){myString = myString.replace("@","%40")};				while (myString.indexOf("/")>-1){myString = myString.replace("/","%2F")};				return myString;							}						function check_path(pref)			{				if (pref=="categoria")				{					document.search.where[0].checked=true;				}				else					if (pref=="all")					{ 						document.search.where[1].checked=true;					}									//changed by me from catalogo to catarab				var outputString=get_base_url() + "/search/abin/catarab";				if (document.search.query.value != "" && document.search.query.value != null)				{					outputString += "?query=" + urlStringEscape(document.search.query.value);					outputString += "&is_home=" + document.search.is_home.value;															if (document.search.is_home.value == 0)					{												//Se non sono in home page						//alert("check path");						if (document.search.where[0].checked)						{							//Se devo cercare solo in una data categoria							outputString += "&where=0";							document.search.path_cat.value = document.temp_path_form.temp_path_cat.value;						}						else						{							//Se devo cercare in tutte le categorie							outputString += "&where=1";							document.search.path_cat.value = "Italiano";						}					}					else					{						//Se sono in home page						outputString += "&where=" + document.search.where.value;						outputString += "&numPage=" + document.search.numPage.value;						outputString += "&st=" + document.search.st.value;					}										//Path categoria					outputString += "&path_cat=" + urlStringEscape(document.search.path_cat.value);					location.href = outputString;				}			}						function go(type,e){				var baseurl='http://arianna.libero.it';				if (!e) var e = window.event;				e.cancelBubble = true;				if (e.stopPropagation) e.stopPropagation();				q=escape(document.search.query.value).replace(/\+/g,"%2b");				if (q == '') {return true;}				var idsrc;				var iddest;				var urldest;				idsrc='107';				if (type == 'mp3') {					iddest='12';					urldest =baseurl+'/media/cgi-bin/media.pl?query='+q;				}				else if (type == 'img') {					iddest='8';					urldest=baseurl+'/media/cgi-bin/media.pl?query='+q+'&categoria=httpimg';				}				else if (type == 'video') {					iddest='9';					urldest=baseurl+'/media/cgi-bin/media.pl?query='+q+'&categoria=httpvideo';				}				else if (type == 'web') {					iddest='4';					urldest='http://arianna.libero.it/search/abin/integrata.cgi?query='+q;				}				else if (type == 'usenet') {					iddest='6';					urldest='http://arianna.libero.it/usenet/cgi-bin/SearchNews.epl?KEYWORDS='+q+'&TABLES=RECENT_MSG';				}				else if (type == 'cat') {					iddest='7';					urldest='http://arianna.libero.it/search/abin/catalogo?path_cat=Root&where=1&query='+q;				}				else if (type == 'blog') {					iddest='17';					urldest='http://arianna.libero.it/blog/search/abin/blog?query='+q;				}				else if (type == 'news') {					iddest='15';					urldest='http://arianna.libero.it/news/search/abin/news?tipo=d&query='+q;				}				else if (type == 'prodotti') {					iddest='22';					urldest='http://shopping.libero.it/sitesearch/search.jsp?partner=libero&catId=100164013&da=arianna&kpartnerid=8913027&siteSearchQuery='+q;				}				urlescaped=encodeURIComponent(urldest);				location.href='http://arianna.libero.it/search/abin/ltrace_new?id=700&ct='+idsrc+'&wb='+iddest+'&uc='+urlescaped;				return false;			}									function check_path_UTF8(pref)			{				pref="categoria"				if (pref=="categoria")				{					document.search.where[0].checked=true;				}				else				if (pref=="all")				{ 					document.search.where[1].checked=true;				}				//var outputString=get_base_url() + "/search/abin/catalogo";				var outputString=get_base_url() + document.search.targetPath.value;				//if (document.search.query.value != "" && document.search.query.value != null)				//{					outputString += "&tquery=" + buildURL(document.search.tquery.value);					outputString += "&qmode=" + buildURL(document.search.qmode.value);					outputString += "?query=" + buildURL(document.search.query.value);					outputString += "&is_home=" + document.search.is_home.value;					if (document.search.is_home.value == 0)					{						//Se non sono in home page						//if (document.search.where[0].checked)						if (document.search.where[0].selected)						{							//Se devo cercare solo in una data categoria							outputString += "&where=0";							document.search.path_cat.value = document.temp_path_form.temp_path_cat.value;						}						else						{							//Se devo cercare in tutte le categorie							outputString += "&where=1";							//Estraggo la categoria radice del cammino							var myPathCat=document.temp_path_form.temp_path_cat.value;							if (myPathCat.indexOf("/") == -1)							{								document.search.path_cat.value = myPathCat;							}							else							{								document.search.path_cat.value = myPathCat.substring(0,myPathCat.indexOf("/"));							}  						}					}					else					{						//Se sono in home page						outputString += "&where=" + document.search.where.value;						outputString += "&numPage=" + document.search.numPage.value;						outputString += "&st=" + document.search.st.value;					}					//Path categoria					outputString += "&path_cat=" + buildURL(document.search.path_cat.value);					location.href = outputString;//					}				//}			}									<!--/* ***************************** Most of this code was kindly ** provided to me by** Andrew Clover (and at doxdesk dot com)** http://and.doxdesk.com/ ** in response to my plea in my blog at ** http://worldtimzone.com/blog/date/2002/09/24** It was unclear whether he created it.*/function utf8(wide) {  var c, s;  var enc = "";  var i = 0;  while(i<wide.length) {    c= wide.charCodeAt(i++);    // handle UTF-16 surrogates    if (c>=0xDC00 && c<0xE000) continue;    if (c>=0xD800 && c<0xDC00) {      if (i>=wide.length) continue;      s= wide.charCodeAt(i++);      if (s<0xDC00 || c>=0xDE00) continue;      c= ((c-0xD800)<<10)+(s-0xDC00)+0x10000;    }    // output value    if (c<0x80) enc += String.fromCharCode(c);    else if (c<0x800) enc += String.fromCharCode(0xC0+(c>>6),0x80+(c&0x3F));    else if (c<0x10000) enc += String.fromCharCode(0xE0+(c>>12),0x80+(c>>6&0x3F),0x80+(c&0x3F));    else enc += String.fromCharCode(0xF0+(c>>18),0x80+(c>>12&0x3F),0x80+(c>>6&0x3F),0x80+(c&0x3F));  }  return enc;}var hexchars = "0123456789ABCDEF";function toHex(n) {  return hexchars.charAt(n>>4)+hexchars.charAt(n & 0xF);}var okURIchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";function encodeURIComponentNew(s) {  var s = utf8(s);  var c;  var enc = "";  for (var i= 0; i<s.length; i++) {    if (okURIchars.indexOf(s.charAt(i))==-1)      enc += "%"+toHex(s.charCodeAt(i));    else      enc += s.charAt(i);  }  return enc;}function buildURL(fld){	//if (fld == "") return false;	if (fld == "") return "";	var encodedField = "";	var s = fld;	if (typeof encodeURIComponent == "function")	{		// Use JavaScript built-in function		// IE 5.5+ and Netscape 6+ and Mozilla		encodedField = encodeURIComponent(s);	}	else 	{		// Need to mimic the JavaScript version		// Netscape 4 and IE 4 and IE 5.0		encodedField = encodeURIComponentNew(s);	}	/*alert ("New encoding: " + encodeURIComponentNew(fld) +		 "\n           escape(): " + escape(fld));*/	return encodedField;}//-->