<!--
// == verifica flash ==
	var MM_contentVersion = 6;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i)
			{
			if (isNaN(parseInt(words[i])))
			continue;
			var MM_PluginVersion = words[i]; 
			}
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
	   && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
	}

// == evita l'apertura del sito in frame ==
	if(self.location!=top.location){
		top.location.href = '/index.asp';
	}

// == reload per netscape ==
	function MM_reloadPage(init) {  
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);

// == Seleziona i campi checkbox ==
// onclick="setCheckboxes('nome form', true, 'nome select'); return false;"     false = tutti deselezionati

	function setCheckboxes(the_form, do_check, n_select) {
		if (typeof(document.forms[the_form].elements[n_select]) != 'undefined') {
			var elts = document.forms[the_form].elements[n_select];
		}  
			  
		var elts_cnt  = (typeof(elts.length) != 'undefined')
					  ? elts.length
					  : 0;
	
		if (elts_cnt) {
			for (var i = 0; i < elts_cnt; i++) {
				elts[i].checked = do_check;
			} // end for
		} else {
			elts.checked        = do_check;
		} // end if... else
	
		return true;
	} 
 
// == pop up ==

	function PagPopUp(pag,width, height) {
		
		var xc = screen.width;
		var yc = screen.height;
		
		var cntxc = Math.round(( xc / 2 ) - ( width / 2 ));
		var cntyc = Math.round(( yc / 2 ) - (( height * 9 ) / 10 ));
		
		if(height < 601){var scroll = "no";} else {var scroll = "yes";height = 500;width = Math.round(width + 18);}
		if(width > xc){width = Math.round(( xc ) - ( xc / 4 ));}
		
		if(height == 0){var scroll = "no";height = yc;var cntxc = 0;var cntyc = 0;}
		if(width == 0){var scroll = "no";width = xc;var cntxc = 0;var cntyc = 0;}
		
		//scroll = "yes"
		//var width_scroll = 18;
		
		window.open (pag,'_blank','scrollbars=' + scroll + ',status=no,menubar=no,toolbar=no,location=no,directories=no,resizable=yes,copyhistory=no,left=' + cntxc + ',top=' + cntyc + ',width=' + (width) + ',height=' + height);
	}
	
// == redirect ==
	function go_to(url) {
		location.href = url;
	}
	
// == fine ==
self.onerror = function() { return true }
//-->