function hideshow(whomnum) {

var css_ref
var doneOK = false
var hs_whom = "sub1_" + whomnum
var hs_main = "sub0_" + whomnum


if(document.all){
 css_ref = document.all
}

else if(document.layers){
 css_ref = document.layers
}

else if(document.getElementById){
 css_ref = document.getElementById
}

if (css_ref[hs_whom].style.visibility == 'visible')
 {
  css_ref[hs_whom].style.visibility = 'hidden';
  css_ref[hs_whom].style.position = 'absolute';
  doneOK = true;
 }
else
 {
  css_ref[hs_whom].style.visibility = 'visible';
//  css_ref[hs_whom].style.position = 'relative';
  css_ref[hs_whom].style.background = '#ddddff';
//  css_ref[hs_whom].style.border = 'blue';
//  css_ref[hs_whom].style.border = '2';
//  css_ref[hs_whom].style.padding = '2';
  css_ref[hs_whom].style.left = '280';
//  css_ref[hs_whom].style.top = '20';
window.status = css_ref[hs_main].style.position.length
alert (css_ref[hs_main].position.length)
//window.status = css_ref[hs_main].style.top.value;

  doneOK = true;
 }

// alert(css_ref.length);

if (doneOK = true)
 {
 }
}


function MenuOrg(MO_this)
{
 Tw_zz = document.all['Tabler'].style;
 if (Tw_zz.visibility != 'hidden')
 {
  Tw_zz.visibility='hidden';
  Tw_zz.position='absolute';
 }
 else
 {
  Tw_zz.visibility='visible';
  Tw_zz.position='relative';
 }
}


function high(theo,Qstep){
 theobj=theo
 stepp=Qstep
 if (window.eff) clearInterval(eff)
 eff=setInterval("lightit(theobj,stepp)",50)
}

function low(theo,Qstep,maxa){
 theobj=theo
 stepp=Qstep
 maxab=maxa
 if (window.eff) clearInterval(eff)
 eff=setInterval("darkit(theobj,stepp,maxab)",50)
}

function lightit(theobj2,Wstep){
 if (theobj2.filters) {
  if (theobj2.filters.alpha.opacity<100)
  {
  theobj2.filters.alpha.opacity+=Wstep
  }
  else if (window.eff) {clearInterval(eff)}
 }
}

function darkit(theobj2,Wstep,maxb){
 if (theobj2.filters) {
  if (theobj2.filters.alpha.opacity>maxb)
  {
   theobj2.filters.alpha.opacity-=Wstep;

//var xPosn = theobj2.style.left;

theobj2.style.position='relative';
theobj2.style.left -= Wstep;

  }
  else if (window.eff) {clearInterval(eff)}
// else theobj.filters.alpha.opacity=maxb
 }
}
