<!--
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);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->

var timerOn = false; 
var timecount = 1000; 

function startTime() 
{  
	if (timerOn == false) 
	{   
		timerID=setTimeout( "hideAll()" , timecount);   
		timerOn = true;   
	}  
} 

function stopTime() 
{  
	if (timerOn) 
	{   
		clearTimeout(timerID);   
		timerID = null;   
		timerOn = false;   
	}  
} 

function hideAll() 
{ 
	MM_showHideLayers('tmt','','hide','w_quit','','hide') 
}

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserName == "Microsoft Internet Explorer" && browserVer == 4) version ="n3";
else
    if (browserName == "Netscape" && browserVer >= 3) version ="n3";
    else version ="n2";

if (version == "n3") 
{
					     
    var base = "images/index/"
		
    bar1on = new Image(1, 1);
    bar1on.src = base+"t1-lt.gif";
    bar1off = new Image(1, 1);
    bar1off.src = base+"t1.gif";
		
    bar2on = new Image(1, 1);
    bar2on.src = base+"t2-lt.gif";
    bar2off = new Image(1, 1);
    bar2off.src = base+"t2.gif";
		
    bar3on = new Image(1, 1);
    bar3on.src = base+"t3-lt.gif";
    bar3off = new Image(1, 1);
    bar3off.src = base+"t3.gif";
		
    bar4on = new Image(1, 1);
    bar4on.src = base+"t4-lt.gif";
    bar4off = new Image(1, 1);
    bar4off.src = base+"t4.gif";
	
	bar5on = new Image(1, 1);
    bar5on.src = base+"t5-lt.gif";
    bar5off = new Image(1, 1);
    bar5off.src = base+"t5.gif";
	
	bar6on = new Image(1, 1);
    bar6on.src = base+"t6-lt.gif";
    bar6off = new Image(1, 1);
    bar6off.src = base+"t6.gif";
	
	bar7on = new Image(1, 1);
    bar7on.src = base+"t7-lt.gif";
    bar7off = new Image(1, 1);
    bar7off.src = base+"t7.gif";
	
	bar8on = new Image(1, 1);
    bar8on.src = base+"t8-lt.gif";
    bar8off = new Image(1, 1);
    bar8off.src = base+"t8.gif";
	
}
		
function img_act(imgName) 
{
    if (version == "n3")  
    {
        imgOn = eval(imgName + "on.src" );
        document [imgName].src = imgOn;
    }
}

function img_inact(imgName) 
{
    if (version == "n3")  
    {
        imgOff = eval(imgName + "off.src" );
        document [imgName].src = imgOff;
    }
}