// only do this stuff if page is in proper frameset
if (top!=self)  {

	top.refLibShow = true
	
	// url path is split into directories allowing us to identify the current page and module
	var path = self.location.pathname
	directories = path.split(top.delimiter)
	top.thisPage = directories[directories.length-1]
	top.thisUnit = directories[directories.length-2]
	top.thisModule = directories[directories.length-3]
	top.thisModLib = directories[directories.length-4]
	
	if (top.currPage==top.thisPage) top.newPage = false
	else {
	top.newPage=true
	top.currPage=top.thisPage
	}
	
	if (top.currUnit==top.thisUnit) top.newUnit = false 
	else {
	top.newUnit=true
	top.currUnit=top.thisUnit
	}
	
	if (top.currModule==top.thisModule) top.newModule=false
	else {
	top.newModule=true
	top.prevModule=top.currModule
	top.currModule=top.thisModule
	}
	top.navNext = false
	top.modnav.location = "../navig.htm"

}