<!--

// JavaScript Document CheckNavigation.js


// if document is on top level start a navigation trip
if (window == top){
	sIam = document.location.pathname;
	var ling = "/lib/TS_Tools/TS_Navigation.php?file=" + sIam.replace( "?", "%3F" ).replace( "&", "%26" );
	document.location.href = ling;
}

function xPop( val ){
	v = val[val.length -1];
	val.length = val.length -1;
	return v;
}
// save the location of the last menu for menu manipulation

if( xPop( document.location.pathname.split("/")) == "ts_menu.php" ) top.menu = document.location.pathname;


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// -->

