
function FrameManager()	
	{
	//additional query string params are ignored
	var filepath = document.location.pathname;
	var indexfilename = 'index.htm';
	var indexlocation = '/'; 
	var targethref = indexlocation + indexfilename + "?" + filepath.substring(indexlocation.length);
	if(self.location==top.location)
		self.location=targethref;
	}

function bookmark(){
	var fname='mainFrame';
	var d=document.location.search;
	var netscapealert="Your browser will bookmark only the home page of the web site. \n \n Press Ctrl-D to bookmark the web site."

	if(d!='')
		top.frames[fname].document.location.href=d.substring(d.lastIndexOf('?')+1,d.length);

	if (navigator.appName=='Microsoft Internet Explorer')
		{
		window.external.AddFavorite(top.frames[fname].document.location.href, top.frames[fname].document.title);
		}
	else if (navigator.appName=='Netscape')
		{
		alert(netscapealert);
		}
	}

function MM_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
	}
