//(c) Ger Versluis 2000 version 4.0, 28 December 2001
// Notation of PopMenu1 is different from PopMenu2. The result is the same. PopMenu1 is more understandable. PopMenu2 loads faster.

	// Globals
	var PopNoOffMenus=5;
	var PopWebMasterCheck=0;

	function P_BeforeStart(){return}
	function P_AfterBuild(){return}
	function P_BeforeFirstOpen(){return}
	function P_AfterCloseAll(){return}
	


PopMenu1=new Array(0);
	PopMenu1[0]=8;			
	PopMenu1[1]=-1;			
	PopMenu1[2]=187;			
	PopMenu1[3]='#26687B';		
	PopMenu1[4]='#F2F3F3';		
	PopMenu1[5]='#ad6703';		
	PopMenu1[6]='#FFFFFF';		
	PopMenu1[7]='#5D5D5D';		
	PopMenu1[8]='verdana,arial,sans-serif';	
	PopMenu1[9]=1;			
	PopMenu1[10]=0;			
	PopMenu1[11]=9;			
	PopMenu1[12]=0;			
	PopMenu1[13]=0;			
	PopMenu1[14]=1;			
	PopMenu1[15]='center';			
	PopMenu1[16]=.25;			
	PopMenu1[17]=.25;			
	PopMenu1[18]=500;			
	PopMenu1[19]=0;			
	PopMenu1[20]='';		
	PopMenu1[21]=1;			
	PopMenu1[22]='left';			
	PopMenu1[23]='top';			
	PopMenu1[24]='white';		
	PopMenu1[25]='white';		
	PopMenu1[26]='white';		
	PopMenu1[27]='navy';		
	PopMenu1[28]='black';	
	PopMenu1[29]='';		
	PopMenu1[30]=5;			
	PopMenu1[31]=10;		
	PopMenu1[32]='';		
	PopMenu1[33]=10;			
	PopMenu1[34]=5;			
	PopMenu1[35]='';		
	PopMenu1[36]=5;			
	PopMenu1[37]=10;			
	PopMenu1[38]=3;			
	PopMenu1[39]=3;			
	PopMenu1[40]=0;			



//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width);
//	For rollover images ItemText format is:  "rollover:Image1.jpg:Image2.jpg"
		PopMenu1_1=new Array('Yhteystiedot ja aukiolot','http://www.tampere.fi/kirjasto/ajat.htm','',0,20,170);
		PopMenu1_2=new Array('Poikkeavat aukiolot','http://www.tampere.fi/kirjasto/aatot.htm','',0,20,170);
		PopMenu1_3=new Array('Pääkirjasto Metso','http://www.tampere.fi/kirjasto/paakir.htm','',0,20,170);
		PopMenu1_4=new Array('Lehtilukusali','http://www.tampere.fi/kirjasto/lukusali/','',0,20,170);
		PopMenu1_5=new Array('Lähikirjastot','http://www.tampere.fi/kirjasto/ajat.htm','',0,20,170);
		PopMenu1_6=new Array('Kirjastoautot','http://www.tampere.fi/kirjasto/autot/','',0,20,170);
		PopMenu1_7=new Array('Koti- ja laitospalvelut','http://www.tampere.fi/kirjasto/kotijalaitos/','',0,20,170);
		PopMenu1_8=new Array('Maakuntaosasto','http://www.tampere.fi/kirjasto/maakunta.htm','',0,20,170);

PopMenu2=new Array(7,-1,187,'#26687B','#F2F3F3','ad6703','#FFFFFF','#5D5D5D','verdana,arial,sans-serif',1,0,9,0,0,1,'center',.25,.25,500,0,'',1,'left','top','blue','white','black','maroon','black','',5,10,'',10,5,'',5,10,3,3,0);
		PopMenu2_1=new Array('Aineistohaku','http://kirjasto.tampere.fi/Piki?formid=find2','',0,20,135);
		PopMenu2_2=new Array('Lainaus ja uusinta','http://www.tampere.fi/kirjasto/oplain.htm','',0,20,135);
		PopMenu2_3=new Array('Maksut','http://www.tampere.fi/kirjasto/maksut.htm','',0,20,135);
		PopMenu2_4=new Array('Käyttösäännöt','http://www.tampere.fi/kirjasto/saannot.htm','',0,20,135);
		PopMenu2_5=new Array('Kaukopalvelu','http://www.tampere.fi/kirjasto/kauko.htm','',0,20,135);
		PopMenu2_6=new Array('Palveluhakemisto','http://www.tampere.fi/kirjasto/palvelut.htm','',0,20,135);
		PopMenu2_7=new Array('Kysytyimmät kysymykset','http://www.tampere.fi/kirjasto/faq.htm','',0,35,135);
	


PopMenu3=new Array(7,-1,187,'#26687B','#F2F3F3','ad6703','#FFFFFF','#5D5D5D','verdana,arial,sans-serif',1,0,9,0,0,1,'center',.25,.25,500,0,'',1,'left','top','blue','white','black','maroon','black','',5,10,'',10,5,'',5,10,3,3,0);
		PopMenu3_1=new Array('Kalenteri','http://www.tampere.fi/kirjasto/tiedotus/kalenteri.htm','',0,20,130);
		PopMenu3_2=new Array('Näyttelyt','http://www.tampere.fi/kirjasto/tiedotus/tapnay.htm','',0,20,130);
		PopMenu3_3=new Array('Satutunnit','http://www.tampere.fi/kirjasto/tiedotus/satu.htm','',0,20,130);
		PopMenu3_4=new Array('Nukketeatteri','http://www.tampere.fi/kirjasto/tiedotus/nukketea.htm','',0,20,130);
		PopMenu3_5=new Array('Filosofian illat','http://www.tampere.fi/kirjasto/tiedotus/filosofia.htm','',0,20,130);
		PopMenu3_6=new Array('Kirjoituskilpailut','http://www.tampere.fi/kirjasto/tiedotus/pkkilp.htm','',0,20,130);
		PopMenu3_7=new Array('Lehdistötiedote','http://www.tampere.fi/kirjasto/tiedotus/ltiedote.htm','',0,20,130);

PopMenu4=new Array(4,-1,187,'#26687B','#F2F3F3','ad6703','#FFFFFF','#5D5D5D','verdana,arial,sans-serif',1,0,9,0,0,1,'center',.25,.25,500,0,'',1,'left','top','blue','white','black','maroon','black','',5,10,'',10,5,'',5,10,3,3,0);
		PopMenu4_1=new Array('Henkilökunta','http://www.tampere.fi/kirjasto/henkilok.htm','',0,20,140);
		PopMenu4_2=new Array('Ryhmäkäynnit','http://www.tampere.fi/kirjasto/opetus.htm','',0,20,140);
		PopMenu4_3=new Array('Tiedonhakijan opas','http://www.tampere.fi/kirjasto/opterve.htm','',0,20,140);
		PopMenu4_4=new Array('Maahanmuuttajille','http://www.tampere.fi/kirjasto/mamut/index.htm','',0,20,140);
		
PopMenu5=new Array(2,-2,360,'#26687B','#F2F3F3','ad6703','#FFFFFF','#5D5D5D','verdana,arial,sans-serif',1,0,9,0,0,1,'center',.25,.25,200,0,'',1,'left','top','blue','white','black','maroon','black','',5,10,'',10,5,'',5,10,3,3,0);
		PopMenu5_1=new Array('Sampolan tietotori','http://www.tampere.fi/kirjasto/sampola/tietotori','',0,19,140);
		PopMenu5_2=new Array('Hervannan tietotori','http://www.tampere.fi/kirjasto/hervanta/tietotori/','',0,19,140);



