
function crObj(o){ 
  var netobj = document.getElementById(o);
  return  netobj;
}

function SwitchIt(o){
  var thing = document.getElementById(o);
  if(thing.style.display!='none'){
		thing.style.display = 'none';
	}
	else {
		thing.style.display = 'block';
	}
}

function hideandshow(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){
  showit(a);
	if (typeof b != "undefined"){ hideit(b); }
	if (typeof c != "undefined"){ hideit(c); }
	if (typeof d != "undefined"){ hideit(d); }
	if (typeof e != "undefined"){ hideit(e); }
	if (typeof f != "undefined"){ hideit(f); }
	if (typeof g != "undefined"){ hideit(g); }
	if (typeof h != "undefined"){ hideit(h); }
	if (typeof i != "undefined"){ hideit(i); }
	if (typeof j != "undefined"){ hideit(j); }
	if (typeof k != "undefined"){ hideit(k); }
	if (typeof l != "undefined"){ hideit(l); }
	if (typeof m != "undefined"){ hideit(m); }
	if (typeof n != "undefined"){ hideit(n); }
	if (typeof o != "undefined"){ hideit(o); }
	if (typeof p != "undefined"){ hideit(p); }
	if (typeof q != "undefined"){ hideit(q); }
	if (typeof r != "undefined"){ hideit(r); }
	if (typeof s != "undefined"){ hideit(s); }
	if (typeof t != "undefined"){ hideit(t); }
	if (typeof u != "undefined"){ hideit(u); }
	if (typeof v != "undefined"){ hideit(v); }
	if (typeof w != "undefined"){ hideit(w); }
	if (typeof x != "undefined"){ hideit(x); }
	if (typeof y != "undefined"){ hideit(y); }
	if (typeof z != "undefined"){ hideit(z); }
}
function hideit(o){
  var thing = document.getElementById(o);
  thing.style.display='none';
}
function showit(o){
  var thing = document.getElementById(o);
  thing.style.display='';
}

function bgchange(a,b,c,d){
  highlight(a+'_divlink');
  delight(b+'_divlink');
  delight(c+'_divlink');
  delight(d+'_divlink');
}
function highlight(o){
  var thing = document.getElementById(o);
  thing.style.backgroundImage='url(images/DT_tab_sel.jpg)';
  thing.style.borderBottom='1px solid #ffffff';
  thing.style.color='#1a33a8';
}
function delight(o){
  var thing = document.getElementById(o);
  thing.style.background='url(images/DT_tab_ns.jpg)';
  thing.style.borderBottom='1px solid #cfcfcf';
  thing.style.color='#666666';
}

function mhov(o){
  var thing = document.getElementById(o);
  thing.style.textDecoration='underline';
}
function mout(o){
  var thing = document.getElementById(o);
  thing.style.textDecoration='none';
}

function DTicons(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){
  highlightIcon(a);
	if (typeof b != "undefined"){ delightIcon(b); }
	if (typeof c != "undefined"){ delightIcon(c); }
	if (typeof d != "undefined"){ delightIcon(d); }
	if (typeof e != "undefined"){ delightIcon(e); }
	if (typeof f != "undefined"){ delightIcon(f); }
	if (typeof g != "undefined"){ delightIcon(g); }
	if (typeof h != "undefined"){ delightIcon(h); }
	if (typeof i != "undefined"){ delightIcon(i); }
	if (typeof j != "undefined"){ delightIcon(j); }
	if (typeof k != "undefined"){ delightIcon(k); }
	if (typeof l != "undefined"){ delightIcon(l); }
	if (typeof m != "undefined"){ delightIcon(m); }
	if (typeof n != "undefined"){ delightIcon(n); }
	if (typeof o != "undefined"){ delightIcon(o); }
	if (typeof p != "undefined"){ delightIcon(p); }
	if (typeof q != "undefined"){ delightIcon(q); }
	if (typeof r != "undefined"){ delightIcon(r); }
	if (typeof s != "undefined"){ delightIcon(s); }
	if (typeof t != "undefined"){ delightIcon(t); }
	if (typeof u != "undefined"){ delightIcon(u); }
	if (typeof v != "undefined"){ delightIcon(v); }
	if (typeof w != "undefined"){ delightIcon(w); }
	if (typeof x != "undefined"){ delightIcon(x); }
	if (typeof y != "undefined"){ delightIcon(y); }
	if (typeof z != "undefined"){ delightIcon(z); }
}
function highlightIcon(o){
  var thing = document.getElementById(o);
  thing.style.border='3px double #cfcfcf';
	thing.style.background='url(images/DT_tab_sel.jpg) center top repeat-x';
	thing.style.height='25px';
  thing.style.color='#1a33a8';
}
function delightIcon(o){
  var thing = document.getElementById(o);
  thing.style.border='3px double #ffffff';
	thing.style.background='#ffffff';
	thing.style.height='25px';
  thing.style.color='#000000';
}
