<!--
var thisBoggyExplorer = 0;
if(navigator.appName == "Microsoft Internet Explorer") thisBoggyExplorer = 1;
function toggle(id) {
 var duration = 200;
 var step_duration = 10;
 var el = document.getElementById(id);
 if(!el || !el.style || (el.morph_data && el.morph_data.timeout)) return;
 var steps = Math.max(Math.ceil(duration/step_duration),1);
 if(!el.morph_data) {
  el.morph_data = new Object();
  el.morph_data.style_overflow = el.style.overflow;
  el.style.overflow = 'hidden';
 }
 if(el.style.display == 'none') {
  el.style.display = 'block';
  if(thisBoggyExplorer) el.style.height = null;
  el.morph_data.naturalHeight = el.offsetHeight;
  el.style.height = thisBoggyExplorer+'px';
  el.morph_data.style_height = thisBoggyExplorer+'px';
  el.style.overflow = 'hidden';
 }
 if(el.style.height == thisBoggyExplorer+'px') {
  morph_height(el,thisBoggyExplorer,el.morph_data.naturalHeight,duration,steps,0);
  document.getElementById('ahref_'+id).innerHTML = 'client area [close]';
 }
 else {
  el.morph_data.naturalHeight = el.offsetHeight;
  el.morph_data.style_height = el.style.height;
  morph_height(el,el.offsetHeight,thisBoggyExplorer,duration,steps,0);
  document.getElementById('ahref_'+id).innerHTML = 'client area';
 }
}
function morph_height(el,from,to,duration,steps,step) {
 var h = Math.ceil(from + (to-from)*(Math.sin((step/steps-0.5)*Math.PI)+1)*0.5);
 if(step == steps) h = to;
 el.style.height = h+'px';
 if(h==to) { 
  if((thisBoggyExplorer) && (el.style.height == thisBoggyExplorer+'px')) el.style.display = 'none';
  return;
 }
 var t = duration/steps;
 if(el.style.height == thisBoggyExplorer+'px') el.style.position = 'static';
 setTimeout(function(){morph_height(el,from,to,duration,steps,step+1)},t);
}
-->
