// javascript script/main.js

var ns   = (navigator.appName == 'Netscape');
var ie   = (navigator.appName == 'Microsoft Internet Explorer');
var mac  = (navigator.appVersion.indexOf('Mac') != -1);

var divC = (ie) ? '.all' : '';

function divObj(id,nest)
{
 if (!ie && nest)
  return eval('document.'+nest+'.document[\''+id+'\']');

 return eval('document'+divC+'.'+id);
} 

function imgObj(id,nest)
{
 if (!ie && nest)
  return eval('document.'+nest+'.document.images[\''+id+'\']');

 return document.images[id];
}

function showObj(o,b)
{
 if (ie)
  o = o.style;

 o.visibility = (b) ? 'visible' : 'hidden';
}

function backText(b)
{
 if (top.nav && top.nav.document.navstate)
 {
  showObj(eval('top.nav.document'+divC+'.cback'),b);
 }
}

function roStatus(s)
{
 window.status = s;

 return true;
}