function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}  
  
function MM_openBrWindow_grande(theURL) {
  window.open(theURL,'nome','height='+screen.height+',width='+(screen.width-8)+', screenX=0,screenY=0,top=0,left=0 ');
}  

function centra(url, width, height) { 
window.open (url, 'nome',  'width=' + width + ',height=' + height +',scrollbars=0');
}

function centra_scroll(url, width, height) { 
window.open (url, 'nome',  'width=' + width + ',height=' + height +',scrollbars=1');
}


function altocn(url,wname, width, height) { 
if (document.all) { 
 var x = window.screenLeft; 
 var y = window.screenTop; 
 var w = window.document.body.offsetWidth; 
 var h = window.document.body.offsetHeight; 
} 
else { 
 var x = window.screenX; 
 var y = window.screenY; 
 var w = window.outerWidth; 
 var h = window.outerHeight; 
} 
var cntx = x + Math.round((w - width) / 2);
window.open (url, wname, 'left=' + cntx + ',top=' + 50 + ',width=' + width + ',height=' + height); 
}







function openNew3() {
  window.open("http://www.triennale.it/triennale/permanente/index_.html",'nome','height='+screen.height+',width='+(screen.width-8)+', screenX=0,screenY=0,top=0,left=0 ');
  }


function openNew4() {
  window.open("http://www.triennale.it/triennale/permanente/eng/index_.html",'nome','height='+screen.height+',width='+(screen.width-8)+', screenX=0,screenY=0,top=0,left=0 ');
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  function altocn1(url,wname, width, height) {
if (document.all) {
var x = window.screenLeft;
var y = window.screenTop;
var w = window.document.body.offsetWidth;
var h = window.document.body.offsetHeight;
}
else {
var x = window.screenX;
var y = window.screenY;
var w = window.outerWidth;
var h = window.outerHeight;
}
var cntx = x + Math.round((w - width) / 2);
window.open (url, wname, 'left=' + cntx + ',top=' + 50 + ',width=' + width + ',height=' + height +',scrollbars=0');
} 
  
  
 