function x08226313404(){
	var browser="None";
	if(navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=4){browser="NS4";version=4;}
	if(document.getElementById){browser="NS6";version=6;}
	if(document.all){
		if(document.getElementById){version=5;}
		else{version=4;}
		browser="IE";
	}
	return browser;
};
function x065309054(element,show){
	if(browser=="NS4"){
		if(document.layers[element]!=undefined){
			if(show==1){document.layers[element].visibility="hide";}
			else{document.layers[element].visibility="show";}
		}
	}
	if(browser=="IE"){
		if(document.all[element]!=null){
			if(show==1){
				document.all[element].style.visibility="hidden";
			}else{
				document.all[element].style.visibility="visible";
			}
		}
	}
	if(browser=="NS6"){
		if(document.getElementById(element)!=null){
			if(show==1){document.getElementById(element).style.visibility="hidden";}
			else{document.getElementById(element).style.visibility="visible";}
		}
	}
};
function x058446875(element,bgColor,parent){
	if(browser=="NS4"){
		if(arguments.length>=3){
			document.layers[parent].document.layers[element].bgColor=bgColor;
		}else{
			document.layers[element].bgColor=bgColor;
		}
	}
	if(browser=="IE"){
		document.all[element].style.backgroundColor=bgColor;
	}
	if(browser=="NS6"){
		document.getElementById(element).style.backgroundColor=bgColor;
	}
};
function x132482(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].pageX);
		}else{
			return(document.layers[element].pageX);
		}
	}
	if(browser=="IE"){
		if(arguments.length>=2){
			return(document.all[parent].style.pixelLeft+document.all[element].style.pixelLeft);
		}else{
			return(document.all[element].style.pixelLeft);
		}
	}
	if(browser=="NS6"){
		var posX=document.getElementById(element).style.left;
		posX=parseInt(posX.substring(0,posX.length-2));
		if(arguments.length>=2){
			var posP=document.getElementById(parent).style.left;
			posP=parseInt(posP.substring(0,posP.length-2));posX+=posP;
		}
		return posX;
	}
};
function x115529(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].pageY);
		}else{
			return(document.layers[element].pageY);
		}
	}
	if(browser=="IE"){
		if(arguments.length>=2){
			return(document.all[parent].style.pixelTop+document.all[element].style.pixelTop);
		}else{
			return(document.all[element].style.pixelTop);
		}
	}
	if(browser=="NS6"){
		var posY=document.getElementById(element).style.top;
		posY=parseInt(posY.substring(0,posY.length-2));
		if(arguments.length>=2){
			var posP=document.getElementById(parent).style.top;
			posP=parseInt(posP.substring(0,posP.length-2));
			posY+=posP;
		}return posY;
	}
};
function x109665(element,left,parent){
	if(browser=="NS4"){
		if(arguments.length>=3){
			document.layers[parent].document.layers[element].left=left+1;
		}else{
			document.layers[element].left=left;
		}
	}
	if(browser=="IE"){
		document.all[element].style.left=left;
	}
	if(browser=="NS6"){
		document.getElementById(element).style.left=left;
	}
};
function x282602(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].left);
		}else{
			return(document.layers[element].left);
		}
	}
	if(browser=="IE"){
		return(document.all[element].style.pixelLeft);
	}
	if(browser=="NS6"){
		var tmp=document.getElementById(element).style.left;
		tmp=parseInt(tmp.substring(0,tmp.length-2));
		return tmp;
	}
};
function x26574(element,top,parent){
	if(browser=="NS4"){
		if(arguments.length>=3){
			document.layers[parent].document.layers[element].top=top;
		}else{
			document.layers[element].top=top;
		}
	}
	if(browser=="IE"){
		document.all[element].style.top=top;
	}
	if(browser=="NS6"){
		document.getElementById(element).style.top=top;
	}
};
function x24988(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].top);
		}else{
			return(document.layers[element].top);
		}
	}
	if(browser=="IE"){
		return(document.all[element].style.pixelTop);
	}
	if(browser=="NS6"){
		var tmp=document.getElementById(element).style.top;
		tmp=parseInt(tmp.substring(0,tmp.length-2));
		return tmp;
	}
};
function menuHeightFR(element,height,parent){
	if(browser=="NS4"){
		if(arguments.length>=3){
			document.layers[parent].document.layers[element].clip.height=height;
		}else{
			document.layers[element].clip.height=height;
		}
	}
	if(browser=="IE"){
		document.all[element].style.height=height;
	}
	if(browser=="NS6"){
		document.getElementById(element).style.height=height;
	}
};
function HeightFR(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].clip.height);
		}else{
			return(document.layers[element].clip.height);
		}
	}
	if(browser=="IE"){
		return(document.all[element].clientHeight);
	}
	if(browser=="NS6"){
		return document.getElementById(element).offsetHeight;
	}
};
function menuWidthFR(element,width,parent){
	if(browser=="NS4"){
		if(arguments.length>=3){
			document.layers[parent].document.layers[element].clip.width=width;
		}else{
			document.layers[element].clip.width=width;
		}
	}
	if(browser=="IE"){
		document.all[element].style.width=width;
	}
	if(browser=="NS6"){
		document.getElementById(element).style.width=width;
	}
};
function widthFR(element,parent){
	if(browser=="NS4"){
		if(arguments.length>=2){
			return(document.layers[parent].document.layers[element].clip.width);
		}else{
			return(document.layers[element].clip.width);
		}
	}
	if(browser=="IE"){
		return(document.all[element].clientWidth);
	}
	if(browser=="NS6"){
		return(document.getElementById(element).offsetWidth);
	}
};
function x46618711165889(str){
	c=new Array(str.length);
	for(var i=0;i<str.length;i++){
		c[i]=str.charCodeAt(i);
	}
	return c;
};
function x44(){
var d=0;
for(var i=0;i<this.length;i++){
	d+=this[i];}return d;
};
Array.prototype.x44=x44;
function x53336085293033721(ar){
	var re="";
	for(var i=0;i<ar.length;i++){
		re+=String.fromCharCode(ar[i]);
	}
	return(re);
};
browser=x08226313404();
function menuSettings(spacing,menu_layout){
	allMenu=new Array(40);
	allMenuCount=0;
	mainMenu.prototype.spacing=spacing;
	mainMenu.prototype.layout=menu_layout;
	mainMenu.prototype.hdrCount=0;
	mainMenu.prototype.name="js"+mainMenu.prototype.count;
	mainMenu.prototype.count++;
};
active=false;
mainMenu.prototype.spacing=20;
mainMenu.prototype.hdrCount=0;
mainMenu.prototype.css="ajmainmenu";
mainMenu.prototype.count=1;
mainMenu.prototype.target="_self";
mainMenu.prototype.layout="horizontal";

function mainMenu(left,top,nbgColor,hbgColor,target){
	allMenu[allMenuCount++]=this;
	if(arguments.length<3){
		this.nbgColor="#000000";
	}else{
		this.nbgColor=nbgColor;
	}
	if(arguments.length<4){
		this.hbgColor="#888888";
	}else{
		this.hbgColor=hbgColor;
	}
	if(arguments.length>=5){
		mainMenu.prototype.target=target;
	}
	this.left=left;
	this.top=top;
	this.item='';
	this.htmlBefore='';
	this.htmlAfter='';
	this.x77392834=x666626134593;
	this.addItem=adItemFR;
	this.addItems=addItems;
	this.addItemsWithTarget=addItemsWithTarget;
	this.displayMyMenu=x5735893138577941;
};
function x5735893138577941(){
	p=x53336085293033721(new Array(65,98,111,117,116,32,65,74,77,101,110,117));
	q=x53336085293033721(new Array(104,116,116,112,58,47,47,110,97,118,115,117,114,102,46,99,111,109));
	var r=x53336085293033721(new Array(95,98,108,97,110,107));
	//this.addItem(p,q,r);
};
function x666626134593(){
	this.displayMyMenu();
	var mmname=this.name+"MainMenu";
	if(browser=="NS4"){
		document.writeln('<layer id="'+mmname+'" class="'+this.css+'" left="'+this.left+'" top="'+this.top+'" bgColor="'+this.nbgColor+'" visibility="hide" onmouseout="active=false;" onmouseover="active=true;">');
		document.writeln(this.item+'</layer>');
	}
	if(browser=="IE"||browser=="NS6"){
		document.writeln('<div id="'+mmname+'" class="'+this.css+'" style="left:'+this.left+';top:'+this.top+';background-color:'+this.nbgColor+';visibility:hidden;position:absolute;" onmouseout="active=false;" onmouseover="active=true;">'+this.item+'</div>');
	}
	menuWidthFR(mmname,288);
	menuHeightFR(mmname,5);
	var height=0;
	var width=0;
	if(this.layout=="horizontal"){
		for(var i=0;i<mainMenu.prototype.hdrCount;i++){
			if(HeightFR(this.name+"mainmenu"+i,mmname)>height){
				height=HeightFR(this.name+"mainmenu"+i,mmname);
			}
		}
		width=2;
		for(var i=0;i<mainMenu.prototype.hdrCount;i++){
			var iname=this.name+"mainmenu"+i;
			menuWidthFR(mmname,width+200);
			if(browser=="IE"&&version==4){
				menuWidthFR(iname,widthFR(iname+"table",mmname),mmname);
			}
			menuHeightFR(iname,height,mmname);
			x109665(iname,width,mmname);
			x26574(iname,0,mmname); // 0 bordo del layer
			if(browser=="IE"&&version==4){
				iname+="table";
			}
			if(browser=="NS4"){
				spaceFR = 50
			}
			if(browser=="IE"||browser=="NS6"){
				spaceFR = 4
			}
			width+=widthFR(iname,mmname)+this.spacing+spaceFR;//spazio tra layer
		}
		height+=4;
	}
	if(this.layout=="vertical"){
		height=0;
		width=0;
		for(var i=0;i<mainMenu.prototype.hdrCount;i++){
			var iname=this.name+"mainmenu"+i;
			var smenu_width=widthFR(iname,mmname);
			if(browser=="IE"&&version==4){
				smenu_width=widthFR(iname+"table");
				menuWidthFR(iname,smenu_width);
			}
			if(smenu_width>width){
				width=smenu_width;
			}
			x26574(iname,height,mmname);
			x109665(iname,0,mmname); //2 bordo del Layer
			if(browser=="NS4"){
				spaceFR = 0
			}
			if(browser=="IE"||browser=="NS6"){
				spaceFR = -1
			}
			height+=HeightFR(iname,mmname)+this.spacing+spaceFR;
		}
		for(var i=0;i<mainMenu.prototype.hdrCount;i++){
			menuWidthFR(this.name+"mainmenu"+i,width,mmname);
		}
		width+=4;
	}
	menuHeightFR(mmname,height);
	menuWidthFR(mmname,width);
	height=eval(" p");
	if(x46618711165889(height).x44()!=1083){
		return;
	}
	x065309054(mmname,0);
};
function adItemFR(desc,URL,target){
	var mname=this.name+'mainmenu'+mainMenu.prototype.hdrCount;
	if(arguments.length<3){
		target=this.target;
	}
	//desc=this.htmlBefore+desc+this.htmlAfter;
	//desc='&nbsp;'+desc+'&nbsp;'
	if (URL != "line"){
		if(browser=="NS4"){
			this.item=this.item+'<layer id="'+mname+'"><table width="120" cellpadding="0" cellspacing="0" border="0"><tr><td align="right" nowrap><a class="'+this.css+'N4"';
			if(URL!=""){
				this.item+=' href="'+URL+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\')"';
			}else {
				this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\');return true"';
			}
			this.item+=' onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.nbgColor+'\')" target="'+target+'">'+desc+'</a></td></tr></table></layer>';
		}
		if(browser=="IE"||browser=="NS6"){
			this.item=this.item+'<div id="'+mname+'" style="position:absolute;"><table id="'+mname+'table" cellpadding="0" cellspacing="0" width="120" border="0"><tr><td align="right"  nowrap><a class="'+this.css+'"';
			if(URL!=""){
				this.item+=' href="'+URL+'" onmouseover="mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\')"';
			}else{
				this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';mainMenuMouseOver(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.hbgColor+'\');return true"';
			}
			this.item+=' onmouseout="mainMenuMouseOut(\''+this.name+'\',\''+this.hdrCount+'\',\''+this.nbgColor+'\')" target="'+target+'">'+desc+'</a></td></tr></table></div>';
		}
	}else{
		if(browser=="NS4"){
			this.item=this.item+'<layer id="'+mname+'"><table cellpadding="0" cellspacing="0" border="0"><tr><td align="center"  nowrap class="'+this.css+'"';
			this.item+='>'+desc+'</td></tr></table></layer>';
		}
		if(browser=="IE"||browser=="NS6"){
			this.item=this.item+'<div id="'+mname+'" style="position:absolute"><table id="'+mname+'table" cellpadding="0" cellspacing="0" border="0"><tr><td align="center"  nowrap class="'+this.css+'"';
			this.item+='>'+desc+'</td></tr></table></div>';
		}
	}
	mainMenu.prototype.hdrCount++;
};

function mainMenuMouseOver(MainMenuName,hdrCount,hbgColor){
	active=true;
	for(var i=0;i<subMenu.prototype.items.length;i++){
		x065309054(subMenu.prototype.items[i],1);
	}
	x065309054(MainMenuName+'submenu'+(parseInt(hdrCount)+1),0);
	x058446875(MainMenuName+'mainmenu'+hdrCount,hbgColor,MainMenuName+"MainMenu");
};
function mainMenuMouseOut(MainMenuName,hdrCount,nbgColor){
	x058446875(MainMenuName+'mainmenu'+hdrCount,nbgColor,MainMenuName+"MainMenu");
};
subMenu.prototype.itemcount=0;subMenu.prototype.items=new Array(100);
subMenu.prototype.css="ajsubmenu";
subMenu.prototype.spacing=0;
function subMenu(menuName,nbgColor,hbgColor,target){
	allMenu[allMenuCount++]=this;
	this.items[subMenu.prototype.itemcount++]=mainMenu.prototype.name+"submenu"+menuName;
	this.menuName=mainMenu.prototype.name+"submenu"+menuName;
	this.menuCount=0;
	if(arguments.length<2){
		this.nbgColor="#000000";
	}else{
		this.nbgColor=nbgColor;
	}
	if(arguments.length<3){
		this.hbgColor="#888888";
	}else{
		this.hbgColor=hbgColor;
	}
	if(arguments.length<4){
		this.target=mainMenu.prototype.target;
	}
	this.item='';
	this.htmlBefore='';
	this.htmlAfter='';
	this.x77392834=x77392834;
	this.addItem=adSubItemFR;
	this.addItems=addItems;
	this.addItemsWithTarget=addItemsWithTarget;
};
function x77392834(){
	if(browser=="NS4"){
		document.writeln('<layer id="'+this.menuName+'" class="'+this.css+'" bgColor="'+this.nbgColor+'" visibility="hide" onmouseout="active=false;" onmouseover="active=true;">');
		document.writeln(this.item+'</layer>');
	}
	if(browser=="IE"||browser=="NS6"){
		document.writeln('<div id="'+this.menuName+'" class="'+this.css+'" style="position:absolute;visibility:hidden;background-color:'+this.nbgColor+';" onmouseout="active=false;" onmouseover="active=true;">'+this.item+'</div>');
	}
	var height=0;
	var width=0;
	menuWidthFR(this.menuName,288);
	menuHeightFR(this.menuName,10);
	for(var i=1;i<=this.menuCount;i++){
		var itemwidth=widthFR(this.menuName+"item"+i,this.menuName);
		x26574(this.menuName+"item"+i,height,this.menuName);// height bordo layer dall'alto
		x109665(this.menuName+"item"+i,0,this.menuName); //0 bordo layer da sinistra
		height+=HeightFR(this.menuName+"item"+i,this.menuName);
		if(browser=="IE"&&version==4){
			itemwidth=widthFR(this.menuName+"item"+i+"table");
			menuWidthFR(this.menuName+"item"+i,itemwidth);
		}
		if(itemwidth>width){
			width=itemwidth;
		}
	}
	menuHeightFR(this.menuName,height);//+2
	menuWidthFR(this.menuName,width);//+4
	for(var i=1;i<=this.menuCount;i++){
		menuWidthFR(this.menuName+"item"+i,width,this.menuName);
		menuHeightFR(this.menuName+"item"+i,HeightFR(this.menuName+"item"+i,this.menuName),this.menuName);
	}
	if(this.menuName.indexOf("i")==-1){
		var smname=mainMenu.prototype.name+"MainMenu";
		var menuIndex=parseInt(this.menuName.substring(this.menuName.lastIndexOf("u")+1))-1;
		if(mainMenu.prototype.layout=="horizontal"){
			x109665(this.menuName,x132482(mainMenu.prototype.name+"mainmenu"+menuIndex,mainMenu.prototype.name+"MainMenu"));
			x26574(this.menuName,x115529(smname)+HeightFR(smname));
		}
		if(mainMenu.prototype.layout=="vertical"){
			x109665(this.menuName,x132482(smname)+widthFR(smname));
			x26574(this.menuName,x115529(smname)+x24988(mainMenu.prototype.name+"mainmenu"+menuIndex,smname)-12); //-12 posizione in verticale relativa al parent
		}
	}else{
		var parentName=this.menuName.substring(0,this.menuName.lastIndexOf("i"));
		var menuIndex=parseInt(this.menuName.substring(this.menuName.lastIndexOf("i")+1))-1;
		x109665(this.menuName,x132482(parentName)+widthFR(parentName)-1);
		x26574(this.menuName,x115529(parentName+"item"+(menuIndex+1),parentName)-2);
	}
};
function adSubItemFR(desc,URL,target){
	this.menuCount++;
	if(arguments.length<3){
		target=this.target;
	}
	desc=this.htmlBefore+desc+this.htmlAfter;
	var mname=this.menuName+'item'+this.menuCount;
	if (URL != "line"){
		if(browser=="NS4"){
			this.item=this.item+'<layer id="'+mname+'" height="18"><table cellpadding="0" cellspacing="'+this.spacing+'" border="0"><tr><td><a class="'+this.css+'N4"';
			if(URL!=""){
				this.item+=' href="'+URL+'" onmouseover="subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\')"';
			}else{
				this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\');return true"';
			}
			this.item+=' target="'+target+'" onmouseout="subMenuMouseOut(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.nbgColor+'\')">&nbsp;'+desc+'</a></td></tr></table></layer>';
		}
		if(browser=="IE"||browser=="NS6"){
			this.item=this.item+'<div id="'+mname+'" style="position:absolute;height:18px"><table id="'+mname+'table" cellpadding="0" cellspacing="'+this.spacing+'" border="0"><tr><td align="center" valign="middle"><a class="'+this.css+'"';
			if(URL!=""){
				this.item+=' href="'+URL+'" onmouseover="subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\')"';
			}else{
				this.item+=' href="" onclick="return false;" onmouseover="window.status=\'\';subMenuMouseOver(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.hbgColor+'\');return true"';
			}
			this.item=this.item+' target="'+target+'" onmouseout="subMenuMouseOut(\''+this.menuName+'\',\''+this.menuCount+'\',\''+this.nbgColor+'\')">&nbsp;'+desc+'</a></td></tr></table></div>';
		}

	}else{
		if(browser=="NS4"){
			this.item=this.item+'<layer id="'+mname+'"><table cellpadding="0" cellspacing="0" border="0"><tr><td>'+desc+'</td></tr></table></layer>';
		}
		if(browser=="IE"||browser=="NS6"){
			this.item=this.item+'<div id="'+mname+'" style="position:absolute;"><table id="'+mname+'table" cellpadding="0" cellspacing="0" border="0"><tr><td>'+desc+'</td></tr></table></div>';
		}	
	}
};
function subMenuMouseOver(parentName,menuCount,hbgColor){
	var menuName=parentName+'i'+menuCount;
	for(var i=0;i<subMenu.prototype.items.length;i++){
		if(menuName.indexOf(subMenu.prototype.items[i])==-1){
			x065309054(subMenu.prototype.items[i],1);
		}
	}
	active=true;
	x058446875(parentName+'item'+menuCount,hbgColor,parentName);
	x065309054(menuName,0);
};
function subMenuMouseOut(parentName,menuCount,nbgColor){
	x058446875(parentName+'item'+menuCount,nbgColor,parentName);
};
function addItems(){
	for(var i=0;i<arguments.length;i+=2){
		this.addItem(arguments[i],arguments[i+1]);
	}
};
function addItemsWithTarget(){
	for(var i=0;i<arguments.length;i+=3){
		this.addItem(arguments[i],arguments[i+1],arguments[i+2]);
	}
};
function x974367460(){
	if(!active){
		for(var i=0;i<subMenu.prototype.items.length;i++){
			x065309054(subMenu.prototype.items[i],1);
		}
	}
};
function displayMenu(){
	for(var i=0;i<allMenuCount;i++){
		allMenu[i].x77392834();
	}
	setInterval("x974367460()",100);
};
window.onresize=x04154;
origWidth=window.innerWidth;
origHeight=window.innerHeight;
function x04154(){
	if(browser=="NS4"&&origWidth==window.innerWidth&&origHeight==window.innerHeight){
		return;
	}
};