// JavaScript Document
function objGet(x) {
  if (typeof x != 'string') return x;
  else if (Boolean(document.getElementById)) return document.getElementById(x);
  else if (Boolean(document.all)) return eval('document.all.'+x);
  else if (Boolean(document.ids)) return eval('document.ids.'+x);
  else return null;
}

function toggleObj(id) {
  o=objGet(id);
  visible=(o.style.display!="none")
  if (visible) {
    o.style.display="none";
  } else {
    o.style.display="block";
  }
}

function openWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}
