// Java Document




function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

 
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+'La Mail indicata non è valida.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+' inserisci  almeno il tuo indirizzo Mail.\n'; }
  } if (errors) alert('ATTENZIONE:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
 
<!--
function GP_popupConfirmMsg(msg) { //v1.0
  document.MM_returnValue = confirm(msg);
}
//-->
 

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26807474-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

 
		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			//$("a[rel='example1']").colorbox();
			$("a[rel='x1']").colorbox({transition:"none"});
			//$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
			//$("a[rel='example4']").colorbox({slideshow:true});
			//$(".example5").colorbox();
			//$(".infobox").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$("a[rel='x2']").colorbox({width:"700px", height:"500px", iframe:true});
					$("a[rel='infoboxbig']").colorbox({width:"800px", height:"700px", iframe:true});
					$("a[rel='infoboxmin']").colorbox({width:"800px", height:"300px", iframe:true});
					$("a[rel='infoboxbigo']").colorbox({width:"840px", height:"700px", iframe:true});
			//$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
			//$(".example9").colorbox({
				//onOpen:function(){ alert('onOpen: colorbox is about to open'); },
				//onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
				//onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
				//onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
				//onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
			//});
			
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});
		
		
		function MAINDIVH() { //v1.0
	var sideA = document.getElementById('side-a');
	var sideB = document.getElementById('side-b');
	var content = document.getElementById('content');
	
	var MaxHeight = 0;
	if (content.offsetHeight > sideA.offsetHeight )
	{
			if (sideB != null ) {
				if (sideB && content.offsetHeight > sideB.offsetHeight )
				{
					MaxHeight=content.offsetHeight;
					sideA.style.height = MaxHeight + "px";
					sideB.style.height = MaxHeight + "px";
				} else {
					MaxHeight=sideB.offsetHeight;
					sideA.style.height = MaxHeight + "px";
					content.style.height = MaxHeight + "px";
				}
			} else {
				MaxHeight=content.offsetHeight;
				sideA.style.height = MaxHeight + "px";
			}
	} else {
			MaxHeight=sideA.offsetHeight;
			if (sideB != null ) {
				sideB.style.height = MaxHeight + "px";
			}
			content.style.height = MaxHeight + "px";			
	}	
	
}
