function eval_location() {

// ascertain the document location and image path
var here=new String(document.location);
//alert(here);

// work through the keywords and test one is in the location
for (i=0;i<mkeys.length;i++)
{
	// set the image to the down state
	if (here.indexOf(mkeys[i])>-1)
	{
		path=new String(document.images['l2'+mkeys[i]].src);

		// get the path to the graphics folder
		path = path.substring(0,path.lastIndexOf("/")+1);	
		MM_nbGroup('down','navbar1','l2'+mkeys[i],path+'l2-'+mkeys[i]+'-d.gif',1);
		//alert(mkeys[i]);
					
		for (j=0; j<skeys.length;j++)
		{
			if (here.indexOf(skeys[j])>-1)
			{
				//alert(skeys[j]);
				path=new String(document.images[skeys[j]].src);			//var temp=mkeys[i]+skeys[j];
				path = path.substring(0,path.lastIndexOf("/")+1);//var temp2=mkeys[i]+'/'+skeys[j]+'-d.gif';
				MM_nbGroup('down','navbar2',skeys[j],path+skeys[j]+'-d.gif',1);
				
				/* third level navigation */
				//alert ('tkeys is '+typeof(tkeys));
				if (typeof(tkeys) != 'undefined'){
				
					for (k=0; k<tkeys.length; k++) {
						if (here.indexOf(tkeys[k])>-1){
							//alert(here);
							path = new String(document.images[tkeys[k]].src);
							path = path.substring(0,path.lastIndexOf("/")+1);
							//alert (path);
							MM_nbGroup('down','navbar3',tkeys[k],path+tkeys[k]+'-d.gif',1);
							//alert(tkeys[k]);
							break;
						}
					}
				}
				break;
				
			}
		}
	return;
	}
}
return true;
}

