var link = new Array()
link[10] = "Welcome|http://www.iaam.org/2007_meetings/europe/"
link[20] = "Hotel|http://www.iaam.org/2007_meetings/europe/hotel.htm"
link[30] = "Programme|http://www.iaam.org/2007_meetings/europe/program.htm"
//link[40] = "Registration|http://www.iaam.org/2006_meetings/D8/reg_update.htm"
//link[70] = "Registration|https://www.iaam.org/secure/2007_d8_Registration.asp"
link[95] = "back to IAAM.org|http://www.iaam.org"

function menu(){
  for (x=0;x<100;x++){
    desc = explode(link[x],0,'|');
    url = explode(link[x],1,'|');
    if (url && desc) {
      document.write('<a href="'+url+'">'+desc+'</a><br>');
    }
  }
}

function menu1() { document.write('Hello'); }
function explode(string,item,delimiter) {
	tempArray=new Array(1);
	var Count=0;
	var tempString=new String(string);
	while (tempString.indexOf(delimiter)>0) {
		tempArray[Count]=tempString.substr(0,tempString.indexOf(delimiter));
		tempString=tempString.substr(tempString.indexOf(delimiter)+1,tempString.length-tempString.indexOf(delimiter)+1);
		Count=Count+1
	}
	tempArray[Count]=tempString;
	return tempArray[item];
}


