function IW_registerSections() {
  var d=document;
  if(!d.IW_sect) d.IW_sect=new Array();
  var i,j=d.IW_sect.length,a=IW_registerSections.arguments;
  for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0) d.IW_sect[j++]=a[i];
  IW_hideAll(); IW_showSection(a[0]);
}

function IW_showSection(s) {
  IW_hideAll();
  show = document.getElementById(s);
  show.className="IWsect_show";
}

function IW_hideAll() {
  var i,d=document;
  for(i=0; i<d.IW_sect.length; i++) {
  var hide = d.getElementById(d.IW_sect[i]);
  hide.className="IWsect_hide";}
}