<!-- Hide from JavaScript-Impaired Browsers

oldObj = null;

function showHideLayers() {
  var i, visStr, args, theObj;
  args = showHideLayers.arguments;
  
  for (i=0; i<(args.length-2); i+=3) { //with arg (objNS,objIE,visStr)
    visStr   = args[i+2];

    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(args[i]);
      if (theObj) theObj.visibility = visStr;

      if (oldObj != null) {// hide old obj
         if (oldObj != theObj) {
           oldObj.visibility = 'hide';
         }
      }
      
    } else if (document.all != null) { //IE
      if (visStr == 'show') visStr = 'visible'; //convert vals
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(args[i+1]);
      if (theObj) theObj.style.visibility = visStr;

      if (oldObj != null) {// hide old obj
        if (oldObj != theObj) {
           oldObj.style.visibility = 'hidden';
        }
      }

    } 
    oldObj = theObj;
  } 
}


function changeMsg() {
   var i, args, objNS, objIE, visStr;
   args = changeMsg.arguments;
   objNS = "document.layers[" + "\'msg" + args[0] + "\']";
   objIE = "document.all[" + "\'msg" + args[0] + "\']";
   visStr= "show";
   showHideLayers(objNS, objIE, visStr);
}

// End Hiding -->

