//  JavaScript supporting framed site map, SiteMap2.html// Function to turn a document reference number into that of the first in its block.function fb(y){var z=y;var zu=z.indexOf("_");if (zu>-1) z=z.substring(0,zu+1)+"1";return z;}// Set initial value of anchor, which says which part of contents is displayed in LH frame.hsh=self.location.hash;hsh=hsh.substring(hsh.indexOf("#")+1,hsh.length);// Function to synch anchor of contents (in LH frame) with document (in RH frame), and// schedule another call to ensure that everything stays in synch.timerID=null;tried=0;function synch(){rr=top.r;if ((top.frames[1].location=="about:blank") && rr!=null && rr!="" && rr!="undefined" && tried==0)	{	top.frames[1].location=rr;	tried++;	timerID=setTimeout("synch();",2000);	return;	};	var z=fb(""+top.frames[1].docref);if (z!=null && z!="" && z!="undefined" && z!=hsh) { var t=self.location; var p=t.href; var i=p.indexOf("#"); if (i>-1) p=p.substring(0,i); t.href=p+"#"+z; hsh=z; };timerID=setTimeout("synch();",2000);}// Function to cancel timeout for calls to synch().function stop(){if (timerID!=null) clearTimeout(timerID);}// Function to set our anchor variable, hsh, when the RH frame is loaded via a link in this// contents page, so we know the link is already visible and we don't need to navigate to it.function d(z){hsh=fb(z);return true;}
