function dwfaq_getCSSPropertyValue(obj,cP,jP){//v1.0
//Copyright © 2004 Angela C. Buraglia & DWfaq.com
//All Rights Reserved. Not for distribution. support@dwfaq.com
//Support Newsgroup: news://support.dwfaq.com/support
  if(typeof(obj)!='object'){var obj=document.getElementById(obj);}
  if(typeof(obj.currentStyle)!='object'){
    return (typeof(document.defaultView)=='object')?
    document.defaultView.getComputedStyle(obj,'').getPropertyValue(cP):
    obj.style.getPropertyValue(cP);}
  else{
    return (navigator.appVersion.indexOf('Mac')!=-1)?
    obj.currentStyle.getPropertyValue(cP):
    obj.currentStyle.getAttribute((jP)?jP:cP);}
}

function dwfaq_ToggleOMaticDisplay(){//v1.0
//Copyright © 2004 Angela C. Buraglia & DWfaq.com
//All Rights Reserved. Not for distribution. support@dwfaq.com
//Support Newsgroup: news://support.dwfaq.com/support
  var obj,cS,args=dwfaq_ToggleOMaticDisplay.arguments;document.MM_returnValue=(typeof(args[0].href)!='string')?true:false;
  for(var i=1;i<args.length;i++){obj=document.getElementById(args[i]);
    if(obj){cS=dwfaq_getCSSPropertyValue(obj,'display');
      if(!obj.dwfaq_OD){obj.dwfaq_OD=(cS!='none'&&cS!='')?cS:(obj.tagName.toUpperCase()=='TR' && cS!=='none')?'':
      (obj.tagName.toUpperCase()=='TR' && typeof(obj.currentStyle)!='object')?'table-row':'block';}
      obj.style.display=(cS!='none')?'none':obj.dwfaq_OD}}
}
