﻿//   IMG PRELOAD//var a = new Image();//a.src = "mm_assets/images_big_bis/big_birmingham";var corpoAutogrill =   '<span>' + "retail and restaurant unit " + '</span>' + " / national competition / 1998 / Milano, Italy";var corpoAzuma = '<span>' + "art museum " + '</span>' +" /  international competition / 2001 / Azuma, Japan";var corpoBarcelona =  '<span>' +  "port terminal and urban park " + '</span>' +" / international competition / 1996 / Barcelona, Spain";var corpoBirmingham = '<span>' + "housing redevelopment and park " + '</span>' +" / international competition / 1996 / Birmingham, England";var corpoMonza = '<span>' + "mixed-use development " + '</span>' + " / feasibility study / 2001 / Monza, Italy";var corpoCasalbeltrame = '<span>' + "art museum " + '</span>' + " / national competition / 2002 / Casalbeltrame, Italy";var corpoBrescia ='<span>' + "aquatic Centre and park  " + '</span>' +" / international competition / 2005 / Brescia, Italy";var corpoPitti = '<span>' +  "exhibition hall and redevelopment of the Arsenale at Fortezza da Basso" + '</span>' + " / feasibility study / 1998 / Firenze, Italy";var corpoSarajevo = '<span>' + "music centre " + '</span>' + " / international competition / 2000 / Sarajevo, Bosnia-Herzegovina";var corpoVillareale = '<span>' + "refurbishment of the Villa Reale and its Gardens " + '</span>' + " / international competition / 2004 / Monza, Italy";var corpoLondon = '<span>' + "housing development  " + '</span>' + " / feasibility study / 2000 / London, England";var corpoMilano = '<span>' + "housing development  " + '</span>' + " / feasibility study / 2003 / Milan, Italy";//___var corpoAvana = '<span>' + "avana " + '</span>' + " / sofa and day-bed / polyurethanic foam and steel frame / 2004";var corpoOslo = '<span>' + "oslo " + '</span>' + " / sofa and day-bed / polyurethanic foam and steel frame / 2005";var corpoCube = '<span>' + "cube " + '</span>' + " / modular table lamp / aluminium cast / 2005";var corpoFoglia = '<span>' + "foglia " + '</span>' + " / stackable chair / fibreglass reinforced multi-ply wood monocoque, steel frame / 2003";var corpoFoglio = '<span>' + "foglio " + '</span>' + " / dinner table / steel frame, fibreglass reinforced multi-ply wood monocoque top / 2003";var corpoChicago ='<span>' + "chicago " + '</span>' + " / public seating system / sheet-steel structure / polyurethanic foam seat / 2003";var corpoFuse ='<span>' + "fuse " + '</span>' + " / dinner table / steel frame, mdf lacquered top / 2004";var corpoLine ='<span>' + "line " + '</span>' + "  / floor lamp / aluminium frame / 2002";var corpoLoop ='<span>' + "loop " + '</span>' + " / dinner table / steel frame, clear glass top / 2005";var corpoTube ='<span>' + "tube " + '</span>' + " / public seating system / rotational moulding polyethylene / 2005";var corpoSmile = '<span>' + "smile " + '</span>' + " / bench and rolling-chair / rotational moulding polyethylene / 2001";var corpoGalleria = '<span>' + "galleria " + '</span>' + " / bookshelf / aluminium laser-cut plate, mdf lacquered frames / 2004";//___var corpoBorn = "born in Florence, grew up in Genoa and studied architecture at the local University, graduating in 1990";var corpoDegree = "the degree project with prof. Giancarlo De Carlo regarded the conversion to public use of part of the Old Port in Genoa";var corpoRp = "started collaboration with " + '<a href="http://www.renzopiano.com">' + " Renzo Piano Building Workshop" + '</a>' + " in 1991, working on the redevelopment of the Lingotto FIAT Factory in Turin";var corpoHertz = "joined " + '<a href="http://www.hertzberger.nl">' + "Architectuurstudio Herman Hertzberger" + '</a>' + " in 1995 as designer on various projects in Italy, Japan and Germany";var corpoLondra = "moved to London in 1998 to work freelance on urban renewal and master planning projects in the United Kingdom";var corpoCasal = "set up private practice in 2001 focusing on architectural competitions, master planning studies and product design research";//___var corpoDomus = '<span>' +"april 2005 " + '</span>' +" / libre is on " + '<a href="http://www.domusweb.it">' + " domus" + '</a>' +  " for the preview of new furniture at the forthcoming Salone del Mobile";var corpoSalone = '<span>' +"april 2005 " + '</span>' +" / libre, the modular shelving system designed by MMAD for " + '<a href="http://www.targaitalia.it">' + "targaitalia" + '</a>' +  " is on show at the Salone del Mobile";var corpoAbitare = '<span>' +"july 2005 " + '</span>' +" / libre is on " + '<a href="http://www.abitare.it">' + "abitare " + '</a>' +  "among the best new furniture at the Salone del Mobile";var corpoInterni = '<span>' +"september 2005 " + '</span>' +" / libre is on " + '<a href="http://www.internimagazine.it">' + "interni " + '</a>' +  "in an article dedicated to new designers";//___function putTitle (title,areaName){var target = document.getElementById(areaName);target.innerHTML = '<h2>' + title + '</h2>';return false;}function putText (text,areaName){var target = document.getElementById(areaName);target.innerHTML = '<p>' + text + '</p>';return false;}  // _______________________________________________________________________________PUT IMAGE FADE IN______________________var fadeTargetId = 'placehold'; /* change this to the ID of the fadeable object */var	fadeTarget;preInit();function preInit() {	if ((document.getElementById)&&(fadeTarget=document.getElementById(fadeTargetId))) {		fadeTarget.style.visibility = "hidden";		clearTimeout(preInitTimer);	} else {		preInitTimer = setTimeout("preInit()",2);	}}function fadeInit() {	if (document.getElementById) {		preInit(); /* shouldn't be necessary, but IE can sometimes get ahead of itself and trigger fadeInit first */		if (fadeTarget.style.MozOpacity!=null) {  			/* Mozilla's pre-CSS3 proprietary rule */			fadeTarget.style.MozOpacity = 0;		} else if (fadeTarget.style.opacity!=null) {			/* CSS3 compatible */			fadeTarget.style.opacity = 0;		} else if (fadeTarget.style.filter!=null) {			/* IE's proprietary filter */			fadeTarget.style.filter = "alpha(opacity=0)";		}		/* make the object visible again */		fadeTarget.style.visibility = 'visible';		window.setTimeout("fadeIn(50)", 600);	}}function fadeIn(opacity) {	if (fadeTarget) {		if (opacity <= 100) {			if (fadeTarget.style.MozOpacity!=null) {				/* Mozilla's pre-CSS3 proprietary rule */				fadeTarget.style.MozOpacity = (opacity/100)-.001;				/* the .001 fixes a glitch in the opacity calculation which normally results in a flash when reaching 1 */			} else if (fadeTarget.style.opacity!=null) {				/* CSS3 compatible */				fadeTarget.style.opacity = (opacity/100)-.001;			} else if (fadeTarget.style.filter!=null) {				/* IE's proprietary filter */				fadeTarget.style.filter = "alpha(opacity="+opacity+")";				/* worth noting: IE's opacity needs values in a range of 0-100, not 0.0 - 1.0 */ 			}			opacity += 10;			window.setTimeout("fadeIn("+opacity+")", 30);		}	}}// _______________________________________________________________________________PUT IMAGE function setBord (event) {this.style.borderColor= 'black';}function refBord (event) {this.style.borderColor = 'grey';}function putImage (immagine) {var fill = document.getElementById('placehold');fill.innerHTML = '<img src="mm_assets/images_big_bis/' + immagine + '.jpg" />';}function refreshImgLink (imgRef) {alerft ('click');var imgLink = document.getElementById('linkimg').getElementsByTagName('a');for (t=0; t<imgLink.length; t++) {  ImgLink[t].getElementsByTagName('img')[0].onmouseover = setBord;  ImgLink[t].getElementsByTagName('img')[0].onmouseout = refBord;  ImgLink[t].getElementsByTagName('img')[0].style.MozOpacity = '1';  }imgRef.getElementsByTagName('img')[0].style.borderColor = '#D19834';imgRef.style.MozOpacity = (opacity/100)-.001;}