var wallNumber = 1;
var wallMax = 1;
var pictureNumber = 1;
var pictureMax;
aspc='o%40ad-es';aspa='<a class="alternate" href="mai';aspd='so.com?subject=Gallery">contact AD-esso</a>';aspb='lto:inf';
function writeCopyInfo(){document.write("www.ad-esso.com&nbsp; all rights reserved&nbsp; &copy; 2004-2007 J&uuml;rgen Schmitz");}
// 0..5
var paperSupport=["Epson Smooth Fine Art Paper","Epson Premium Luster Paper","Epson Canvas","Epson Archival Matte Paper","Performance::Movie","Video"];
function picture(_filename,_title,_year,_height,_width,_aheight, _awidth,_support,_wall,_available,_price,_aprice,_style,_info)
{
	this.filename=_filename;
	this.title=_title;
	this.year=_year;
	this.height=_height;
	this.width=_width;
	this.aheight=_aheight;
	this.awidth=_awidth;
	this.support=_support;
	this.available=_available;
	this.price=_price;
	this.aprice=_aprice;
	this.style=_style;
	this.info=_info;	
	this.wall=_wall;
	if(this.aheight!=0.0 && this.awidth==0.0)
		this.awidth=this.width*this.aheight/this.height;
	if(this.aheight==0.0 && this.awidth!=0.0)
		this.aheight=this.height*this.awidth/this.width;
}
function f(inch)
{
	return(inch*2.54);
}
function ftoPrecis3(n)
{
	if(n>=100.0) 
		return Math.round(n);
	else
		return Math.round(n*10.0)/10.0;
}
var gallery = new Array();

var nr=0;
gallery[++nr]= new picture("MarzoccaHaus"      ,"Marzocca Haus"     ,2003 ,54.0 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("StillPortrait"     ,"Still Portrait"    ,2003 ,42.4 ,60.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("desert"            ,"Desert"            ,2004 ,76.5 ,102.0,53.34,71.12,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("FluxPortrait"      ,"FluxPortrait"      ,2004 ,53.34,71.12,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Guggenheim-0"      ,"Guggenheim"        ,2004 ,73.9 ,102.0,f(21),0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-23"  ,"Acid"              ,2004 ,69.2 ,102.0,0.0  ,f(29),1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("spaziergang"       ,"Spaziergang"       ,2004 ,102.0,136.0,f(21),0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("spring_time"       ,"Spring Time"       ,2004 ,76.5 ,102.0,f(21),0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"alternatively printed on: "+paperSupport[0]);
gallery[++nr]= new picture("Smooth-Inferno"    ,"Smooth Inferno"    ,2004 ,76.5 ,102.0,f(21),0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Autumn"            ,"Autumn"            ,2004 ,60.0 ,80.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("vanessa-1"         ,"Vanessa 1"         ,2004 ,76.5 ,102.0,0.0  ,f(28),0 ,wallMax ,true ,0     ,0     ,"" ,"variation °1 of Vanessa theme");
gallery[++nr]= new picture("vanessa-2"         ,"Vanessa 2"         ,2004 ,73.9 ,102.0,0.0  ,f(28),0 ,wallMax ,true ,0     ,0     ,"" ,"variation °2 of Vanessa theme");
gallery[++nr]= new picture("Vanessa-3"         ,"Incontro"          ,2004 ,60.0 ,80.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Twins"             ,"Strike Force"      ,2004 ,94.0 ,131.6,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("NY-63rd-Street"    ,"NY 63rd Street"    ,2004 ,68.6 ,102.0,0.0  ,f(29),0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Usa"               ,"USA NY"            ,2004 ,f(41),f(54.7),0.0,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-040810-1" ,"Peter Pan"         ,2004 ,70.0 ,100.0,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("BirdsView"         ,"Bird's View"       ,2004 ,100.0,133.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Folletto"          ,"Folletto"          ,2004 ,70.0 ,50.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("X-1-p1"            ,"X-1-p1"            ,2004 ,70.0 ,50.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Aussicht"          ,"Aussicht"          ,2004 ,50.0 ,70.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("forme-2"           ,"Navale"            ,2004 ,100.0,71.4 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("forme-3-1"         ,"Forme"             ,2004 ,100.0,75.7 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("forme-4-1"         ,"Sign"              ,2004 ,96.3 ,71.3 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Ritmo-1"        ,"4 quarters of silence",2004 ,100.0,200.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-041110"   ,"Affresco"          ,2004 ,34.3 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-41-2","no title"          ,2004 ,63.5 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-42-1","Meccanico"         ,2004 ,100.0,75.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-44"  ,"Marea"             ,2004 ,100.0,80.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Luminous"          ,"Luminous"          ,2004 ,100.0,134.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Jet-Lag"           ,"Jet Lag"           ,2004 ,100.0,83.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("mosaic"            ,"Mosaic"            ,2005 ,100.0,82.8 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("neo-baroque"       ,"neo-baroque"       ,2005 ,90.0 ,159.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Landscape"         ,"Landscape"         ,2005 ,90.0 ,159.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Saionara"          ,"Passage"           ,2005 ,90.0 ,147.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("sfera"             ,"Sfera"             ,2005 ,80.0 ,80.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("engine"            ,"Engine"            ,2005 ,80.0 ,80.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("still-life"        ,"Still Life"        ,2005 ,66.7 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("spaces-1"          ,"Spaces 1"          ,2005 ,40.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("spaces-2"          ,"Spaces 2"          ,2005 ,40.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("geometric-1"       ,"Geometric 1"       ,2005 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("geometric-3"       ,"Geometric 3"       ,2005 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("aries"             ,"Aries"             ,2005 ,70.0 ,50.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("beach"             ,"Beach"             ,2005 ,70.0 ,56.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("05-05-04"          ,"May 05 05"         ,2005 ,100.0,75.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("MustMove"          ,"MustMove"          ,2005 ,0    ,0    ,0.0  ,0.0  ,4 ,wallMax ,true ,0     ,0     ,"" ,"Interactive Video Installation");
gallery[++nr]= new picture("Kopf-liegend"      ,"Kopf liegend"      ,2005 , 92.0,122.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Xtract1"           ,"Xtract1"           ,2005 , 60.0, 44.0,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Xtract2"           ,"Xtract2"           ,2005 , 60.0, 44.0,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Xtract6"           ,"Xtract6"           ,2005 , 45.0, 60.0,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Constructivism1"   ,"Constructivism1"   ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Constructivism2"   ,"Constructivism2"   ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Constructivism3"   ,"Constructivism3"   ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("VerginiDellaRoccia","Vergini Della Roccia",2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("AngeloVergine"     ,"Angelo Vergine"    ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("SerenoAnnunziato"  ,"Sereno Annunziato" ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Clarionde"         ,"Clarionde"         ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Siedlung"          ,"Siedlung"          ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Ras"               ,"Ras"               ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Reba"              ,"Reba"              ,2005 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Wasser-Farben"     ,"Wasser Farben"     ,2006 , 60.0, 80.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Pinup-and-bird"    ,"Pinup and Bird"    ,2006 , 90.0,160.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("American-Eagle"    ,"American Eagle"    ,2006 ,108.0,141.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Assenza-di-Vergine","Assenza di Vergine",2006 ,108.0,141.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Streghette"        ,"Streghette"        ,2006 ,100.0,133.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("my-first-bimbo"    ,"my-first-bimbo"    ,2007 ,0    ,0    ,0.0  ,0.0  ,5 ,wallMax ,true ,0     ,0     ,"" ,"Moving Picture");

pictureMax=gallery.length-1;

gallery[++nr]= new picture("Trasse"            ,"Trasse"            ,2003 ,54.0 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("PalcoBerlin"       ,"Palco Berlin"      ,2003 ,74.0 ,55.5 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("RotesAuge"         ,"Rotes Auge"        ,2003 ,91.4 ,134.2,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Figure1"           ,"Figure 1"          ,2003 ,72.0 ,50.9 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"part °1 of trypticon 'Figures'");
gallery[++nr]= new picture("Figure2"           ,"Figure 2"          ,2003 ,72.0 ,50.9 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"part °2 of trypticon 'Figures'");
gallery[++nr]= new picture("Figure3"           ,"Figure 3"          ,2003 ,72.0 ,50.9 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"part °3 of trypticon 'Figures'");
gallery[++nr]= new picture("Abstract-10"       ,"Abstract 10"       ,2003 ,50.9 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Palazzo-Front"     ,"Palazzo Front"     ,2003 ,51.5 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-7"   ,"Improvisation-7"   ,2004 ,50.0 ,73.7 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-8"   ,"Improvisation-8"   ,2004 ,50.0 ,73.7 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-5"   ,"Improvisation-5"   ,2004 ,50.0 ,73.7 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-6"   ,"Improvisation-6"   ,2004 ,50.0 ,73.7 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-6"        ,"no-title-6"        ,2004 ,74.6 ,100.6,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("FerroBattuto"      ,"Ferro Battuto"     ,2004 ,48.8 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("pachinco"          ,"Pachinco"          ,2004 ,72.0 ,54.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("impact"            ,"Impact"            ,2004 ,100.0,147.5,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("chromatic-blobs-1" ,"Chromatic Blobs 1" ,2004 ,72.0 ,54.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Layers"            ,"Layers"            ,2004 ,54.0 ,72.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("chromatic-blobs-3" ,"Tokyo Lingerie 1"  ,2004 ,67.8 ,100.0,0.0  ,f(29),1 ,wallMax ,true ,0     ,0     ,"" ,"variation °1 of Tokyo Lingerie Shop theme");
gallery[++nr]= new picture("chromatic-blobs-2" ,"Tokyo Lingerie 2"  ,2004 ,67.8 ,100.0,0.0  ,f(29),1 ,wallMax ,true ,0     ,0     ,"" ,"variation °2 of Tokyo Lingerie Shop theme");
gallery[++nr]= new picture("pomodoro"          ,"Pomodoro"          ,2004 ,50.8 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"inspired by a sculpture of Arnaldo Pomodoro");
gallery[++nr]= new picture("BlackPortrait"     ,"Black Portrait"    ,2003 ,33.0 ,48.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-20-1","Improvisation 20 1",2004 ,69.2 ,102.0,0.0  ,f(29),0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-25"  ,"Improvisation 25"  ,2004 ,69.2 ,102.0,0.0  ,f(29),1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-11"       ,"no title 11"       ,2004 ,54.0 ,72.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("nature"            ,"Nature"            ,2004 ,72.0 ,54.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("komm_mit"          ,"Komm mit!"         ,2004 ,172.0,89.8 ,106.0,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Sonata"            ,"Sonata"            ,2004 ,76.5 ,102.0,f(21),0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Sehnsucht-1"       ,"Sehnsucht 1"       ,2004 ,76.5 ,102.0,f(21),0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Sehnsucht-2"       ,"Sehnsucht 2"       ,2004 ,76.5 ,102.0,f(21),0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Sofferenza-Piacere","Sofferenza-Piacere",2004 ,100.0,200.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("TheRide"           ,"The Ride"          ,2004 ,f(21),f(28),0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("YouDon_tKnowMe"    ,"YouDon'tKnowMe"    ,2004 ,f(21),f(28),0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-040806"   ,"no title"          ,2004 ,50.0 ,70.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("no-title-040801"   ,"no title"          ,2004 ,50.0 ,70.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"alternatively printed on: "+paperSupport[0]);
gallery[++nr]= new picture("violoncello"       ,"Violoncello"       ,2004 ,50.0 ,70.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"alternatively printed on: "+paperSupport[0]);
gallery[++nr]= new picture("12-4"              ,"12-4"              ,2004 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"alternatively printed on: "+paperSupport[0]);
gallery[++nr]= new picture("52"                ,"52"                ,2004 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"alternatively printed on: "+paperSupport[0]);
gallery[++nr]= new picture("senza-titolo"      ,"Senza Titolo"      ,2004 ,70.0 ,50.0 ,0.0  ,0.0  ,0 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("forme-4"           ,"Forme 4"           ,2004 ,100.0,71.4 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Improvisation-43-1","Improvisation 43-1",2004 ,100.0,75.0 ,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("Luce"              ,"Luce"              ,2005 ,65.7 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("moon"              ,"Moon"              ,2005 ,71.4 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("sound"             ,"Soundscape"        ,2005 ,75.0 ,100.0,0.0  ,0.0  ,2 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("geometric-2"       ,"Geometric 2"       ,2005 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");
gallery[++nr]= new picture("geometric-4"       ,"Geometric 4"       ,2005 ,70.0 ,50.0 ,0.0  ,0.0  ,1 ,wallMax ,true ,0     ,0     ,"" ,"");

pictureAll=gallery.length-1;

<!-- Menu && jump -->
var pictureStart = 66;

var language = location.search.substr(1,2);
if (language.indexOf('en') > -1) language='en';
else if (language.indexOf('it') > -1) language='it';
else
{
	if (navigator.language || navigator.browserLanguage) language =
		navigator.language ? navigator.language : navigator.browserLanguage;
	if (language.indexOf('en') > -1) language='en';
	else if (language.indexOf('it') > -1) language='it';
	else language='en';
}

var temp=location.search.substring(4);
var temp=parseInt(temp);
if(!isNaN(temp)) pictureNumber=temp; else pictureNumber=pictureStart;
if(pictureNumber<1) pictureNumber=1;
else if(pictureNumber>pictureAll) pictureNumber=pictureAll;

/*var ie5=(document.getElementById && document.all); 
var moz=(document.getElementById &&! document.all);
var opera =(navigator.userAgent.indexOf( 'Opera' ) != -1 );
if(opera)ie5 = false;*/ 
function setFade(id, val)
{
	if(document.getElementById)
	{
		var object= document.getElementById(id).style; 
		object.opacity=(val/100); 
		object.MozOpacity=(val/100); 
		object.KhtmlOpacity=(val/100);
		object.filter='alpha(opacity='+val+')'; 
	}
}
function isThis(nme)
{
	return location.href.indexOf(nme) > 0;
}
function jumpWPar(nme, nr)
{
	path=nme+'.html?'+language+'-'+nr;
	location.href=path;
}
function jumpTo(nme)
{
	jumpWPar(nme, pictureNumber);
}
function changeLang()
{
	if(language=="en")
		language="it";
	else
		language="en";
  var pathinfo = location.href.split("?");	
	path=pathinfo[0]+'?'+language+'-'+pictureNumber;
	location.href=path;
}
function writeSpacer()
{
	document.write('<tr><td height="20">&nbsp;</td></tr>');
}
function writeItem(title, nme)
{
	document.write('<tr><td height="20" '); 
	if(isThis(nme)) document.write('class="menuSelected">'+title+'</td>');
	else 
	{
		document.write('class="menuBar"><a href="javascript:jumpTo(');
		document.write("'"+nme+"'");
		document.write(')">'+title+'</a></td>');
	}
	document.write('</tr>');
}
function writeLangSelect()
{
	document.write('<tr><td height="20" class="langBar"><a href="javascript:changeLang()">');
	if(language=="en")
		document.write('- italiano -');
	else
		document.write('- english -');
	document.write('</a></td></tr>');
}

function writeMenu()
{
	writeLangSelect();
	writeSpacer(); 
	if(language=="en")
	{
		writeItem('Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','index');
		writeSpacer();
		writeItem('Gallery&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','gallery');
		writeSpacer();
		writeItem('Places&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','places');
		writeSpacer();
		writeItem('About&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','about');
		writeSpacer();
		writeItem('Download&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','documents');
		writeSpacer();
		writeItem('Links&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','links');
	}
	else
	{
		writeItem('Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','index');
		writeSpacer();
		writeItem('Galleria&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','gallery');
		writeSpacer();
		writeItem('Luoghi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','places');
		writeSpacer();
		writeItem('About&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','about');
		writeSpacer();
		writeItem('Scarica&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','documents');
		writeSpacer();
		writeItem('Links&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','links');
	}

}
<!-- end Menu && jump -->

