	<!--
		//	Check Permission v1.0
		topFr = top;
		if (typeof parent.immobilizer == "object") topFr = parent.immobilizer;

		window.onload = (topFr.hideTimer != null &&
										 topFr.hideMusic != null &&
										 topFr.hideCont != null &&
										 location.pathname != "/index.asp" &&
										 location.pathname.indexOf("pop") == -1 &&
										 location.pathname != "/") ? (topFr.location.href = location.host) : "";

		//	SHOW/HIDE LOGOUT BUTTON
		function showLogout(var1,mode)	{
			logObj	= parent.showCont.document.getElementById('logout');
			usrObj	= parent.showCont.document.getElementById('user');
			if (logObj != null)	{
				if (mode)	logObj.style.display = '';
				else			logObj.style.display = 'none';
				if (usrObj != null) usrObj.innerText = var1;
			}
		}

		// CHECKBOX & RADIO BUTTON SWITCHER 
		// The array values are defined on page
		on  = new Array();
		off = new Array();
		function fnChkMsg(blnChk,name)	{
			if (blnChk) window[name].innerHTML = on[name];
			else window[name].innerHTML = off[name];
		}

		function loadStart(mode)	{
			return;
			if (document.getElementById('loadingBox0') != null)	{
				if (mode) document.getElementById('loadingBox0').style.display = "";
				else document.getElementById('loadingBox0').style.display = "none";
			}
		}

		//	##########################################  EMAIL DECODER  ###########################################
		//	FOR OLD SITES
		function textEncode(text,mode)	{
			textDecode(text,mode);
		}

		//	FOR NEW SITES
		function textDecode(text,mode)	{
			text = trim(text);
			if (mode == "email") text = text.replace(/(\<\$punto\>)/g,".").replace("<$chiocciola>","@");
			return text;
		}
		//	######################################################################################################

		//	GET KEY PRESS v1.0
		function getKey(e)	{
			if (window.event) return window.event.keyCode;
			else if (e) return e.which;
			else return null;
		}

		//	LAYOUT ADJUSTE v2.1
		function layoutAdjConstr()	{
			this.myFunction = layoutAdj('tabContents','spy0','boxHeader','copyR','',0,16,'H');
		}

		//	OBJECTS RESIZER ####################################################
		//	2.3		20080416	ADD W & H MIN LIMIT
		//	2.2		20080411	ADD WINDOW SETTING
		//	2.1		20080218	ADD W & H MAX LIMIT
		//	2.0		20080216	CREATED
		function fnResizeObj(objN,refN,wAdj,hAdj,wLimit,hLimit)	{
			if (document.getElementById(objN) == null && objN != "window") return;
			if (document.getElementById(refN) == null && refN != "window") return;
			objRes	= document.getElementById(objN);
			objRef	= document.getElementById(refN);
			refW	= objRef.offsetWidth;
			refH	= objRef.offsetHeight;
			newW	= refW;
			newH	= refH;
			if (typeof wAdj == "number") newW	+= wAdj;
			if (typeof hAdj == "number") newH += hAdj;
			wL		= wLimit;
			hL		= hLimit;
			wLimit = Math.sqrt(wLimit*wLimit);
			hLimit = Math.sqrt(hLimit*hLimit);
			//	MAX LIMIT
			wExp = (newW > wLimit);
			hExp = (newH > hLimit);
			//	MIN LIMIT
			if (wL < 0)	wExp = (newW < wLimit);
			if (hL < 0)	hExp = (newH < hLimit);
			//	APPLY LIMIT
			if (wLimit > 0 && wExp) newW = wLimit;
			if (hLimit > 0 && hExp) newH = hLimit;

			// WIDTH - SHOW/HIDE LATERAL BANDS
			if (objN.indexOf("mainTab") != -1)	{
				objBandL = document.getElementsByName("bandL");
				objBandR = document.getElementsByName("bandR");

				if (refW > wLimit && wLimit > 0)	{
					for (cnt=0;cnt<objBandL.length;cnt++)	{
						objBandL[cnt].style.display = "";
						objBandR[cnt].style.display = "";
					} 
					//if (document.getElementById("bandL") != null) document.getElementById("bandL").style.display = "";
					//if (document.getElementById("bandR") != null) document.getElementById("bandR").style.display = "";
					//objSet.style.width = wLimit + "px";
				}
				else	{
					for (cnt=0;cnt<objBandL.length;cnt++)	{
						objBandL[cnt].style.display = "none";
						objBandR[cnt].style.display = "none";
					} 
					//if (document.getElementById("bandL") != null) document.getElementById("bandL").style.display = "none";
					//if (document.getElementById("bandR") != null) document.getElementById("bandR").style.display = "none";
					//objSet.style.width = "100%";
				}
			}


			//	SET OBJECY
			//status = objN + ": " + newW + "x" + newH;
			if (objN == "window")	{
				winW	= 100;
				winH  = 50;
				if (typeof wAdj == "number") winW	= newW;
				if (typeof hAdj == "number") winH	= newH;
				window.resizeTo(winW,winH);
				window.moveTo((screen.width-winW)/2,(screen.height-newH)/2);
			}
			else	{
				if (typeof wAdj == "number") objRes.style.width		= newW + "px";
				if (typeof hAdj == "number") objRes.style.height	= newH + "px";
			}
		}

		function fnSetAdj(objStr,mode)	{
			if (objStr == "") return;
			vAdj = 0;
			arrObjStr = objStr.split(",");
			for (cnt=0;cnt<arrObjStr.length;cnt++)	{
				if (document.getElementById(arrObjStr[cnt]) != null)	{
					if (mode == "w") vAdj += document.getElementById(arrObjStr[cnt]).offsetWidth;
					if (mode == "h") vAdj += document.getElementById(arrObjStr[cnt]).offsetHeight;
				}
			}
			return vAdj;
		}
		//	##################################################################################

		function layoutAdj(obj1,spy,ref1,ref2,ref3,Wc,Hc,mode)	{
			return;
			sStr = "";
			if (obj1 == "window") mode = "WH";
			if (mode.indexOf("W") > -1 || mode.indexOf("WH") > -1)	{
				spyW	= 0;
				W1		= 0;
				W2		= 0;
				W3		= 0;
				if (Wc == "") Wc = 0;
				if (document.getElementById(spy) != null) spyW = document.getElementById(spy).clientWidth;
				if (document.getElementById(ref1) != null) W1 = document.getElementById(ref1).clientWidth;
				if (document.getElementById(ref2) != null) W2 = document.getElementById(ref2).clientWidth;
				if (document.getElementById(ref3) != null) W3 = document.getElementById(ref3).clientWidth;
				if (SAF) Wc += 0;
				newW = spyW - (W1 + W2 + W3 + Wc);
				if (document.getElementById(obj1) != null) document.getElementById(obj1).style.width = newW + "px";
			}
			if (mode.indexOf("H") > -1 || mode.indexOf("WH") > -1)	{
				spyH	= 0;
				H1		= 0;
				H2		= 0;
				H3		= 0;
				if (Hc == "") Hc = 0;
				if (document.getElementById(spy) != null) spyH = document.getElementById(spy).clientHeight;
				if (document.getElementById(ref1) != null) H1 = document.getElementById(ref1).clientHeight;
				if (document.getElementById(ref2) != null) H2 = document.getElementById(ref2).clientHeight;
				if (document.getElementById(ref3) != null) H3 = document.getElementById(ref3).clientHeight;

				if (SAF) Hc += 22;
				newH = spyH - (H1 + H2 + H3 + Hc);
				if (document.getElementById(obj1) != null) document.getElementById(obj1).style.height = newH + "px";
			}
			if (obj1 == "window")	{
				scrW = window.screen.width;
				scrH = window.screen.height;
				window.moveTo(0,0);
				window.resizeTo(newW,newH);
				window.moveTo((scrW-newW)/2,(scrH-newH)/2)
			}
		}

		//	####################################################################################
		//	STRINGS FUNCTIONS AND CHECKER ######################################################
		//	####################################################################################

		//	TRIM - DELETING BEFORE AND BEFORE SPACES
		function trim(str)	{
			if (typeof str != "undefined") return str.replace(/\s+$|^\s+/g,"");
			else return str;
		}

		//	CHECK DATE
		function chkDate(txtDate,mode)	{
			txtDate = txtDate.replace(/[^\d]/g,"0");
			gg = txtDate.substr(0,2)
			mm = txtDate.substr(3,2);
			aa = txtDate.substr(6,4);
										   
			strdata = gg + "/" + mm + "/" + aa;
										   
			data = new Date(aa,mm-1,gg);
			daa = data.getFullYear().toString();
			dmm = (data.getMonth()+1).toString();
			dmm = dmm.length == 1?"0" + dmm:dmm;
			dgg = data.getDate().toString();
			dgg = dgg.length == 1 ? "0" + dgg:dgg;
			dddata = dgg + "/" + dmm + "/" + daa;
			if (dddata != strdata) return true;
			else return false
		}

		//	VAT NUMBER (PARTITA IVA)
		function checkVat(vat,mode)	{
			errID	= -1
			var errMsg =new Array();
			errMsg[0] = "Partita IVA non valida: il campo è vuoto.";
			errMsg[1] = "Partita IVA non valida: la lunghezza deve essere di 11 caratteri.";
			errMsg[2] = "Partita IVA non valida: ci sono caratteri diversi da cifre.";
			errMsg[3] = "Partita IVA non valida: il codice di controllo non corrisponde.";
			if (vat == "")	return 0;
			if (vat.length != 11)	return 1;
			validi = "0123456789";
			for (i=0;i<11;i++)	{
				if(validi.indexOf(vat.charAt(i)) == -1 ) return 2; 
			}
			s = 0;
			for (i=0;i<=9;i+=2)	{
				s += vat.charCodeAt(i) - '0'.charCodeAt(0);
			}
			for (i=1;i<=9;i+=2)	{
				c = 2*(vat.charCodeAt(i) - '0'.charCodeAt(0));
				if (c > 9)  c = c - 9;
				s += c;
			}
			if ((10 - s%10)%10 != vat.charCodeAt(10) - '0'.charCodeAt(0)) return 3;
			//if (mode) return errMsg[0]
		}


		//	CODICE FISCALE
		function checkCF(cf,mode)	{
			errID	= -1
			var errMsg =new Array();
			errMsg[0] = "Codice fiscale non valido: il campo è vuoto.";
			errMsg[1] = "Codice fiscale non valido: la lunghezza deve essere di 16 caratteri";
			errMsg[2] = "Codice fiscale non valido: ci sono caratteri non validi.";
			errMsg[3] = "Codice fiscale non valido: il codice di controllo non corrisponde.";
			var validi, i, s, set1, set2, setpari, setdisp;
			if( cf == '' )  return 0;
			cf = cf.toUpperCase();
			if( cf.length != 16 ) return 1;
							
			validi = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
			for( i = 0; i < 16; i++ ){
				if( validi.indexOf( cf.charAt(i) ) == -1 ) return 2;
			}
			set1 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
			set2 = "ABCDEFGHIJABCDEFGHIJKLMNOPQRSTUVWXYZ";
			setpari = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
			setdisp = "BAKPLCQDREVOSFTGUHMINJWZYX";
			s = 0;
			for( i = 1; i <= 13; i += 2 )
				s += setpari.indexOf( set2.charAt( set1.indexOf( cf.charAt(i) )));
			for( i = 0; i <= 14; i += 2 )
				s += setdisp.indexOf( set2.charAt( set1.indexOf( cf.charAt(i) )));
			if( s%26 != cf.charCodeAt(15)-'A'.charCodeAt(0) ) return 3;
		}

		//	CODE (username, password etc)
		function checkCode(code,limit,mode)	{
			minL	= 5;
			maxL	= 8;
			chrN	= 0;
			if (limit != "")	{
				minL	= limit.split(",")[0];
				maxL	= limit.split(",")[1];
				chrN	= limit.split(",")[2];
			}
			isNum = true;
			if (chrN > 0) isNum = false 
			errID	= -1
			var errMsg =new Array();
			errMsg[0] = "Codice non valido: il campo è vuoto...";
			errMsg[1] = "Codice non valido: la lunghezza deve essere compresa tra i " + minL + " e i " + maxL + " caratteri...";
			errMsg[2] = "Codice non valido: ci sono caratteri non alfanumerici...";
			errMsg[3] = "Codice non valido: inserire almeno una lettera...";
			if (code == "") errID = 0;
			if (errID == -1 && (code.length > maxL || code.length < minL))	errID = 1;
			if (errID == -1)	{
				validN = "0123456789";
				validS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
				if (chrN > 0) validN = validN + validS;
				for (i=0;i<code.length;i++)	{
					if (validN.indexOf(code.charAt(i)) == -1)	errID = 2; 
				}
			}
			if (errID == -1 && chrN > 0)	{
				errID = 3;
				validS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
				for (i=0;i<code.length;i++)	{
					if (validS.indexOf(code.charAt(i)) > -1)	errID = -1; 
				}
			}
			if (mode && errID > -1) return errMsg[errID];
			else return errID;
		}



		//	####################################################################################
		//	FORM VALITATIONS ###################################################################
		//	####################################################################################

		//	CHECK FORMATS v1.0
		function check(str,model)	{
			result = false;
			if (model.toLowerCase() == "cf")	{
				myExp = /^[A-Z]{6}\d{2}[A-Z]\d{2}[A-Z]\d{3}[A-Z]$/;		//	Fiscal code (only format)
			}
			if (str.search(myExp) > -1) result = true;
			return result;
		}
		//	************************************************************************************

		//	####################################################################################
		//	OPEN POPUP #########################################################################
		//	####################################################################################
			
		//if (document.getElementById) window.unload = new Function("if (typeof myPop != 'undefined') myPop.close();"); 
		function openPop(page,mode)	{
			//alert(page + " - " + mode)
			w = 300;
			h = 100;
			pL = (window.screen.width - w) / 2;
			pT = (window.screen.height - h) / 2;
			pL = 0;
			pT = 0;
			winSet = 'width='+w+',height='+h+',left='+pL+',top='+pT+',resizable=no,statusbar=yes';
			if (typeof myPop != "undefined")	{	
				if (!myPop.closed) myPop.focus();
				if (!myPop.closed)	{
					if (mode == "close") myPop.close();
					myPop = window.open(page,'',winSet,false);
					//self.focus();
				}
				else	{
					myPop = window.open(page,'',winSet,false);
					//self.focus();
				}
			}
			else	{
				myPop = window.open(page,'',winSet,false);
				//self.focus();
			}
		}
		//	end popup **************************************************************************

		//	INI SET TEXT EDITOR
		winFlg = true;
		inForm	= "";
		inEle		= "";
		function fnOpenTextEdit(frmName,frmEle)	{
			inForm	= frmName;
			inEle		= frmEle;
			iLang		= inEle.replace(/(\w*)(\w{2})$/,"$2");
			openPop("popTxtEditor.asp?iLang="+iLang);
		}

		//	####################################################################################
		//	COOKIES ############################################################################
		//	####################################################################################
		//	READ COOKIE v1.0
		function getCookie(ckName)	{
			if (document.cookie.length > 0)	{ 
				begin = document.cookie.indexOf(ckName+"="); 
				if (begin != -1)	{ 
					begin += ckName.length+1; 
					end = document.cookie.indexOf(";", begin);
					if (end == -1) end = document.cookie.length;
					return unescape(document.cookie.substring(begin,end));
				} 
			}
			return null; 
		}

		//	WRITE COOKIE v1.0
		function setCookie(ckName,value,expDays)	{
			var expDate = new Date();
			expDate.setTime(expDate.getTime() + (expDays * 24 * 3600 * 1000));
			document.cookie = ckName + "=" + escape(value) + 
												((expDays == null) ? "" : "; expires=" + expDate.toGMTString());
		}

		//	DELETE COOKIE v1.0
		function delCookie(ckName)	{
			if (getCookie(ckName)) document.cookie = ckName + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
		}
		//	end cookies ######################################################################################################################

		//	OBJECT CROSS BROWSER v1.0 ##########################################################
		//	Example:
		//		myObj = fnCrossBrowser('mV1a'+idMain,'mono','');
		//		arrElement = fnCrossBrowser(tagType,'poly','');
		//		arrElement = fnCrossBrowser(cnt,'attr','name');
	
		function fnCrossBrowser(eleName,mode,attName,attVal)	{
			if (mode == "mono")	{
				if (document.layers) myValue = document.layers.item(eleName);						//	verificare
				//else if (document.all) myValue = document.all.item(eleName);						//	window['mV1a'+idMain];
				else if (document.getElementById) myValue = document.getElementById(eleName);
				return myValue;
			}
			else if (mode == "mono2")	{
				refObj = attName;
				if (document.layers) myValue = document.layers.item(eleName);						//	verificare
				//else if (document.all) myValue = refObj.all.item(eleName);							//	window['mV1a'+idMain];
				else if (document.getElementById) myValue = refObj.getElementById(eleName);
				return myValue;
			}
			else if (mode == "poly")	{
				if (document.layers) myValue = document.layers.tags(eleName);						//	verificare
				//else if (document.all) myValue = document.all.tags(eleName);
				else if (document.getElementById) myValue = document.getElementsByTagName(eleName);
				return myValue;
			}
			else if (mode == "poly2")	{
				refObj = attName;
				if (document.layers) myValue = document.layers.tags(eleName);						//	verificare
				//else if (document.all) myValue = refObj.all.tags(eleName);
				else if (document.getElementById) myValue = refObj.getElementsByTagName(eleName);
				return myValue;
			}
			else if (mode == "attr")	{
				if (document.layers) myValue = arrElement[eleName][attName];						//	verificare
				//else if (document.all) myValue = arrElement[eleName].getAttribute(attName);
				else if (document.getElementById) myValue = arrElement[eleName].getAttribute(attName);
				return myValue;
			}
			else if (mode == "setAtt")	{
				if (document.layers) arrElement[eleName][attName] = attVal;						//	verificare
				//else if (document.all)  document.all.tags(eleName);
				else if (document.getElementById)  document.getElementById(eleName).setAttribute(attName,attVal,0);
			}
			else if (mode == "chk")	{
				if (document.layers) myValue = typeof document.layers.item(eleName);		//	verificare
				//else if (document.all) myValue = typeof document.all.item(eleName);			//	window['mV1a'+idMain];
				else if (document.getElementById) myValue = typeof document.getElementById(eleName);
				return myValue;
			}
			else if (mode == "exist")	{
				if (document.layers) myValue = typeof document.layers.item(eleName);		//	verificare
				//else if (document.all) myValue = (!document.all.item(eleName) == null);			//	window['mV1a'+idMain];
				else if (document.getElementById) myValue = (!document.getElementById(eleName) == null);
				return myValue;
			}
		}

		//	OBJECT EXIST
		function objExist(obj)	{return !(obj == null)}

		//	DIV CONTROLL v1.0
		function fnControlDiv(eleDiv,par1)	{
			if (typeof eleDiv == "object") objDiv = eleDiv;
			else	{
				if (document.all) objDiv = document.all[eleDiv];
				if (document.getElementById) objDiv = document.getElementById(eleDiv);
			}
			delay = 100;
			if (par1)	{
				setOpacity(objDiv,0);
				objDiv.style.display = "";
				opa0 = objDiv;
				opa1 = 0;
				opa2 = 100;
			}
			else	{
				setOpacity(objDiv,100);
				objDiv.style.display = "";
				opa0 = objDiv;
				opa1 = 100;
				opa2 = 0;
			}
			setTimeout("fnCssOpacity(opa0,opa1,opa2)",delay);
		}

		//	INPUT SELECT'S EVENTS
		function iniSelects()	{
			if (document.all) var nSelects = document.all.tags("select"); 
			else if (document.getElementById) var nSelects = document.getElementsByTagName("select"); 
			alert(nSelects.length)
			for (var i=0;i<nSelects.length;i++)	{
				nSelects[i].onfocus = nSelects[i].blur();
			}
		}


		// *************************************************************************************

		//	CHANGE ENTER TEXT v1.0
		var arrEnter = new Array();
		function langText(lang)	{
			if (document.getElementById("enter") != null)	{
				document.getElementById("enter").innerHTML = arrEnter[lang];
			}
		}

		//	DOM Copy HTML v1.0 #################################################################
		function fnCopyContent(dynP)	{
			//alert(dynP)
			dynaPart = "mainCont";
			if (typeof trim(dynP) != "undefined" && trim(dynP) != "") dynaPart = dynP;
			if (parent.showCont.document.getElementById(dynaPart) != null)	{

				loadedCn = document.getElementById("mainCont").innerHTML;

				//	FOR FLASH
				loadedCn = loadedCn.replace(/<!--FLASH/gi,'');
				loadedCn = loadedCn.replace(/FLASH-->/gi,'');

				loadedCn = loadedCn.replace(/_replace/gi,"");
				loadedCn = loadedCn.replace(/\<\$file\>/gi,"");

				//	EMAIL
				loadedCn = loadedCn.replace(/XatX/gi,"@");						//	all sites
				loadedCn = loadedCn.replace(/XpointX/gi,".");					//	all sites
				

				//	FOR IMAGES
				loadedCn = loadedCn.replace(/<!--IMG/gi,"");					//	www.oasi-web.com
				loadedCn = loadedCn.replace(/IMG-->/gi,"");						//	www.oasi-web.com
				loadedCn = loadedCn.replace(/#IMG#/gi,"<IMG");				//	giobassplayer.it

				//	donatellanobilio.it;	oasi-web.com
				//	giobassplayer.it;			letsgroove.it
				loadedCn = loadedCn.replace(/IM#G/gi,"IMG");
				loadedCn = loadedCn.replace(/IFRAM#E/gi,"IFRAME");					
				loadedCn = loadedCn.replace(/MARQUE#E/gi,"MARQUEE");					


				//alert(loadedCn)
				parent.showCont.document.getElementById(dynaPart).innerHTML = loadedCn;
				parent.showCont.correctPNGr();
			}
			if (parent.showCont.document.getElementById('mPlayer') != null)	{
				byObj = document.getElementById("mPlayer");
				toObj = topFr.showCont.document.getElementById("mPlayer");
				toObj.Filename = byObj.Filename.replace(/_replace/g,"");
				toObj.Filename = byObj.Filename.replace(/\<\$file\>/g,"");
				toObj.stop();
			}
			//if (typeof parent.showCont.scrollArea == "function") parent.showCont.scrollArea();
			loadingClose();
		}


		//	LOADING CLOSE v1.0
		function loadingClose()	{
			delay = 200;
			objPage = window;
			if (parent.showCont != null) objPage = parent.showCont;
			//parent.showCont.document.getElementById("loadingBox0").style.display = "none";
			if (objPage.document.getElementById("loadingBox0") != null) objPage.document.getElementById("loadingBox0").style.display = "none";
			return;
			if (objPage.document.getElementById("loadingBox1") != null)	{
				objPage.document.getElementById("loadingBox1").style.display = "";
				opa0 = objPage.document.getElementById("loadingBox1");
				opa1 = 100;
				opa2 = 0;
				setTimeout("fnCssOpacity(opa0,opa1,opa2)",delay);
			}
		}




		//	EMBED AUDIO	CONTROL v1.0
		function audioInit(name)	{
			if (getCookie(name) == 0) audioCtrl(name,0);
		}

		function audioCtrl(name,mode)	{
			//alert(mode)
			if (mode)	{
				//embedObj.play();
				if (topFr.hideMusic != null) topFr.hideMusic.location.href = "hideMusic.asp";
				document.getElementById("audioP").style.display = "none";
				document.getElementById("audioS").style.display = "";
			}
			else	{
				//embedObj.stop();
				if (topFr.hideMusic != null) topFr.hideMusic.location.href = "empty.asp";
				document.getElementById("audioP").style.display = "";
				document.getElementById("audioS").style.display = "none";
			}
			delCookie(name);
			setCookie(name,mode,2);
		}

		//	AUDIO LOADER v1.0
		//	2.0		UPGRADE: NOW LOAD IN HIDDEN IFRAME
		//	Used from:		www.giobassplayer.it
		function loadAudio(sFile,name,mode)	{
			if (sFile == "") return;
			if (document.getElementById("hideAudio") == null) return;
			if (mode) document.getElementById("hideAudio").src = "hideAudio.asp?bgsF=" + sFile;
			else document.getElementById("hideAudio").src = "vrtPub/blank.htm";
		}


		//	OPACITY SETTING
		opaMode = null;
		opaSet	= false;
		opaReset = null;
		function fnCssOpacity(obj,opaIni,opaEnd)	{
			//alert(obj+"\n"+opaIni+"\n"+opaEnd+"\n");
			if (!opaSet)	{
				if (opaIni < opaEnd) opaMode = true;
				else if (opaIni > opaEnd)	opaMode = false;
				else if (opaIni == opaEnd) return;
				opaReset = opaIni;
				opaSet = true;
			}

			//alert(opaMode);

			opa1T = 20;
			if (FFx) opa1T = 3;
			opa0 = obj;
			opa1 = opaIni;
			opa2 = opaEnd;
			// FADE IN
			if (opaMode)	{
				if (opa1 >= opa2)	{
					window.clearTimeout(opaTime);
					//obj.style.display = "none";
					setOpacity(obj,opaIni);
					return;
				}
			  setOpacity(obj,opa1);
			  opa1 += opa1T;
			  opaTime = setTimeout("fnCssOpacity(opa0,opa1,opa2)",10);
			}
			// FADE OUT
			else if (!opaMode)	{
			  setOpacity(obj,opa1);
				if (opa1 <= opa2)	{
					window.clearTimeout(opaTime);
					obj.style.display = "none";
					setOpacity(obj,opaReset);
					opaMode = null;
					return;
				}
			  opa1 -= opa1T;
			  opaTime = setTimeout("fnCssOpacity(opa0,opa1,opa2)",10);
			}
		} 

		function setOpacity(obj,opacity)	{
			//alert(sniff)
			//status = IE6 + ": " + opacity;
			//opacity = (opacity == 100) ? 99.999 : opacity;
			// IE/Win
			if (IE) obj.style.filter = "alpha(opacity:"+opacity+")";
			// Safari<1.2, Konqueror
			//obj.style.KHTMLOpacity = opacity/100;
			// Older Mozilla and Firefox
			//obj.style.MozOpacity = opacity/100;
			// Safari 1.2, newer Firefox and Mozilla, CSS3
			if (FFx) obj.style.opacity = opacity/100;
		} 

		function fnDelContent(idName)	{
			if (document.layers)	{
				topFr.showCont[idName].innerHTML = "&nbsp;";
			}
			else if (document.all)	{
				topFr.showCont[idName].innerHTML = "&nbsp;";
			}
			else if (document.getElementById)	{
				topFr.showCont.document.getElementById(idName).innerHTML = "&nbsp;";
			}
		}
		//	end ********************************************************************************


		//	####################################################################################
		//	BROWSERS ###########################################################################
		//	####################################################################################

		//	ESTERNAL
		//	ADD TO PREFERENCE
		function addBookMark(URL,title){
			if (document.all) window.external.AddFavorite(URL,title)
		}

		//	SNIFFER v1.0 #######################################################################
		/*
		Explorer **
		Mozilla/2.0 (compatible; MSIE 3.02; Windows 95)
		Mozilla/3.0 (compatible; MSIE 3.0.1; Mac_PowerPC; Mac OS8)
		Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
		Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
		Mozilla/4.0 (compatible; MSIE 4.01; Windows 98; compat)
		Mozilla/4.0 (compatible; MSIE 4.01; SunOS 5.6 sun4u; X11)
		Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)
		Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)
		Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
		Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
		Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
		Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.01

		Netscape **
		Mozilla/2.02 (Win95; I)
		Mozilla/3.04 (Win95; I)
		Mozilla/3.0 (X11; I; SunOS 5.5.1 sun4u)
		Mozilla/3.0(OS/2;I)
		Mozilla/4.04 [it] (Win95; I; Nav)
		Mozilla/4.04 [en] (OS/2; I)
		Mozilla/4.05[en](Win16;I)
		Mozilla/4.07; [en] (X11;I;Linux 2.0.36i586)
		Mozilla/4.5 [en] (Win98; I)
		Mozilla/4.5 (Macintosh; I; PPC)

		Opera **
		Mozilla/3.0 (compatible; Opera/3.0;Windows 3.1) 3.0
		Mozilla/3.0 (compatible; Opera/3.0;Windows 95) 3.1
		Mozilla/3.0 (compatible; Opera/3.0;Windows 95/ Windows NT4) 3.0
		Mozilla/3.0 (compatible; Opera/3.0;Windows 3.1) 3.21
		Mozilla/4.0 (compatible; Opera/3.0; Windows 95) 3.50
		Mozilla/4.0 (Windows 4.10;US) Opera 3.60 [en]
		Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 5.0 [en]

		Safari **
		Mozilla/5.0 (Machintosh; U; PPC Mac OS X; it-it) AppleWebKit/85.8.5(KHTML, like Gecko) Safari/85.8.1)

		FireFox **
		Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
		*/

		// rileviamo il Sistema Operativo il Browser e la sua versione 
		// e settiamo variabili globali che contengano i risultati dello sniffing 

		//alert(navigator.userAgent);
		sniff = navigator.userAgent.toLowerCase();

		var SOWIN	= (sniff.indexOf("win") > -1) ? 1 : 0; 
		var SOMAC	= (sniff.indexOf("mac") > -1) ? 1 : 0; 
		var SOLIN	= (sniff.indexOf("linux") > -1) ? 1 : 0; 
		var SOALT	= (!SOWIN && !SOMAC && !SOLIN) ? 1 : 0; 

		ind1 = sniff.indexOf("opera");
		var OP		= (ind1 > -1) ? 1 : 0; 
		var punto = (OP) ? sniff.indexOf(".",ind1):0; 
		var OP5		= (OP && parseInt(sniff.substr(punto-1)) == 5) ? 1 : 0; 
		var OP6		= (OP && parseInt(sniff.substr(punto-1)) == 6) ? 1 : 0; 

		ind2 = sniff.indexOf("msie");
		//alert(sniff.substr(ind2+5))
		var IE		= (ind2 > -1 && !OP) ? 1 : 0; 
		var IE4		= (IE && parseInt(sniff.substr(ind2+5)) == 4) ? 1 : 0; 
		var IE5		= (IE && parseInt(sniff.substr(ind2+5)) == 5) ? 1 : 0; 
		var IE6		= (IE && parseInt(sniff.substr(ind2+5)) == 6) ? 1 : 0; 
		var IE7		= (IE && parseInt(sniff.substr(ind2+5)) == 7) ? 1 : 0; 

		var NN		= (navigator.appName.indexOf("netscape")>-1) ? 1 : 0; 
		var NN4		= (NN && parseInt(navigator.appVersion)==4) ? 1 : 0; 
		var NN6		= (NN && parseInt(navigator.appVersion)>4) ? 1 : 0; 

		var SAF = (sniff.indexOf("safari") > -1) ? 1 : 0

		var FFx = (sniff.indexOf("firefox") > -1) ? 1 : 0

		var OT = (!IE && !NN && !OP && !SAF && !FFx) ? 1 : 0;

		//	end sniffer ************************************************************************
	//-->
