// JavaScript Document
flashfix = function() {
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
} 

if (window.attachEvent)
window.attachEvent("onload", flashfix)
else
window.onload=flashfix;


// layer show - hidden  functions  Start here 

// Set browser-determined global variables
var NN      = (document.layers ? true : false);
var hideName = (NN ? 'hide' : 'hidden');
var showName = (NN ? 'show' : 'visible');
var zIdx    = -1;
function genLayer(sName, sLeft, sTop, sWdh, sHgt, sVis, copy) {
  if (NN) {
    document.writeln('<LAYER NAME="' + sName + '" LEFT=' + sLeft + ' TOP=' + sTop + 
    ' WIDTH=' + sWdh + ' HEIGHT=' + sHgt + ' VISIBILITY="' + sVis + '"' + ' z-Index=' + zIdx + '>' + copy + '</LAYER>');
    }
  else {
    document.writeln('<DIV ID="' + sName + '" STYLE="position:absolute; overflow:none; left:' + 
      sLeft + 'px; top:' + sTop + 'px; width:' + sWdh + 'px; height:' + sHgt + 'px;' + 
      ' visibility:' + sVis + '; z-Index=' + (++zIdx) + '">' + 
      copy + '</DIV>'
      );
    }
  }

// Define a function to hide layers
function hideSlide(name) {
  refSlide(name).visibility = hideName;
  }

// Define a function to reveal layers
function showSlide(name) {
  refSlide(name).visibility = showName;
  }

// Define a central function to reference layers
function refSlide(name) {
  if (NN) { return document.layers[name]; }
  else { return eval('document.getElementById(' + name + ').style'); }
  }

// later show - hidden functions end here 

