<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function mmLoadMenus() {
  if (window.mm_menu_1107160341_0) return;
  window.mm_menu_1107160341_0 = new Menu("root",119,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#CCCCCC","#999999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_1107160341_0.addMenuItem("Kerlite Colors","window.open('pag_colori_colors.htm', 'pagine');");
  mm_menu_1107160341_0.addMenuItem("Kerlite Buxy","window.open('pag_colori_buxy.htm', 'pagine');");
  mm_menu_1107160341_0.addMenuItem("Kerlite Elegance","window.open('pag_colori_elegance.htm', 'pagine');");
  mm_menu_1107160341_0.addMenuItem("Kerlite Trilogy","window.open('pag_colori_trilogy.htm', 'pagine');");
   mm_menu_1107160341_0.fontWeight="bold";
   mm_menu_1107160341_0.hideOnMouseOut=true;
   mm_menu_1107160341_0.bgColor='#555555';
   mm_menu_1107160341_0.menuBorder=1;
   mm_menu_1107160341_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1107160341_0.menuBorderBgColor='#777777';

mm_menu_1107160341_0.writeMenus();
} // mmLoadMenus()


function openImm(ind){
	x=(screen.availWidth/2)-425;
	y=(screen.availHeight/2)-300;
	window.open(ind,'','scrollbars=yes,resizable=no,width=850,height=600,status=no,location=no,toolbar=no, menubar=no,top='+y+',left='+x+',screenY=10,screenX=50');
}


function openTerm(ind){
	x=(screen.availWidth/2)-230;
	y=(screen.availHeight/2)-400;
	window.open(ind,'','scrollbars=yes,resizable=no,width=460,height=325,status=no,location=no,toolbar=no, menubar=no,top='+y+',left='+x+',screenY=10,screenX=50');
}


function openCred(ind){
	x=(screen.availWidth/2)-100;
	y=(screen.availHeight/2)-450;
	window.open(ind,'','scrollbars=no,resizable=no,width=200,height=430,status=no,location=no,toolbar=no, menubar=no,top='+y+',left='+x+',screenY=10,screenX=50');
}


function openIR(ind){
	x=(screen.availWidth/2)-475;
	y=(screen.availHeight/2)-400;
	window.open(ind,'','scrollbars=yes,resizable=no,width=950,height=650,status=no,location=no,toolbar=no, menubar=no,top='+y+',left='+x+',screenY=10,screenX=50');
}


function openDown(ind){
	window.open(ind, 'pagine');
}


function enlargeDefault() {
	window.resizeTo (screen.availWidth, screen.availHeight);
	window.moveTo(0,0);
//	alert (document.body.clientHeight);
//	alert (document.documentElement.clientHeight);
}


function showwin(img,h,w) { //v3.0
	var winhdl=window.open('visualizza.asp?idimg=' + img + '&idheight=' + h + '&idwidth=' + w , 'Immagine', 'height=350,width=500,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0');
	winhdl.focus();
	return;
}							


function showwinAmb(img,h,w) { //v3.0
	var winhdl=window.open('visualizza-amb.asp?idimg=' + img + '&idheight=' + h + '&idwidth=' + w , 'Immagine', 'height=600,width=600,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=1,toolbar=0');
	winhdl.focus();
	return;
}


function linkBanner(ind){
	window.opener.location = ind;
	window.close();
}

function openMain2(ind) {
	ns4 = (document.layers)? true:false
	ie4 = (document.all)? true:false
	var os, largh, altez;
	if(navigator.appVersion.indexOf('Mac')>=0){
		os = 'mac';
	}else{
		os = 'win';
	}
	if(screen.availWidth>2000){
		largh=1280;
	} else {
//		if (ie4){
//			largh = (document.documentElement.offsetWidth);
//		} else {
//			largh = (window.innerWidth);
//		}
		largh = (screen.availWidth)-5;
	}
	if (screen.availHeight>1024){
		altez = 1024;
	} else {
//		if (ie4){
//			altez = (document.documentElement.offsetHeight) + ((screen.availHeight - document.documentElement.offsetHeight)/2);
//			altez = (screen.availHeight);
//		} else {
			altez = (screen.availHeight)-25;
//		}
	}
	x=(screen.availWidth/2)-(largh/2);
	y=(screen.availHeight/2)-(altez/2);
	window.open(ind,'Site','scrollbars=no,resizable=no,width='+largh+',height='+altez+',status=no,location=no,toolbar=no, menubar=no,top=0,left=0,screenY=0,screenX=0');
}

function right(e) {
	if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) return false; 
	else if (navigator.appName == "Microsoft Internet Explorer" && (event.button == 2 || event.button == 3)) 
		{ 
		alert("Tasto destro disabilitato"); 
		return false; 
		}
}
   document.onmousedown=right; 
   if (document.layers) window.captureEvents(Event.MOUSEDOWN) 
   window.onmousedown=right;   
//-->
