var page = location.pathname.substring(location.pathname.lastIndexOf('/')+1);
// if at root level then we're actually looking at index.htm
if (page == "") {
	page = "index.htm";	
}
document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="145" height="401">');
document.write ('<param name="movie" value="menu.swf?page=' + page + '"> <param name="quality" value="high">	<param name="menu" value="false">');
document.write ('<embed src="menu.swf?page=' + page + '" FlashVars="" width="145" height="401" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write (' type="application/x-shockwave-flash" menu="false"></embed>	</object>');
