function StyleDisplay(id, d) {
 HtmlObject(id).style.display = d ? "inline" : "none";
}
function SwapId(id, newidd) {
 HtmlObject(id).id = newidd;
}
function HtmlObject(id) {
 var obj = null;
 if (document.getElementById) {
  obj = document.getElementById(id);
 }
 else if (document.all) {
  obj = document.all[id];
 }
 return obj;
}
