if (parseInt(navigator.appVersion)>3) {
	if (navigator.appName=="Netscape") {
		var winW = window.innerWidth;
		var winH = window.innerHeight;
	}
	if (navigator.appName.indexOf("Microsoft")!=-1) {
		var winW = document.body.offsetWidth;
		var winH = document.body.offsetHeight;
	}
}
//alert(winW);

/*if (winW<758){
	var leftmenusx=-11;
}else{
	var leftmenusx=(winW-800)/2;
}*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;
menus=new Array();
_d=document;
function addmenu(){
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
var Atable = '<table border=0 width=100% cellpadding=0 cellspacing=0>';
var Atr = '<tr>'
var Ctr = '</tr>'
var Atdtesto = '<td valign=top style=\"font-size:11;\">'
var Atdimg = '<td width=20 valign=top>'
var Ctd = '</td>'
var Ctable = '</table>';
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	//effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#FFFFFF', Direction=135, Strength=5)"
	effect = "Fade(duration=0.3);Alpha(style=0,opacity=92);Shadow(color='#FFFFFF', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#FFFFFF', Direction=135, Strength=1)" // Stop IE5.5 bug when using more than one filter
}


timegap=500				// The time delay for menus to remain visible
followspeed=10			// Follow Scrolling speed
followrate=10			// Follow Scrolling Rate
suboffset_top=5;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FFFFFF",				// Mouse Off Font Color
"2C2C2C",				// Mouse Off Background Color
"2C2C2C",				// Mouse On Font Color
"FFFFFF",				// Mouse On Background Color
"FFFFFF",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana,Arial",		// Font Name
3,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
"",						// Sub Menu Image (Leave this blank if not needed)
"",						// 3D Border & Separator bar
"",						// 3D High Color
"",						// 3D Low Color
"",						// Current Page Item Font Color (leave this blank to disable)
"",						// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
"",						// Menu Header Font Color (Leave blank if headers are not needed)
"",						// Menu Header Background Color (Leave blank if headers are not needed)
]



addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
60,					// Menu Top - The Top position of the menu in pixels
20,						// Menu Left - The Left position of the menu in pixels
110,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
"Menu_alto",		// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"Home","#",,"Back to the home page",1 
,"32nd IGC Introduction","show-menu=introduction",,"",1
,"History and Planning","show-menu=sponsor",,"",1
,"Registration Summary","show-menu=registration",,"",1
,"Business Meetings","show-menu=general",,"",1
,"Committee Reports","show-menu=scientific",,"",1
,"Events Connected","show-menu=book",,"",1
,"32nd IGC Photo Gallery","show-menu=gallery",,"",1
])

  addmenu(menu=["introduction",
	,,200,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Preface","Preface.htm","","",1 
	,"Historical Summary of the International Geological Congress","Historicalsummary.htm","","",1
 ,"IGC Sessions and Summary of Participation","SessionsParticipation.htm","","",1 
, "Statutes of the Congress","Statutesofthecongress.htm","","",1 
, "Home","home.htm","","",1 
])

 addmenu(menu=["general",
	,,240,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Interim Meeting of IGC Steering Committee","Interimmeeting.htm","","",1
	,"First IGC Steering Committee Meeting","FirstIGCsteeringCommittee.htm","","",1
	,"First IGC Council Meeting","FirstIGCCouncilmeeting.htm","","",1
	,"Opening Ceremony","Openingceremony.htm","","",1 
	,"First General Assembly","Firstgeneral.htm","","",1
        ,"First IGC Committee Meeting","FirstCommitteemeeting.htm","","",1
        ,"IUGS/IGC Council Meeting","IUGS_IGCcouncilmeeting.htm","","",1
        ,"Closing Ceremony","Closingceremony.htm",,"",1
	,"A strategic vision of Earth Sciences","Strategicvision.htm","","",1
	,"Business Meetings of IUGS","BusinessmeetingsofIUGS.htm","","",1
  ,"International Organizations involved in the Scientific Program","ListofInternationalOrganizers.htm","","",1 
   ])

	addmenu(menu=["scientific",
	,,240,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Scientific Program Committee","ReportScientificProgramCommittee.htm","","",1
	,"Field Trip Committee","ReportFieldtripCommittee.htm","","",1
	,"Geohost Committee","Reportgeohost.htm","","",1
	,"Treasurer","Reporttreasurer.htm",,"",1
	,"Fund Rising Committee","ReportfundrisingCommittee.htm","","",1
	,"European Commission Relationship","ReportECrelationship.htm","","",1
        ,"Inter-Agency Coordinator","ReportInteragencycoordinator.htm","","",1					
	,"Advisory Board","Reportadvisoryboard.htm","","",1
	,"Publications Committee","ReportpublicationsCommittees.htm","","",1
	,"Science Theatre","Internationalfilmfestival.htm","","",1
	,"Press Relations","Reportpressrelations.htm","","",1
	,"Youth Congress","Reportyouthcongress.htm","","",1
 ,"GeoExpo Committee","Reportgeoexpo.htm","","",1
 ,"Poster Session Committee","ReportPostersessionCommittee.htm","","",1
 ,"Workshops and Short Courses","Reportworkshops.htm","","",1
 ,"Coordination Manager","ReportCoordinationmanager.htm","","",1
 ,"Abstracts of Plenary Lectures","Abstractsplenarylectures.htm","","",1
 ,"Special Symposia","Reportspecialsymposia.htm","","",1
 ,"Topical Symposia","Reporttopicalsymposia1_8.htm","","",1
 ," General Symposia","Reportgeneralsymposia1_5.htm","","",1
 ,"Workshops Reports","Workshopsreports.htm","","",1
 ,"Short Courses Report","Shortcoursesreports.htm","","",1
 ,"Field Trips Reports","Fieldtripsreports.htm","","",1
])

	addmenu(menu=["book",
	,,240,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"A tribute to Steno","Tributetosteno.htm","","",1 
	,"International Year of Planet Earth","InternationalyearofEarth.htm","","",1						
	,"Ancient geological and other maps exhibition","Ancientgeologicalmaps.htm",,"",1 
	,"National congress of Italian Geologists","Nationalcongressofgeologists.htm","","",1
	,"Workshop - Climate change and geological hazards endangering large urban Mediterranean areas","Climatechange.htm","","",1
	])


	addmenu(menu=["sponsor",
	,,340,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"History of the Italian invitation and early planning activities","HistoryItalianInvitation.htm","","",1
	,"Meeting and activities of the Organizing Committee","Meetingandactivities.htm","","",1
	,"Coordination with International Organizations","Coordination.htm","","",1
	,"Place, Date, Theme ","Placedatetheme.htm","","",1
 ,"Scientific Freedom Policy Statement","scientificFreedompolicy.htm","","",1
 ,"Official Language","Officiallanguage.htm","","",1
 ,"Hosts and sponsors","Hostsandsponsors.htm","","",1
 ,"Budget and finance","Budgetandfinance.htm","","",1
 ,"Publication Policy","Publicationpolicy.htm","","",1
 ,"32nd IGC INFORMS","32ICGinforms.htm","","",1
 ,"Circulars","Circulars.htm","","",1
 ,"Ceremonies and social events","Ceremonies.htm","","",1
 ,"Accompanying members program","Accompanyingmembersprogram.htm","","",1
 ,"Youth Congress","Youthcongress.htm","","",1
 ,"Science Theatre","Sciencetheatre.htm","","",1
 ,"Membership, registration fees and refund policy","Membership.htm","","",1
 ,"Invitation to attend","Invitationtoattend.htm","","",1
 ,"Invitation to delegates","Invitationtodelegates.htm","","",1
 ,"Congress Headquarters","Congressheadquarters.htm","","",1
 ,"Press Room","Pressroom.htm","","",1
 ,"Poster Session","Postersession.htm","","",1
 ,"Professional Assistance","Professionalassistance.htm","","",1
 ,"GEOEXPO 2004","Geoexpo.htm","","",1
 ,"Honorary Members","Honorarymembers.htm","","",1
 ,"Organizing Committee","OrganizingCommittee.htm","","",1
 ,"Steering Committee","SteeringCommittee.htm","","",1
 ,"Mediterranean Consortium","Mediterraneanconsortium.htm","","",1
 	])
 	
 addmenu(menu=["Registration",
	,,200,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Registration Summary","registrationsummary.htm","","",1 
	,"Registration by Country","Registrationbycountry.htm","","",1
])

addmenu(menu=["gallery",
	,,150,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Photo 1","Gallery1.htm","","",1 
	,"Photo 2","Gallery2.htm","","",1
	,"Photo 3","Gallery3.htm","","",1
	,"Photo 4","Gallery4.htm","","",1
	,"Photo 5","Gallery5.htm","","",1
	,"Photo 6","Gallery6.htm","","",1
	,"Photo 7","Gallery7.htm","","",1
])
     
dumpmenus()
